Don't Forget Its Variance! The Minimum Path Variance Principle for Accurate and Stable Score-Based Density Ratio Estimation

Wei Chen, Jiacheng Li, Shigui Li, Zhiqi Lin, Junmei Yang, John Paisley, Delu Zeng

Abstract

Score-based methods have emerged as a powerful framework for density ratio estimation (DRE), but they face an important paradox: while theoretically path-independent, their practical performance depends critically on the chosen path schedule. We resolve this issue by proving that tractable training objectives differ from the ideal, ground-truth objective by a crucial, overlooked term: the path variance of the time score. To address this, we propose the MinPV (Minimum Path Variance) Principle, which introduces a principled heuristic to minimize this overlooked variance. Our key contribution is the derivation of a closed-form expression for the variance, turning an intractable problem into a tractable optimization. By parameterizing the path with a flexible Kumaraswamy Mixture Model, our method learns a data-adaptive, low-variance path without heuristic selection. This principled optimization of the complete objective yields more accurate and stable estimators, establishing new state-of-the-art results on challenging benchmarks.

Introduction

Density Ratio Estimation (DRE)—calculating the ratio between two probability distributions—is a fundamental task in machine learning, with applications ranging from causal inference to the training of Large Language Models. A significant challenge arises when distributions have minimal overlap, known as the "density-chasm" problem, where classical methods often fail.

Modern score-based methods address this by constructing a smooth interpolation path between distributions and integrating the "score" (the gradient of the log-density) along this path. While theory suggests any smooth path should suffice, empirical evidence shows that neural networks are highly sensitive to the specific path chosen (e.g., linear vs. cosine). This paper investigates this "path paradox" and proposes a principled method for selecting optimal paths.

The Minimum Path Variance (MinPV) Principle

The core contribution of this work is the identification of a hidden "path variance" term in standard training objectives. The authors prove that the discrepancy between the ideal training objective and the tractable score-matching loss used in practice is precisely the path variance of the ground-truth score.

Comparison of different interpolation paths and the conceptual difference between large and small path variance. High variance leads to unstable distribution changes, while low variance ensures smooth and stable transitions.

To minimize this variance, the authors introduce the MinPV principle, supported by three pillars:

  1. Theoretical Foundation: Proving that path variance is the dominant factor driving performance differences.
  2. Closed-Form Derivations: Developing analytical expressions for path variance for Deterministic Interpolants (DI) and Dequantified Diffusion Bridge Interpolants (DDBI), making optimization feasible.
  3. Kumaraswamy Mixture Model (KMM): Parameterizing the path schedule using a flexible KMM. This allows the model to "learn" the smoothest, lowest-variance path for a specific dataset via gradient descent, moving away from hand-tuned heuristics.

Experimental Evaluation

The MinPV principle was evaluated across a wide range of benchmarks:

  • Synthetic Manifolds: Including complex structures like the "tree" manifold, circles, and spirals.
  • Pathological MI Tasks: Tasks designed with heavy tails or discontinuities to challenge standard estimators.
  • High-Dimensional Data: Mutual Information estimation in up to 160 dimensions.
  • Real-World Tabular Data: Standard benchmarks such as BSDS300 and HEPMASS.

Key Results and Insights

The experiments demonstrate that MinPV consistently outperforms fixed-path baselines (Linear, VP, Cosine, etc.).

  • Stability and Accuracy: Learned paths tend to be more gradual near boundaries ($t=0$ and $t=1$), suppressing "velocity spikes" in the score function and improving numerical stability.
  • Superior Performance: On the BSDS300 dataset, MinPV improved test Negative Log-Likelihood by over 10 points compared to the best baseline. In high-dimensional MI estimation ($d=160$), MinPV maintained a low MSE (~1.02), while baselines exhibited significantly higher errors.
  • Geometry Awareness: The optimal path is data-dependent; for instance, "spherical" constraints proved superior for complex high-dimensional manifolds.

Conclusion

By transforming the "black art" of noise schedule tuning into a formal optimization problem, the Minimum Path Variance principle provides a robust framework for score-based DRE. Future work may explore applying this principle to improve the stability and sample quality of generative diffusion models.

Summary updated

BibTeX
@inproceedings{chen2026don,
  author = {Wei Chen and Jiacheng Li and Shigui Li and Zhiqi Lin and Junmei Yang and John Paisley and Delu Zeng},
  title = {{Don't Forget Its Variance! The Minimum Path Variance Principle for Accurate and Stable Score-Based Density Ratio Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=vf16PZJWD1},
}
Figure