arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08808cs.CLcs.AIcs.LG
收藏

多路思考:通过令牌级分支-合并进行推理

Multiplex Thinking: Reasoning via Token-wise Branch-and-Merge

University of Pennsylvania(宾夕法尼亚大学);Microsoft Research(微软研究院)

Yao Tang, Li Dong, Yaru Hao, Qingxiu Dong, Furu Wei, Jiatao Gu

AI总结:

多路思考是一种通过令牌级分支-合并机制实现软推理的新方法,能自适应地在离散和连续之间切换,从而在数学推理任务中优于传统CoT和RL基线。

摘要:

大型语言模型 often 通过链式思维(Chain-of-Thought,CoT)更有效地解决复杂的推理任务,但以长而低带宽的令牌序列为代价。相比之下,人类往往通过维护可能下一步的分布进行软推理。受此启发,我们提出了多路思考,一种随机软推理机制,在每个思考步骤中,采样K个候选令牌并将它们的嵌入聚合为一个连续的多路令牌。这保留了词汇嵌入先验和标准离散生成的采样动态,同时诱导了一个可 tractable 的多路展开概率分布。因此,多路轨迹可以直接通过 on-policy 惩罚学习(RL)进行优化。重要的是,多路思考是自适应的:当模型自信时,多路令牌几乎离散,行为如同标准 CoT;当不确定时,它能紧凑地表示多个可能的下一步,而不会增加序列长度。在具有挑战性的数学推理基准上,多路思考在 Pass@1 到 Pass@1024 中始终优于强大的离散 CoT 和 RL 基线,同时生成更短的序列。代码和检查点可在 https://github.com/GMLR-Penn/Multiplex-Thinking 上获得。

英文摘要:

Large language models often solve complex reasoning tasks more effectively with Chain-of-Thought (CoT), but at the cost of long, low-bandwidth token sequences. Humans, by contrast, often reason softly by maintaining a distribution over plausible next steps. Motivated by this, we propose Multiplex Thinking, a stochastic soft reasoning mechanism that, at each thinking step, samples K candidate tokens and aggregates their embeddings into a single continuous multiplex token. This preserves the vocabulary embedding prior and the sampling dynamics of standard discrete generation, while inducing a tractable probability distribution over multiplex rollouts. Consequently, multiplex trajectories can be directly optimized with on-policy reinforcement learning (RL). Importantly, Multiplex Thinking is self-adaptive: when the model is confident, the multiplex token is nearly discrete and behaves like standard CoT; when it is uncertain, it compactly represents multiple plausible next steps without increasing sequence length. Across challenging math reasoning benchmarks, Multiplex Thinking consistently outperforms strong discrete CoT and RL baselines from Pass@1 through Pass@1024, while producing shorter sequences. The code and checkpoints are available at https://github.com/GMLR-Penn/Multiplex-Thinking.

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

↑