← Latest papers
💬 NLP

LLMs Faithfully and Iteratively Compute Answers During CoT: A Systematic Analysis With Multi-step Arithmetics

This study demonstrates that large language models faithfully compute answers iteratively during chain-of-thought reasoning rather than predetermining them beforehand, confirming that their generated reasoning chains accurately reflect their internal computational process.

Original authors: Keito Kudo, Yoichi Aoki, Tatsuki Kuribayashi, Shusaku Sone, Masaya Taniguchi, Ana Brassard, Keisuke Sakaguchi, Kentaro Inui

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

Original authors: Keito Kudo, Yoichi Aoki, Tatsuki Kuribayashi, Shusaku Sone, Masaya Taniguchi, Ana Brassard, Keisuke Sakaguchi, Kentaro Inui

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 Question: Are LLMs "Fake It Till They Make It"?

Imagine you ask a very smart but slightly theatrical student to solve a math problem. They start writing down a long, step-by-step explanation (this is called Chain-of-Thought or CoT). Finally, they write the answer at the bottom.

The big worry for researchers is: Is the student actually doing the math as they write, or did they already know the answer before they started writing?

If they knew the answer beforehand, their step-by-step explanation is just a "script" they are reciting to look smart. In that case, the explanation isn't "faithful" to how they got the answer; it's just a performance.

This paper asks: Do Large Language Models (LLMs) actually calculate the answer while they are writing the steps, or do they cheat and decide the answer first?

The Experiment: The "X-Ray" Machine

To find out, the researchers built a special "X-ray" machine for the AI's brain.

  1. The Test: They gave the AI a series of simple, multi-step math puzzles (like: A = 1 + B, B = 2 + 3, so what is A?).
  2. The X-Ray (Linear Probing): As the AI generated its answer, the researchers paused it at every single word it wrote. They looked inside the AI's "brain" (its hidden states) to see if the correct answer was already sitting there, waiting to be written.
    • Analogy: Imagine a magician pulling a rabbit out of a hat. The researchers are checking the magician's pockets before he pulls the rabbit out to see if the rabbit was already hidden there.

The Discovery: The Rabbit Appears During the Trick

The results were surprising and reassuring.

  • Before the explanation starts: When the AI first reads the problem, the "X-ray" shows no answer. The brain is empty of the solution. It hasn't decided yet.
  • During the explanation: As the AI writes the steps (e.g., "First, I calculate B..."), the answer starts to appear in its brain.
  • The Conclusion: The AI is not reciting a script. It is actually doing the math on the fly as it writes. The explanation it gives you is a faithful reflection of what is happening inside its brain at that exact moment.

The "Recency Bias" Analogy: The Fresh Paint

The paper also looked at how the AI connects the steps. They found something called Recency Bias.

  • Analogy: Imagine you are painting a wall. You don't need to remember the color you painted 10 years ago to know what color to use right now. You just need to remember the color you painted on the wall five minutes ago.
  • The Finding: The AI's final answer relies heavily on the very last steps it wrote. It doesn't seem to be constantly re-reading the beginning of the problem statement. It trusts the most recent "fresh paint" (the last calculated step) to guide the next one.

The "Surgery" Test: Changing the Brain

To be absolutely sure, the researchers performed "brain surgery" (Causal Intervention).

  • The Setup: They took an AI solving Problem A and an AI solving Problem B.
  • The Swap: They took the "brain state" (the internal thought process) of the AI solving Problem B and pasted it into the AI solving Problem A right in the middle of the explanation.
  • The Result: The AI instantly forgot the answer to Problem A and started giving the answer to Problem B.
  • What this means: This proved that the answer isn't "hard-coded" at the start. The answer is causally dependent on the reasoning steps being generated right now. If you change the reasoning, you change the answer.

Why This Matters

This is good news for anyone using AI.

  1. Trust the Process: When an AI gives you a long explanation, you can trust that it is actually thinking through the problem, not just guessing and then making up a story to justify it.
  2. Debugging: If the AI makes a mistake, it's likely because it messed up a specific step in the middle of the chain, not because it was "lying" from the start.
  3. Transparency: The "Chain of Thought" isn't just a pretty wrapper; it's the actual engine room where the work is being done.

Summary in One Sentence

This paper proves that when AI models use "Chain of Thought" to solve problems, they are genuinely calculating the answer step-by-step as they speak, rather than deciding the answer beforehand and pretending to think.

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 →