← Latest papers
🤖 machine learning

Mixture of Chapters: Scaling Learnt Memory in Transformers

This paper introduces "Mixture of Chapters," a novel architecture that scales transformer memory capacity to 262K tokens using learnable sparse memory banks and chapter-based routing, demonstrating superior performance and reduced catastrophic forgetting compared to standard iso-FLOP models.

Original authors: Tasmay Pankaj Tibrewal, Pritish Saha, Ankit Meda, Kunal Singh, Pradeep Moturi

Published 2026-03-24
📖 4 min read☕ Coffee break read

Original authors: Tasmay Pankaj Tibrewal, Pritish Saha, Ankit Meda, Kunal Singh, Pradeep Moturi

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 are trying to teach a brilliant but forgetful student (a standard AI Transformer) a massive library of facts.

The Problem: The "Brick Wall" Brain

Currently, AI models learn by stuffing information into their "brain" (their parameters). Think of this like trying to memorize an entire encyclopedia by writing every single word on a giant, dense wall of bricks.

  • The Good: It's fast to read.
  • The Bad: If you want to add a new fact, you have to rearrange the whole wall. If you try to learn something new (like how to be a helpful assistant) after already learning the encyclopedia, the new instructions often knock the old facts off the wall. This is called "catastrophic forgetting." The AI gets smarter at following instructions but forgets the facts it used to know.

The Solution: The "Mixture of Chapters" (MoC)

The authors of this paper propose a new way to build an AI brain. Instead of just a wall of bricks, they give the AI a giant, organized library with a smart librarian.

Here is how it works, broken down into simple concepts:

1. The Library (The Memory Bank)

Imagine the AI has a separate room filled with 262,000 index cards (latent tokens). Each card holds a tiny piece of knowledge.

  • These cards aren't written in human language; they are "latent tokens," which is like a secret code the AI understands perfectly.
  • The AI can write to these cards and read from them while it learns. This is the Explicit Memory.

2. The Problem with the Library

If the AI tries to look at all 262,000 cards every time it answers a question, it would take forever. It's like trying to read every book in a library to find the one recipe for pancakes. It's too slow and expensive.

3. The Smart Librarian (The Router)

This is the magic trick. The authors split the 262,000 cards into 4,000 different "Chapters" (groups of cards).

  • When the AI gets a question (e.g., "What is the capital of France?"), a tiny, fast Router (the librarian) looks at the question.
  • The librarian doesn't check the whole library. Instead, it quickly guesses which 64 Chapters are most likely to have the answer.
  • The AI then only opens those 64 specific chapters to find the info.

This is called Mixture of Chapters. It's like the "Mixture of Experts" idea used in other AI models, but instead of mixing different "experts" (like a math expert and a coding expert), it's mixing different "chapters" of memory.

Why is this a Big Deal?

1. It Scales Without Breaking the Bank

Because the AI only looks at a tiny slice of the library (64 chapters out of 4,000) for every question, it can have a massive memory bank without getting slow. It's like having a library the size of a city, but you only ever walk down 64 aisles.

2. It Doesn't Forget

This is the most exciting part. The researchers tested what happens when they teach the AI new things (Instruction Fine-Tuning).

  • The Old Way (Wall of Bricks): The AI learned new instructions but forgot the old facts. Its knowledge of "ARC-Challenge" (a reasoning test) dropped by nearly 7%.
  • The New Way (Library): The AI learned the new instructions but kept the old facts safe in its library. Its knowledge stayed almost exactly the same.
  • The "Freeze" Trick: They even found that they could freeze the library (stop updating the cards) while teaching the AI new things, and it still worked perfectly. The library acted as an anchor, holding the facts steady while the rest of the brain adapted to new tasks.

The Analogy Summary

  • Standard AI: Like a student who tries to memorize everything in their head. If they learn a new subject, they accidentally erase the old one.
  • This New AI: Like a student with a giant, organized notebook.
    • They have a Table of Contents (the Router) that instantly points them to the right page.
    • They only read the relevant pages (Chapters), so they don't get overwhelmed.
    • When they learn a new skill, they just write in a new section of the notebook, leaving the old facts perfectly safe and untouched.

The Bottom Line

The paper shows that giving AI a separate, organized, and searchable memory system allows it to learn more, remember better, and scale up to massive sizes without getting too slow or forgetting what it already knows. It's a new way to build smarter, more stable AI brains.

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 →