arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22924cs.AIcs.CL
收藏

Sep-Latent:将分隔符标记用作隐式推理的自然压缩锚点

Sep-Latent: Separator Tokens as Natural Compression Anchors for Implicit Reasoning

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Alibaba Group(阿里巴巴集团)

Yinlong Xu, Jianfeng Huang, Zhengdong Zhou, Mingjie Lin, Fuyu Lv, Dan Ou, Hongxia Xu, Jian Wu

AI总结:

Sep-Latent是一种自适应隐式推理框架,以分隔符标记为压缩锚点,通过注意力衰减与多级蒸馏实现动态推理,在GSM8k-Aug基准上以5.4个标记的平均长度达到56.8%准确率,效率优于固定长度隐式模型且接近显式CoT。

摘要:

大型语言模型(LLMs)通过显式思维链(CoT)在复杂推理中展现出显著成功,但相关的计算开销和标记冗长仍是效率提升的重大障碍。尽管连续隐式空间中的隐式推理提供了有前景的替代方案,现有方法如Coconut和CODI通常依赖固定长度的隐式序列,且存在表征崩溃问题。本文提出Sep-Latent,一种自适应隐式推理框架,利用分隔符标记作为结构语义锚点。通过引入注意力衰减机制,我们迫使模型在训练期间将推理逻辑聚合并压缩至这些锚点中。随后,我们通过跨所有层的多级蒸馏对齐显式与隐式路径,以确保逻辑一致性。关键在于,Sep-Latent可根据查询复杂度自适应终止隐式思考阶段,从而实现动态推理深度。在GSM8k-Aug基准上的实验结果显示,Sep-Latent达到56.8%的准确率,平均仅使用5.4个标记,在效率上显著优于先前的固定长度隐式模型,同时缩小了与显式CoT的性能差距。通过主成分分析(PCA)和符号变体测试的进一步分析证实,我们的方法确保了语义基础,并对扰动表现出卓越的鲁棒性。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable success in complex reasoning through explicit Chain-of-Thought (CoT), but the associated computational overhead and token verbosity remain significant barriers to efficiency. While implicit reasoning in continuous latent spaces offers a promising alternative, existing methods like Coconut and CODI often rely on fixed-length latent sequences and suffer from representational collapse. In this paper, we propose Sep-Latent, an adaptive implicit reasoning framework that utilizes separator tokens as structural semantic anchors. By introducing an Attention-Decay mechanism, we force the model to aggregate and compress reasoning logic into these anchors during training. We then align explicit and implicit pathways through multi-level distillation across all layers to ensure logical consistency. Crucially, Sep-Latent enables dynamic reasoning depth by adaptively terminating the latent thinking phase based on query complexity. Experimental results on the GSM8k-Aug benchmark show that Sep-Latent achieves an accuracy of 56.8\% with an average of only 5.4 tokens, significantly outperforming prior fixed-length implicit models in efficiency while narrowing the performance gap with explicit CoT. Further analysis via PCA and symbolic variant testing confirms that our method ensures semantic grounding and exhibits superior robustness to perturbations.

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

↑