Density Ratio Estimation with Conditional Probability Paths

Hanlin Yu, Arto Klami, Aapo Hyvarinen, Anna Korba, Omar Chehab
2/1/2025

No official code found. Best implementation: ksnxr/dre-prob-paths (4 stars, last commit 2025-08-15).

Abstract

Density ratio estimation in high dimensions can be reframed as integrating a certain quantity, the time score, over probability paths which interpolate between the two densities. In practice, the time score has to be estimated based on samples from the two densities. However, existing methods for this problem remain computationally expensive and can yield inaccurate estimates. Inspired by recent advances in generative modeling, we introduce a novel framework for time score estimation, based on a conditioning variable. Choosing the conditioning variable judiciously enables a closed-form objective function. We demonstrate that, compared to previous approaches, our approach results in faster learning of the time score and competitive or better estimation accuracies of the density ratio on challenging tasks. Furthermore, we establish theoretical guarantees on the error of the estimated density ratio.

View on arXivView PDF

Code Implementations(1)

Code for Density Ratio Estimation with Conditional Probability Paths, accepted to ICML 2025

41C++, CudaMay 27, 20251 years ago

Similar Papers

Cite this paper

@article{yu2025density,
  title  = {Density Ratio Estimation with Conditional Probability Paths},
  author = {Hanlin Yu and Arto Klami and Aapo Hyvarinen and Anna Korba and Omar Chehab},
  year   = {2025},
  eprint = {2502.02300},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.02300},
  journal = {ICML 2025 2025}
}

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/2502.02300.svg)](https://codeofpaper.com/paper/2502.02300)

Discussion