Abstract
Adaptive source localization—identifying the origin of a substance in a fluid flow using mobile sensors—is a critical challenge in environmental monitoring. Traditional methods are often computationally prohibitive, while standard machine learning approaches frequently violate fundamental physical principles. This paper introduces a structure-preserving framework based on Conditional Neural Whitney Forms (CNWF). By leveraging Finite Element Exterior Calculus (FEEC), the model ensures that its predictions strictly obey discrete conservation laws. Coupled with a geodesic Lloyd’s algorithm for sensor control, the framework enables real-time, physics-consistent source identification. Evaluations on complex synthetic datasets demonstrate that the CNWF model achieves nearly an order of magnitude improvement in accuracy over physics-agnostic baselines while maintaining physical validity.
Introduction
Locating the source of a pollutant or chemical leak in dynamic fluid environments, such as the ocean, is a complex inverse problem. Substances are transported via advection and spread through diffusion, resulting in sparse and noisy measurements. Mobile sensors must navigate to the most "informative" regions to refine source estimates. While modern machine learning (ML) offers speed, it often lacks the inductive bias necessary to respect physical constraints like mass conservation. This work addresses these limitations by embedding physical laws directly into the neural network architecture, creating a "digital twin" that understands the underlying transport physics.
Methodology
The core of the proposed approach is the Conditional Neural Whitney Form (CNWF), which serves as a physics-informed digital twin.
Structure-Preserving Architecture
The framework utilizes a Transformer encoder to process incoming sensor data, which then conditions a reduced-order model. Unlike standard neural networks, the CNWF is constructed using Finite Element Exterior Calculus (FEEC). This mathematical foundation ensures that the model's outputs—specifically the source field and flux—automatically satisfy discrete conservation laws (i.e., matter is neither created nor destroyed by the mathematical approximation).
Adaptive Control Loop
The system operates in a two-step iterative loop:
- Inference: The digital twin processes current sensor readings to predict the source field.
- Control: The predicted source field serves as an "importance map" for a Geodesic Lloyd’s algorithm. This algorithm treats the estimated source as a target, pulling sensors toward high-probability areas while ensuring efficient spatial coverage, even in non-convex geometries like mazes.
Experimental Evaluation
The researchers tested the CNWF model against Multi-Layer Perceptron (MLP) and physics-agnostic Transformer baselines across three increasingly complex scenarios: a simple circular domain, a mesh of the Gulf of Mexico using real-world HYCOM flow data, and a winding maze with simulated Stokes flow.
Key Results
The CNWF model demonstrated superior performance across all metrics:
- Accuracy: In the circular domain, the CNWF achieved a Wasserstein distance of 1.16e-3, significantly lower than the Transformer (7.37e-3) and MLP (1.59e-2).
- Physical Consistency: Predictions from the CNWF were found to be highly consistent with the underlying transport physics when validated against standard simulators, whereas baselines often produced physically impossible results.
- Adaptive Gains: The adaptive sensor placement strategy led to a marked reduction in error over time. In the maze scenario, error rates were halved after sensors relocated to their optimized positions.
Discussion and Conclusion
The success of the CNWF framework highlights the importance of inductive bias in scientific machine learning. By forcing the model to "speak the language" of calculus and conservation, it produces smooth, physically meaningful results even from sparse data. Furthermore, the regularity of the mapping from sensor data to source estimates ensures stable and predictable sensor navigation, avoiding the "jittery" behavior common in physics-agnostic models.
Future work will focus on extending the framework to 3D environments and transient (time-varying) flow fields, as well as multi-physics systems where sensors measure multiple interacting variables simultaneously.
Summary updated