Soft sensing is a critical technique in modern industrial environments, enabling the real-time estimation of hard-to-measure variables—such as chemical composition or density—using easily accessible sensor data like temperature and pressure. However, traditional models often struggle with the complex, non-Euclidean relationships inherent in industrial plant topologies. This paper introduces KANS (Knowledge Discovery Graph Attention Network), a framework designed to autonomously discover these hidden relationships and improve prediction accuracy.
The Challenge of Industrial Soft Sensing
In complex facilities like oil refineries or chemical plants, many variables cannot be measured directly due to harsh operating conditions or the high cost of specialized hardware. While computational "soft sensors" offer a solution, they face two primary hurdles:
- Non-Euclidean Relationships: Standard sequential models (RNNs) or grid-based models (CNNs) fail to account for the physical and functional connections between sensors (e.g., sensors on the same pipeline are more closely related than those in separate units).
- Lack of Prior Knowledge: Most Graph Neural Networks (GNNs) require a predefined map of sensor connections. In many legacy plants, this topology is either unknown or changes over time, making static GNNs difficult to implement.
The KANS Framework
KANS addresses these challenges by combining unsupervised graph structure learning with graph attention mechanisms. The framework operates through four distinct modules that transform raw data into actionable insights.
- Data Preprocessing: Raw multivariate time-series data is normalized and converted into a sliding window format to capture temporal dynamics.
- Latent Sensor Embedding: Each sensor is mapped to a learnable vector that captures its unique "behavioral signature."
- Unsupervised Contrastive Graph Structure Learning: This core innovation calculates cosine similarity between sensor embeddings to identify the top-$k$ neighbors for each sensor. This allows KANS to "discover" the plant's topology from scratch without human intervention.
- Graph Attention-Based Representation Learning: A multi-head attention mechanism processes multivariate data in parallel, allowing the model to weigh the influence of neighboring sensors dynamically.
Experimental Results and Insights
The authors evaluated KANS using the Cranfield Multiphase Flow (MFP) facility dataset, a real-world benchmark representing a three-phase (air, water, oil) flow system. KANS consistently outperformed seven baseline models, including Gated Recurrent Units (GRU) and Support Vector Regression (SVR).
Key Findings
- Superior Accuracy: KANS achieved an $R^2$ of 0.992 for air flow rate prediction (Variable 8), surpassing the GRU's 0.989. It also demonstrated the lowest error rates (NRMSE and MAPE) across nearly all test cases.
- High-Frequency Tracking: As shown in the qualitative plots, KANS excels at tracking sharp, high-frequency fluctuations where other models tend to smooth out the signal, leading to higher real-world utility.
- Interpretability: The learned graph structure was found to mirror physical reality. Sensors located on the same physical lines naturally clustered together in the embedding space, providing engineers with interpretable insights into process dependencies.
Conclusion
KANS demonstrates that a graph-based parallel approach can better capture the rich dynamics of industrial systems than traditional sequential models. By discovering plant topology autonomously, it removes the need for manual configuration, making it a robust and scalable solution for modern industrial soft sensing. Future work may explore dynamic graphs that evolve in real-time and the use of hypergraphs to model group-based sensor relationships.
Summary updated