arXiv:2610.19860stat.MLOct 2026

Manuscript Offprint

arXiv:2610.19860

Text-Informed Training Data Filtering for Enhanced Virtual Flow Meter Performance

Kristoffer Hjelmen Nesland, Bjarne Grimstad, Antorweep Chakravorty, Dan Sui

Kristoffer Hjelmen Nesland 1,2^{1,2}, Bjarne Grimstad 2^{2}, Antorweep Chakravorty 1^{1}, and Dan Sui 1^{1}

1^{1} University of Stavanger, Stavanger, Norway

2^{2} Solution Seeker AS, Oslo, Norway

krnes5410@uis.no

Abstract. In sectors such as energy, aquaculture and chemical processing, the effectiveness of both mechanistic and data-driven models is frequently limited by poor-quality training data, which obscures underlying physical laws and degrades predictive accuracy. Such quality issues commonly manifest as anomalies in the dataset, ranging from sensor faults to process upsets and incorrect operator inputs. While traditional rule-based filtering can remove a subset of the anomalies, it is unable to leverage contextual information stored as unstructured text, such as engineer comments and operational logs that explain under what conditions the data was collected. We propose a text-informed data filtering method that leverages large language models (LLMs) to integrate unstructured operational data with tabular sensor data. The method consists of two steps: (1) contextual anomaly detection by reasoning over both data modalities, and (2) generation of a binary mask that is applied to filter the training dataset for model development. To investigate the potential benefit, a steady-state soft-sensor regression model, namely a virtual flow meter that estimates well flow rates, is used as the downstream evaluation target. Experiments on a synthetic oil and gas dataset show improved model performance compared to traditional rule-based filtering. Ablation studies show that textual operator comments can provide filtering-relevant signals beyond sensor data alone, with the multimodal approach reducing downstream MAPE from 7.1% to 5.4% relative to sensor-only filtering. This work demonstrates that integrating unstructured operational knowledge with sensor data through LLMs can improve data quality for industrial machine learning applications, offering a scalable alternative to manual data curation.

Keywords: Multimodal data fusion · Industrial machine learning · Data-centric AI · Text-informed data filtering · Virtual flow meter.

1 Introduction

The attention of researchers and practitioners has gradually shifted from advancing model design to enhancing the quality and quantity of the data [19]. This data-centric paradigm is particularly relevant in industrial settings, where an

K. H. Nesland et al.

Figure

Fig. 1. Traditional flow of information in industrial data curation. The operator synthesises background domain knowledge, operational context, and sensor readings into unstructured comments. These comments, together with the raw sensor data, then inform a manual curation step that determines which data points enter model training.

increasing amount of sensor data is captured but data quality issues and anomalies are significant due to harsh operational environments [6]. If not addressed, the data quality issues will continue to affect downstream modelling tasks that depend on the data. However, manual quality control of the data is infeasible in many cases due to the large volume of data and the challenge of synthesising information across disparate data streams and modalities [11].

Classical anomaly detection methods, as surveyed by Han et al. [8] and consolidated in the PyOD toolbox [20], are unimodal: they operate on sensor data alone. Most existing benchmarks follow the same pattern, with little coverage of settings where relevant quality signals are distributed across multiple modalities [19]. Yet, to successfully identify anomalous data, sensor readings need to be seen relative to contextual knowledge of the asset. This task involves sifting through unstructured textual data like maintenance logs, shift handovers and technician notes. Consequently, subject matter experts have taken on a role as the bridge between the two data modalities and spent considerable time integrating information across dashboards, PDFs and more (Fig. 1).

Advances in artificial intelligence (AI) open up new possibilities for bridging the gap between sensor data and unstructured textual data. Today, LLMs can process natural language alongside structured numerical tables within a single context window, making it feasible to reason jointly over operator comments and sensor measurements without human involvement [9].