Flow Neural Processes: Efficient Probabilistic Inference via Amortized Probability Flows
Neural Processes (NPs) provide a flexible framework for learning distributions over functions from sparse observations. Existing approaches often face a tradeoff between expressive uncertainty modeling and efficient inference. We address this challenge with a unified flow-based framework for Neural Processes. First, we introduce Flow Neural Processes (FlowNP), which formulates conditional function generation through flow matching and learns conditional probability flows over arbitrary context and target sets. FlowNP enables coherent posterior sampling and likelihood estimation while achieving state-of-the-art performance across standard NP benchmarks. However, sample generation requires iterative ODE integration, resulting in increased inference costs. To address this limitation, we introduce Direct Flow Neural Processes (D-FlowNP), a step-amortized extension that learns large integration steps through self-consistency objectives, enabling accurate posterior sampling with substantially fewer function evaluations. We evaluate the proposed framework on synthetic Gaussian processes, image completion, weather forecasting, Navier-Stokes simulations, and black hole imaging. Across…
- arXiv
- 2612.05828
- Authors
- Azmi Haider, Hussen Abu Hamad, Dan Rosenbaum
- Categories
- cs.LG