NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion-Augmented Neural Processes

Lorenzo Bonito, James Requeima, Aliaksandra Shysheya, Richard E. TurnerarXiv 2023

Abstract

Over the last few years, Neural Processes have become a useful modelling tool in many application areas, such as healthcare and climate sciences, in which data are scarce and prediction uncertainty estimates are indispensable. However, the current state of the art in the field (AR CNPs; Bruinsma et al., 2023) presents a few issues that prevent its widespread deployment. This work proposes an alternative, diffusion-based approach to NPs which, through conditioning on noised datasets, addresses many of these limitations, whilst also exceeding SOTA performance.

Introduction

Neural Processes (NPs) represent a powerful family of meta-learning models that bridge the gap between the functional flexibility of deep learning and the robust uncertainty estimation of Gaussian Processes. They are particularly valuable in "small data" regimes where prior knowledge must be leveraged to make predictions from limited observations.

Despite their potential, current state-of-the-art Autoregressive Conditional Neural Processes (AR CNPs) face significant hurdles. First, they often struggle with "simplicity at the start"; because they generate data point-by-point, early predictions are often limited to simple Gaussian distributions that fail to capture complex global structures. Second, they lack mathematical consistency, often proving sensitive to the ordering of target points. Finally, their computational cost scales linearly with the number of target points ($N_t$), making them computationally prohibitive for dense or large-scale prediction tasks.

Methods: Diffusion-Augmented Neural Processes

To address these limitations, we introduce Diffusion-Augmented Neural Processes (DANPs). Rather than predicting target points sequentially, DANPs treat the prediction task as a multi-level denoising process across the entire target set simultaneously.

The Denoising Framework

Inspired by Denoising Diffusion Probabilistic Models, DANPs utilize data augmentation through noising. During training, auxiliary versions of the target data are generated by adding progressive levels of Gaussian noise. At inference time, the model performs autoregressive denoising: it begins with the noisiest version of the data and refines it level-by-level, conditioning on the original context set and the previously generated (noisier) fidelity levels.

The DANP inference architecture, illustrating the multi-level denoising process used to generate the joint predictive distribution.

Architecture and Training

The implementation utilizes a U-Net backbone (based on the ConvGNP architecture) to manage the multi-channel inputs and outputs required for different noise levels. A "task masking" technique is employed during training, where the model is randomly assigned a specific noise level to predict, given the context and all noisier levels. This approach allows the noised fidelity levels to act as implicit latent variables, inducing complex, non-Gaussian dependencies without the need for complex variational inference.

Results

The DANP model was evaluated against several baselines, including ConvCNP and AR ConvCNP, across three 1D regression meta-datasets: Sawtooth Waves, Square Waves, and Gaussian Process samples.

Performance and Data Efficiency

DANPs significantly outperformed AR ConvCNPs in terms of average log-likelihood. On the Sawtooth dataset, for instance, DANP achieved a likelihood of 82.26, a substantial improvement over the 63.23 achieved by the AR baseline. Notably, DANPs showed a marked advantage in "low-context" regimes, providing more accurate and certain predictions even when very few data points were known.

Log-likelihood performance as a function of context set size, showing DANP (labeled DNP) consistently outperforming existing NP variants.

Computational Scaling

A key advantage of the DANP approach is its efficiency. While AR models require $N_t$ forward passes (scaling linearly with target points), a DANP requires a fixed number of passes ($F+1$) regardless of the target set size. This results in constant-time scaling relative to the number of target points, making DANPs significantly faster for dense prediction tasks.

Discussion and Future Work

DANPs represent a significant step forward for Neural Processes, offering a solution to the consistency and scaling issues of autoregressive models while capturing global correlations from the very first step of inference.

However, some limitations remain. The current evaluation is focused on 1D synthetic regression; future work should extend these methods to 2D and 3D real-world datasets, such as climate modeling or satellite imagery. Additionally, the performance gains are somewhat sensitive to the choice of underlying architecture and the number of noise levels. Despite these areas for refinement, DANPs provide a robust and efficient framework for uncertainty-aware meta-learning.

Summary updated

BibTeX
@misc{bonito2023diffusion,
  author = {Lorenzo Bonito and James Requeima and Aliaksandra Shysheya and Richard E. Turner},
  title = {{Diffusion-Augmented Neural Processes}},
  year = {2023},
  eprint = {2311.09848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.09848},
}
Figure