Out of the Ordinary: Spectrally Adapting Regression for Covariate Shift

Benjamin Eyre, Elliot Creager, David Madras, Vardan Papyan, Richard Zemel +42 more
12/1/2023

No confident code implementation found for this paper.

Abstract

Designing deep neural network classifiers that perform robustly on distributions differing from the available training data is an active area of machine learning research. However, out-of-distribution generalization for regression-the analogous problem for modeling continuous targets-remains relatively unexplored.

Show full abstract

To tackle this problem, we return to first principles and analyze how the closed-form solution for Ordinary Least Squares (OLS) regression is sensitive to covariate shift. We characterize the out-of-distribution risk of the OLS model in terms of the eigenspectrum decomposition of the source and target data. We then use this insight to propose a method for adapting the weights of the last layer of a pre-trained neural regression model to perform better on input data originating from a different distribution. We demonstrate how this lightweight spectral adaptation procedure can improve out-of-distribution performance for synthetic and real-world datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{eyre2023ordinary,
  title  = {Out of the Ordinary: Spectrally Adapting Regression for Covariate Shift},
  author = {Benjamin Eyre and Elliot Creager and David Madras and Vardan Papyan and Richard Zemel and Martín Arjovsky and L. Bottou and Ishaan Gulrajani and David Lopez-Paz and Aparna Balagopalan and Jekaterina Novikova and Matthew B. A. McDermott and Bret A. Nestor and Tristan Naumann and M. Ghassemi and Michelle Bao and Angela Zhou and Samantha Zottola and Brian Brubach and Sarah Desmarais and A. Horowitz and Kristian Lum and David Bau and H. Strobelt and William S. Peebles and Jonas Wulff and Bolei Zhou and Jun-Yan Zhu and Antonio Torralba and Semantic and S. Ben-David and John Blitzer and K. Crammer and Fernando Pereira and Mark R. Blair and Joe Thompson and A. Henrey and A. D'Amour and Katherine Heller and Dan Moldovan and Ben Adlam and Babak Alipanahi and Alex Beutel and Christina Chen and Jonathan Deaton and Jacob Eisenstein and Matthew D Hoff-man},
  year   = {2023},
  eprint = {2312.17463},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.17463},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.17463.svg)](https://codeofpaper.com/paper/2312.17463)

Discussion