LightThinker: Thinking Step-by-Step Compression
Jintian Zhang, Yuqi Zhu, Mengshu Sun, Yujie Luo, Shuofei Qiao, Lun Du, Da Zheng, Huajun Chen, Ningyu Zhang
摘要
Large language models (LLMs) have shown remarkable performance in complex reasoning tasks, but their efficiency is hindered by the substantial memory and computational costs associated with generating lengthy tokens. In this paper, we propose LightThinker, a novel method that enables LLMs to dynamically compress intermediate thoughts during reasoning. Inspired by human cognitive processes, Light-Thinker compresses verbose thought steps into compact representations and discards the original reasoning chains, thereby significantly reducing the number of tokens stored in the context window. This is achieved by training the model on when and how to perform compression through data construction, mapping hidden states to condensed gist tokens, and creating specialized attention masks. Additionally, we introduce the Dependency (Dep) metric to quantify the degree of compression by measuring the reliance on historical tokens during generation. Extensive experiments on four datasets and two models show that LightThinker reduces peak memory usage and inference time, while maintaining competitive accuracy. Our work provides a new direction for improving the efficiency of LLMs in complex reasoning tasks without sacrificing performance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient Streaming Language Models with Attention Sinks 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Efficient Streaming Language Models with Attention Sinks
- Learning to Compress Prompts with Gist Tokens 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- NeuReasoner: Towards Explainable, Controllable, and Unified Reasoning via Mixture-of-Neurons 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Learning to Compress Prompts with Gist Tokens
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- SnapKV: LLM Knows What You are Looking for Before Generation 引用了 Efficient Streaming Language Models with Attention Sinks
- SnapKV: LLM Knows What You are Looking for Before Generation 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning 引用了 Efficient Streaming Language Models with Attention Sinks
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning 引用了 SnapKV: LLM Knows What You are Looking for Before Generation
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning 引用了 InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models
- InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models 引用了 Efficient Streaming Language Models with Attention Sinks
- InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper15
- InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language ModelsYuchen Yan, Yongliang Shen, Yang Liu, Jin Jiang 等ICLR 2026 · 48 次引用
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial ReasoningYang Liu, Ming Ma, Xiaomin Yu, Pengxiang Ding 等NeurIPS 2025 · 46 次引用
- NeuReasoner: Towards Explainable, Controllable, and Unified Reasoning via Mixture-of-NeuronsHaonan Dong, Kehan Jiang, Haoran Ye, Wenhao Zhu 等ACL 2026 · 15 次引用
- Render-of-Thought: Rendering Textual Chain-of-Thought as Images for Visual Latent ReasoningYifan Wang, Shiyu Li, Peiming Li, Xiaochen Yang 等ACL 2026 · 14 次引用
- LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long ReasoningHaoyue Zhang, Hualei Zhang, Xiaosong Ma, Jie Zhang 等ACL 2026 · 7 次引用
它引用的 Paper18
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
- SnapKV: LLM Knows What You are Looking for Before GenerationYuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh 等NeurIPS 2024 · 1,019 次引用
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen 等NeurIPS 2023 · 1,003 次引用
- Learning to Compress Prompts with Gist TokensJesse Mu, Xiang Li, Noah D. GoodmanNeurIPS 2023 · 488 次引用
相关 Paper
- Can Reasoning Path still be Effective as Input? Bridging Post-Reasoning to Chain-of-Thought CompressionChengzhengxu Li, Xiaoming Liu, Zhaohan Zhang, Shengchao Liu 等ACL 2026
- DesireKV: Decoupling Sensitivity and Importance for Reasoning-Aware KV Cache CompressionPengyu Cheng, Jiacheng Wang, Tianle Chen, Bei Liu 等AAAI 2026
- VeriThinker: Learning to Verify Makes Reasoning Model EfficientZigeng Chen, Xinyin Ma, Gongfan Fang, Ruonan Yu 等NeurIPS 2025 · 30 次引用
- Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning ChainsWenhui Tan, Jiaze Li, Jianzhong Ju, Zhenbo Luo 等NeurIPS 2025 · 103 次引用
- Token-Budget-Aware LLM ReasoningTingxu Han, Zhenting Wang, Chunrong Fang, Shiyu Zhao 等ACL Findings 2025 · 31 次引用
