Projection Pursuit Density Ratio Estimation

Meilin Wang, Wei Huang, Mingming Gong, Zheng Zhang · DOI

Abstract

Density Ratio Estimation (DRE) is a fundamental task in machine learning, essential for addressing covariate shift, outlier detection, and causal inference. Traditional non-parametric DRE methods often struggle with the "curse of dimensionality," becoming inaccurate as feature counts increase. Conversely, deep learning models, while capable in high dimensions, often lack theoretical transparency and convergence guarantees. This paper presents ppDRE, a novel approach that leverages Projection Pursuit to estimate density ratios by iteratively identifying informative one-dimensional projections. We demonstrate that ppDRE effectively bypasses the curse of dimensionality, maintaining high accuracy and providing rigorous theoretical convergence guarantees.

Introduction

Estimating the ratio between two probability distributions, $r^*(x) = p(x)/q(x)$, is a critical component in many machine learning pipelines. Whether correcting for "covariate shift"—where training and test distributions differ—or calculating causal effects, accurate DRE is paramount. However, practitioners face a "Goldilocks" problem: simple parametric models are often too rigid, while flexible non-parametric models, such as linear sieve methods (e.g., KLIEP or uLSIF), fall victim to the curse of dimensionality. As the dimension $d$ increases, the data becomes sparse, requiring an exponentially increasing number of parameters to maintain accuracy, which leads to high variance and poor generalization.

Methodology: Projection Pursuit DRE

The authors propose ppDRE, which adapts the classical statistical technique of Projection Pursuit (PP) to the DRE problem. The core innovation lies in approximating a complex, high-dimensional density ratio as a product of simpler, univariate functions.

The ppDRE algorithm operates through an iterative refinement process:

  1. Project: The algorithm identifies a specific direction (a unit vector $a_k$) in the high-dimensional space that is most informative for the ratio.
  2. Estimate: It estimates a univariate "pursuit function" $f_k$ using a linear sieve on the data projected onto that direction.
  3. Update: The total density ratio estimate is updated multiplicatively: $r(x) \approx \prod_{k=1}^K f_k(a_k^\top x)$.

By focusing on one dimension at a time, the model avoids the exponential complexity of the full space. The use of linear sieves for the 1D functions provides closed-form solutions for coefficients, ensuring computational efficiency and allowing for mathematical proofs of consistency and convergence rates.

Visual comparison of various DRE methods against the true density ratio in 2D settings

Experimental Evaluation and Results

The researchers evaluated ppDRE across synthetic toy examples, causal inference tasks (IHDP-continuous dataset), and real-world covariate shift benchmarks (e.g., Diamond Prices, Computer Activity).

Breaking the Curse of Dimensionality

A primary advantage of ppDRE is its stability in high-dimensional spaces. In stabilized weights estimation tasks, the performance of traditional methods like KLIEP and uLSIF degrades rapidly as the dimension of covariates increases. In contrast, ppDRE maintains a significantly lower and more stable Root Mean Squared Logarithmic Error (RMSLE).

RMSLE of DRE methods as a function of dimensionality, showing ppDRE's superior scalability

Key Insights

  • Integrated Dimensionality Reduction: Unlike methods requiring separate pre-processing, ppDRE identifies relevant directions during the estimation process, preserving vital information.
  • Multiplicative Refinement: The product-based approach naturally captures complex interactions between features.
  • Theoretical Reliability: The paper provides rigorous proofs that estimation error vanishes as iterations and samples increase, bridging the gap between deep learning performance and statistical reliability.

Conclusion

ppDRE represents a significant step forward in high-dimensional density ratio estimation. By combining the iterative strengths of Projection Pursuit with the theoretical foundations of linear sieves, it offers a method that is both flexible and robust. Future research will explore adaptive stopping criteria to enhance computational efficiency and the application of this framework to independence testing.

Paper Citation: Wang, M., Huang, W., Gong, M., & Zhang, Z. (2025). Projection Pursuit Density Ratio Estimation. Proceedings of the 42nd International Conference on Machine Learning (ICML), Vancouver, Canada.

Summary updated

BibTeX
@inproceedings{wang2025projection,
  author = {Meilin Wang and Wei Huang and Mingming Gong and Zheng Zhang},
  title = {{Projection Pursuit Density Ratio Estimation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=MgNeJO0PcF},
}
Figure