Neural Networks Learn Statistics of Increasing Complexity

Nora Belrose, Quintin Pope, Lucia Quirke, Alex Mallen, Xiaoli Fern
2/6/2024
cs.LG

Official code: EleutherAI/features-across-time (40 stars, MIT, last commit 2024-10-24).

Abstract

The distributional simplicity bias (DSB) posits that neural networks learn low-order moments of the data distribution first, before moving on to higher-order correlations. In this work, we present compelling new evidence for the DSB by showing that networks automatically learn to perform well on maximum-entropy distributions whose low-order statistics match those of the training set early in training, then lose this ability later. We also extend the DSB to discrete domains by proving an equivalence between token $n$-gram frequencies and the moments of embedding vectors, and by finding empirical evidence for the bias in LLMs. Finally we use optimal transport methods to surgically edit the low-order statistics of one class to match those of another, and show that early-training networks treat the edited samples as if they were drawn from the target class. Code is available at https://github.com/EleutherAI/features-across-time.

View on arXivView PDF

Code Implementations(1)

MIT

Understanding how features learned by neural networks evolve throughout training

406PythonDec 20, 20231 years agoMIT

Similar Papers

Cite this paper

@article{belrose2024neural,
  title  = {Neural Networks Learn Statistics of Increasing Complexity},
  author = {Nora Belrose and Quintin Pope and Lucia Quirke and Alex Mallen and Xiaoli Fern},
  year   = {2024},
  eprint = {2402.04362},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04362v3},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.04362.svg)](https://codeofpaper.com/paper/2402.04362)

Discussion