A Model-Agnostic Physics-Guided Adapter for Few-Shot Transfer of Coastal Flood Prediction Models to Unseen Regions
Organizations: Division of Engineering New York University Abu Dhabi Abu Dhabi, UAE
Abstract
Deep learning 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, 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 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 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.
Figures & tables
| In-domain | Transfer (mean over ) | ||||||
| Backbone | Source | RMSE (m) | Best regime | RMSE | Best without full FT | RMSE | |
| VM-UNet | PA | 0.0542 0.0015 | 0.9660 0.0008 | FT+PA | 0.1421 | LoRA | 0.1467 |
| Swin V2 | PA | 0.0630 0.0025 | 0.9582 0.0055 | FT+PA | 0.1635 | LoRA+PA | 0.1662 |
| MaxViT | PA | 0.0639 0.0033 | 0.9564 0.0039 | FT+PA | 0.1663 | LoRA+PA | 0.1749 |
| CASPIAN | PA | 0.0686 0.0036 | 0.9560 0.0060 | FT+PA | 0.1388 | LoRA+PA | 0.1477 |
| Depth Pro | PA | 0.0713 0.0046 | 0.9522 0.0005 | FT+PA | 0.2245 | LoRA | 0.2423 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Family | Backbone | Representation passed to PA | Interface realization |
|---|---|---|---|
| Graph | GCN ( Kipf and Welling, 2017 ) | Node-aligned latent embeddings | Node-wise PA heads over retained graph locations. |
| Graph attention | GAT ( Veličković et al., 2018 ) | Node-aligned attention embeddings | Node-wise PA heads over retained graph locations. |
| Mesh graph | MGN ( Pfaff et al., 2021 ) | Node-aligned latent embeddings | Node-wise PA heads after native mesh message passing. |
| Scientific attention | Transolver++ ( Luo et al., 2025 ) | Site-aligned operator representation | Node-wise PA heads at the physical prediction sites. |
| Dense vision | CASPIAN ( Karapetyan et al., 2026 ) | Dense spatial feature map | Dense features, then pointwise PA heads. |
| Dense vision | ConvNeXt V2 ( Woo et al., 2023 ) | Dense and multi-scale visual features | Dense decoding and alignment, then pointwise PA heads. |
| Regime | Source checkpoint | Trainable during adaptation | Frozen during adaptation |
| FT+PA | PA source | Trainable backbone and interface, and PA parameters | Only components fixed by design (e.g., the SD3.5 foundation in ControlNet). |
| FT | Raw source | Trainable backbone and interface, and prediction head | Only components fixed by design (e.g., the SD3.5 foundation in ControlNet). |
| NPA | Raw source | Prediction head | Backbone and interface. |
| PA | PA source | PA parameters | Backbone and interface. |
| LoRA (PEFT) | Raw source | Rank-8 LoRA parameters | Prediction head and all base parameters. |
| BitFit (PEFT) | Raw source | Selected bias parameters | Prediction head and all other parameters. |
| Experiment | Source target | Scenarios | Seeds | |
|---|---|---|---|---|
| In-domain SF | SF SF | 285 (168/57/60) | – | 3 |
| In-domain AD | AD AD | 142 (82/28/32) | – | 3 |
| Cross-region | SF AD | 142 (82/28/32) | 0,1,3,5,10 | 3 |
| Cross-region | AD SF | 285 (168/57/60) | 0,1,3,5,10 | 3 |
| Cross-SLR | 32 (26 pool / 6 test) | 0,1,3,5,10 | 3 | |
| Cross-SLR | 32 (26 pool / 6 test) | 0,1,3,5,10 | 3 |
| Backbone | Source | MAE (m) | RMSE (m) | (%) | RTAE (%) | (%) | (%) | |
|---|---|---|---|---|---|---|---|---|
| VM-UNet | PA | 0.0026 0.0001 | 0.0542 0.0015 | 0.9660 0.0008 | 99.9364 0.0046 | 3.5310 0.0806 | 0.0648 0.0035 | 0.3044 0.0230 |
| Swin V2 | PA | 0.0037 0.0002 | 0.0630 0.0025 | 0.9582 0.0055 | 99.8055 0.0267 | 4.8003 0.2261 | 0.1000 0.0115 | 0.6650 0.0454 |
| MaxViT | PA | 0.0038 0.0003 | 0.0639 0.0033 | 0.9564 0.0039 | 99.7953 0.0427 | 4.8321 0.6176 | 0.0980 0.0113 | 0.6697 0.0680 |
| CASPIAN | PA | 0.0041 0.0003 | 0.0686 0.0036 | 0.9560 0.0060 | 99.8178 0.0077 | 5.5597 0.4478 | 0.1266 0.0161 | 0.7107 0.0376 |
| Depth Pro | PA | 0.0046 0.0007 | 0.0713 0.0046 | 0.9522 0.0005 | 99.7172 0.0215 | 6.2101 1.0633 | 0.1425 0.0363 | 0.7708 0.1173 |
| Depth Anything V2 | PA | 0.0049 0.0001 | 0.0747 0.0017 | 0.9503 0.0052 | 99.6402 0.0806 | 6.7128 0.1161 | 0.1561 0.0092 | 0.8686 0.0269 |
| Backbone | Source | MAE (m) | RMSE (m) | (%) | RTAE (%) | (%) | (%) | |
|---|---|---|---|---|---|---|---|---|
| VM-UNet | PA | 0.0039 0.0002 | 0.0866 0.0030 | 0.9469 0.0015 | 99.9012 0.0098 | 4.4593 0.1712 | 0.1058 0.0095 | 0.4604 0.0384 |
| Swin V2 | PA | 0.0044 0.0002 | 0.0902 0.0014 | 0.9450 0.0013 | 99.7979 0.0659 | 5.5141 0.0702 | 0.1175 0.0084 | 0.7135 0.0074 |
| MaxViT | PA | 0.0048 0.0004 | 0.0943 0.0045 | 0.9431 0.0034 | 99.7823 0.0865 | 5.8221 0.6174 | 0.1261 0.0105 | 0.7930 0.0977 |
| CASPIAN | PA | 0.0055 0.0007 | 0.0984 0.0061 | 0.9412 0.0034 | 99.7413 0.0271 | 7.0318 0.9230 | 0.1648 0.0330 | 0.9159 0.1249 |
| Depth Pro | PA | 0.0064 0.0015 | 0.1099 0.0106 | 0.9328 0.0103 | 99.7026 0.0619 | 8.4506 2.3253 | 0.2215 0.0785 | 0.9217 0.2590 |
| Depth Anything V2 | PA | 0.0069 0.0005 | 0.1143 0.0055 | 0.9293 0.0036 | 99.5482 0.1792 | 9.3712 0.1613 | 0.2330 0.0247 | 1.0656 0.0793 |
| Backbone | Source | MAE (m) | RMSE (m) | (%) | RTAE (%) | (%) | (%) | |
|---|---|---|---|---|---|---|---|---|
| VM-UNet | PA | 0.0013 0.0000 | 0.0217 0.0008 | 0.9851 0.0002 | 99.9715 0.0028 | 2.6026 0.0221 | 0.0239 0.0024 | 0.1484 0.0133 |
| Swin V2 | PA | 0.0030 0.0005 | 0.0357 0.0050 | 0.9714 0.0106 | 99.8130 0.0193 | 4.0864 0.3839 | 0.0824 0.0268 | 0.6164 0.0879 |
| MaxViT | PA | 0.0027 0.0002 | 0.0335 0.0021 | 0.9697 0.0044 | 99.8083 0.0133 | 3.8421 0.6210 | 0.0698 0.0126 | 0.5464 0.0425 |
| CASPIAN | PA | 0.0028 0.0001 | 0.0387 0.0012 | 0.9708 0.0091 | 99.8943 0.0297 | 4.0875 0.0611 | 0.0885 0.0010 | 0.5055 0.0569 |
| Depth Pro | PA | 0.0028 0.0002 | 0.0327 0.0021 | 0.9716 0.0101 | 99.7319 0.0192 | 3.9696 0.2843 | 0.0636 0.0088 | 0.6199 0.0340 |
| Depth Anything V2 | PA | 0.0030 0.0003 | 0.0352 0.0022 | 0.9712 0.0097 | 99.7323 0.0281 | 4.0544 0.2756 | 0.0793 0.0114 | 0.6716 0.1031 |
| Regime | SF AD | AD SF | SF SF 0.5 | SF SF 1.5 |
|---|---|---|---|---|
| FT+PA | 0.4338 | 0.5401 | 0.1668 | 0.2403 |
| PEFT+PA (mean) | 0.4989 | 0.5992 | 0.1819 | 0.2727 |
| LoRA+PA | 0.5233 | 0.5653 | 0.1793 | 0.2629 |
| IA 3 +PA | 0.4847 | 0.6170 | 0.1818 | 0.2785 |
| BitFit+PA | 0.4887 | 0.6152 | 0.1847 | 0.2766 |
| PA | 0.5093 | 0.6198 | 0.1969 | 0.2998 |
Flood Inundation Mapping
Flood inundation mapping uses satellite imagery, terrain data, and models to locate flooded areas and estimate water depth for response and planning.
See all 27 papers