PRIMS: Physics-guided Representation for Fluid Identification in Multimodal Sensing
Hai-Long Nguyen, Trung Thanh Nguyen, Lars Holm, Dennis Alveringh, Duc Viet Le
Abstract
Accurate on-device fluid identification is essential for microfluidic applications, yet maintaining reliability under varying flow, pressure, and temperature remains a key challenge. Existing learning-based methods often treat sensor signals as domain-agnostic features, neglecting the underlying physical relationships that govern fluid behavior, thereby limiting generalization and interpretability. To address this, we propose PRIMS, a physics-aware multimodal Transformer that integrates physical knowledge into representation learning and attention mechanisms through three dedicated modules: (1) Physics-based Token Vectorization transforms raw Coriolis and pressure sensor signals into physically meaningful token embeddings; (2) Physical Component Synthesizer models viscosity-related dependencies among flow, pressure, and density; and (3) Physics-guided Fusion captures cross-physical correlations through attention-based integration. By embedding these physics-based relationships directly into the model architecture, PRIMS bridges analytical fluid mechanics and deep learning, enabling interpretable, data-efficient, and resilient fluid classification. Evaluations on a five-fluid benchmark under dynamic flow, pressure, and temperature conditions show that PRIMS achieves 98.92% average F1-score with only 0.46 million parameters, a 14 times reduction compared to state-of-the-art Transformer-based methods. PRIMS also consistently outperforms prior SOTA models under out-of-distribution shifts to unseen temperature ranges and unseen flow-rate ranges, indicating strong robustness to operating conditions not observed during training. These findings suggest that designing architectures that explicitly mirror governing physical relationships can make them learn transferable, environment-independent representations, improving real-world reliability for microfluidic sensing.
Create a lesson
Related papers
High-order stabilized matrix-free simulation of rotating mixing devices using the Mortar Element Method
B. Campos, P. Munch, V. O. Ferreira et al.
How well can Diffusion Models learn Lagrangian-Tracer Statistics in Non-reciprocal Turbulence?
Pratyush Jha, Biswajit Maji, Rahul Pandit
Dynamical slowdown, bottlenecks, and multiscaling in Voigt-regularised turbulence
Anikat Kankaria, Bikram Pal, Edriss S. Titi et al.
Energy transfer and scale organisation in dense canopy turbulence
Riccardo Bertoncello, Alessandro Chiarini, Giulio Foggi Rota et al.
Stochastic Transport and Wave Interactions for Multiscale Surface Gravity Waves: Part II: Kinetic Theory and Ocean-Wave Applications
E. Mémin, B. Chapron, A. Debussche et al.
High-resolution in situ analysis of biomass pyrolysis by combining quantitative synchrotron μCT and 3D particle-resolved simulations
Emeric Boigné, Mohamed M. Ahmed, Collin Foster et al.