arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.21286cs.AI
收藏

思维密度:预测与引导大型语言模型中的推理过程

The Density of Thought: Predicting and Steering Reasoning in Large Language Models

Plaksha University(普拉卡沙大学);Nanyang Technological University(南洋理工大学);Interview Street Technologies Pvt. Ltd. (HackerRank)(Interview Street Technologies Pvt. Ltd.(HackerRank));Indian Statistical Institute(印度统计研究所)

Tanush Kalhan, Anupam Chattopadhyay, Sriram Ranga, Amritendu Mukherjee

AI总结:

该研究探究大型语言模型思维链的信息密度与答案正确性的关联,提出熵门控密度路由方法,通过引导密度提升推理准确率,训练范式对密度行为的影响大于模型规模。

摘要:

我们探究思维链(CoT)推理步骤间信息密度的变化是否能预测答案正确性,且可作为推理时的可控目标。我们提示冻结的预训练模型通过CoT解决问题,并用两个独立指标衡量各推理步骤的密度:LP方差(信息在步骤间的分布不均程度,以每词平均负对数似然的方差计算)和Caveman压缩比。随后测试密度是否与答案正确性相关,以及能否通过引导提升答案正确性。在6种模型规模、2种训练范式和60个GSM8K问题上的实验得出四个主要发现:第一,较低的LP方差可预测监督微调(SFT)模型的正确性,但该关系随规模减弱,在强化学习(RL)蒸馏模型中反转,因此训练范式比模型规模对密度行为的影响更大;第二,合成实验显示存在固有复杂度偏好:在均匀分布数据上训练的模型,学习偏好复杂度的分布的准确率是偏好简单性的分布的2.0至2.6倍;第三,直接推理时密度引导使准确率从60.0%降至8.3%,表明自然密度模式对推理具有功能重要性;第四,结合提示注入与对比KV缓存引导的预生成微调使准确率提升13.3个百分点,且在两个指标上表现一致。最后,我们引入熵门控密度路由(EGDR),这是一种使用词级香农熵在生成时门控比例KV缓存调整的自监督方法,无需任何外部引导即可使准确率提升10.0个百分点。

英文摘要:

We investigate whether variation in information density across chain-of-thought (CoT) reasoning steps predicts answer correctness and can serve as a controllable inference-time target. We prompt frozen pretrained models to solve problems via CoT and measure the density of each reasoning step with two independent metrics: LP variance (how unevenly information is distributed across steps, computed as the variance in mean per-token negative log-likelihood) and the Caveman compression ratio. We then test whether density correlates with, and can be steered to improve, answer correctness. Experiments across six model scales, two training paradigms, and 60 GSM8K problems yield four main findings. First, lower LP variance predicts correctness in supervised fine-tuned (SFT) models, but this relationship weakens with scale and reverses in reinforcement-learning (RL) distilled models. Training paradigm therefore appears more influential than model size in determining density behaviour. Second, synthetic experiments reveal an intrinsic complexity preference: models trained on uniformly distributed data learn complexity-favouring distributions 2.0 to 2.6 times more accurately than simplicity-favouring ones. Third, direct inference-time density steering reduces accuracy from 60.0% to 8.3%, indicating that natural density patterns are functionally important to reasoning. Fourth, pre-generation nudging combining hint injection with contrastive KV-cache steering improves accuracy by 13.3 percentage points, consistent across both metrics. Finally, we introduce Entropy-Gated Density Routing (EGDR), a self-supervised method using token-level Shannon entropy to gate proportional KVcache adjustments during generation, improving accuracy by 10.0 percentage points without any external guidance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑