Out of the Ordinary: Spectrally Adapting Regression for Covariate Shift

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Eyre, Benjamin, Creager, Elliot, Madras, David, Papyan, Vardan, Zemel, Richard
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917556896399360
author Eyre, Benjamin
Creager, Elliot
Madras, David
Papyan, Vardan
Zemel, Richard
author_facet Eyre, Benjamin
Creager, Elliot
Madras, David
Papyan, Vardan
Zemel, Richard
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_17463
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Out of the Ordinary: Spectrally Adapting Regression for Covariate Shift
Eyre, Benjamin
Creager, Elliot
Madras, David
Papyan, Vardan
Zemel, Richard
Machine Learning
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. 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.
title Out of the Ordinary: Spectrally Adapting Regression for Covariate Shift
topic Machine Learning
url https://arxiv.org/abs/2312.17463