ASP-Assisted Symbolic Regression: Uncovering Hidden Physics in Fluid Mechanics
Theofanis Aravanis, Grigorios Chrimatopoulos, Mohammad Ferdows, Michalis Xenos, Efstratios Em Tzirtzilakis
TL;DR
This work applies Symbolic Regression (SR) to uncover compact, interpretable expressions for the axial velocity $u$ and pressure $p$ in laminar 3D channel flow, derived from high-fidelity finite-volume simulations. It demonstrates that SR can yield parabolic cross-section velocity profiles and linear longitudinal pressure drops, closely matching analytical expectations and numerical solutions across multiple Reynolds-number regimes. To mitigate purely data-driven limitations, the authors introduce a hybrid SR/Answer Set Programming (ASP) framework that encodes physical constraints (e.g., No-Slip, symmetry, and laminar scaling) and uses an ASP solver to filter physically plausible SR expressions, achieving rapid, constraint-consistent selection. The results highlight the ability of interpretable, hybrid AI approaches to capture essential fluid-dynamic physics with high accuracy and robustness, offering a scalable path to trustworthy, compact models for complex flows. The methodology holds promise for extending to more complex geometries and could be augmented with adaptive basis functions (e.g., Chebyshev polynomials) and automated constraint derivation via language-model-assisted rule extraction.
Abstract
Symbolic Regression (SR) offers an interpretable alternative to conventional Machine-Learning (ML) approaches, which are often criticized as ``black boxes''. In contrast to standard regression models that require a prescribed functional form, SR constructs expressions from a user-defined set of mathematical primitives, enabling the automated discovery of compact formulas that fit the data and reveal underlying physical relationships. In fluid mechanics, where understanding the underlying physics is as crucial as predictive accuracy, this study applies SR to model three-dimensional (3D) laminar flow in a rectangular channel, focusing on the axial velocity and pressure fields. Compact symbolic equations were derived from numerical simulation data, accurately reproducing the expected parabolic velocity profile and linear pressure drop, and showing excellent agreement with analytical solutions from the literature. To address the limitation that purely data-driven SR models may overlook domain-specific constraints, an innovative hybrid framework that integrates SR with Answer Set Programming (ASP) is also introduced. This integration combines the generative power of SR with the declarative reasoning capabilities of ASP, ensuring that derived equations remain both statistically accurate and physically plausible. The proposed SR/ASP methodology demonstrates the potential of combining data-driven and knowledge-representation approaches to enhance interpretability, reliability, and alignment with physical principles in fluid dynamics and related domains.
