Stochastic Flow Matching for Resolving Small-Scale Physics (2410.19814v1)
Abstract: Conditioning diffusion and flow models have proven effective for super-resolving small-scale details in natural images.However, in physical sciences such as weather, super-resolving small-scale details poses significant challenges due to: (i) misalignment between input and output distributions (i.e., solutions to distinct partial differential equations (PDEs) follow different trajectories), (ii) multi-scale dynamics, deterministic dynamics at large scales vs. stochastic at small scales, and (iii) limited data, increasing the risk of overfitting. To address these challenges, we propose encoding the inputs to a latent base distribution that is closer to the target distribution, followed by flow matching to generate small-scale physics. The encoder captures the deterministic components, while flow matching adds stochastic small-scale details. To account for uncertainty in the deterministic part, we inject noise into the encoder output using an adaptive noise scaling mechanism, which is dynamically adjusted based on maximum-likelihood estimates of the encoder predictions. We conduct extensive experiments on both the real-world CWA weather dataset and the PDE-based Kolmogorov dataset, with the CWA task involving super-resolving the weather variables for the region of Taiwan from 25 km to 2 km scales. Our results show that the proposed stochastic flow matching (SFM) framework significantly outperforms existing methods such as conditional diffusion and flows.
- Conditional diffusion models for downscaling and bias correction of earth system model precipitation, 2024. URL https://arxiv.org/abs/2404.14416.
- Building normalizing flows with stochastic interpolants. In International Conference on Learning Representations (ICLR), 2023.
- Stochastic interpolants with data-dependent couplings. arXiv preprint arXiv:2310.03725, 2023.
- Conditional image generation with score-based diffusion models. arXiv preprint arXiv:2111.13606, 2021.
- End-to-end object detection with transformers, 2020. URL https://arxiv.org/abs/2005.12872.
- Central Weather Administration (CWA). Weather data for taiwan. https://www.cwb.gov.tw/, 2021.
- Root mean square error (rmse) or mean absolute error (mae)?–arguments against avoiding rmse in the literature. Geoscientific Model Development, 7(3):1247–1250, 2014.
- Probabilistic forecasting with stochastic interpolants and follmer processes. arXiv [cs.LG], March 2024.
- Schrödinger bridge flow for unpaired data translation. arXiv preprint arXiv:2409.09347, 2024.
- Alexey Dosovitskiy. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
- Calibrated probabilistic forecasting using ensemble model output statistics and minimum crps estimation. Monthly Weather Review, 132(10):2921–2930, 2004.
- The era5 global reanalysis. Quarterly Journal of the Royal Meteorological Society, 146(730):1999–2049, 2020.
- simple diffusion: End-to-end diffusion for high resolution images. In International Conference on Machine Learning, pp. 13213–13232. PMLR, 2023.
- Runet: A robust unet architecture for image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 0–0, 2019.
- Elucidating the design space of diffusion-based generative models. arXiv preprint arXiv:2206.00364, 2022.
- Denoising diffusion restoration models. In Advances in Neural Information Processing Systems (NeurIPS), 2022. URL https://arxiv.org/abs/2201.11793.
- Diffusion model-based probabilistic downscaling for 180-year East Asian climate reconstruction. npj Climate and Atmospheric Science, 7(1):131, 2024. ISSN 2397-3722. doi: 10.1038/s41612-024-00679-1. URL https://doi.org/10.1038/s41612-024-00679-1.
- Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.
- I2sb: Image-to-image schrödinger bridge. arXiv preprint arXiv:2302.05872, 2023.
- Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.
- Residual corrective diffusion modeling for km-scale atmospheric downscaling. arXiv preprint arXiv:2309.15214, 2023.
- Steven A Orszag. On the elimination of aliasing in finite-difference schemes by filtering high-wavenumber components. J. Atmos. Sci., 28(6):1074–1074, September 1971. ISSN 0022-4928,1520-0469. doi: 10.1175/1520-0469(1971)028¡1074:oteoai¿2.0.co;2.
- Multisample flow matching: Straightening flows with minibatch couplings. arXiv preprint arXiv:2304.14772, 2023.
- High-resolution downscaling with interpretable deep learning: Rainfall extremes over new zealand. Weather and Climate Extremes, 38:100525, 2022.
- Enhancing regional climate downscaling through advances in machine learning. Artificial Intelligence for the Earth Systems, 3(2):230066, 2024.
- Palette: Image-to-image diffusion models. In ACM SIGGRAPH 2022 conference proceedings, pp. 1–10, 2022.
- Diffusion schrödinger bridge matching. arXiv preprint arXiv:2303.16852, 2023.
- Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
- Score-based generative modeling through stochastic differential equations. In Proceedings of the International Conference on Learning Representations (ICLR), 2021.
- Statistical downscaling of general circulation model output: A comparison of methods. Water resources research, 34(11):2995–3008, 1998.
- Daniel S Wilks. Statistical methods in the atmospheric sciences, volume 100. Academic press, 2011.
- Diffusion models for image restoration and enhancement – a comprehensive survey. arXiv preprint arXiv:2308.09388, 2023. URL https://arxiv.org/abs/2308.09388.
- Estimation of the continuous ranked probability score with limited information and applications to ensemble weather forecasts. Math. Geosci., 50(2):209–234, February 2018. ISSN 1874-8961,1874-8953. doi: 10.1007/s11004-017-9709-7.
- Residual dense network for image super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2472–2481, 2018.
- Improved super-resolution generative diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021.