Search arXiv⌕ Search

arXiv subjects

Hussen Abu Hamad

Publications and source records attributed to Hussen Abu Hamad.

2 recordsLinked to original sources

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 domains, FlowNP improves predictive performance and uncertainty modeling, while D-FlowNP preserves sample quality under aggressive reductions in inference cost, enabling efficient one-step and few-step generation. Together, these results establish flow matching as an effective foundation for Neural Processes and demonstrate that inference-step amortization substantially improves their practical applicability.

cs.LG↗

Flow Matching Neural Processes

Neural processes (NPs) are a class of models that learn stochastic processes directly from data and can be used for inference, sampling and conditional sampling. We introduce a new NP model based on flow matching, a generative modeling paradigm that has demonstrated strong performance on various data modalities. Following the NP training framework, the model provides amortized predictions of conditional distributions over any arbitrary points in the data. Compared to previous NP models, our model is simple to implement and can be used to sample from conditional distributions using an ODE solver, without requiring auxiliary conditioning methods. In addition, the model provides a controllable tradeoff between accuracy and running time via the number of steps in the ODE solver. We show that our model outperforms previous state-of-the-art neural process methods on various benchmarks including synthetic 1D Gaussian processes data, 2D images, and real-world weather data.

cs.LG↗