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

SeLaR:大语言模型中的选择性潜在推理

SeLaR: Selective Latent Reasoning in Large Language Models

Guangdong Provincial Key Laboratory of Ultra High Definition Immersive Media Technology(广东省超高清沉浸式媒体技术重点实验室);Shenzhen Graduate School, Peking University(北京大学深圳研究生院)

Renyu Fu, Guibo Luo

AI总结:

SeLaR通过引入熵门机制和熵感知对比正则化,解决大语言模型中链式推理的稳定性与探索性问题,优于标准CoT和训练自由方法。

摘要:

Chain-of-Thought (CoT) 已成为大语言模型推理的核心,但其有效性受限于离散令牌采样表达能力有限。最近的潜在推理方法通过将离散令牌替换为软嵌入(概率加权的令牌嵌入混合物)或隐藏状态来缓解这一限制,但通常面临两个问题:(1)全局激活会向高置信度步骤注入扰动,损害推理稳定性;(2)软嵌入迅速坍缩向最高概率令牌,限制探索替代轨迹。为解决这些挑战,我们提出了SeLaR(选择性潜在推理),一种轻量且无需训练的框架。SeLaR引入了一个熵门机制,仅在低置信度步骤激活软嵌入,同时在高置信度步骤保留离散解码。此外,我们提出了一种熵感知对比正则化,将软嵌入推离主导(最高概率)令牌的方向,鼓励持续探索多种潜在推理路径。在五个推理基准测试中,SeLaR一致优于标准CoT和最先进的训练自由方法。

英文摘要:

Chain-of-Thought (CoT) has become a cornerstone of reasoning in large language models, yet its effectiveness is constrained by the limited expressiveness of discrete token sampling. Recent latent reasoning approaches attempt to alleviate this limitation by replacing discrete tokens with soft embeddings (probability-weighted mixtures of token embeddings) or hidden states, but they commonly suffer from two issues: (1) global activation injects perturbations into high-confidence steps, impairing reasoning stability; and (2) soft embeddings quickly collapse toward the highest-probability token, limiting exploration of alternative trajectories. To address these challenges, we propose SeLaR (Selective Latent Reasoning), a lightweight and training-free framework. SeLaR introduces an entropy-gated mechanism that activates soft embeddings only at low-confidence steps, while preserving discrete decoding at high-confidence steps. Additionally, we propose an entropy-aware contrastive regularization that pushes soft embeddings away from the dominant (highest-probability) token's direction, encouraging sustained exploration of multiple latent reasoning paths. Experiments on five reasoning benchmarks demonstrate that SeLaR consistently outperforms standard CoT and state-of-the-art training-free methods.

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

↑