Diff-SPORT: Diffusion-based Sensor Placement Optimization and Reconstruction of Turbulent flows in urban environments

Abhijeet Vishwasrao, Sai Bharath Chandra Gutha, Andres Cremades, Klas Wijk, Aakash Patil, Catherine Gorle, Beverley J. McKeon, Hossein Azizpour, Ricardo VinuesaarXiv 2025

Abstract

Rapid urbanization demands accurate and efficient monitoring of turbulent wind patterns to support air quality, climate resilience and infrastructure design. Traditional sparse reconstruction and sensor placement strategies face major accuracy degradations under practical constraints. Here, we introduce Diff-SPORT, a diffusion-based framework for high-fidelity flow reconstruction and optimal sensor placement in urban environments. Diff-SPORT combines a generative diffusion model with a maximum a posteriori (MAP) inference scheme and a Shapley-value attribution framework to propose a scalable and interpretable solution. Compared to traditional numerical methods, Diff-SPORT achieves significant speedups while maintaining both statistical and instantaneous flow fidelity. Our approach offers a modular, zero-shot alternative to retraining-intensive strategies, supporting fast and reliable urban flow monitoring under extreme sparsity. Diff-SPORT paves the way for integrating generative modeling and explainability in sustainable urban intelligence.

Introduction

Monitoring turbulent airflow in urban environments is critical for managing air quality, mitigating heat islands, and ensuring pedestrian safety. However, researchers face a persistent challenge: high-fidelity simulations (like Direct Numerical Simulation, or DNS) are too computationally expensive for real-time use, while traditional sparse reconstruction methods often fail to capture the chaotic, multi-scale nature of turbulence.

Furthermore, the "optimal" placement of sensors is often theoretically determined in ways that are physically impossible to implement, such as placing sensors in high-energy wake regions where they would be destroyed. Diff-SPORT addresses this gap by providing a framework that is both mathematically rigorous and practically deployable.

Methodology

Diff-SPORT (Diffusion-based Sensor Placement Optimization and Reconstruction of Turbulence) is built upon three core pillars:

  1. Generative Diffusion Prior: A Denoising Diffusion Probabilistic Model (DDPM) is trained on high-fidelity simulation data to learn the underlying probability distribution of turbulent flows. This acts as a "probabilistic surrogate" that defines what physically plausible turbulence looks like.
  2. MAP-GA Reconstruction: To reconstruct flow from sparse data, the framework uses Maximum A Posteriori Gradient Ascent (MAP-GA). This method leverages the differentiability of the diffusion prior to optimize reconstructions in a zero-shot manner, meaning it can handle any sensor configuration without needing to be retrained.
  3. SHAP-based Sensor Placement: The framework adapts SHAP (SHapley Additive exPlanations) from game theory to rank sensor locations. By treating spatial subregions as "players," it identifies spatially coherent areas that provide the highest marginal utility for reconstruction accuracy.
The Diff-SPORT framework overview: (a) Diffusion prior training, (b) MAP-GA reconstruction process, and (c) the SHAP-based sensor placement optimization pipeline.

Datasets and Experimental Setup

The model was validated using a high-fidelity DNS database of flow around a wall-mounted square cylinder, a standard proxy for an isolated building. The simulation involved 21.8 million grid points, from which 26,000 2D snapshots were extracted. This dataset captures complex fluid phenomena like vortex shedding and wake turbulence, providing a rigorous testbed for reconstruction accuracy.

Key Results and Insights

Diff-SPORT demonstrates a significant leap in performance over existing methods. The MAP-GA reconstruction scheme outperformed the previous state-of-the-art method ($\Pi$GDM) by nearly 3x in terms of mean squared error (MSE) and precision.

Performance comparison showing instantaneous flow reconstructions, error fields, and error probability density functions (PDFs) for different methods.

Beyond visual accuracy, the framework maintains high statistical fidelity. It accurately captures second-order turbulence statistics (Reynolds stresses) and probability density functions, ensuring the reconstructed flow is physically consistent. Additionally, the system is highly efficient; while training is intensive, inference takes only 12 seconds per snapshot, enabling near real-time urban monitoring.

Conclusion and Future Work

Diff-SPORT offers a modular and interpretable solution for urban intelligence. By identifying spatially coherent sensor regions rather than scattered pixels, it provides actionable insights for urban planners and engineers. Future research will focus on extending the model to 3D volumes, incorporating temporal dynamics for smoother time-series reconstruction, and testing generalization across more complex city layouts.

Summary updated

BibTeX
@misc{vishwasrao2025diff,
  author = {Abhijeet Vishwasrao and Sai Bharath Chandra Gutha and Andres Cremades and Klas Wijk and Aakash Patil and Catherine Gorle and Beverley J. McKeon and Hossein Azizpour and Ricardo Vinuesa},
  title = {{Diff-SPORT: Diffusion-based Sensor Placement Optimization and Reconstruction of Turbulent flows in urban environments}},
  year = {2025},
  eprint = {2506.00214},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00214},
}
Figure