Skip to main content
QUICK REVIEW

[Paper Review] Traces of Class/Cross-Class Structure Pervade Deep Learning Spectra

Vardan Papyan|arXiv (Cornell University)|Aug 27, 2020
Sparse and Compressive Sensing TechniquesEngineering74 references8 citations
TL;DR

This paper identifies a fundamental class/cross-class structure in deep learning spectra, demonstrating that spectral outliers, 'spikes', and 'bumps' arise from class-specific information in the Fisher information matrix and Hessian. It proves that the ratio of outliers to bulk predicts misclassification in multinomial logistic regression, shows how networks orthogonalize class-distinctive features with depth, and proposes a rank-1 correction to KFAC for improved optimization.

ABSTRACT

Numerous researchers recently applied empirical spectral analysis to the study of modern deep learning classifiers. We identify and discuss an important formal class/cross-class structure and show how it lies at the origin of the many visually striking features observed in deepnet spectra, some of which were reported in recent articles, others are unveiled here for the first time. These include spectral outliers, "spikes", and small but distinct continuous distributions, "bumps", often seen beyond the edge of a "main bulk". The significance of the cross-class structure is illustrated in three ways: (i) we prove the ratio of outliers to bulk in the spectrum of the Fisher information matrix is predictive of misclassification, in the context of multinomial logistic regression; (ii) we demonstrate how, gradually with depth, a network is able to separate class-distinctive information from class variability, all while orthogonalizing the class-distinctive information; and (iii) we propose a correction to KFAC, a well-known second-order optimization algorithm for training deepnets.

Motivation & Objective

  • To identify and formalize the class/cross-class structure underlying spectral features in deep neural network Hessians and Fisher information matrices.
  • To explain the origin of visually striking spectral patterns—outliers, spikes, and bumps—observed in deep learning spectra.
  • To demonstrate that the ratio of spectral outliers to bulk predicts misclassification in multinomial logistic regression.
  • To show how deep networks gradually separate class-distinctive information from class variability while orthogonalizing it.
  • To propose a rank-1 correction to the KFAC optimization algorithm based on the identified structure.

Proposed method

  • Uses spectral analysis of the Fisher information matrix (FIM) and Hessian to identify class-specific eigenvalue structures.
  • Applies subspace iteration to extract the top C eigenvalues and eigenvectors, corresponding to class means, to enable precise spectral resolution.
  • Employs Lanczos approximation with normalization and denormalization to estimate spectra of large operators efficiently.
  • Uses power-law fitting to analyze the tail behavior of eigenvalue distributions beyond the main bulk, rejecting classical RMT models.
  • Proposes a rank-1 correction to KFAC by incorporating the top C eigenvectors of the FIM, improving optimization stability.
  • Performs extensive experiments on VGG11, ResNet18, and MLPs across MNIST, FashionMNIST, CIFAR10, and CIFAR100 with controlled training protocols.

Experimental results

Research questions

  • RQ1What is the origin of spectral outliers, spikes, and bumps in deep learning spectra?
  • RQ2How does the class/cross-class structure in the Fisher information matrix influence the spectrum of the Hessian?
  • RQ3Can the ratio of spectral outliers to bulk predict model misclassification in multinomial logistic regression?
  • RQ4How does the network’s internal representation evolve with depth in terms of separating class-distinctive from class-variability information?
  • RQ5Can the identified spectral structure be leveraged to improve second-order optimization algorithms like KFAC?

Key findings

  • The number of spectral outliers in the Hessian and FIM is consistently equal to the number of classes C, and these outliers correspond to the gradients of class means.
  • The ratio of outliers to bulk in the FIM spectrum is predictive of misclassification in multinomial logistic regression, with higher ratios indicating higher misclassification risk.
  • Subspace iteration enables precise detection of outlier eigenvalues and improves resolution of the bulk distribution, revealing previously obscured spectral features.
  • The spectrum of the Hessian exhibits a power-law decay in the tail beyond the main bulk, with fits R² > 0.99, indicating it cannot be explained by classical random matrix theory.
  • The proposed rank-1 correction to KFAC, based on the top C eigenvectors of the FIM, improves optimization by better aligning with the intrinsic geometry of class-specific information.
  • The class/cross-class structure persists across architectures and datasets, including state-of-the-art models like ResNet18, even at scale.

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.