arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28008cs.AIcs.LG
收藏

压缩思维:压缩推理数据在LLM后训练中何时以及如何发挥作用

Zipping the Thought: When and How Compressed Reasoning Data Works in LLM Post-Training

The University of Tokyo(东京大学)

Kohsei Matsutani, Gouki Minegishi, Takeshi Kojima, Yusuke Iwasawa, Yutaka Matsuo

AI总结:

本文通过分类显式、组合和隐式思维链,在合成组合推理任务上实验,发现粗粒度CoT需要更多SFT数据,组合和隐式CoT从数据缩放中获益更多但隐式CoT易导致记忆,后续RLVR会分解压缩步骤,且单向CoT顺序在长序列任务上泛化更强。

摘要:

大型语言模型(LLM)现在能够通过长思维链(CoT)推理解决复杂问题,但性能与token成本之间的权衡仍然是一个核心挑战。为了解决这个问题,监督微调(SFT)通常使用压缩推理数据,其中CoT轨迹被缩短为紧凑形式。然而,这种压缩推理数据对后训练的影响仍然知之甚少。在本文中,我们提出了一个CoT分类法,包括显式CoT(输出所有操作而不聚合)、组合CoT(将多个操作合并为单步)和隐式CoT(省略中间操作)。我们构建了一个合成组合推理任务,允许对难度、压缩粒度和数据大小进行可控变化,并在不同模型家族和大小上进行了全面的实验。值得注意的是,我们发现:(i)粗粒度CoT需要更多SFT数据;(ii)与显式CoT相比,组合CoT和隐式CoT从数据缩放中获益更多,而组合CoT从数据重复中获益,隐式CoT则倾向于导致记忆;(iii)与SFT不同,后续带有可验证奖励的强化学习(RLVR)会分解在SFT期间学到的压缩步骤;(iv)单向CoT顺序在更长序列任务上表现出更强的泛化能力。我们的发现为数据资源约束下的CoT设计提供了启示,并为LLM后训练中SFT和RL的机制提供了重要见解。

英文摘要:

Large language models (LLMs) can now solve complex problems through long chain-of-thought (CoT) reasoning, but the trade-off between performance and token cost remains a central challenge. To address this issue, supervised fine-tuning (SFT) often uses compressed reasoning data, where CoT traces are shortened into compact forms. However, the effect of such compressed reasoning data on post-training remains poorly understood. In this paper, we propose a taxonomy of CoT consisting of Explicit CoT, which outputs all operations without aggregation, Composed CoT, which combines multiple operations into a single step, and Implicit CoT, which omits intermediate operations. As a controlled mechanistic study, we construct a synthetic compositional reasoning task that allows controlled variation of difficulty, compression granularity, and data size, and conducted a comprehensive set of experiments across different model families and sizes. Notably, we find that (i) coarser CoT requires more SFT data, (ii) compared with Explicit CoT, Composed CoT and Implicit CoT benefit more from data scaling, while Composed CoT benefits from data repetition and Implicit CoT tends to lead to memorization, (iii) unlike SFT, subsequent reinforcement learning (RL) with verifiable rewards (RLVR) decomposes compressed steps learned during SFT, and (iv) unidirectional CoT ordering shows stronger generalization on longer sequential tasks. Our findings provide implications for CoT design under data resource constraints and offer important insights into the mechanisms of SFT and RL in LLM post-training.

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

↑