Language Model Behavioral Phases are Consistent Across Architecture, Training Data, and Scale
By: James A. Michaelov, Roger P. Levy, Benjamin K. Bergen
Potential Business Impact:
Makes AI understand words by how often they're used.
We show that across architecture (Transformer vs. Mamba vs. RWKV), training dataset (OpenWebText vs. The Pile), and scale (14 million parameters to 12 billion parameters), autoregressive language models exhibit highly consistent patterns of change in their behavior over the course of pretraining. Based on our analysis of over 1,400 language model checkpoints on over 110,000 tokens of English, we find that up to 98% of the variance in language model behavior at the word level can be explained by three simple heuristics: the unigram probability (frequency) of a given word, the $n$-gram probability of the word, and the semantic similarity between the word and its context. Furthermore, we see consistent behavioral phases in all language models, with their predicted probabilities for words overfitting to those words' $n$-gram probabilities for increasing $n$ over the course of training. Taken together, these results suggest that learning in neural language models may follow a similar trajectory irrespective of model details.
Similar Papers
Evidence of Phase Transitions in Small Transformer-Based Language Models
Computation and Language
Makes small AI learn new tricks faster.
From n-gram to Attention: How Model Architectures Learn and Propagate Bias in Language Modeling
Computation and Language
Finds why computer words have unfair ideas.
Disaggregation Reveals Hidden Training Dynamics: The Case of Agreement Attraction
Computation and Language
Makes computers learn grammar like kids do.