paper-with-me

홈 › Papers

TokenSkip: Controllable Chain-of-Thought Compression in LLMs

2025-02-17 · Heming Xia, Yongqi Li, Chak Tou Leong, Wenjie Wang, Wenjie Li

Chain-of-Thought (CoT) has been proven effective in enhancing the reasoning capabilities of large language models (LLMs). Recent advancements, such as OpenAI's o1 and DeepSeek-R1, suggest that scaling up the length of CoT sequences during inference could further boost LLM reasoning performance. However, due to the autoregressive nature of LLM decoding, longer CoT outputs lead to a linear increase in inference latency, adversely affecting user experience, particularly when the CoT exceeds 10,000 tokens. To address this limitation, we analyze the semantic importance of tokens within CoT outputs and reveal that their contributions to reasoning vary. Building on this insight, we propose TokenSkip, a simple yet effective approach that enables LLMs to selectively skip less important tokens, allowing for controllable CoT compression. Extensive experiments across various models and tasks demonstrate the effectiveness of TokenSkip in reducing CoT token usage while preserving strong reasoning performance. Notably, when applied to Qwen2.5-14B-Instruct, TokenSkip reduces reasoning tokens by 40% (from 313 to 181) on GSM8K, with less than a 0.4% performance drop.

📄 PDF Abstract BibTeX arXiv:2502.12067

Code (1)

hemingkx/tokenskip 공식 구현

Tasks

GSM8K

Similar Papers 제목 키워드 기반

DiffuMask: Diffusion Language Model for Token-level Prompt Pruning

2026-04-08 · Caleb Zheng, Jyotika Singh, Fang Tu, Weiyi Sun 외 arxiv

In-Context Learning and Chain-of-Thought prompting improve reasoning in large language models (LLMs). These typically come at the cost of longer, more expensive prompts that may contain redundant information. Prompt comp…

Controllable Navigation Instruction Generation with Chain of Thought Prompting

2024-07-10 · Xianghao Kong, Jinyu Chen, Wenguan Wang, Hang Su 외

Instruction generation is a vital and multidisciplinary research area with broad applications. Existing instruction generation models are limited to generating instructions in a single style from a particular dataset, an…

Long Chain-of-Thought Compression via Fine-Grained Group Policy Optimization

2026-02-10 · Xinchen Han, Hossam Afifi, Michel Marot, Xilu Wang 외 arxiv

Large Language Models (LLMs) often generate unnecessarily verbose Chain-of-Thought (CoT) reasoning that increases computational costs and latency without proportional performance gains. In this paper, we propose Fine-gra…

Reinforcement Learning

CtrlCoT: Dual-Granularity Chain-of-Thought Compression for Controllable Reasoning

2026-01-28 · Zhenxuan Fan, Jie Cao, Yang Dai, Zheqi Lv 외 arxiv

Chain-of-thought (CoT) prompting improves LLM reasoning but incurs high latency and memory cost due to verbose traces, motivating CoT compression with preserved correctness. Existing methods either shorten CoTs at the se…

How Well do LLMs Compress Their Own Chain-of-Thought? A Token Complexity Approach

2025-03-03 · Ayeong Lee, Ethan Che, Tianyi Peng

Chain-of-thought prompting has emerged as a powerful technique for enabling large language models (LLMs) to solve complex reasoning tasks. However, these reasoning chains can be verbose, raising concerns about efficiency…