Fast Thinking for Large Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zheng, Haoyu, Wang, Zhuonan, Yuan, Yuqian, Lin, Tianwei, Zhang, Wenqiao, Lv, Zheqi, Li, Juncheng, Tang, Siliang, Zhuang, Yueting, He, Hongyang
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908563085983744
author Zheng, Haoyu
Wang, Zhuonan
Yuan, Yuqian
Lin, Tianwei
Zhang, Wenqiao
Lv, Zheqi
Li, Juncheng
Tang, Siliang
Zhuang, Yueting
He, Hongyang
author_facet Zheng, Haoyu
Wang, Zhuonan
Yuan, Yuqian
Lin, Tianwei
Zhang, Wenqiao
Lv, Zheqi
Li, Juncheng
Tang, Siliang
Zhuang, Yueting
He, Hongyang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_23633
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fast Thinking for Large Language Models
Zheng, Haoyu
Wang, Zhuonan
Yuan, Yuqian
Lin, Tianwei
Zhang, Wenqiao
Lv, Zheqi
Li, Juncheng
Tang, Siliang
Zhuang, Yueting
He, Hongyang
Computation and Language
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.
title Fast Thinking for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2509.23633