cs.CLOct 23, 2026

The Emergence and Sparsification of a Syntactic Circuit

Authors: Qing Yao, Sasha Boguraev, Tiago Pimentel, Kyle Mahowald

Organizations: The University of Texas at Austin · ETH Zurich

Abstract

To understand the emergence of grammatical behavior in language models, we track circuits for subject-verb number agreement in pythia-1b and ten seeds of pythia-410m across training. We find that subject-verb agreement is learned early, and is initially handled by a diffuse collection of neurons. However, after agreement behavior has stabilized, the mechanisms responsible for it continue to reorganize. The attention heads which mediate agreement often shift during training: in the case of pythia-1b, behavior is controlled by two heads early in training but by a third (different) head later. Furthermore, the circuit shrinks over training, with pythia-1b's final circuit being strikingly sparse. We take these results to be informative about how linguistic knowledge emerges and is represented in a language model.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Copying Before Suppression: What Drives a Below-Chance Dip During Language Model Training?

    Oct 2, 2026Tejas Dahiya, Cole BlondinCircuits in Language ModelsLLM Training

  2. Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages

    Aug 19, 2026Isabella Gidi, Antonio Almudévar, Core Francisco Park +2Multilingual Language ModelsCircuits in Language Models