arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.22873cs.LGcs.AIcs.CL
收藏

LLM何时推理?基于熵相变的动力系统视角

When Should LLMs Reason? Adaptive Inference Routing via Entropy Dynamics

Samsung Research(三星研究院);State Key Laboratory of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(通用人工智能国家重点实验室,北京理工大学)

Wei Xia, Haoqing Wang, Zhi-Hong Deng, Yehui Tang

AI总结:

本文通过早期解码熵动态检测LLM的推理状态,提出轻量级无训练路由框架EDRM,自适应选择推理策略,在减少token消耗的同时提升准确率。

摘要:

链式思维(CoT)推理已成为增强LLM能力的默认策略,但其应用引发了一个基本问题:显式推理何时真正有益?实证证据揭示了一个显著悖论:CoT在事实性和开放式任务上往往带来边际甚至负增益,同时成倍增加token消耗。在这项工作中,我们表明LLM推理不是任务或模型的静态属性,而是在生成过程中涌现的\emph{动态解码状态}。通过系统分析,我们发现早期熵动态提供了这一状态的可靠信号:受益于CoT的任务表现出一致的熵降低,而其他任务则呈现不稳定或增加的模式。这种行为可以解释为从高熵探索状态到低熵结构化推理状态的类相变转变。基于这些见解,我们提出了 extbf{EDRM}(基于熵动态的推理流形),一个轻量级且无需训练的路由框架,利用早期解码熵自适应选择推理策略。EDRM将熵轨迹嵌入到紧凑且可解释的流形表示中,支持零样本部署和细粒度实例级适应。在15个基准测试和4个不同规模与架构的LLM上,EDRM始终优于静态基线。在数据集层面,EDRM实现了 extbf{41--55\%}的token减少,同时仅需50个校准样本即可提高准确率。在实例层面,它进一步将准确率提升高达 extbf{4.7\%},同时保持 extbf{27--45\%}的token节省。这些结果表明,推理应被选择性地调用而非默认使用,并展示了基于熵的解码控制对于高效自适应LLM推理的有效性。

英文摘要:

Chain-of-thought (CoT) reasoning can improve LLM performance, but its benefits vary across tasks, models, and individual queries. On some tasks, CoT provides marginal or negative accuracy gains while substantially increasing token consumption. We investigate whether early decoding dynamics can help identify when explicit reasoning is useful. Our analysis shows that tasks with larger CoT gains tend to exhibit decreasing early-stage entropy, while low-gain tasks more often show oscillatory or increasing trajectories. These patterns motivate an empirical regime interpretation of decoding behavior. We propose \textbf{EDRM} (Entropy Dynamics-based Reasoning Manifold), a lightweight routing framework whose default heuristic requires no router training. EDRM summarizes early entropy trajectories with a compact, interpretable representation and selects among Direct, Standard, and CoT decoding. Across 15 benchmarks and 7 LLMs, its global and instance-level variants offer \textbf{16--55\%} token savings at comparable accuracy. The Full instance-level configuration combines routing with a short Direct fallback branch; our heuristic-router ablation reports up to \textbf{4.9 percentage points} of additional accuracy from oracle answer selection over routing without fallback. These results support selective reasoning based on early decoding signals and demonstrate the potential of entropy-based control for efficient LLM inference.

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

↑