Sharp analysis of out-of-distribution error for "importance-weighted" estimators in the overparameterized regime
Kuo-Wei Lai, Vidya Muthukumar
TL;DR
This work analyzes generalization under distribution shift for overparameterized linear models trained on a Gaussian Mixture Model with a spurious feature. It derives sharp, matching upper and lower bounds on the worst-group/generalization error for cost-sensitive minimum-norm interpolation (cMNI), showing how the minority/majority counts, total signal strength $R_+$, spurious-signal difference $R_-$, and importance weights $\Delta_\pm$ jointly govern ID and OOD performance. A key finding is a robustness-accuracy tradeoff: increasing the upweighting (larger $\Delta_+$ or $\Delta_-$) improves OOD robustness at the cost of average accuracy, while smaller upweights favor average accuracy but degrade robustness; ridge regularization does not alter the exponent of the bounds. The results leverage benign overfitting techniques and a Woodbury/inverse-Wishart-based analysis to achieve sharp rates, and they apply to both cMNI and cSVM formulations. This work informs practical design of importance weights for improving worst-group generalization under structured distribution shifts.
Abstract
Overparameterized models that achieve zero training error are observed to generalize well on average, but degrade in performance when faced with data that is under-represented in the training sample. In this work, we study an overparameterized Gaussian mixture model imbued with a spurious feature, and sharply analyze the in-distribution and out-of-distribution test error of a cost-sensitive interpolating solution that incorporates "importance weights". Compared to recent work Wang et al. (2021), Behnia et al. (2022), our analysis is sharp with matching upper and lower bounds, and significantly weakens required assumptions on data dimensionality. Our error characterizations also apply to any choice of importance weights and unveil a novel tradeoff between worst-case robustness to distribution shift and average accuracy as a function of the importance weight magnitude.
