Bathymetry Inversion Using a Deep‐Learning‐Based Surrogate for Shallow Water Equations Solvers

Xiaofeng Liu, Yalan Song, Chaopeng Shen

Abstract

River bathymetry is critical for many aspects of water resources management. We propose and demonstrate a bathymetry inversion method using a deep-learning-based surrogate for shallow water equations solvers. The surrogate uses the convolutional autoencoder with a shared-encoder, separate-decoder architecture. It encodes the input bathymetry and decodes to separate outputs for flow-field variables. A gradient-based optimizer is used to perform bathymetry inversion with the trained surrogate. Two physically-based constraints on both bed elevation value and slope have to be added as inversion loss regularizations to obtain usable inversion results. Using the "L-curve" criterion, a heuristic approach was proposed to determine the regularization parameters. Both the surrogate model and the inversion algorithm show good performance. We found the bathymetry inversion process has two distinctive stages, which resembles the sculptural process of initial broad-brush calving and final detailing.

Introduction

Understanding the shape of a riverbed—its bathymetry—is essential for flood prediction, navigation, and infrastructure planning. However, measuring it directly using sonar or physical probes is expensive, labor-intensive, and often logistically impossible over large areas. Scientists often turn to "bathymetry inversion," a mathematical "reverse-engineering" trick where they use surface flow data (which can be captured via drones or satellites) to estimate the bed shape. The challenge is that this process is "ill-posed": many different bed shapes could theoretically produce the same surface ripples. Traditionally, solving this requires running thousands of slow physics-based simulations, making it computationally grueling. This paper introduces a hyper-efficient method that replaces slow physics simulations with a differentiable deep-learning surrogate, allowing for reconstruction of complex riverbed shapes in about a minute.

Methods

The authors propose a "Deep-Learning-Based Surrogate" approach consisting of three main components:

  1. The Surrogate: A Convolutional Autoencoder (CNN) is built to map riverbed shapes to flow fields. Unlike standard autoencoders that reconstruct the input, this model takes a bathymetry map as input and predicts the resulting velocity and water surface elevation (WSE).
  2. Automatic Differentiation: Because the surrogate is a neural network, it is mathematically differentiable. This allows the use of backpropagation to "wiggle" the input bathymetry until the predicted surface flow matches the observed data.
  3. Physical Regularization: To handle the ill-posed nature of the problem, two physically-based constraints are added to the loss function:
  4. Value Regularization: Keeps the bed elevation within a realistic range.
  5. Slope Regularization: Prevents the model from creating impossibly steep underwater cliffs, inspired by the natural "angle of repose" of sediment.
Architecture of the convolutional autoencoder surrogate model showing the shared-encoder and separate-decoder structure.

As illustrated in the figure above, the surrogate architecture utilizes a shared encoder to extract features from the bathymetry, which are then passed through separate decoder branches for velocity components ($u, v$) and WSE.

Experimental Setup

The study relied on synthetic data generated using the SRH-2D solver, a standard shallow water equations solver.

  • Training Data: 3,000 unique bathymetries were generated using a 2D Gaussian process to feature realistic bedforms like bars and pools.
  • Evaluation: The model was tested on 150 unseen cases. Data was mapped onto a grid representing a 25.6m x 6.4m rectangular channel.

Key Insights and Results

The inversion process was found to mirror a sculptor’s workflow in two distinct stages:

  • Stage 1 ("Broad-brush calving"): The model quickly identifies major landscape features, and flow prediction error drops rapidly.
  • Stage 2 ("Final detailing"): The flow error plateaus, and physical regularizations take over to smooth out artifacts and refine fine details.

The surrogate model demonstrated high fidelity, with a Root-Mean-Square Error (RMSE) for velocity of only ~0.007 m/s. Once trained, a single bathymetry inversion took only one minute on a standard GPU, a massive speedup over traditional methods. Furthermore, the researchers found that surface velocity alone carries enough signal to reconstruct the bed; including Water Surface Elevation (WSE) data did not significantly improve results.

Conclusion and Future Work

While the inversion is fast, the "offline" cost of generating 3,000 simulations for training remains significant (approx. 24 hours). The current study used a straight, rectangular channel; future work will focus on complex, real-world river geometries. Additionally, exploring point-to-point surrogate models or implementing differentiable physics directly in deep learning frameworks could address the "blocky" artifacts inherent in CNN-based grid representations.

Summary updated

BibTeX
@inproceedings{liu2022bathymetry,
  author = {Xiaofeng Liu and Yalan Song and Chaopeng Shen},
  title = {{Bathymetry Inversion Using a Deep‐Learning‐Based Surrogate for Shallow Water Equations Solvers}},
  booktitle = {Water},
  year = {2022},
}
Figure