Nearest Neighbour Score Estimators for Diffusion Generative Models

Matthew Niedoba, Dylan Green, Saeid Naderiparizi, Vasileios Lioutas, J. Lavington +7 more
2/12/2026

No official code found. Best implementation: plai-group/knn-score (2 stars, last commit 2024-07-16).

Abstract

Score function estimation is the cornerstone of both training and sampling from diffusion generative models. Despite this fact, the most commonly used estimators are either biased neural network approximations or high variance Monte Carlo estimators based on the conditional score. We introduce a novel nearest neighbour score function estimator which utilizes multiple samples from the training set to dramatically decrease estimator variance. We leverage our low variance estimator in two compelling applications. Training consistency models with our estimator, we report a significant increase in both convergence speed and sample quality. In diffusion models, we show that our estimator can replace a learned network for probability-flow ODE integration, opening promising new avenues of future research.

View on arXivView PDF

Code Implementations(1)

Official repository for "Nearest Neighbour Score Estimators for Diffusion Generative Models"

20PythonMay 31, 20242 years ago

Similar Papers

Cite this paper

@article{niedoba2026nearest,
  title  = {Nearest Neighbour Score Estimators for Diffusion Generative Models},
  author = {Matthew Niedoba and Dylan Green and Saeid Naderiparizi and Vasileios Lioutas and J. Lavington and Xiaoxuan Liang and Yunpeng Liu and Ke Zhang and Setareh Dabiri and Adam Scibior and Berend Zwartsenberg and Frank Wood},
  year   = {2026},
  eprint = {2402.08018},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.08018},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.08018.svg)](https://codeofpaper.com/paper/2402.08018)

Discussion