← Latest papers
💬 NLP

Free(): Learning to Forget in Malloc-Only Reasoning Models

Free()LM introduces a plug-and-play "Free-Module" that enables reasoning models to improve performance and prevent context collapse by dynamically pruning redundant or obsolete information during the reasoning process.

Original authors: Yilun Zheng, Dongyang Ma, Tian Liang, Jiahao Xu, Xinting Huang, Lihui Chen, Haitao Mi, Yan Wang

Published 2026-02-11
📖 3 min read☕ Coffee break read

Original authors: Yilun Zheng, Dongyang Ma, Tian Liang, Jiahao Xu, Xinting Huang, Lihui Chen, Haitao Mi, Yan Wang

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 Problem: The "Messy Desk" Syndrome

Imagine you are a brilliant mathematician trying to solve a complex puzzle. To solve it, you use a massive whiteboard. Every time you have a thought, a calculation, or even a mistake, you write it down.

At first, this is great! You have all your notes right in front of you. But as the hours pass, the whiteboard becomes a chaotic mess. You have scribbled out old equations, written "Wait, that's wrong!" in giant letters, and filled the corners with repetitive loops of the same math.

Eventually, the board is so crowded that you can’t even see the original problem anymore. You start getting confused by your own old mistakes. You get stuck in a loop, staring at a smudge on the board, and eventually, you just freeze up. You can't think anymore.

This is exactly what is happening to current AI "reasoning" models.

As they try to solve harder problems, they generate more and more "thinking tokens" (their version of writing on the whiteboard). They are great at "Malloc" (allocating memory/writing things down), but they have no way to "Free" (erase the junk). They just keep adding more and more noise until their "brain" gets cluttered, and they suffer a total mental collapse.


The Solution: Free()LM (The "Digital Eraser")

The researchers at Tencent AI Lab realized that for an AI to be truly smart, it doesn't just need the power to think—it needs the wisdom to forget.

They created Free()LM. Think of this as giving the AI a smart, selective eraser.

Instead of just being a passive writer, the AI now has two modes:

  1. Reasoning Mode: The AI works normally, writing down its thoughts and solving the problem.
  2. Cleaning Mode: Every so often, the AI pauses, looks at its "whiteboard," and says: "Hey, these three lines of math were a dead end, and this paragraph is just me repeating myself. Let's wipe that out."

It doesn't just erase everything; it uses a special "plug-in" (called a LoRA adapter) that acts like a professional editor. It identifies the exact "start" and "end" of the junk and snips it out, leaving only the clean, essential logic behind.


Why This is a Big Deal (The Results)

The researchers tested this on everything from small AI models to massive "super-brains." Here is what happened:

  • It makes them smarter: By clearing out the "noise," the AI actually performs better on math competitions. It’s like trying to solve a puzzle in a clean room versus a cluttered one.
  • It prevents "Brain Freeze": In one test, a massive AI model (Qwen3-235B) hit a wall on a very long problem and its accuracy dropped to 0%—it basically gave up. But with Free()LM, the AI was able to clean its workspace and keep going, recovering its accuracy to 50%.
  • It’s a "Universal Eraser": Even more amazing, they trained a small "eraser" on a small model and found it could work on much larger, different types of AI. It’s like a universal cleaning tool that works in any house.

The Moral of the Story

In the world of Artificial Intelligence, we have spent a lot of time teaching machines how to remember more and more. But this paper proves that true intelligence isn't just about how much you can hold in your head—it's about knowing what to let go of.

To reach the next level of reasoning, AI needs to move from being a "hoarder" of information to a "minimalist" of logic.

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 →