让大模型在连续概念空间中进行类人推理,提升准确率并减少 token 使用。
Soft Thinking: Unlocking the Reasoning Potential of LLMs in Continuous Concept Space
- 通过概率加权混合嵌入生成连续概念令牌,突破离散语言边界。
- 数学与编码任务上准确率提升最高2.48点,token消耗降低最多22.4%。
- 输出可读性强,适合需要高效精准推理的场景。
人类认知通常基于抽象、流动的概念,而非固定的语言标记。当前推理模型受限于语言的离散性,仅能处理离散标记嵌入,导致推理路径探索不完整。本文提出 Soft Thinking,一种无需训练的方法,通过概率加权混合嵌入,在连续概念空间中生成软性概念标记,实现平滑过渡与更丰富表征。每个概念标记融合多个相关离散标记的语义,隐式探索多条推理路径,有效逼近正确答案。在多种数学与编码基准上,该方法将 pass@1 准确率提升最高达 2.48 点,同时减少最多 22.4% 的 token 使用量。定性分析表明,输出保持高度可读性,展现出突破离散语言推理瓶颈的潜力。代码已开源。
原文摘要 · Abstract (English)
Human cognition typically involves thinking through abstract, fluid concepts rather than strictly using discrete linguistic tokens. Current reasoning models, however, are constrained to reasoning within the boundaries of human language, processing discrete token embeddings that represent fixed points in the semantic space. This discrete constraint restricts the expressive power and upper potential of such reasoning models, often causing incomplete exploration of reasoning paths, as standard Chain-of-Thought (CoT) methods rely on sampling one token per step. In this work, we introduce Soft Thinking, a training-free method that emulates human-like "soft" reasoning by generating soft, abstract concept tokens in a continuous concept space. These concept tokens are created by the probability-weighted mixture of token embeddings, which form the continuous concept space, enabling smooth transitions and richer representations that transcend traditional discrete boundaries. In essence, each generated concept token encapsulates multiple meanings from related discrete tokens, implicitly exploring various reasoning paths to converge effectively toward the correct answer. Empirical evaluations on diverse mathematical and coding benchmarks consistently demonstrate the effectiveness and efficiency of Soft Thinking, improving pass@1 accuracy by up to 2.48 points while simultaneously reducing token usage by up to 22.4% compared to standard CoT. Qualitative analysis further reveals that Soft Thinking outputs remain highly interpretable and readable, highlighting the potential of Soft Thinking to break the inherent bottleneck of discrete language-based reasoning. Code is available at https://github.com/eric-ai-lab/Soft-Thinking.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。