Mitigating Spurious Correlations Between Question and Answer via Chain-of-Thought Correctness Perception Distillation

Hongyan Xie, Yitong Yao, Yikun Ban, Zixuan Huang, Deqing Wang, Zhenhe Wu, Haoxiang Su, Chao Wang, Shuangyong SongarXiv 2025 · DOI

Introduction

Knowledge distillation from Large Language Models (LLMs) to Small Language Models (SLMs) has become a cornerstone for deploying efficient reasoning systems. Typically, this involves fine-tuning an SLM on Chain-of-Thought (CoT) rationales generated by a teacher LLM. However, a significant bottleneck exists: the teacher's rationales are often noisy or logically flawed, even when the final answer is correct. Standard distillation methods assume that a correct answer implies a correct rationale, leading the student model to learn "spurious correlations"—memorizing question-to-answer mappings without understanding the underlying logic. This results in brittle reasoning and poor generalization.

The CoPeD Framework

To address these challenges, we introduce Chain-of-Thought Correctness Perception Distillation (CoPeD). CoPeD moves beyond simple imitation by training the student model to perceive and correct reasoning errors. The framework consists of two primary components: a multi-task learning objective and a dynamic confidence-weighted loss.

Correctness-Aware Multi-Task Learning

Unlike standard CoT distillation, CoPeD utilizes a dual-task setting. The teacher LLM is prompted to generate both correct rationales and erroneous rationales. During training, the student model is assigned different tasks based on the rationale's quality:

  1. Task 1 (Learning from Correctness): Given a question, the model predicts the correct rationale and the final answer.
  2. Task 2 (Learning from Errors): Given a question and an erroneous rationale, the model is tasked with identifying the error and revising it into a correct reasoning path.

This approach forces the SLM to evaluate the logical consistency of the provided steps, effectively "cutting off" the spurious correlation between the question and the answer.

The CoPeD framework: Extracting rationales from a teacher LLM, training the student on correctness-aware tasks, and applying a confidence-weighted loss.

Correctness-Aware Confidence-Weighted Loss

To further mitigate the impact of noisy teacher data, CoPeD employs a dynamic weighting mechanism. Since heuristic labels (based on final answer correctness) can be misleading, the model calculates a confidence weight for each training sample. This weight is derived from the rationale generation loss and the answer prediction loss. Samples where the rationale logically supports the answer are up-weighted, while inconsistent pairs are penalized, ensuring the student focuses on high-quality reasoning paths.

Experimental Setup

We evaluated CoPeD across a diverse set of reasoning benchmarks. In-domain (IND) testing was conducted on BIG-Bench Hard (BBH). To assess out-of-domain (OOD) generalization, we utilized BIG-Bench Sub (BB-sub), AGIEval, and the AI2 Reasoning Challenge (ARC-Easy and ARC-Challenge). We used various student architectures, including LLaMA2 (7B and 13B), TinyLLaMA-1.1B, and Mistral-7B, to demonstrate the method's scalability.

Results and Analysis

CoPeD demonstrates significant improvements in both accuracy and reasoning quality across all tested benchmarks.

Accuracy and Scalability

Using LLaMA2-7B as the student, CoPeD achieved an average accuracy of 52.9%, outperforming the CasCoD baseline by 3.0% overall. Notably, on the in-domain BBH-test, CoPeD improved performance by 9.6%. As shown in the following figure, the performance gains are consistent across different model sizes, with the 7B and 13B models even surpassing the teacher LLM's performance on certain tasks like BBH-test.

Performance comparison of CoPeD against baselines across various model sizes and benchmarks, showing consistent improvements in accuracy.

Data Efficiency and Faithfulness

CoPeD is exceptionally data-efficient, achieving a 16.8% improvement over CasCoD on the IND dataset using only 12.5% of the training data. Furthermore, qualitative evaluation via GPT-4 confirms that CoPeD produces more "faithful" rationales (81.2% vs. 74.2% for standard CoT), meaning the generated reasoning steps actually support the predicted answer, rather than being a hallucinated justification for a memorized response.

Conclusion

CoPeD offers a robust solution to the problem of spurious correlations in CoT distillation. By teaching models to recognize and correct reasoning errors and dynamically weighting training samples, CoPeD enables small language models to achieve high-fidelity reasoning capabilities that generalize well beyond their training data.

Summary updated

BibTeX
@misc{xie2025mitigating,
  author = {Hongyan Xie and Yitong Yao and Yikun Ban and Zixuan Huang and Deqing Wang and Zhenhe Wu and Haoxiang Su and Chao Wang and Shuangyong Song},
  title = {{Mitigating Spurious Correlations Between Question and Answer via Chain-of-Thought Correctness Perception Distillation}},
  year = {2025},
  eprint = {2509.05602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05602},
}
Figure