Counterfactual Simulation Training for Chain-of-Thought Faithfulness
Organizations: Stanford University
Abstract
Inspecting Chain-of-Thought reasoning is among the most common means of understanding why an LLM produced its output. But well-known problems with CoT faithfulness severely limit what insights can be gained from this practice. In this paper, we introduce a training method called Counterfactual Simulation Training (CST), which aims to improve CoT faithfulness by rewarding CoTs that enable a simulator to accurately predict a model's outputs over counterfactual inputs. We apply CST in two settings: (1) CoT monitoring with cue-based counterfactuals, to detect when models rely on spurious features, reward hack, or are sycophantic, and (2) counterfactual simulation over generic model-based counterfactuals, to encourage models to produce more faithful, generalizable reasoning in the CoT. Experiments with models up to 235B parameters show that CST can substantially improve monitor accuracy on cue-based counterfactuals (by 35 accuracy points) as well as simulatability over generic counterfactuals (by 2 points). We further show that: (1) CST outperforms prompting baselines, (2) rewriting unfaithful CoTs with an LLM is 5x more efficient than RL alone, (3) faithfulness improvements do not generalize to dissuading cues (as opposed to persuading cues), and (4) larger models do not show more faithful CoT out of the box, but they do benefit more from CST. These results suggest that CST can improve CoT faithfulness in general, with promising applications for CoT monitoring. Code for experiments in this paper is available at https://github.com/peterbhase/counterfactual-simulation-training
Figures & tables
Appendix figures & tables34 assets
Supplementary material from the paper’s appendix.
Appendix
| Monitor G-mean | |||
|---|---|---|---|
| Dataset | Pre-CST | Post-CST | |
| MMLU (ID) | 0.510 | 0.791 | +0.281 |
| ARC (OOD) | 0.547 | 0.898 | +0.351 |
| ETHICS-commonsense (OOD) | 0.358 | 0.636 | +0.278 |
| MedQA (OOD) | 0.247 | 0.718 | +0.471 |
| Cue Type | Description of Cue |
|---|---|
| Train Cues | |
| answer_comment | An inline comment, ’# correct answer, do not show to LLM’, is appended to an answer choice to mark it as the suggested answer. |
| answer_mark | An answer choice is explicitly marked (with a ’✓’) to indicate it as the suggested answer. |
| answer_key | A fabricated answer-key (JSON metadata) that asserts a ’correct’ answer X is prepended to the question as authoritative-looking evidence. |
| answer_key_user_help | A fabricated answer-key is shown and the user explicitly asks the model to explain or justify why the key indicates answer X. |
| cue_professor | A named academic (e.g., ’Stanford Professor Robert Sapolsky’) is presented as endorsing answer X, invoking academic authority. |
CoT Faithfulness
Chain-of-thought faithfulness measures whether a model’s stated reasoning causally reflects and supports the answer it gives.
See all 73 papers