PACE: 用于高效推理的前缀保护和难度感知压缩
PACE: Prefix-Protected and Difficulty-Aware Compression for Efficient Reasoning
AI总结:
PACE通过双层框架实现前缀保护和难度感知压缩,有效减少token使用并提升推理准确性。
摘要:
语言推理模型(LRMs)通过在测试时扩展计算量来实现强大的性能,但常常面临\"过度思考\"的问题,产生过长的推理轨迹,从而增加延迟和内存使用。现有LRMs通常通过统一长度惩罚来强制简洁性,这在序列层面过度压缩了关键的早期推导步骤,并在群体层面 indiscriminately 地惩罚所有查询。为了解决这些限制,我们提出了\textbf{\model},一个双层框架,用于在分层监督下实现前缀保护和难度感知的压缩。在序列层面,前缀保护优化利用衰减混合回滚来保持有效的推理路径,同时促进简洁性。在群体层面,难度感知惩罚根据查询复杂性动态调整长度约束,保持对较难问题的探索,同时抑制对较简单问题的冗余。在DeepSeek-R1-Distill-Qwen(1.5B/7B)上的广泛实验表明,\model在减少token使用(高达\textbf{55.7\%})的同时,同时在数学基准上提高了准确性(高达\textbf{4.1\%}),并且在代码、科学和一般领域具有泛化能力。
英文摘要:
Language Reasoning Models (LRMs) achieve strong performance by scaling test-time computation but often suffer from ``overthinking'', producing excessively long reasoning traces that increase latency and memory usage. Existing LRMs typically enforce conciseness with uniform length penalties, which over-compress crucial early deduction steps at the sequence level and indiscriminately penalize all queries at the group level. To solve these limitations, we propose \textbf{\model}, a dual-level framework for prefix-protected and difficulty-aware compression under hierarchical supervision. At the sequence level, prefix-protected optimization employs decaying mixed rollouts to maintain valid reasoning paths while promoting conciseness. At the group level, difficulty-aware penalty dynamically scales length constraints based on query complexity, maintaining exploration for harder questions while curbing redundancy on easier ones. Extensive experiments on DeepSeek-R1-Distill-Qwen (1.5B/7B) demonstrate that \model achieves a substantial reduction in token usage (up to \textbf{55.7\%}) while simultaneously improving accuracy (up to \textbf{4.1\%}) on math benchmarks, with generalization ability to code, science, and general domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。