arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.03679cs.CLcs.AIcs.IRcs.LGcs.MM
收藏

LightThinker++:从推理压缩到内存管理

LightThinker++: From Reasoning Compression to Memory Management

Zhejiang University(浙江大学)

Yuqi Zhu, Jintian Zhang, Zhenjie Wan, Yujie Luo, Shuofei Qiao, Zhengke Gui, Da Zheng, Lei Liang, Huajun Chen, Ningyu Zhang

AI总结:

本文提出LightThinker++,通过引入显式自适应内存管理,有效压缩LLM推理过程中的中间思维,减少内存占用并提升推理效率,尤其在长周期智能任务中表现突出。

摘要:

大型语言模型(LLMs)在复杂推理方面表现出色,但其效率受限于长推理轨迹带来的认知开销。本文提出LightThinker,使LLMs能够动态压缩中间思维为紧凑的语义表示。然而,静态压缩在复杂推理中常因中间细节不可逆丢失而产生逻辑瓶颈。为此,我们演进框架为LightThinker++,引入显式自适应内存管理。该范式通过整合显式内存原语,结合专用轨迹合成管道训练目的性内存调度。广泛实验表明该框架在三个维度上具有广泛适用性。(1)LightThinker将峰值token使用量减少70%,推理时间减少26%,精度损失最小。 (2)在标准推理中,LightThinker++在相同上下文预算下将峰值token使用量减少69.9%,并获得+2.42%的精度提升。 (3)最值得注意的是,在长周期智能任务中,它在80轮以上保持稳定足迹(减少60%-70%),在不同复杂场景中平均性能提升14.8%。总体而言,本文的工作为在扩展时间范围内维持深度LLM推理提供了可扩展的方向,同时保持最小的开销。

英文摘要:

Large language models (LLMs) excel at complex reasoning, yet their efficiency is limited by the surging cognitive overhead of long thought traces. In this paper, we propose LightThinker, a method that enables LLMs to dynamically compress intermediate thoughts into compact semantic representations. However, static compression often struggles with complex reasoning where the irreversible loss of intermediate details can lead to logical bottlenecks. To address this, we evolve the framework into LightThinker++, introducing Explicit Adaptive Memory Management. This paradigm shifts to behavioral-level management by incorporating explicit memory primitives, supported by a specialized trajectory synthesis pipeline to train purposeful memory scheduling. Extensive experiments demonstrate the framework's versatility across three dimensions. (1) LightThinker reduces peak token usage by 70% and inference time by 26% with minimal accuracy loss. (2) In standard reasoning, LightThinker++ slashes peak token usage by 69.9% while yielding a +2.42% accuracy gain under the same context budget for maximum performance. (3) Most notably, in long-horizon agentic tasks, it maintains a stable footprint beyond 80 rounds (a 60%-70% reduction), achieving an average performance gain of 14.8% across different complex scenarios. Overall, our work provides a scalable direction for sustaining deep LLM reasoning over extended horizons with minimal overhead.

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

↑