Introduction
Importance weighting (IW) is a classic statistical technique used to handle distribution shifts—situations where the training data does not accurately reflect the real-world test data. For example, if a specific class is rare in your training set but common in reality, you can simply upweight those rare samples during training.
However, modern deep learning models operate in the "interpolating regime," meaning they are vastly overparameterized and can achieve near-zero training error. Recent research has highlighted a significant problem: for these interpolating models, standard importance weighting often fails entirely. When using common loss functions like cross-entropy, gradient descent converges to a "maximum margin" classifier. This boundary depends solely on the geometric arrangement of the data points and completely ignores the importance weights assigned to them.
This paper investigates whether this failure is a fundamental flaw of overparameterized models or merely a side effect of our training methodologies. The authors demonstrate that by switching to polynomially-tailed losses, importance weighting can be fully restored, significantly improving model performance under distribution shifts.
The Culprit: Exponential Tails
The authors identify the root cause of IW's failure as the exponential tail of standard loss functions (e.g., $e^{-z}$ in cross-entropy). Once an overparameterized model correctly classifies a data point, the gradient from an exponential loss vanishes so rapidly that the sample weights lose their influence on the final decision boundary. The model simply stops "caring" about the weights once the data is perfectly separated.
The Fix: Polynomially-Tailed Losses
To resolve this, the paper proposes using loss functions with "fatter" tails—specifically, those that decay polynomially (like $1/z^\alpha$).
Because polynomial tails do not vanish as quickly as exponential ones, they "keep the weights alive" even as the training loss approaches zero. The authors prove that for linear models, gradient descent on these poly-tailed losses converges to a decision boundary that actually respects the assigned weights. We often treat the "implicit bias" of gradient descent as a fixed law of nature, but this finding shows it is a design variable; by changing the loss function, we can steer the model toward a more robust, weight-aware solution.
Weight Exponentiation: Biased Weights for Better Results
Interestingly, the theoretical analysis suggests that using standard, "unbiased" importance weights ($w$) isn't always optimal. The authors show that exponentiating the weights—using $w^2$ or $w^3$, for instance—can better balance the gradients between majority and minority groups, leading to superior generalization.
In a label shift setting, they prove that while a standard max-margin classifier might suffer a high test error, a poly-tailed model utilizing exponentiated weights can see its test error decay to zero.
Empirical Validation and Key Results
The authors validated their theory using two primary benchmarks: an imbalanced binary CIFAR10 task (with a 10:1 label imbalance) and a subsampled CelebA task (a subpopulation shift task identifying hair color where certain demographic groups are extremely rare).
- Performance Gains: On the imbalanced CIFAR10 task, utilizing the poly-tailed loss with exponentiated weights outperformed reweighted cross-entropy by up to 9% in test accuracy.
- Competitive with SOTA: On the CelebA dataset, the proposed method was comparable to, or even exceeded, heavily tuned state-of-the-art methods like Distributionally Robust Optimization (DRO) and Vector Scaling (VS) loss.
- Robustness to Interpolation: Unlike cross-entropy, which requires careful early stopping or regularization to make weights effective, the poly-tailed loss works robustly even when the model is trained all the way to 100% training accuracy.
Limitations and Future Work
While the empirical results on deep neural networks are compelling, the rigorous mathematical proofs in the paper are primarily focused on linear classifiers. Extending this theoretical framework to deep, non-linear architectures remains an open challenge.
Additionally, the poly-tailed loss introduces new hyperparameters that require tuning, such as the power $\alpha$ and the "switchover" point $\beta$ (where the loss transitions from a standard shape to a polynomial tail). Finally, because polynomial tails are "flatter" than exponential ones, they can sometimes lead to slower convergence or require different learning rate schedules compared to standard cross-entropy optimization.
Summary updated