arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.02678cs.CLcs.CEcs.NAmath.NA
收藏

TL;DR:过长则重加权——实现高效大语言模型推理压缩

TL;DR: Too Long, Do Re-weighting for Efficient LLM Reasoning Compression

School of Artificial Intelligence, Chinese Academy of Sciences(中国科学院人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of California, Los Angeles(加州大学洛杉矶分校);Tsinghua University(清华大学);Microsoft(微软);Hong Kong University of Science and Technology(香港科技大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Zhong-Zhi Li, Xiao Liang, Zihao Tang, Lei Ji, Peijie Wang, Haotian Xu, Xing W, Haizhen Huang, Weiwei Deng, Yeyun Gong, Zhijiang Guo, Xiao Liu, Fei Yin, Cheng-Lin Liu

AI总结:

针对大语言模型推理输出过长、效率低下的问题,提出基于动态比例的训练流水线,通过平衡System-1与System-2数据权重压缩推理过程,在多款模型和基准上实现输出token减少近40%且保持推理准确率。

摘要:

大语言模型(LLM)近期借助强化学习与扩展思维链(CoT)技术取得了显著进展。然而,高效语言推理的难题——尤其是在输出极长的推理阶段——已引起研究界越来越多的关注。本研究中,我们提出了一种基于动态比例的训练流水线,该流水线不依赖复杂的数据标注,也无需在多个模型间进行插值。我们持续平衡模型的System-1与System-2数据之间的权重,在保留模型推理能力的同时消除冗余推理过程。我们在DeepSeek-R1-Distill-7B与DeepSeek-R1-Distill-14B模型以及不同难度的多样化基准测试集上验证了所提方法。我们的方法在保持推理准确率的同时,将输出token数量显著减少了近40%。我们的代码与数据将很快公开。

英文摘要:

Large Language Models (LLMs) have recently achieved remarkable progress by leveraging Reinforcement Learning and extended Chain-of-Thought (CoT) techniques. However, the challenge of performing efficient language reasoning--especially during inference with extremely long outputs--has drawn increasing attention from the research community. In this work, we propose a dynamic ratio-based training pipeline that does not rely on sophisticated data annotations or interpolation between multiple models. We continuously balance the weights between the model's System-1 and System-2 data to eliminate redundant reasoning processes while preserving the model's reasoning capability. We validate our approach across models on DeepSeek-R1-Distill-7B and DeepSeek-R1-Distill-14B and on a diverse set of benchmarks with varying difficulty levels. Our method significantly reduces the number of output tokens by nearly 40% while maintaining the accuracy of the reasoning. Our code and data will be available soon.

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

↑