EPiC:通过保边思维链压缩实现推理训练的无损加速
EPiC: Towards Lossless Speedup for Reasoning Training through Edge-Preserving CoT Condensation
AI总结:
本文提出保边思维链压缩方法EPiC,仅保留CoT轨迹的问题理解与解答收敛两端、剪除中间步骤,在MATH500上实现无损推理准确率并将训练时间降低超34%。
摘要:
大型语言模型(LLMs)在使用思维链(chain-of-thought, CoT)监督进行训练时,展现出了卓越的推理能力。然而,冗长且啰嗦的CoT轨迹——尤其是从DeepSeek-R1等大型推理模型(LRMs)中蒸馏得到的轨迹——在蒸馏过程中显著增加了训练成本;在该过程中,一个不具备推理能力的基础模型被训练去复现LRM的推理行为。本文研究了面向资源高效推理训练的CoT压缩问题,旨在剪除CoT轨迹中的中间推理步骤(即“想法”),从而在长度缩减后的CoT数据上进行监督模型训练,同时保持答案准确性和模型生成连贯推理的能力。我们的依据是,CoT轨迹通常遵循三阶段结构:问题理解、探索和解答收敛。通过实证分析,我们发现保留推理轨迹的结构——尤其是富含反思线索的问题理解早期阶段和解答收敛的最终阶段——足以实现无损的推理监督。为此,我们提出了一种保边压缩方法EPiC,该方法选择性地仅保留每条CoT轨迹的初始段和末尾段,同时丢弃中间部分。这一设计类比于保留推理轨迹的“边缘”,同时捕捉初始问题构建和最终答案综合,以维持逻辑连贯性。在多个模型家族(Qwen和LLaMA)和基准上的实验表明,EPiC将训练时间减少了超过34%,同时在MATH500上实现了无损的推理准确率,与完整CoT监督相当。据我们所知,这是首个探索思想级CoT压缩以实现高效推理模型蒸馏的研究。
英文摘要:
Large language models (LLMs) have shown remarkable reasoning capabilities when trained with chain-of-thought (CoT) supervision. However, the long and verbose CoT traces, especially those distilled from large reasoning models (LRMs) such as DeepSeek-R1, significantly increase training costs during the distillation process, where a non-reasoning base model is taught to replicate the reasoning behavior of an LRM. In this work, we study the problem of CoT condensation for resource-efficient reasoning training, aimed at pruning intermediate reasoning steps (i.e., thoughts) in CoT traces, enabling supervised model training on length-reduced CoT data while preserving both answer accuracy and the model's ability to generate coherent reasoning. Our rationale is that CoT traces typically follow a three-stage structure: problem understanding, exploration, and solution convergence. Through empirical analysis, we find that retaining the structure of the reasoning trace, especially the early stage of problem understanding (rich in reflective cues) and the final stage of solution convergence, is sufficient to achieve lossless reasoning supervision. To this end, we propose an Edge-Preserving Condensation method, EPiC, which selectively retains only the initial and final segments of each CoT trace while discarding the middle portion. This design draws an analogy to preserving the "edge" of a reasoning trajectory, capturing both the initial problem framing and the final answer synthesis, to maintain logical continuity. Experiments across multiple model families (Qwen and LLaMA) and benchmarks show that EPiC reduces training time by over 34% while achieving lossless reasoning accuracy on MATH500, comparable to full CoT supervision. To the best of our knowledge, this is the first study to explore thought-level CoT condensation for efficient reasoning model distillation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。