Measuring Faithfulness of Chains of Thought by Unlearning Reasoning Steps

Martin Tutek, Fateme Hashemi Chaleshtori, Ana Marasovic, Yonatan BelinkovarXiv 2025 · OpenReview

Abstract

When prompted to think step-by-step, language models (LMs) produce a chain of thought (CoT), a sequence of reasoning steps that the model supposedly used to produce its prediction. Despite much work on CoT prompting, it is unclear if reasoning verbalized in a CoT is faithful to the models' parametric beliefs. We introduce a framework for measuring parametric faithfulness of generated reasoning, and propose Faithfulness by Unlearning Reasoning steps (FUR), an instance of this framework. FUR erases information contained in reasoning steps from model parameters, and measures faithfulness as the resulting effect on the model's prediction. Our experiments with four LMs and five multi-hop multi-choice question answering (MCQA) datasets show that FUR is frequently able to precisely change the underlying models' prediction for a given instance by unlearning key steps, indicating when a CoT is parametrically faithful. Further analysis shows that CoTs generated by models post-unlearning support different answers, hinting at a deeper effect of unlearning.

Introduction

Large Language Models (LLMs) often exhibit improved performance when prompted to "think step-by-step," generating a Chain of Thought (CoT). However, a critical question remains: is the verbalized CoT a faithful representation of the model's internal reasoning, or merely a post-hoc justification? Previous research has primarily relied on contextual perturbations—such as introducing errors into the prompt—to test faithfulness. Yet, models often prove resilient to these textual changes because their internal parameters still contain the correct reasoning path. This paper introduces the Parametric Faithfulness Framework (PFF) to address this gap by intervening directly on the model's internal weights.

Methodology: Faithfulness by Unlearning Reasoning (FUR)

The core of the proposed approach is FUR (Faithfulness by Unlearning Reasoning steps). Unlike contextual methods, FUR targets the model's parameters to determine if a specific reasoning step is truly necessary for the final prediction.

The FUR framework: unlearning a reasoning step from model parameters to measure its influence on the final prediction.

The FUR process involves two primary stages:

  1. Intervention (Unlearning): A generated CoT is segmented into individual steps. Using Negative Preference Optimization (NPO), the knowledge within a specific step is "erased" from the model's weights. The intervention specifically targets the second feed-forward (FF2) matrices in Transformer blocks, which serve as the model's memory store. To maintain general model capabilities, KL-divergence regularization is applied.
  2. Evaluation: The "unlearned" model is prompted for a direct answer. Faithfulness is measured using FF-HARD (whether the top-choice answer changed) and FF-SOFT (the decrease in probability of the original answer).

Experimental Setup

The study evaluated four models—LLaMA-3-8B, Llama-3.2-3B, Mistral-7B, and Phi-3-mini—across five multi-hop Multi-Choice Question Answering (MCQA) datasets:

  • OpenbookQA and ARC-Challenge (Science facts and school-level questions)
  • StrategyQA (Implicit reasoning strategies)
  • TruthfulQA (Common misconceptions)
  • Sports Understanding (Logic regarding professional sports)

Key Results and Insights

The experiments revealed a strong correlation (0.889) between successful unlearning of a step and the subsequent flipping of the model's answer. FUR frequently identified faithful reasoning chains where contextual baselines failed.

Comparison of FUR against the contextual '+mistake' baseline across various models and datasets.

Key findings include:

  • Parametric vs. Contextual Faithfulness: FUR identified a higher proportion of faithful reasoning chains than the "Add-mistake" baseline, suggesting that contextual methods often underestimate a model's reliance on its verbalized reasoning.
  • Thought Anchors: Interestingly, steps that were computationally critical (faithful) were not always the most "plausible" to humans. This suggests LLMs rely on "thought anchors" that may appear as background information to human observers but are critical to the model's logic.
  • Internal State Shifts: Post-unlearning, models did not just change their answers; they generated new CoTs that logically supported the new prediction, indicating a fundamental shift in the model's internal state.

Conclusion and Limitations

FUR provides a robust method for measuring the faithfulness of LLM reasoning by intervening at the parametric level. While effective, the method currently focuses on instances where direct and CoT answers agree and is computationally intensive. Future work may involve developing more efficient "verifiers" to identify salient reasoning steps and expanding the framework to non-English or more procedural tasks like mathematical proofs.

Summary updated

BibTeX
@misc{tutek2025measuring,
  author = {Martin Tutek and Fateme Hashemi Chaleshtori and Ana Marasovic and Yonatan Belinkov},
  title = {{Measuring Faithfulness of Chains of Thought by Unlearning Reasoning Steps}},
  year = {2025},
  eprint = {2502.14829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.14829},
}
Figure