On the importance of single directions for generalization
Ari S. Morcos, David G. T. Barrett, Neil C. Rabinowitz, Matthew Botvinick
TL;DR
The paper investigates why some neural networks generalize better than others by measuring how dependent they are on single activation-space directions through ablations and perturbations. It links higher dependence on low-dimensional directions to memorization and worse generalization, showing that regularizers like batch normalization can reduce this reliance, while dropout does not fully prevent it beyond training. It also challenges the idea that highly selective single units are highly important, showing that class selectivity poorly predicts a unit's impact on output, and that networks benefit from more distributed representations. Overall, the work suggests new ways to assess generalization and informs potential regularization strategies and interpretability approaches beyond single-unit selectivity.
Abstract
Despite their ability to memorize large datasets, deep neural networks often achieve good generalization performance. However, the differences between the learned solutions of networks which generalize and those which do not remain unclear. Additionally, the tuning properties of single directions (defined as the activation of a single unit or some linear combination of units in response to some input) have been highlighted, but their importance has not been evaluated. Here, we connect these lines of inquiry to demonstrate that a network's reliance on single directions is a good predictor of its generalization performance, across networks trained on datasets with different fractions of corrupted labels, across ensembles of networks trained on datasets with unmodified labels, across different hyperparameters, and over the course of training. While dropout only regularizes this quantity up to a point, batch normalization implicitly discourages single direction reliance, in part by decreasing the class selectivity of individual units. Finally, we find that class selectivity is a poor predictor of task importance, suggesting not only that networks which generalize well minimize their dependence on individual units by reducing their selectivity, but also that individually selective units may not be necessary for strong network performance.
