← Latest papers
💬 NLP

Can a Language Model Learn Facts Continually in Its Weights?

This paper demonstrates that while broad training data enables language models to store new facts in their weights more effectively than bare statements, continual weight-based learning inevitably causes catastrophic forgetting and interference, making context the only reliable channel for preserving and composing knowledge across sequential updates.

Original authors: Charles O'Neill

Published 2026-07-14
📖 5 min read🧠 Deep dive

Original authors: Charles O'Neill

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

Imagine you have a super-smart robot friend who knows a lot of things. You want to teach it new, made-up facts every day—like "Zorvathine is a metal that melts when it gets cold." The big question is: Can we write these facts directly into the robot's brain (its "weights") so it remembers them forever, even after we teach it a hundred more things?

This paper tries to answer that by playing a game of "write, forget, and check" with a model called Qwen3. Here is what they found, using some fun analogies.

The Two Ways to Teach a Robot

The researchers discovered that how you teach the robot matters more than how many times you repeat the lesson.

  1. The "Bare Statement" Method (The Bad Way): Imagine you just whisper the fact to the robot once: "Zorvathine melts below -10°C." You do this over and over. The robot gets really good at reciting that exact sentence. It's like a parrot that can repeat a phrase perfectly but doesn't understand what it means.
  2. The "Study" Method (The Good Way): Imagine you teach the robot using a whole textbook. You show it the fact, then ask it questions, give it different ways to say the same thing, and show it how the fact contradicts what it usually thinks. The robot learns the idea behind the fact, not just the words.

The Result:
When the robot learned via the "Study" method, it could actually use the fact to solve new puzzles. When it learned via the "Bare Statement" method, it could only recite the sentence. If you asked it a tricky question like, "What happens if I cool Zorvathine?", the "Study" robot said, "It melts!" The "Bare Statement" robot just stared blankly or gave the wrong answer, even though it had memorized the sentence perfectly.

The "Overwriting" Problem: The Library of Lost Books

Now, here is the tricky part. The researchers taught the robot 20, then 100 new facts, one after another. They wanted to see if the old facts survived.

  • The "Bare Statement" Facts: These vanished almost instantly. After just 20 new lessons, the robot forgot 99% of them. It was like writing a note on a sticky pad and then immediately sticking a new, bigger note right on top of it. The old note is still there physically, but you can't see it anymore.
  • The "Study" Facts: These were tougher. After 20 new lessons, about 46% of them were still usable. After 100 lessons, they settled at a plateau of 25–28%. They didn't disappear completely, but they got harder to find.

The Big Surprise:
The researchers checked the robot's brain (its "weights") even after it seemed to have forgotten a fact. They found that the "memory" of the fact was still there! The robot hadn't erased the data; it just lost the address to find it.

Think of it like a library. The books (facts) are still on the shelves. But the librarian (the robot) has been given a new map that points to the newest books. When you ask for an old book, the librarian looks at the new map, sees the old book's spot is now labeled "Newest Fact," and hands you the wrong book. The old book is still there, but the robot can't reach it anymore.

Why Can't We Just "Fix" the Address?

The researchers tried many clever tricks to help the robot remember the old facts while learning new ones:

  • They tried to "penalize" the robot if it forgot.
  • They tried to "project" the new lessons away from the old ones.
  • They tried to use a "frozen teacher" (a perfect copy of the robot before it started learning) to guide the new lessons.

What Worked:
Using a frozen teacher helped the robot keep its general smarts (like math or logic) from getting worse. It kept the robot from going crazy. But it did not fix the problem of finding the old facts. The old facts were still lost in the shuffle.

What Didn't Work:
No matter how carefully they measured the "conflict" between new and old facts, they couldn't stop the new lessons from blocking the old ones. The paper suggests that local measurements (looking at just the next step) can predict what happens immediately, but they fail to predict what happens after a long series of lessons. It's like trying to predict a traffic jam by looking at the car right in front of you; you can't see the accident happening three miles down the road.

The Final Verdict: Context is King

So, can we write facts into a robot's brain and keep them forever?

  • If you want the robot to use the fact: You must teach it with broad, diverse examples (the "Study" method), not just simple repetition.
  • If you want the fact to survive 100 new lessons: The paper suggests that writing it into the brain is the wrong tool. Even the best methods lose more than half the facts after 20 updates.

The most reliable way to keep a fact usable is to give it to the robot in the prompt (the "context").
Imagine the robot has a whiteboard next to it. If you write the fact on the whiteboard every time you ask a question, the robot can use it perfectly, even after learning 100 other things. The whiteboard doesn't get overwritten; it just gets updated.

The Bottom Line:
The robot's brain is great at storing content, but it's terrible at creating a permanent "address" for that content that survives new updates. If you need a fact to be composed, combined with other knowledge, or remembered after many new lessons, keep it in the context (the prompt), not in the weights (the brain). The brain stores the what, but the context provides the where.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →