Language Model Circuits Use Fewer Neurons at Higher Learning Rates

Avatar
Poster
Voice is AI-generated
Connected to paperThis paper is a preprint and has not been certified by peer review

Language Model Circuits Use Fewer Neurons at Higher Learning Rates

Authors

Marcos Hernanz

Abstract

Circuit sizes are often compared across models of different scales and families. These models also differ in how they were trained, and it is not known how much the training recipe alone changes a circuit's measured size. We train 35 Llama-style models at three sizes, from 90M to 371M parameters, which differ within a size only in the peak learning rate and the seed. For three grammatical rules, we count the fewest attribution-ranked MLP neurons at the deciding token that are both necessary and sufficient for half of the behavior. This neuron count falls roughly in inverse proportion to the learning rate, and faster in our largest models than in our smallest. At 153M parameters, a 16-fold rise in the learning rate cuts it 25-fold, from an average of 154 neurons per rule to 6. There, two learning rates reach the same loss, and the higher one gives a count 2.7 times smaller. When a learned mask ranks the neurons instead, the count still falls 14-fold. Yet at every learning rate, the rules at 153M need about three of the directions that the MLPs write to the residual stream. This suggests that a higher learning rate does not simplify a rule but writes it in fewer neurons. A comparison between sizes can even reverse, since on average, our largest models need more neurons than our smallest at a low learning rate and fewer at a high one. In public models, the count also varies with training length and, in an OLMo-2 grid, with weight decay, whose effect reverses as the learning rate rises. A neuron count compared across models reflects the recipe as well as the behavior, so recipes should be matched or at least reported.

Follow Us on

0 comments

Add comment