Unbounded Density Ratio Estimation and Its Application to Covariate Shift Adaptation
Authors: Ren-Rui Liu, Jun Fan, Lei Shi, Zheng-Chu Guo
Organizations: School of Mathematical Sciences, Zhejiang University, Hangzhou 310058, China · Department of Mathematics, Hong Kong Baptist University, Kowloon, Hong Kong · School of Mathematical Sciences and Shanghai, Key Laboratory for Contemporary Applied Mathematics, Fudan University, Shanghai 200433, China
This paper focuses on the problem of unbounded density ratio estimation -- an understudied yet critical challenge in statistical learning -- and its application to covariate shift adaptation. Much of the existing literature assumes that the density ratio is either uniformly bounded or unbounded but known exactly. These conditions are often violated in practice, creating a gap between theoretical guarantees and real-world applicability. In contrast, this work directly addresses unbounded density ratios and integrates them into importance weighting for effective covariate shift adaptation. We propose a three-step estimation method that leverages unlabeled data from both the source and target distributions: (1) estimating a relative density ratio; (2) applying a truncation operation to control its unboundedness; and (3) transforming the truncated estimate back into the standard density ratio. The estimated density ratio is then employed as importance weights for regression under covariate shift. We establish rigorous, non-asymptotic convergence guarantees for both the proposed density ratio estimator and the resulting regression function estimator, demonstrating optimal or near-optimal convergence rates. Our findings offer new theoretical insights into density ratio estimation and learning under covariate shift, extending classical learning theory to more practical and challenging scenarios.
Figures & tables
Figure 1: A comparison between the standard density ratio θ and the relative density ratio ϕ . The mixing coefficient is set to α=1/2 . Left: the source distribution ρXS is uniform on [0,1] , while the target distribution ρXT has a density proportional to (logx)2 . Right: the source and target distributions are N(0,1) and N(1,1) , respectively.
Definition
Definition
LS
LSf=∫Xf(x)K(⋅,x)dρXS(x)
LS
LSf=nθ1j=1∑nθf(xj)K(⋅,xj)
LT
LTf=∫Xf(x)K(⋅,x)dρXT(x)
LT
LTf=nθ1j=1∑nθf(xj′)K(⋅,xj′)
LR
LRf=(1−α)LSf+αLTf
LR
LRf=(1−α)LSf+αLTf
LW
LWf=∫Xθ(x)f(x)K(⋅,x)dρXS(x)
LW
LWf=nf1i=1∑nfθ(xi)f(xi)K(⋅,xi)
Table 1: Definitions of integral operators and their empirical counterparts. The unlabeled samples {xj}j=1nθ and {xj′}j=1nθ are drawn from ρXS and ρXT , respectively, while the labeled sample {xi}i=1nf is drawn from ρXS . The density ratio estimator θ=θμ,D is obtained via ( 14 ) with the optimal regularization parameter μ and truncation threshold D specified in Theorem 2 .