Pushing Boundaries: Mixup's Influence on Neural Collapse
Quinn Fisher, Haoming Meng, Vardan Papyan
TL;DR
This paper investigates how mixup data augmentation shapes the geometry of last-layer activations in deep networks, asking whether mixup induces a distinct configuration beyond Neural Collapse. Through extensive empirical analysis across architectures and datasets, the authors discover that same-class mixup activations align with a simplex ETF along the classifier directions, while different-class activations form channels on the decision boundary, with earlier layers showing manifold-like behavior. They support these observations with a theoretical analysis using an unconstrained-features model under a simplex ETF classifier, showing that same-class features are lambda-independent and align with the classifier, whereas different-class features depend on the mixup coefficient and lie in linear combinations of mixed targets. Additional experiments with a fixed ETF classifier indicate the empirical features can align more closely with the theoretical optimum without sacrificing accuracy, and calibration gains from mixup are explained through this geometric structure. Collectively, the work provides a principled view of how mixup calibrates models by organizing last-layer activations and offers guidance for designing augmentation schemes and interpreting representation geometry.
Abstract
Mixup is a data augmentation strategy that employs convex combinations of training instances and their respective labels to augment the robustness and calibration of deep neural networks. Despite its widespread adoption, the nuanced mechanisms that underpin its success are not entirely understood. The observed phenomenon of Neural Collapse, where the last-layer activations and classifier of deep networks converge to a simplex equiangular tight frame (ETF), provides a compelling motivation to explore whether mixup induces alternative geometric configurations and whether those could explain its success. In this study, we delve into the last-layer activations of training data for deep networks subjected to mixup, aiming to uncover insights into its operational efficacy. Our investigation, spanning various architectures and dataset pairs, reveals that mixup's last-layer activations predominantly converge to a distinctive configuration different than one might expect. In this configuration, activations from mixed-up examples of identical classes align with the classifier, while those from different classes delineate channels along the decision boundary. Moreover, activations in earlier layers exhibit patterns, as if trained with manifold mixup. These findings are unexpected, as mixed-up features are not simple convex combinations of feature class means (as one might get, for example, by training mixup with the mean squared error loss). By analyzing this distinctive geometric configuration, we elucidate the mechanisms by which mixup enhances model calibration. To further validate our empirical observations, we conduct a theoretical analysis under the assumption of an unconstrained features model, utilizing the mixup loss. Through this, we characterize and derive the optimal last-layer features under the assumption that the classifier forms a simplex ETF.
