Natural Ungrokking: Asymmetric Control of Which Rules Survive Pretraining
This paper introduces "natural ungrokking," a phenomenon where language models spontaneously learn and then abruptly forget specific rules during pretraining because the training corpus's frequency of rule-supporting evidence determines a rule's survival, a process characterized by asymmetric control where destroying a rule is easy but restoring it is impossible.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Idea: Learning a Rule, Then Forgetting It
Imagine you are teaching a very young child (the AI model) how to speak by reading them a massive library of books (the training data).
In the middle of this process, the child suddenly figures out a specific grammar rule: "If a sentence mentions a girl's name (like 'Sue'), the next pronoun should be 'she'." The child gets really good at this. If you ask them, "Sue cried because...", they confidently say "she."
But then, something strange happens. As the child keeps reading more books, they completely forget this rule. By the end of the training, if you ask the same question, they guess "he" (which is what the general crowd usually says, even if it's wrong for a girl).
The paper calls this "Natural Ungrokking." It's the opposite of "Grokking" (where a model suddenly understands something). Here, the model learns something, uses it for a while, and then silently drops it, even though the books it is reading still contain the rule.
The Mystery: Why Did It Forget?
Usually, when a computer model forgets something, it's because the data changed or the data disappeared. But in this experiment, the data never changed. The rule was still in the books the whole time.
The researchers discovered that the deciding factor is frequency (how often something happens).
- The Rule: "Sue" "she."
- The Competitor: A general habit in the language where people often use "he" as a default guess.
In the specific library the model was reading, the "he" habit appeared much more often than the "Sue she" rule. Even though the rule was there, the "he" habit was so loud and frequent that it drowned out the rule. The model didn't "erase" the rule; it just stopped listening to it because the "he" habit was winning the competition.
The Experiment: A One-Way Street
The researchers wanted to see if they could control this. They treated the training data like a dial they could turn.
1. The "Kill" Switch (Easy to Destroy)
They took a library where the rule was strong and started flipping the data. They changed every instance of "Sue... she" into "Sue... he."
- Result: The more they flipped the data, the faster the model forgot the rule. It was a smooth, predictable slide from "perfect" to "zero."
- Analogy: If you keep telling a student, "No, the answer is X," even when the book says "Y," the student will eventually stop believing the book and start believing you.
2. The "Rescue" Switch (Impossible to Restore)
Then, they tried the reverse. They took a model that had already forgotten the rule (because it was reading the "he" heavy library) and tried to "rescue" it. They injected massive amounts of "Sue... she" examples back into the data—300 times more than what was needed to keep the rule alive in the first place.
- Result: Nothing happened. The model still forgot the rule.
- The Analogy: Imagine a student who has already learned that "2+2=5" because their teacher told them so for a year. If you suddenly hand them a stack of 1,000 textbooks saying "2+2=4," they might get confused, but they won't unlearn the "2+2=5" habit. The damage is done; the "pathway" in their brain has been paved over.
The "Why": It's a Displacement, Not an Erasure
The researchers looked inside the model's "brain" (its internal math) to see what was happening.
- They found that the model didn't lose the ability to understand the sentence structure. It still knew how to process the words.
- Instead, the internal confidence shifted. The model's internal "vote" for "she" was overpowered by a stronger "vote" for "he."
- It's like a courtroom. The "she" evidence was still there, but the "he" evidence became so loud that the judge (the model) stopped listening to the "she" witness.
The Takeaway
This paper teaches us three main things about how AI learns:
- Mid-training skills are fragile: Just because a model learns a rule halfway through training doesn't mean it will keep it.
- Frequency rules all: If a rule is rare in the data, it will likely get crushed by a more common, competing pattern, even if the rule is still present.
- You can break it easily, but you can't fix it easily: Once a model unlearns a rule because of the data mix, simply adding the rule back in later often doesn't work. The "forgetting" is permanent for that specific training run.
In short: AI models are like students who listen to the loudest voice in the room. If the "wrong" voice is louder than the "right" rule, the student learns the wrong thing. And once they've learned the wrong thing, shouting the right rule at them later often doesn't help.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.