Feature Identification via the Empirical NTK
Jennifer Lin
TL;DR
This work investigates whether eigenvectors of the empirical NTK at the end of training ($e$NTK) reveal the features learned by neural networks. By analyzing two toy benchmarks—Toy Models of Superposition (TMS) and a 1-layer MLP trained on modular addition—the authors show sharp spectral cliffs in the $e$NTK spectrum whose top eigenspaces align with ground-truth features, with layerwise $e$NTK pinpointing feature localization by layer. They also demonstrate that the evolution of the $e$NTK spectrum tracks grokking and can diagnose phase transitions in small models, using techniques like a two-stage graph-smoothness rotation to surface Fourier features. Across these results, the paper proposes a practical pipeline for feature discovery via $e$NTK eigenanalysis, with potential extensions to larger architectures like Transformers for mechanistic interpretability. This approach offers a concrete link between kernel spectra and interpretable representations learned by neural networks, and suggests new diagnostic tools for training dynamics and representation learning.
Abstract
We provide evidence that eigenanalysis of the empirical neural tangent kernel (eNTK) can surface the features used by trained neural networks. Across two standard toy models for mechanistic interpretability, Toy Models of Superposition (TMS) and a 1-layer MLP trained on modular addition, we find that the eNTK exhibits sharp spectral cliffs whose top eigenspaces align with ground-truth features. In TMS, the eNTK recovers the ground-truth features in both the sparse (high superposition) and dense regimes. In modular arithmetic, the eNTK can be used to recover Fourier feature families. Moreover, we provide evidence that a layerwise eNTK localizes features to specific layers and that the evolution of the eNTK spectrum can be used to diagnose the grokking phase transition. These results suggest that eNTK analysis may provide a practical handle for feature discovery and for detecting phase changes in small models.
