Covariate-Shift Generalization via Random Sample Weighting

Abstract

Shifts in the marginal distribution of covariates from training to the test phase, named covariate-shifts, often lead to unstable prediction performance across agnostic testing data, especially under model misspecification. Recent literature on invariant learning attempts to learn an invariant predictor from heterogeneous environments. However, the performance of the learned predictor depends heavily on the availability and quality of provided environments. In this paper, we propose a simple and effective non-parametric method for generating heterogeneous environments via Random Sample Weighting (RSW). Given the training dataset from a single source environment, we randomly generate a set of covariate-determining sample weights and use each weighted training distribution to simulate an environment. We theoretically show that under appropriate conditions, such random sample weighting can produce sufficient heterogeneity to be exploited by common invariance constraints to find the invariant variables for stable prediction under covariate shifts. Extensive experiments on both simulated and real-world datasets clearly validate the effectiveness of our method.

Cite

Text

He et al. "Covariate-Shift Generalization via Random Sample Weighting." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I10.26396

Markdown

[He et al. "Covariate-Shift Generalization via Random Sample Weighting." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/he2023aaai-covariate/) doi:10.1609/AAAI.V37I10.26396

BibTeX

@inproceedings{he2023aaai-covariate,
  title     = {{Covariate-Shift Generalization via Random Sample Weighting}},
  author    = {He, Yue and Shen, Xinwei and Xu, Renzhe and Zhang, Tong and Jiang, Yong and Zou, Wenchao and Cui, Peng},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2023},
  pages     = {11828-11836},
  doi       = {10.1609/AAAI.V37I10.26396},
  url       = {https://mlanthology.org/aaai/2023/he2023aaai-covariate/}
}