Manuscript Offprint

arXiv:2609.37565

A Model-Agnostic Physics-Guided Adapter for Few-Shot Transfer of Coastal Flood Prediction Models to Unseen Regions

Bilal Hassan, Areg Karapetyan, Samer Madanat

ABSTRACT

Deep learning (DL) surrogates can produce high-resolution coastal flood maps orders of magnitude faster than physics-based hydrodynamic simulators, yet transferring them to new coastal regions remains costly, since generating target-region data for fine-tuning typically requires numerous time-consuming simulations. To tackle this bottleneck, we introduce the Physics Adapter (PA), a compact, architecture-agnostic adaptation interface that enables efficient few-shot transfer of flood prediction models across diverse coastal regions. PA predicts peak water level through a differentiable wet/dry response that compares terrain elevation against a learned water level, and blends this physics-structured prediction with a data-driven branch through a learned gate. Unlike physics-informed formulations, PA imposes no PDE-residual or conservation losses and instead exploits elevation as an architectural inductive bias, adding a negligible number of trainable parameters. We integrate PA into 12 heterogeneous models, spanning graph, convolutional, Transformer, state-space, depth-foundation and diffusion models, and evaluate them on two coastal regions with markedly distinct geometries, topographies, and shoreline protection configurations. The performance of PA is benchmarked against a no-physics baseline, full fine-tuning, and standard parameter-efficient fine-tuning (PEFT) methods, considering both within-region generalization to unseen sea level rise (SLR) values and between-region transfer. In low-shot regime (K=3), and averaged over all backbones and transfer settings, adding PA reduces root mean square error (RMSE) by 11.5% when only the output head is adapted on a frozen backbone, by 15.4% when combined with PEFT methods, and by 22.9% under full fine-tuning, compared to matched configurations without PA. Taken together, the findings of this work offer practitioners a concrete recipe for extending DL-based coastal flood predictors to new, data-scarce regions, thereby advancing scalable AI support for coastal adaptation planning.

1 INTRODUCTION

Climate adaptation-aware coastal protection planning requires repeated prediction of how peak water level (PWL) responds to candidate shoreline protection configurations under different sea level rise (SLR) and forcing conditions. Physics-based high-fidelity simulators, such as Delft3D (Lesser et al., 2004), can accurately simulate nearshore hydrodynamics, providing fine-grained estimates of depth, duration, and velocity of floods. However, due to prohibitively high computational cost, their direct adoption in large-scale coastal protection investigations, where each combination of protection configuration and SLR value requires a separate simulation, remains impractical (Jia et al., 2019). Prior studies (Hassan et al., 2026; Karapetyan et al., 2026; Bian et al., 2025) have demonstrated that learned surrogate models can dramatically reduce this computational burden by approximating the simulator's output, thereby replacing repeated hydrodynamic simulations with efficient inference.

Existing surrogate models have been typically trained and evaluated for one coastline or forcing condition, and their accuracy can degrade sharply when applied to a different coastal region or forcing conditions outside the training range (Sec. 5; see also Zhao et al., 2026). This hinders their practical deployment, since generating sufficient training data for every new setting entails additional hydrodynamic simulations and substantial compute. Moreover, how well existing surrogates transfer across coastlines and SLR conditions, and how many target simulations are necessary to attain satisfactory performance, remains largely unexamined.

In this paper, we investigate whether pretrained coastal flood prediction models can be adapted to new regions and SLR conditions from only a few target simulations, and whether this can be achieved in an architecture-agnostic manner. The problem is challenging for two reasons. First, domain shift arises in different forms: geographic transfer changes terrain, protection geometry, landcover structure, and flood response, whereas SLR transfer affects the forcing within the same region. An effective adaptation mechanism must handle both from only a handful of labeled examples. Second, achieving this in an architecture-agnostic manner is difficult, since the surrogate models can span various learned representations, from graph and mesh networks to vision, state-space and diffusion models. As Lee et al. (2022) illustrate, with limited target data the choice of which parameters to update matters, and the best choice depends on the type of shift. Parameter-efficient fine-tuning (PEFT) methods, such as LoRA (Hu et al., 2021), BitFit (Zaken et al., 2022), and IA 3^{3} (Liu et al., 2022a), restrict updates to selected parameters or inserted modules. These methods specify where and how a source model changes, but do not encode any flood-specific relation between PWL and the physical variables that remain observable in the target domain. In this context, we treat parameter efficiency and physical structure as distinct, potentially complementary components of adaptation.

A recent article by Daramola et al. (2026) argues that transferable coastal flood models require inductive biases reflecting the underlying hydrodynamic processes, rather than solely relying on statistical similarity between source and target regions. In line with this view, we anchor our approach on terrain elevation, which is readily available for coastal regions and is directly linked to inundation extent and dynamics. More concretely, we introduce a lightweight module, termed the Physics Adapter (PA), that combines elevation with the features of a pretrained surrogate model (hereafter, also referred to as backbone) to predict PWL. A physics-guided branch predicts PWL through a differentiable wet/dry response that compares terrain elevation against a learned water level, while a parallel data-driven branch captures effects that terrain alone does not explain. A learned gate combines the two predictions. As PA requires only backbone features and elevation, it can be attached to any architecture, with only the integration interface tailored to each backbone. Unlike physics-informed formulations such as PINNs (Raissi et al., 2019), PA does not embed the shallow-water or Navier Stokes equations, minimize PDE residuals, or enforce mass or momentum conservation. Terrain elevation thus serves PA as an architectural inductive bias rather than a governing-equation constraint.

We instantiate PA across 12 diverse backbones and evaluate it on two coastal regions with markedly different geometries, topographies, and shoreline protection configurations, namely the coastal city of Abu Dhabi (AD) and the San Francisco (SF) Bay Area. Our main contributions are as follows:

• A lightweight, architecture-agnostic physics-guided adapter: PA injects terrain-based physical structure into pretrained flood surrogates without PDE-residual or conservation losses, while adding a negligible number of trainable parameters.

• Extensive Evaluation: We evaluate twelve backbones spanning graph, dense-vision, state-space, foundation, and diffusion models under bidirectional cross-region transfer (SF↔AD) and within-region SLR transfer, comparing ten adaptation regimes (full fine-tuning, head-only adaptation, and three PEFT methods, each with and without PA) under a matched protocol.

• Empirical evidence that physical structure complements parameter efficiency: Averaged across backbones and transfer settings, every regime with PA outperforms every regime without it once a single target simulation is available, and adapting PA alone surpasses full fine-tuning without PA. At the level of individual backbones, a PA regime remains the best parameter-efficient choice for nine of the twelve models.

References (77)