Abstract
This paper provides a rigorous theoretical framework for understanding how Importance Weighting (IW)—a classic technique for handling distribution shifts—operates in high-dimensional kernel models. By analyzing Kernel Ridge Regression (KRR) in a regime where sample size and dimensionality grow proportionally, the authors reveal that IW acts as a form of data-dependent implicit regularization. While IW can effectively reduce variance, its impact on bias depends heavily on the model's explicit regularization settings.
Introduction
In real-world machine learning, training and test data often come from different distributions, a phenomenon known as covariate shift. For example, a model trained on data from one geographic region may be tested in another with different environmental conditions. The standard solution is Importance Weighting (IW), which weights training samples by the ratio of their test-to-train density. While well-understood for low-capacity models, the role of IW in high-capacity, "over-parameterized" models like high-dimensional kernels has been a subject of debate. This paper addresses how IW affects the bias-variance trade-off when both the number of samples ($n$) and the dimensions ($d$) are very large.
Methodology
The authors focus on Kernel Ridge Regression (KRR) in a high-dimensional regime where $n$ and $d$ grow proportionally. Their approach utilizes several key theoretical tools:
- Asymptotic Kernel Expansion: They derive a method to expand kernel functions (such as Gaussian or Polynomial kernels) under covariate shift, allowing them to "linearize" the problem and observe how kernel curvature interacts with distribution shifts.
- Bias-Variance Decomposition: The total error is decomposed into variance (noise sensitivity) and bias (model mismatch).
- Spectral Analysis: By treating importance weights as a diagonal matrix modifying the kernel matrix, the authors view IW as a "data-dependent" regularizer that changes the spectral properties of the model.
The study examines various kernel types, including inner-product and radial kernels. The specific formulations used are detailed in the table below.
To facilitate the theoretical analysis, the authors define expansion parameters for these kernels, which vary based on whether the kernel is an inner-product or radial type.
Key Theoretical Insights
IW as Implicit Regularizer
The most significant finding is that IW behaves mathematically as an additional, data-driven regularization term. It modifies the "effective dimension" of the kernel matrix, which explains its ability to improve generalization in high-dimensional settings.
Variance Reduction and the Bias Wall
The theory demonstrates that re-weighting is particularly effective at decreasing variance by making the model less sensitive to noise in the training data relative to the test distribution. However, the authors identify an "intrinsic bias" that depends solely on the nature of the covariate shift itself and cannot be eliminated by weighting. The additional bias introduced by the re-weighting process can be minimized if the explicit regularization ($\lambda$) is kept small.
The Interpolation Limit
In the "interpolation" regime (where $\lambda \to 0$), the effects of IW differ. While it may not provide significant benefits in perfectly specified cases, it remains a crucial tool for "misspecified" cases where the model does not perfectly match the underlying ground truth.
Results and Empirical Validation
The paper provides non-asymptotic upper bounds for both bias and variance, showing that error is controlled by the spectral decay of a re-weighted kernel matrix ($K^{lin}W$). Experiments using synthetic datasets—such as non-linear sine functions and Gaussian distributions with controlled eigenvalue decay—show a tight match between these theoretical bounds and actual empirical Mean Squared Error (MSE). The theory successfully predicts the characteristic "unimodal" (hump-shaped) variance property often seen in high-dimensional models.
Limitations and Future Work
While the paper provides valuable upper bounds, it does not offer "exact" formulations, as the complex dependencies created by IW make standard Random Matrix Theory difficult to apply. Additionally, the analysis of radial kernels is more complex due to terms that do not appear in simpler inner-product kernels. The authors suggest that these insights could eventually inform better active learning or data subsampling algorithms by treating IW as a principled method for sample selection.
Summary updated