Abstract
Industrial hybrid modeling seeks to combine the interpretability of mechanistic physical models with the predictive power of machine learning. However, standard deep learning architectures often fail to capture the underlying physical associations, such as monotonicity and periodicity, inherent in industrial data. This paper introduces the Recurrent Perceptron-based Channel Attention Transformer Encoder (RP-CATE), a novel framework that utilizes "Pseudo-Sequential" and "Pseudo-Image" data structures to bridge this gap. Evaluated on chemical engineering tasks, RP-CATE demonstrates an 84.15% improvement over traditional mechanistic models, significantly outperforming standard LSTMs and Transformers.
Introduction
In the industrial sector, engineers have long relied on mechanistic models—mathematical representations of physical and chemical laws. While these models provide high interpretability, they often struggle with real-world complexities, noise, and computational overhead. Hybrid modeling addresses these shortcomings by using machine learning (ML) to predict the "residual" or error of mechanistic models.
Despite their potential, current hybrid approaches face two primary challenges. First, many rely on simplistic, task-specific architectures that lack generalizability. Second, standard ML models often treat data points as independent samples, ignoring critical physical associations like the monotonic relationship between temperature and pressure. RP-CATE is designed to overcome these hurdles by reshaping data to expose these hidden physical patterns to the neural network.
The RP-CATE Framework
The core innovation of RP-CATE lies in its data transformation modules and its specialized attention mechanism, which allow the model to "see" physical relationships without requiring complex, custom loss functions.
Pseudo-Sequential Data (PSD) and the RP Module
To capture physical trends like monotonicity, the model employs a Pseudo-Sequential Data (PSD) module. Instead of processing tabular data in a random or chronological order, the PSD module sorts the dataset based on a critical physical feature (e.g., temperature). This transforms the data into a sequence where trends become explicit. This sequence is then processed by the Recurrent Perceptron (RP) Module, which combines a Recurrent Neural Network (RNN) to capture sequential dependencies with a Multilayer Perceptron (MLP) for non-linear transformations.
Pseudo-Image Data (PID) and Channel Attention
In industrial datasets, the relationships between different variables (channels) are often more significant than the relationships between individual samples. RP-CATE utilizes a "Cyclic Sliding Window" to reshape data into a 2D grid, referred to as Pseudo-Image Data (PID).
Rather than using the standard self-attention found in traditional Transformers, RP-CATE employs Channel Attention. This mechanism assigns weights to specific features based on their relative impact on the final prediction, allowing the model to prioritize the most physically relevant variables.
Hybrid Integration
RP-CATE operates within a residual learning framework. The mechanistic model provides an initial physical calculation, and RP-CATE predicts the deviation of that calculation from the observed reality. The final output is the sum of the mechanistic prediction and the ML-derived residual, ensuring the model remains grounded in physical reality while achieving high accuracy.
Experimental Evaluation
The model was tested on a critical task in chemical engineering: predicting the acentric factor of petroleum. The acentric factor is a dimensionless parameter that describes how real gases deviate from ideal gas behavior, a calculation traditionally performed using the Lee-Kesler mechanistic method.
RP-CATE was compared against several baselines:
- Mechanistic: Lee-Kesler method.
- Machine Learning: RBFNN, LSTM, GRU, TCN, and the standard Transformer.
Results and Discussion
RP-CATE demonstrated superior performance across all evaluated metrics, proving the efficacy of its data-reshaping approach.
- Accuracy and Error Reduction: The model reduced the Mean Absolute Error (MAE) from 0.0781 (mechanistic) to 0.0084.
- Model Improvement Rate (MIR): RP-CATE achieved an 84.15% improvement over the purely mechanistic Lee-Kesler model.
- Robustness: Approximately 83% of samples predicted by RP-CATE had a relative error of less than 1%, a significant margin over standard Transformers and LSTMs.
- Ablation Studies: Removing either the RP module or the Channel Attention mechanism resulted in a significant performance drop, confirming that both sequential trend capturing and feature weighting are vital for industrial modeling.
Conclusion
RP-CATE represents a significant step forward in industrial hybrid modeling. By using sorting as a form of feature engineering (PSD) and pivoting to Channel Attention, the architecture respects physical constraints while maintaining the flexibility of deep learning. Future work will focus on automating the selection of critical features for sorting and extending the model's application to other domains, such as power systems and structural physics.
Summary updated