MLDIS-NNLGJun 4, 2021

Out-of-Distribution Generalization in Kernel Regression

arXiv:2106.02261v322 citations
Originality Highly original
AI Analysis

This addresses the theoretical challenge of understanding generalization under distribution shifts for machine learning models, with applications to real datasets and kernels like Neural Tangent Kernel.

The authors tackled the problem of out-of-distribution generalization in kernel regression by deriving an analytical formula for generalization error using statistical physics methods, identifying an overlap matrix as key to performance and showing possible improvement with distribution mismatch.

In real word applications, data generating process for training a machine learning model often differs from what the model encounters in the test stage. Understanding how and whether machine learning models generalize under such distributional shifts have been a theoretical challenge. Here, we study generalization in kernel regression when the training and test distributions are different using methods from statistical physics. Using the replica method, we derive an analytical formula for the out-of-distribution generalization error applicable to any kernel and real datasets. We identify an overlap matrix that quantifies the mismatch between distributions for a given kernel as a key determinant of generalization performance under distribution shift. Using our analytical expressions we elucidate various generalization phenomena including possible improvement in generalization when there is a mismatch. We develop procedures for optimizing training and test distributions for a given data budget to find best and worst case generalizations under the shift. We present applications of our theory to real and synthetic datasets and for many kernels. We compare results of our theory applied to Neural Tangent Kernel with simulations of wide networks and show agreement. We analyze linear regression in further depth.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes