stat.MLApr 12, 2026

One-Step Score-Based Density Ratio Estimation

Authors: Wei Chen, Qibin Zhao, John Paisley, Junmei Yang, Delu Zeng

Organizations: School of Mathematics, South China University of Technology, Guangzhou 510006, China · Tensor Learning Team, RIKEN Center for Advanced Intelligence Project, Tokyo 103-0027, Japan · Department of Electrical Engineering, Columbia University, New York, NY 10027, USA · School of Electronic and Information Engineering, South China University of Technology, Guangzhou 510006, China

Abstract

Density ratio estimation (DRE) is a useful tool for quantifying discrepancies between probability distributions, but existing approaches often involve a trade-off between estimation quality and computational efficiency. Classical direct DRE methods are usually efficient at inference time, yet their performance can seriously deteriorate when the discrepancy between distributions is large. In contrast, score-based DRE methods often yield more accurate estimates in such settings, but they typically require considerable repeated function evaluations and numerical integration. We propose One-step Score-based Density Ratio Estimation (OS-DRE), a partly analytic and solver-free framework designed to combine these complementary advantages. OS-DRE decomposes the time score into spatial and temporal components, representing the latter with an analytic radial basis function (RBF) frame. This formulation converts the otherwise intractable temporal integral into a closed-form weighted sum, thereby removing the need for numerical solvers and enabling DRE with only one function evaluation. We further analyze approximation conditions for the analytic frame, and establish approximation error bounds for both finitely and infinitely smooth temporal kernels, grounding the framework in existing approximation theory. Experiments across density estimation, continual Kullback-Leibler and mutual information estimation, and near out-of-distribution detection demonstrate that OS-DRE offers a favorable balance between estimation quality and inference efficiency.

Figures & tables

Explore similar work

CardsList
  1. Constant-Target Energy Matching: A Unified Framework for Continuous and Discrete Density Estimation

    May 9, 2026Zhijun Zeng, Yixuan Jiang, Pipi Hu +1Energy-Based ModelsDensity Estimation

  2. In-Context Density Estimation for Tabular Data

    Aug 10, 2026Patryk Marszałek, Jacek Tabor, Marek ŚmiejaEnergy-Based ModelsUnsupervised Anomaly Detection

  3. Guidance for Prior Change via Density Ratio Estimation

    Aug 22, 2026Yichen Zang, Song Liu, Jiun-Yi LinInference-Time GuidanceSimulation-Based Inference