语言模型知道哪些词在主导自己的推理吗?
Do Language Models Know Which Words Steer Their Reasoning?
AI 导读
一项 arXiv 研究发现"幻影上下文影响"(PCI)现象:语言模型的思维链会被语义无关的上下文词显著左右,但模型被问及时又否认这些词的影响,作者称之为"生成-判断矛盾"。
正文 · 原文
Abstract:While chain-of-thought (CoT) prompting elicits intermediate reasoning steps from language models, it is unclear which words in the context actually steer the CoT. We identify Phantom Context Influence (PCI): language models are disproportionately steered by semantically irrelevant context words, even as the same models deny those words' relevance when asked. To localize PCI, we introduce Leave-One-Out Word JSD analysis, which removes one context word at a time from the otherwise intact context to isolate its marginal effect on the next-token distribution; words whose removal flips the prediction (pivot words) are passed to the same LLM to self-judge whether it recognizes this predictive dependence. Across four models and three benchmarks, language models largely do not know which words steer their reasoning, a mismatch we call the Generation-Judgment Contradiction. Inspired by this phenomenon, we propose Online KV Suppression: it scores every prompt word's influence over the whole chain of thought in a single pass, then zeroes the KV-cache entries of the highest-influence word the model itself judges inert and redecodes. This single-word intervention improves CoT accuracy across four models and five reasoning benchmarks, by up to 8.9 percentage points on math reasoning benchmark.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.27317 [cs.CL] |
| (or arXiv:2611.27317v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.27317 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yanbei Jiang [view email]
[v1]
Fri, 20 Nov 2026 08:58:26 UTC (2,134 KB)
来源:arXiv cs.AI · arxiv.org