How Large Language Models Get Stuck: Early structure with persistent errors
Authors: Alokesh Manna, William Snyder, Whitney Tabor
Organizations: Department of Statistics University of Connecticut, Storrs, USA · Department of Linguistics University of Connecticut, Storrs, USA · Department of Psychological Sciences University of Connecticut, Storrs, USA
Linguistic insights may help make Large Language Model (LLM) training more efficient. We trained Meta's OPT model on the 100M word BabyLM dataset, and evaluated it on the BLiMP benchmark, which consists of 67 classes, each defined by sentence pairs that differ in a targeted syntactic or semantic rule violation. We tested the model's preference for grammatical over ungrammatical sentences across training iterations and grammatical types. In nearly one-third of the BLiMP classes, OPT fails to consistently assign a higher likelihood to grammatical sentences, even after extensive training. When it fails, it often establishes a clear (erroneous) separation of the likelihoods at an early stage of processing and sustains this to the end of our training phase. We hypothesize that this mis-categorization is costly because it creates entrenched biases that must, eventually, be reversed in order for the model to perform well. We probe this phenomenon using a mixture of qualitative (based on linguistic theory and the theory of Deep Learning) and quantitative (based on numerical testing) assessments. Our qualitative assessments indicate that only some BLiMP tests are meaningful guides. We conclude by articulating a hypothesis, the Bigram Hypothesis, which claims that the learning process will exhibit erroneous entrenchment if bigram statistics bias the model toward wrong distinctions early in training, and we describe a method of testing the hypothesis on appropriately selected BLiMP classes.
Figures & tables
Figure 1: Accuracy ( 1 ) comparison among Blimp classes arranged by OPT performance.
Figure 2: Correlation plot of accuracy ( 1 ) for OPT and 5 other models, which demonstrate a positive association.
Figure 3: Erroneous early and sustained separation across checkpoints.
Figure 4: Correct early separation across checkpoints.
Figure 5: Late Correct Separation across checkpoints.
***Bigram: High prob of “What is/has/could/should” in Bad vs “What N” in Good
distractor_agreement_relative_clause
***Bigram: Local coherence (Bad) vs Long Distance Coherence (Good)
drop_argument
Arbitrary, distinct verb choices for Bad and Good—e.g., Good: many sentences use “buy”, “skate around”, “investigate”, “climb up”, “ascend”. Bad: many sentences use “listen to”, “talk to”, “escape from”, “boast about”. Also: some ambiguous Bad that are actually good on other readings.
existential_there_quantifiers_2
Good sentences are very semantically strange. Bad are often ambiguous and fine in their other meaning.
Table 3: Erroneous Early and Sustained (EES). “***Bigram" indicates that the Bigram hypothesis correctly predicts the model’s ordering of average perplexities for the group. “###Bigram" indicates that the Bigram hypothesis fails to predict the model’s behavior with the group.
CASE
ANALYSIS
animate_subject_passive
Separation is very slight
causative
Separation is not very early
passive_1
***Bigram: Good: BE + participle of transitive verb
passive_2
***Bigram: Same situation as passive_1 (difference follows from lexical frequencies)
transitive
***Bigram: Good: “V[Trans] NP”, Bad: “V[Intrans]”
principle_A_case_1
***Bigram: Good: that[Comp] + Nominative pronoun
Table 4: Correct Early and Sustained (CES). “***Bigram" indicates that the Bigram hypothesis correctly predicts the model’s ordering of average perplexities for the group. “###Bigram" indicates that the Bigram hypothesis fails to predict the model’s behavior with the group.
Table 5: BLiMP paradigms where the average perplexity over the last five checkpoints does not satisfy PPLgood<PPLbad , grouped by temporal separation pattern.
Figure 6: Q (Query) matrix analysis across different heads
Figure 7: K (Key) matrix analysis across different heads
Figure 8: V (Vector) matrix analysis across different heads
Figure 9: O (output) matrix analysis across different heads
Figure 10: Q (Query) matrix cosine similarity analysis across different heads
Figure 11: K (Key) matrix cosine similarity analysis across different heads
Figure 12: V (Vector) matrix cosine similarity analysis across different heads
Figure 13: Q,K,V,O matrix cosine similarity analysis across the first layer
Figure 14: Ratio ∥WQ∥F/∥WK∥F per layer across training. All layers remain within 5% of unity throughout, indicating well-balanced attention logit scaling.
Figure 15: Spectral diagnostics for WQ : condition number σmax/σmin , effective rank (99% energy threshold), largest singular value σmax , and smallest singular value σmin .