Skip to main content
QUICK REVIEW

[Paper Review] On the importance of single directions for generalization

Ari S. Morcos, David G. T. Barrett|arXiv (Cornell University)|Mar 19, 2018
Advanced Vision and ImagingComputer Science19 references195 citations
TL;DR

Memorizing networks rely more on single activation directions; generalization correlates with reduced single-direction reliance. Batch normalization reduces this reliance and class selectivity is not a good predictor of unit importance.

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.

Motivation & Objective

  • Investigate whether a network's generalization performance relates to its reliance on single directions in activation space.
  • Examine how perturbing single directions (ablations) affects networks trained with varying label corruption and architectures.
  • Assess how regularizers like dropout and batch normalization influence single-direction reliance.
  • Evaluate whether class selectivity of single directions predicts their importance to network output.

Proposed method

  • Define single directions as activations of individual units or linear combinations in response to inputs.
  • Perform activation-space ablations by clamping selected directions to zero and measuring performance drop across subsets of directions.
  • Add Gaussian noise to units to test reliance on random directions, with noise scaled by unit activation variance.
  • Use a neuroscience-inspired class selectivity index to quantify how selectively a unit responds to classes.
  • Compare networks trained on datasets with corrupted labels vs. uncorrupted labels across architectures (MLP on MNIST, CNN on CIFAR-10, ResNet on ImageNet).
  • Analyze effects of batch normalization and dropout on single-direction reliance and class selectivity.

Experimental results

Research questions

  • RQ1Does memorization increase a network's reliance on single activation directions compared to structure-learning generalization?
  • RQ2Can single-direction reliance serve as a proxy for generalization, early stopping, or hyperparameter selection without a validation set?
  • RQ3How do dropout and batch normalization affect dependence on single directions and class selectivity of units?
  • RQ4Is class selectivity a reliable predictor of a unit's importance for network output?

Key findings

  • Memorizing networks are more sensitive to cumulative ablations of single directions than networks that generalize well.
  • Networks with better generalization show less reliance on single directions, and this relationship persists across architectures and corrupted/unmodified labels.
  • Batch normalization reduces reliance on single directions and lowers the class selectivity of individual feature maps, while increasing mutual information.
  • Dropout delays memorization but does not fully prevent reliance on single directions beyond the training dropout rate.
  • Class selectivity of single directions is not a good predictor of their importance to the network's output; highly selective units are not consistently more impactful.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.