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

面向大型语言模型的快速思考

Fast Thinking for Large Language Models

Haoyu Zheng, Zhuonan Wang, Yuqian Yuan, Tianwei Lin, Wenqiao Zhang, Zheqi Lv, Juncheng Li, Siliang Tang, Yueting Zhuang, Hongyang He

AI总结:

本文提出 Latent Codebooks for Fast Thinking 框架与 GainRouter 路由机制,用潜在策略向量替代显式长推理链,在保持或提升准确率的同时显著降低推理成本。

摘要:

面向推理的大型语言模型(LLM)通常依赖逐步生成显式 token,其有效性往往取决于大规模监督微调或强化学习。尽管思维链(CoT)技术显著提升了复杂推理任务上的性能,但它们仍然效率低下,需要较长的推理轨迹,从而增加延迟和 token 使用量。在本工作中,我们提出 Latent Codebooks for Fast Thinking(用于快速思考的潜在码本)框架,该框架仅在训练期间使用简洁的 CoT 草图来学习离散策略先验码本。在推理时,模型以一次性方式基于从码本中蒸馏出的少量连续思考向量进行条件生成,从而在不生成显式推理 token 的情况下实现策略级指导。为补充这一设计,我们提出 GainRouter,这是一种轻量级路由机制,可在快速码本引导推理与慢速显式推理之间自适应切换,从而抑制过度思考并减少不必要的 token 生成。在多个推理基准上的实验表明,我们的方法取得了具有竞争力或更优的准确率,同时大幅降低了推理成本,为大型语言模型中高效且可控的推理提供了一条实用路径。

英文摘要:

Reasoning-oriented Large Language Models (LLMs) often rely on generating explicit tokens step by step, and their effectiveness typically hinges on large-scale supervised fine-tuning or reinforcement learning. While Chain-of-Thought (CoT) techniques substantially enhance performance on complex reasoning tasks, they remain inefficient, requiring long reasoning traces that increase latency and token usage. In this work, we introduce Latent Codebooks for Fast Thinking, a framework that uses concise CoT sketches only during training to learn a codebook of discrete strategy priors. At inference, the model conditions on a handful of continuous thinking vectors distilled from the codebook in a single pass, enabling strategy-level guidance without producing explicit reasoning tokens. To complement this design, we propose GainRouter, a lightweight routing mechanism that adaptively switches between fast codebook guided inference and slow explicit reasoning, thereby suppressing overthinking and reducing unnecessary token generation. Experiments across multiple reasoning benchmarks show that our approach achieves competitive or superior accuracy while substantially lowering inference cost, offering a practical path toward efficient and controllable reasoning in large language models.

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

↑