atlas

Research map / Large language models / Language, safety and interpretability

Investigating the Overlooked Hessian Structure: From CNNs to LLMs

ICML 2025 · Large language models › Language, safety and interpretability · approach: Data and evaluation methodology

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that well-trained CNNs and LLMs have a power-law Hessian eigenvalue spectrum, gives a maximum-entropy interpretation, and finds the KS distance of this spectrum predicts LLM generalization better than sharpness measures.

Problem

Prior work described the Hessian spectrum of deep networks only roughly (a few large and many near-zero eigenvalues), with no statistical characterization of its shape or its link to generalization, especially for LLMs.

Approach

Identifies a power-law (Zipf-like) structure in the top Hessian eigenvalues of well-trained CNNs and LLMs, tests it with MLE and KS goodness-of-fit, interprets it via maximum entropy, and uses the KS distance as a generalization predictor.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train LeNet with SGD instead of random initializationLeNet · MNISTKS distance: 0.0796 -> 0.00900Helped
Train LeNet with SGD instead of random initializationLeNet · Fashion-MNISTKS distance: 0.0971 -> 0.0132Helped
Train LeNet with SGD instead of random initializationLeNet · CIFAR-10KS distance: 0.0663 -> 0.0279Helped
Train LeNet with SGD instead of random initializationLeNet · CIFAR-100KS distance: 0.0944 -> 0.0315Helped
Fine-tune GPT-2 models instead of using random or pretrained checkpointsGPT-2 family · ShakespeareKS distance: GPT2-small: 0.1058 -> 0.0259; GPT2-medium: 0.0787 -> 0.0184; GPT2-large: 0.0496 -> 0.0160Helped
Fine-tune GPT2-smallGPT2-small · OpenWebTextKS distance: 0.1168 -> 0.0418Helped
Increase batch size from 640 to 768 (ablation)LeNet with SGD · MNISTKS distance: 0.0125 -> 0.278Hurt
Reduce the training set to 600 samples (ablation)LeNet with SGD · MNISTKS distance: 0.0198 -> 0.205Hurt
Add label noise (ablation)LeNet with SGD · MNISTKS distance: 0.0198 -> 0.180 (40% Label Noise); 0.0198 -> 0.157 (80% Label Noise)Hurt
Reduce FCN depth to one layer (ablation)FCN trained with SGD · MNISTKS distance: 0.0112 -> 0.241Hurt
Reduce FCN width to 10 (ablation)2-layer FCN trained with SGD · MNISTKS distance: 0.0112 -> 0.149Hurt
Increase ResNet18 batch size from 1152 to 1280 (ablation)ResNet18 with SGD · CIFAR-10KS distance: 0.0598 -> 0.331Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MNIST Fashion-MNIST CIFAR-10 CIFAR-100 Avila OpenWebText Shakespeare MathQA

Benchmarks: MNIST Fashion-MNIST CIFAR-10 CIFAR-100 OpenWebText Shakespeare MathQA

Metrics: Kolmogorov-Smirnov distance power exponent via MLE Pearson correlation with test loss largest Hessian eigenvalue Hessian trace

Baselines: sharpness measures (largest Hessian eigenvalue, Hessian trace)

Builds on: Davis-Kahan theorem Lanczos algorithm Powerlaw MLE (Clauset et al.)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy