Diverging Flows: Detecting Extrapolations in Conditional Generation
About
The ability of Flow Matching (FM) to model complex conditional distributions has established it as the state-of-the-art for prediction tasks (e.g., robotics, weather forecasting). However, deployment in safety-critical settings is hindered by a critical extrapolation hazard: driven by smoothness biases, flow models yield plausible outputs even for off-manifold conditions, resulting in silent failures indistinguishable from valid predictions. In this work, we introduce Diverging Flows, a novel approach that enables a single model to simultaneously perform conditional generation and native extrapolation detection by structurally enforcing inefficient transport for off-manifold inputs. We evaluate our method on synthetic manifolds, cross-domain style transfer, and weather temperature forecasting, demonstrating that it achieves effective detection of extrapolations without compromising predictive fidelity or inference latency. These results establish Diverging Flows as a robust solution for trustworthy flow models, paving the way for reliable deployment in domains such as medicine, robotics, and climate science.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Out-of-Distribution Detection | FMNIST vs. MNIST | AUROC (%)98.7 | 11 | |
| Probabilistic Regression | Synthetic Manifold (test) | AUROC99.8 | 6 | |
| Surface Temperature Forecasting | ERA5 (test) | MSE0.0034 | 4 | |
| Off-Manifold Detection | Temperature Forecasting Hotspots | AUROC0.98 | 4 | |
| Off-Manifold Detection | Style Transfer vs KMNIST | AUROC0.892 | 4 | |
| Conditional Generation | Synthetic Manifold (test) | AUROC0.981 | 3 | |
| Extrapolation Detection | MNIST to SVHN vs FMNIST | AUROC0.955 | 3 | |
| Extrapolation Detection | MNIST to SVHN vs KMNIST | AUROC0.86 | 3 | |
| Physical Anomaly Detection | ERA5 (test) | AUROC0.98 | 3 | |
| Cross-Domain Style Transfer | MNIST to SVHN | FID (50K)4.104 | 3 |