Data-Driven or Model-Constrained? Comparing Airflow Estimation Methods under Sparse Sensing
Airflow-driven advection is the primary mechanism for gas and aerosol dispersion in real-world scenarios, making accurate airflow estimation essential for ventilation monitoring, gas source localization, and contaminant spread analysis. Since obtaining airflow maps via high-resolution spatial sensing is usually infeasible in practice, flow field estimation methods must cope with sparse measurements by introducing statistical or physical priors to compensate for limited data.
From the abstract. Our summary is in progress.
Full paper
Data-Driven or Model-Constrained? Comparing Airflow Estimation Methods under Sparse Sensing
Published under CC BY-SA 4.0. Reproduced with attribution; original at arXiv:2610.39789 (PDF).
Abstract
Airflow-driven advection is the primary mechanism for gas and aerosol dispersion in real-world scenarios, making accurate airflow estimation essential for ventilation monitoring, gas source localization, and contaminant spread analysis. Since obtaining airflow maps via high-resolution spatial sensing is usually infeasible in practice, flow field estimation methods must cope with sparse measurements by introducing statistical or physical priors to compensate for limited data. Existing approaches mainly differ in how they incorporate fluid-flow constraints and environmental geometry. However, due to the lack of systematic comparisons across this spectrum of methods, the potential benefits of physics-based priors for airflow estimation under sparse sensing remain underexplored.
To address this question, we quantitatively evaluate four airflow estimators across three simulated 2D scenarios under steady-state conditions and varying sampling densities. The methods range from Gaussian Process Regression and graph-based Gaussian Markov Random Fields to two Navier-Stokes-based approaches, including a novel strong-form residual minimization variant. Our results show that physical priors provide the greatest benefit at low sampling densities by compensating for missing spatial information. Although data-driven Gaussian Process Regression becomes increasingly competitive as sensor coverage increases, model-based estimators retain an accuracy advantage across the evaluated scenarios.
Index Terms:
airflow estimation, physics-informed modeling, sparse sensing, inverse problems
I Introduction
The transport of airborne substances is overwhelmingly driven by advection; while molecular diffusion takes hours to spread gases or aerosols over a few meters, even subtle air currents (<0.1 m/s) achieve this in seconds [1]. Consequently, accurate airflow estimation is important for applications ranging from industrial leak monitoring to ventilation assessment in clinical settings [2, 3]. However, obtaining dense airflow maps through high-resolution spatial sensing is often impractical and costly, while Computational Fluid Dynamics (CFD) simulations require detailed boundary conditions and substantial computational resources.
In practice, neither may be fully available, i.e., only partial boundary knowledge and sparse, noisy airflow measurements, such as those collected along a mobile robot’s trajectory, are accessible. Estimating a dense airflow field under such circumstances is central to this work (see Fig. 1). We consider this problem under two simplifying assumptions: (1) we target the mean flow and therefore neglect short-term fluctuations by assuming steady state; (2) we restrict the flow field to two dimensions, as in prior work [4, 5].
Yet, this estimation task is inherently ill-posed, as the available data underdetermine the unknown flow variables. Existing approaches tackle this challenge through regularization, ranging from statistical smoothness priors to constraints imposed by domain geometry and fluid dynamics. This raises a fundamental question: to what extent can physical priors improve airflow estimation accuracy under practically relevant sampling densities, given their increased computational complexity and the inevitable mismatch between idealized physical models and real-world flow behavior?
To assess the role of physical priors, we compare four estimators spanning this spectrum: a purely data-driven Gaussian Process Regression (GPR) [6]; a graph-based Gaussian Markov Random Field (GMRF) [5] incorporating simplified flow dynamics; and two approaches based on partial differential equations (PDEs) – an existing weak-form Navier-Stokes Minimization (WFNS) [4] and a novel strong-form Navier-Stokes Residual Minimization (SFNS) variant introduced in Section II. In summary, our contributions are twofold: (i) the novel SFNS estimator, and (ii) a systematic comparison across this spectrum using OpenFOAM CFD simulations under varying sampling densities (Section III).
II Strong-form Navier-Stokes Residual Minimization
The proposed strong-form Navier-Stokes Residual Minimization (SFNS), a variant of [4], combines sparse velocity measurements with a stationary physical flow model. The available measurements are denoted by \{(x_{i},z_{i})\}_{i=1}^{K}, where x_{i}\in\Omega is the measurement location and z_{i}\in\mathbb{R}^{2} is the corresponding measured velocity. The objective is to estimate a steady-state velocity field u:\Omega\rightarrow\mathbb{R}^{2}, with the kinematic pressure field p:\Omega\rightarrow\mathbb{R} treated as an auxiliary variable. This leads to the optimization problem:
(\hat{u},\hat{p})=\arg\min_{u,p}\underbrace{\left(E_{m}+\lambda_{\mathrm{NS}}E_{\mathrm{NS}}+\lambda_{s}E_{s}\right)}_{\coloneqq J(u,p)}.The measurement term E_{m}=\sum_{i=1}^{K}\|u(x_{i})-z_{i}\|^{2} penalizes deviations from the sensor measurements, while {E_{s}=\int_{\Omega}\|\nabla u\|^{2}\,d\Omega} adds a smoothness prior with a weight factor \lambda_{s}. The Navier-Stokes term E_{\mathrm{NS}}, weighted by \lambda_{\mathrm{NS}}, penalizes violations of the momentum and incompressibility equations with kinematic viscosity \nu:
E_{\mathrm{NS}}=\int_{\Omega}\left(\|(u\cdot\nabla)u+\nabla p-\nu\Delta u\|^{2}+(\nabla\cdot u)^{2}\right)d\Omega.To avoid solving a nonlinear problem in (1), we linearize the convective term in (2) in a fixed-point iteration:
(u\cdot\nabla)u\approx(u_{k-1}\cdot\nabla)u_{k}.At each iteration k=1,2,\ldots, the advection velocity is taken from the previous step, starting from (u_{0},p_{0})=0 [7]. This turns J(u,p) into a sequence of quadratic functionals J_{k}(u_{k},p_{k}) with linear first-order optimality conditions \delta J_{k}=0. Despite slower convergence, this so-called Picard scheme does not require additional derivatives and is more robust for higher-Reynolds-number flows compared to Newton linearization [8].
To obtain a finite-dimensional problem, u_{k} and p_{k} are approximated on a finite-element (FE) mesh using Taylor-Hood elements, i.e., piecewise quadratic basis functions for velocity and piecewise linear basis functions for pressure [9, 10]. With N_{u} velocity nodes and N_{p} pressure nodes, the nodal coefficients are collected in the global state vector
\mathbf{w}_{k}=(\mathbf{u}_{k},\mathbf{p}_{k})^{\top}\in\mathbb{R}^{M},\qquad M\coloneqq 2N_{u}+N_{p},where \mathbf{u}_{k}\in\mathbb{R}^{2N_{u}} stacks both velocity components at all N_{u} nodes and \mathbf{p}_{k}\in\mathbb{R}^{N_{p}} contains the pressure coefficients.
Applying the FE approximation to the linear normal equations derived from \delta J_{k}=0 yields a linear system per iteration:
\left(\mathbf{S}+\mathbf{K}(\mathbf{u}_{k-1})+\mathbf{R}\right)\mathbf{w}_{k}=\mathbf{S}\mathbf{w}_{\mathrm{meas}}.Here, \mathbf{K}(\mathbf{u}_{k-1})\in\mathbb{R}^{M\times M} denotes the weighted contribution of the discretized and linearized Navier-Stokes residual, and \mathbf{R}\in\mathbb{R}^{M\times M} is the weighted contribution of the smoothness regularization. To align coordinates, each sensor position x_{i} is mapped to its nearest mesh node. The matrix \mathbf{S}\in\mathbb{R}^{M\times M} is then a binary diagonal selection matrix where S_{ii}=1 if the i-th degree of freedom (DOF) corresponds to a velocity component of a measured node, and zero otherwise. The vector \mathbf{w}_{\mathrm{meas}} contains the measured velocities z_{i} at these active DOFs and zeros elsewhere.
After assembly, no-slip Dirichlet conditions are imposed on DOFs associated with walls and obstacles. The pressure is fixed at one open boundary [10]. Solving the resulting linear systems over the Picard iterations updates \mathbf{w}_{k} toward a dense estimate that balances measurement consistency, strong-form flow residual minimization, and smoothness regularization.
III Experimental Comparison
Following the presentation of SFNS, we return to the central question posed in this paper: evaluating the influence of physical priors on the estimation of 2D airflow fields. We therefore compare our proposed approach against the three baselines introduced above: GPR, GMRF, and WFNS.
III-A Experimental Setup
We evaluated the methods in three simulated indoor scenarios. Their spatial domains were discretized into rectangular occupancy grids for GPR and GMRF, and into triangular meshes for the FE-based SFNS and WFNS. To support a fair comparison, we chose discretizations with a comparable number of DOFs. Physics-informed methods additionally had access to partial boundary information, distinguishing between walls and open boundaries, but inflow and outflow were assumed to be unknown. For each scenario, the precomputed CFD solution u^{*} served as both the reference field for accuracy assessment and the source of sparse measurements. Measurements were drawn at K=10,\ldots,250 random locations to decouple the estimator comparison from the potential influence of a particular sampling strategy. They were also corrupted with zero-mean Gaussian noise (\sigma=0.1 m/s) in both velocity components, a typical uncertainty level for robotic anemometers [4]. We evaluated each estimate \hat{u} using the mean absolute magnitude error e_{\mathrm{ME}} and the mean angular error e_{\mathrm{AE}} over N_{c} free-space points:
\displaystyle e_{\mathrm{ME}} \\ \displaystyle=\frac{1}{N_{c}}\sum_{j=1}^{N_{c}}\left|\|\hat{u}(x_{j})\|-\|u^{*}(x_{j})\|\right|, \\ \displaystyle e_{\mathrm{AE}} \\ \displaystyle=\frac{1}{N_{c}}\sum_{j=1}^{N_{c}}\arccos\left(\frac{\hat{u}(x_{j})\cdot u^{*}(x_{j})}{\|\hat{u}(x_{j})\|\|u^{*}(x_{j})\|}\right).Angular errors exclude areas where flow direction becomes ill-defined, i.e., with ground-truth speeds below the noise standard deviation \sigma. To assess computational cost, we additionally report the estimator runtime. All metrics are averaged over three 10\times6 m indoor scenarios with different obstacle layouts.
All methods used fixed hyperparameters across the evaluation. GMRF and WFNS used the values recommended in their respective publications [5, 4], while we manually tuned the length scale of GPR to 0.25\text{\,}\mathrm{m}. For SFNS, we set \{\lambda_{\mathrm{NS}},\lambda_{s}\}=\{10,0.01\} and \nu=1.5×10⁻⁵ m²/s to approximate air. The Picard iteration was terminated after 25 steps or when \|\mathbf{w}_{k}-\mathbf{w}_{k-1}\|/\|\mathbf{w}_{k}\|<0.01.
III-B Results and Discussion
Across all methods, the curves for e_{\mathrm{ME}} and e_{\mathrm{AE}} show the expected asymptotic behavior with increasing numbers of available measurements (see Fig. 2), decreasing sharply in the low-sample regime before gradually flattening.
SFNS achieves the lowest overall velocity magnitude errors. It outperforms the other methods at low sampling densities; however, this gap narrows as more measurements are available. In particular, GPR becomes increasingly competitive as the sample size grows, but does not outperform SFNS. At K=250, all methods reach similar average magnitude errors slightly below 0.3\text{\,}\mathrm{m}\text{/}\mathrm{s}.
For flow direction, SFNS consistently achieves the lowest angular errors. GPR improves strongly with additional measurements but remains less accurate than SFNS, while GMRF and WFNS also remain less accurate across all settings.
These results support the hypothesis that physical priors compensate for sparse measurement data: the performance gap between data-driven and model-based estimators is largest in the low-sample regime and narrows as more measurements become available. Nevertheless, GPR does not surpass SFNS in the dense-sampling regime. This advantage should be interpreted cautiously, as CFD-based reference fields may provide a favorable setting for the PDE-based estimators. A plausible explanation for GPR’s remaining gap is the fixed length scale, chosen as a compromise across all sampling densities and therefore not optimized for each setting.
However, this accuracy advantage comes with computational cost (see Table I). GPR is by far the fastest, followed by GMRF and the proposed SFNS, while WFNS requires approximately one second per run. Notably, all evaluated methods are computationally suitable for online robotic applications, where the physical collection of spatial samples typically consumes the majority of the time budget.
- 50
- 1.9\pm 1.1
- 67.9\pm 37.7
- 341.6\pm 66.0
- 1030.9\pm 285.1
- 100
- 3.6\pm 2.2
- 60.4\pm 18.7
- 331.6\pm 83.5
- 975.0\pm 246.9
- 200
- 8.6\pm 5.1
- 51.8\pm 14.8
- 323.0\pm 98.9
- 903.9\pm 251.1
For SFNS, this corresponds to a threefold speedup over the WFNS predecessor, indicating that directly penalizing the strong-form residual not only improves accuracy but can also be computationally attractive. Fig. 3 shows how SFNS manages to represent the main characteristics of the reference flow field even for low sampling densities. Still, GMRF’s competitive accuracy relative to WFNS – combined with very short execution times – demonstrates that complex physical priors alone do not guarantee better results.
For some applications, e.g., gas source localization, directional accuracy is crucial. According to [11], the average angular wind error should remain below 30\text{\,}\mathrm{\SIUnitSymbolDegree} for reasonable source localization. In our scenarios, SFNS falls below this threshold from about 50 random measurements onward. Using a targeted flow-field exploration strategy, even fewer measurements may be sufficient.
IV Conclusions and Future Work
In this work, we compared representative methods for estimating 2D airflow fields. In addition to existing data-driven, graph-based, and weak-form Navier-Stokes approaches, we introduced a strong-form Navier-Stokes Residual Minimization variant. In simulation-based evaluations using noisy measurements sampled from CFD reference fields, the proposed SFNS performed particularly well in scenarios with sparse measurement data, which are prevalent in real-world applications. Although data-driven methods such as Gaussian Process Regression became increasingly competitive as more measurements became available, SFNS retained an advantage, particularly in terms of directional accuracy.
Potential future work includes extending this comparison to real-world experiments and to more complex, or even three-dimensional, domains. From a methodological perspective, automating the currently manual hyperparameter selection would improve the practical applicability of model-based estimators and reduce potential tuning bias.