REFACT: Adaptive Fact Restatement for Compact and Faithful Chain-of-Thought Reasoning
The paper introduces REFACT, an adaptive fact-restatement framework that optimizes large language models through a teacher-student training pipeline to generate concise, faithful, and well-grounded chain-of-thought reasoning by selectively restating source facts only when necessary.
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 a detective trying to solve a mystery, but instead of a single clue, you are handed a library full of books, some of which are about your case and others are just random stories about cats or cooking. This is the world of Large Language Models (LLMs) when they face long-context reasoning. These are super-smart computer programs that can read and understand massive amounts of text. However, they have a tricky habit: sometimes, instead of sticking to the clues right in front of them, they rely on things they "remembered" from their training or get distracted by the irrelevant stories in the library. This leads to hallucinations, where the model makes up facts or ignores the truth. To fix this, researchers have tried to make these models "cite" their sources, like a student writing a paper. But previous methods were often clumsy, either tacking on a list of sources at the very end (like a cheat sheet you only look at after the test) or forcing the model to copy-paste huge chunks of text every time it makes a point, which makes the thinking process slow and messy.
Enter ReFact, a new method designed to teach these AI detectives how to be smarter, faster, and more honest. Think of ReFact as a training program that teaches the AI not just what to read, but when to look at its notes and how much to write down. Instead of blindly copying entire pages or ignoring the library entirely, ReFact trains the model to pause, grab only the specific sentence or phrase it needs to prove its next step, and then immediately move on. It's the difference between a student frantically copying the whole textbook into their exam booklet versus a pro who knows exactly which three lines to quote to get full marks. The paper suggests that by teaching the AI to be selective and adaptive with its citations, it can solve complex questions more accurately, avoid making things up, and do it all while using far fewer words than before.
The Problem: The "Too Much, Too Little" Dilemma
Imagine you are trying to build a tower of blocks, but every time you add a new block, you are forced to glue the entire previous tower to the new one. That's what happens when AI models try to reason through long documents using old methods. They either:
- Ignore the evidence: They guess based on what they already "know," even if the document says something different.
- Over-cite: They copy and paste huge chunks of the document into their thinking process, making their "thoughts" incredibly long, repetitive, and slow.
The authors found that existing methods often treat citations like a post-it note stuck on the back of the answer, rather than a vital part of the thinking process itself. This means the AI might say the right thing but fail to prove why it's right using the specific text provided.
The Solution: ReFact (Adaptive Fact Restatement)
ReFact is like a smart coach that teaches the AI to be a "fact minimalist." It doesn't just say, "Cite your sources!" It teaches the AI to ask, "Do I need to cite this right now? And if so, do I need the whole paragraph, or just this one word?"
The process works in two main stages, like a master-apprentice relationship:
- The Teacher Step: A very powerful AI (the "teacher") looks at a question and a long document. It figures out exactly which tiny pieces of information are needed to solve the puzzle. It then writes out a "reasoning path" where it explicitly restates only those necessary facts, tagging them clearly (like
<evidence 1>) and explaining how they connect to the next step. It's like a master chef showing a student exactly which pinch of salt to add, rather than dumping the whole spice rack into the pot. - The Student Step: A smaller, faster AI (the "student") learns from these perfect examples. It practices this skill through two phases: first, it mimics the teacher's style (Supervised Fine-Tuning), and then it plays a game where it gets "points" (rewards) for being accurate, staying true to the source, and keeping its reasoning short and sweet (Reinforcement Learning).
What They Found: Less is More
The researchers tested ReFact on several challenging datasets where the AI had to find answers hidden in massive walls of text (some up to 128,000 words long). The results were surprisingly efficient:
- Smarter Answers: ReFact improved the AI's ability to answer questions correctly compared to other methods. It didn't just guess; it grounded its answers in the text.
- The "Compact" Win: This is the big surprise. ReFact didn't just get better; it got faster. By restating only the essential facts, the AI used significantly fewer "tokens" (the building blocks of text). In some tests, it used less than half the number of reasoning tokens compared to other methods that tried to be thorough. It proved that you don't need to write a novel to solve a mystery; you just need the right clues.
- Fighting the "Fake" Facts: When the document said something that contradicted what the AI "remembered" from its training (like a counterfactual scenario), ReFact was much better at sticking to the document. It resisted the urge to fall back on its old memories, showing a higher "faithfulness" to the provided text.
- Quality over Quantity: The paper measured how many facts the AI restated. ReFact restated far fewer facts than its competitors but still achieved a higher "F1 score" (a measure of how well the cited facts matched the true supporting evidence). This suggests the AI learned to be a sniper, not a machine gun.
The Takeaway
ReFact suggests that the key to reliable AI reasoning isn't about forcing the model to read everything or cite everything. Instead, it's about teaching the model to be adaptive. It learns to recognize when a fact is crucial, restate it with the right level of detail, and then move on. By turning citations from a boring afterthought into an active, strategic part of the thinking process, ReFact helps AI models become more trustworthy, more efficient, and less likely to get lost in the noise of a long document. It's a step toward AI that doesn't just talk a lot, but thinks clearly.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.