跳到正文
arXiv (AI + Vision + Imaging)· Shawn Im, James Oldfield, Adel Bibi, Sharon Li·AI 评分18

通过行为反事实解读模型推理过程

Interpreting Model Reasoning through Behavioral Counterfactuals

AI 导读

研究提出行为反事实方法,通过训练模块编辑残差流,使固定回答在源提示与反事实目标提示下的输出分布KL散度最小,从而定位干预对模型推理的影响。该方法比标准激活重建目标更有效地恢复反事实行为,其归因结果可识别因果重要位置。在Gemma-4-E4B-it与DeepSeek-R1-0528-Qwen3-8B案例中,分析发现问题陈述与填充token处的表征介导了建议对推理的大部分影响。

正文 · 原文

arXiv:2610.30630v1 Announce Type: new Abstract: Faithfully understanding the internal process that occurs as models form their chain of thought is an important problem with the rise in model capabilities. However, this remains challenging due to the variance in sampled responses, making it difficult to isolate the effects of interventions and compare model reasoning systematically. We propose a method for localizing and analyzing how a given intervention affects the model's reasoning through behavioral counterfactuals: given a fixed response, how does introducing an intervention to the prompt change the next-token distributions? We train a module to edit the residual stream such that it minimizes the KL divergence between the output distributions for a fixed response under a source prompt and its counterfactual target prompt. We find that matching the output distributions recovers the counterfactual behavior more effectively than standard activation reconstruction objectives and validate that attribution of the trained module outputs is effective for identifying causally important locations for counterfactual recovery. The attribution maps and visualizations of the downstream effects of model edits provide an interface for generating hypotheses about the original model's computation, which can then be tested with activation patching. In a case study on Gemma-4-E4B-it and DeepSeek-R1-0528-Qwen3-8B, we investigate how a suggestion influences model reasoning even when it is not verbally acknowledged. Our analysis identifies representations at the question statement and filler tokens that mediate a substantial part of the suggestion's influence, with downstream effects such as changing the framing of the justification or even the final answer.

来源:arXiv (AI + Vision + Imaging) · arxiv.org