Skip to main content
QUICK REVIEW

[Paper Review] On the Role of Neural Collapse in Transfer Learning

Tomer Galanti, András György|arXiv (Cornell University)|Dec 30, 2021
Domain Adaptation and Few-Shot LearningComputer Science11 citations
TL;DR

This paper explains why foundation models excel in few-shot transfer learning by linking their success to neural collapse—a phenomenon where features of the same class converge to their class mean in the penultimate layer. The authors theoretically and empirically show that neural collapse enables generalization not only to unseen samples from training classes but also to entirely new classes, allowing linear classifiers on top of frozen features to achieve strong few-shot performance with minimal labeled data.

ABSTRACT

We study the ability of foundation models to learn representations for classification that are transferable to new, unseen classes. Recent results in the literature show that representations learned by a single classifier over many classes are competitive on few-shot learning problems with representations learned by special-purpose algorithms designed for such problems. In this paper we provide an explanation for this behavior based on the recently observed phenomenon that the features learned by overparameterized classification networks show an interesting clustering property, called neural collapse. We demonstrate both theoretically and empirically that neural collapse generalizes to new samples from the training classes, and -- more importantly -- to new classes as well, allowing foundation models to provide feature maps that work well in transfer learning and, specifically, in the few-shot setting.

Motivation & Objective

  • To understand why foundation models generalize well to new, unseen classes in few-shot learning despite limited target data.
  • To investigate whether the neural collapse phenomenon—observed in overparameterized networks—extends beyond training classes to new classes.
  • To provide a theoretical and empirical justification for the effectiveness of fine-tuning linear classifiers on frozen features from foundation models.
  • To formalize how neural collapse enables robust generalization under low-data regimes, particularly in few-shot learning.

Proposed method

  • Theoretical analysis of neural collapse in overparameterized networks, focusing on feature clustering and convergence to class means.
  • Derivation of generalization bounds for unseen samples and new classes under the neural collapse assumption.
  • Use of Rademacher complexity and variance-based bounds to quantify generalization error in the presence of neural collapse.
  • Empirical validation on image classification benchmarks to verify generalization to unseen classes and few-shot performance.
  • Application of Chernoff and Gaussian tail bounds to analyze the probability of misclassification under neural collapse.
  • Formulation of the transfer risk and generalization gap terms to model the performance of linear classifiers on new tasks.

Experimental results

Research questions

  • RQ1Does neural collapse in the penultimate layer of a foundation model enable generalization to unseen samples from training classes?
  • RQ2Can neural collapse facilitate generalization to entirely new classes not seen during pretraining?
  • RQ3How does the presence of neural collapse affect the performance of linear classifiers in few-shot learning scenarios?
  • RQ4What theoretical guarantees can be derived for generalization error when neural collapse holds?
  • RQ5To what extent does neural collapse explain the empirical success of transfer learning with foundation models?

Key findings

  • Neural collapse enables generalization to unseen samples from training classes, as features cluster tightly around their class means.
  • The phenomenon extends to new classes: features from unseen classes also exhibit clustering behavior when the model is trained on a large set of source classes.
  • Linear classifiers trained on top of features from a model exhibiting neural collapse achieve low error even with only a few labeled examples per class.
  • Theoretical bounds show that generalization error decays as the inverse of the number of source samples and the feature dimension, supporting robustness in low-data regimes.
  • Improved bounds under the spherical Gaussian assumption show exponential decay in error with increasing feature dimension and source sample size.
  • Empirical results confirm that models with neural collapse generalize well to new classes, explaining the strong few-shot performance of foundation models.

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.