Introduction
In the study of "active matter"—systems composed of individual units that consume energy to move, such as cells or birds—there exists a significant disconnect between scales. While microscopic rules for individual interactions are often known, deriving the macroscopic "fluid dynamics" of the collective system is mathematically arduous. Traditional analytical coarse-graining often relies on heavy assumptions that fail in complex biological systems. This research introduces a principled data-driven framework to automatically discover the deterministic hydrodynamic equations governing these systems from stochastic particle trajectories.
Methodology: Sparse Dictionary Learning and Stability Selection
The proposed strategy bridges the gap between scales by identifying the underlying partial differential equations (PDEs) through a multi-step process:
- Field Extraction: Discrete particle positions and velocities are transformed into smooth continuum fields (e.g., density $\rho$ and polarization $w$) using adaptive kernel density estimation.
- Dictionary Construction: A library of candidate mathematical terms, including gradients, Laplacians, and non-linear couplings, is built to represent potential components of the governing equations.
- Group Sparsity: To ensure physical consistency (e.g., symmetry or conservation), related terms are grouped. The Group Iterative Hard Thresholding (gIHT) algorithm is employed to select the parsimonious set of terms that best explains the data.
- Stability Selection: To prevent overfitting and ensure robustness, the algorithm is executed hundreds of times on different data subsets. Only terms that consistently appear across trials are retained.
- Latent Field Inference: For systems influenced by unobserved external factors, such as chemical gradients, smoothness-constrained regression is used to infer these hidden fields.
Validation and Key Insights
The framework was validated using three distinct stochastic simulations: a Self-Propelled Particle (SPP) model with density-dependent speeds, an Epithelial Tissue model, and a Phoretic Brownian Particle (PBP) model exhibiting chemotaxis.
Several key insights emerged from these tests:
- Simplicity and Robustness: Macroscopic behavior in complex systems can often be described by a few key terms, favoring sparse models. Even for complex particle simulations, the macroscopic behavior is often parsimonious.
- Inferring the Unseen: In the PBP model, the algorithm successfully reconstructed the spatial map of an unobserved chemical gradient (the phoretic field) by analyzing particle orientation changes over time.
- Density-Dependent Physics: The method automatically learned how physical coefficients, such as diffusion or viscosity, vary with density in congested scenarios using block-diagonal dictionaries.
- Theoretical Alignment: The learned models frequently matched or simplified established analytical theories, such as the Toner-Tu equations, without requiring manual assumptions.
Key Results
The learned hydrodynamic models demonstrated high accuracy in reproducing velocity distributions, power spectra, and correlation functions of the original microscopic simulations. In the SPP model, the algorithm correctly recovered the continuity equation and identified physical constants with high precision.
As shown in Figure 2, the "true" physical terms achieved a recovery probability near 1.0, while spurious noise terms were effectively rejected. Furthermore, the approach proved efficient, requiring relatively small sample sizes (e.g., $N=3000$ space-time points) to achieve reliable results, suggesting feasibility for experimental data.
Limitations and Future Directions
While powerful, the method is currently limited by its dependence on the predefined dictionary; it cannot discover operators not included in its library. Additionally, the reliance on local averaging for field extraction may struggle in extremely noisy or turbulent regimes where noise dominates the signal. Future work aims to apply this framework to experimental data from biological systems, such as bacteria or tissue growth, and to incorporate techniques for learning the stochastic components of the governing equations alongside deterministic terms.
Summary updated