Physics-Aware Downsampling with Deep Learning for Scalable Flood Modeling

Niv Giladi, Zvika Ben-Haim, Sella Nevo, Yossi Matias, Daniel Soudry

The Challenge of Scalable Flood Modeling

Floods are among the most devastating natural disasters globally, affecting hundreds of millions of lives. Accurate flood forecasting relies on solving complex Partial Differential Equations (PDEs)—specifically the Shallow Water Equations—over digital elevation maps. To achieve reliable results, these simulations require highly detailed, fine-grained maps (e.g., 1-meter resolution). However, simulating water flow over vast areas at this resolution is computationally prohibitive.

The standard workaround is to use a coarse grid (e.g., 16-meter resolution). While significantly faster, this approach often fails because simple mathematical averaging "smears out" vital terrain features. A narrow 8-meter-wide levee that prevents a city from flooding might disappear entirely in a 16-meter average, leading the simulation to predict a flood where none would occur. The core challenge is creating a coarse map that is computationally cheap to simulate but still behaves physically like a high-resolution map.

Physics-Aware Downsampling

Researchers from Google and Technion have developed a deep learning framework to "intelligently" downsample high-resolution terrain maps. Instead of using standard average pooling, they employ a Deep Neural Network (DNN) based on the ResNet-18 architecture to perform Physics-Aware Downsampling.

End-to-end training pipeline for physics-aware downsampling.

The framework operates through several key mechanisms:

  • End-to-End Training: The DNN takes a fine-grid terrain map and outputs a coarse-grid version. This coarse map, along with initial boundary conditions, is fed into a numerical PDE solver.
  • Differentiable Physics: The critical innovation is backpropagating the error—the difference between the coarse simulation and the "ground truth" fine simulation—through the PDE solver back into the neural network.
  • Hybrid Output: The network calculates a standard average and then learns a "correction map" to add on top. This ensures the model starts from a sensible baseline and only learns the necessary physical adjustments.
  • Optimization via Gradient Checkpointing: To handle the massive memory requirements of unrolling thousands of simulation time-steps, the team used gradient checkpointing, allowing them to compute gradients for simulations representing hours of real-world water flow.

Datasets and Ground Truth

The study utilized high-quality terrain data from the United States Geological Survey (USGS), specifically 1-meter Digital Elevation Models (DEMs) created using airborne lidar. The researchers focused on flood-prone areas around the Mississippi and Arkansas Rivers, tiling them into 5,183 individual 2km x 2km maps. Because real-world flood data is sparse, the "ground truth" was generated by running high-fidelity, fine-grid simulations on these maps, serving as the target for the coarse models to match.

Key Insights and Results

By training the network to preserve hydraulically critical features during coarsening, the researchers achieved a staggering 4096x theoretical speedup in simulation time. Downsampling by a factor of $x$ (in this case, 16) provides a speedup of $x^{d+1}$ for a $d$-dimensional problem. This is because there are $x^2$ fewer pixels to calculate, and the Courant–Friedrichs–Lewy (CFL) condition allows for time steps that are $x$ times larger ($16^3 = 4096$).

Comparison of simulated water flow using the baseline average pooling versus the DNN-generated coarse map.
  • Accuracy: The physics-aware DNN reduced the error (Huber loss) of the water height prediction by a factor of 2x to 3x compared to standard average pooling.
  • Feature Preservation: By forcing the network to optimize for the result of the physics simulation rather than visual similarity, the model learns to prioritize "hydraulically significant" features. It effectively "exaggerates" certain terrain features (like keeping a canal open or a dam high) in the coarse representation to ensure correct water flow.
  • Generalization: The model successfully generalized to entirely new terrains and different boundary conditions (e.g., varying water influx rates) unseen during training.

Limitations and Future Work

While inference (using the model) is incredibly fast, training requires backpropagating through thousands of PDE iterations, which is computationally expensive and requires specialized differentiable solvers. Additionally, the current model uses the Shallow Water Equations and neglects factors like the Coriolis force, which are vital for larger-scale oceanic modeling. Future work may also explore whether a single downsampled map remains accurate across the entire duration of a multi-day flood event, rather than being optimized for a specific simulation time horizon.

Summary updated

BibTeX
@inproceedings{giladi2021physics,
  author = {Niv Giladi and Zvika Ben-Haim and Sella Nevo and Yossi Matias and Daniel Soudry},
  title = {{Physics-Aware Downsampling with Deep Learning for Scalable Flood Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=R-jpFIeEcfD},
}
Figure