Abstract
Running large-eddy simulations (LESs) can be burdensome and computationally too expensive from the application point of view, for example, to support urban planning. In this study, regression models are used to replicate modelled air pollutant concentrations from LES in urban boulevards. We study the performance of regression models and discuss how to detect situations where the models are applied outside their training domain and their outputs cannot be trusted. Regression models from 10 different model families are trained and a cross-validation methodology is used to evaluate their performance and to find the best set of features needed to reproduce the LES outputs. We also test the regression models on an independent testing dataset. Our results suggest that in general, log-linear regression gives the best and most robust performance on new independent data. It clearly outperforms the dummy model which would predict constant concentrations for all locations (multiplicative minimum RMSE (mRMSE) of 0.76 vs. 1.78 of the dummy model). Furthermore, we demonstrate that it is possible to detect concept drift, i.e. situations where the model is applied outside its training domain and a new LES run may be necessary to obtain reliable results. Regression models can be used to replace LES simulations in estimating air pollutant concentrations, unless higher accuracy is needed. In order to have reliable results, it is however important to do the model and feature selection carefully to avoid overfitting and to use methods to detect the concept drift.
Introduction
Urban air pollution is a significant global health crisis, contributing to millions of premature deaths annually. Designing "breathable" cities requires a deep understanding of how building layouts and vegetation influence pollutant dispersion. Currently, Large-Eddy Simulation (LES) is the high-fidelity computational fluid dynamics (CFD) technique used to resolve these turbulent airflows. However, LES is computationally intensive; a single city block simulation can require over 1,000 CPU days. This barrier prevents urban planners from iterating quickly on design alternatives.
This study investigates whether statistical machine-learning (ML) models can replicate LES outputs, providing accurate pollutant concentration estimates in seconds rather than months.
Methodology
The researchers evaluated ten different regression model families, including simple linear models and complex ensembles such as Random Forests, Gradient Boosting, and Gaussian Process Regression (GPR).
Feature Engineering and Model Selection
A critical component of the methodology was Forward Feature Selection. Instead of using raw data, the team identified the most predictive "surrogate features," such as the height-to-width ratio of street canyons and Gaussian convolutions of pollutant emissions. These convolutions represent the spatial spread of pollution to neighboring areas, effectively "pre-digesting" the physics for the ML models.
Surprisingly, log-linear regression emerged as the most robust model. By log-transforming the target pollutant concentration, a linear model could effectively capture the non-linear nature of dispersion while avoiding the overfitting common in more complex "black-box" models.
Concept Drift Detection
To ensure the reliability of ML predictions in practical applications, the authors introduced the "Drifter" algorithm. This tool detects "concept drift"—situations where a new urban layout is too dissimilar from the training data for the model to provide a trustworthy prediction. In such cases, the system signals that a full LES run is necessary.
Datasets and Evaluation
The study utilized two primary LES datasets generated by the PALM model system to train and validate the models:
- KU18 (Training/Validation): This dataset includes four distinct city-planning alternatives (V1–V4) under two wind directions, providing a diverse set of building morphologies.
- KA20 (Independent Testing): A separate boulevard layout with realistic aerosol physics was used as an independent test set to ensure the models learned generalizable physics rather than just memorizing training patterns.
Key Results and Insights
The log-linear model achieved a multiplicative minimum RMSE (mRMSE) of 0.76, a significant improvement over the dummy baseline model's mRMSE of 1.78. While full LES simulations take approximately 10³ CPU days, the trained regression models provide results nearly instantaneously.
The models were particularly effective at capturing mean concentration levels across boulevards. However, they acted as "smoothers," occasionally missing fine-scale turbulent details and localized peak concentrations caused by specific building geometries that only a full LES can resolve.
Conclusion and Future Work
This research demonstrates that machine learning can successfully serve as a surrogate for expensive LES in urban planning. The combination of log-linear regression and concept drift detection provides a framework for rapid, reliable air quality assessment.
Future work will focus on expanding the training library to include more complex urban morphologies and varying meteorological conditions, such as different atmospheric stability regimes, to further generalize the models' predictive power.
Summary updated