推理模型中的极端低位推理:失败模式与针对性恢复
Extreme Low-Bit Inference in Reasoning Models: Failure Modes and Targeted Recovery
AI总结:
针对大型推理模型在2位量化推理中因生成不稳定导致总token数膨胀而无法实现端到端加速的问题,提出轻量级FP16规划和循环救援两种控制方法,显著恢复模型精度并保持实际速度。
摘要:
大型推理模型(LRM)依赖长推理轨迹,导致推理成本高昂。虽然低位量化降低了每token解码成本,但我们表明,激进的2位推理可能无法实现端到端加速,因为生成过程中的不稳定性会膨胀总token数。2位量化不仅降低答案准确性,还常常产生更长的轨迹,包含重复循环、预算耗尽、延迟承诺和未闭合的推理段。我们分析了Qwen3推理模型在数学和常识基准上的完整推理轨迹,并表明准确率下降与这些过程级失败密切相关。为解决这些问题,我们引入了两种轻量级控制:FP16规划,为2位模型提供简短的高精度轮廓;以及循环救援,检测重复轨迹并要么承诺早期答案,要么回退到FP16。在MATH-500上,循环救援将Qwen3-8B准确率从17.2%提升至74.2%,而规划加循环救援将Qwen3-32B准确率从65.0%提升至87.2%。总体而言,我们的结果表明,当极端低位推理的失败被视为可控生成病理时,它变得可行:通过轻量级检测和选择性FP16支持,2位推理可以在恢复准确率的同时保持真实的端到端速度。我们的代码可在 https://github.com/brain-lab-research/quantized-reasoning 获取。
英文摘要:
Large Reasoning Models (LRMs) rely on long reasoning traces, making inference expensive. While low-bit quantization reduces per-token decoding cost, we show that aggressive 2-bit inference can fail to deliver end-to-end speedup because instability in the generation process inflates total token count. Instead of merely lowering answer accuracy, 2-bit quantization often produces much longer traces with repetitive loops, budget exhaustion, delayed commitment, and unclosed reasoning segments. We analyze full reasoning traces of Qwen3 reasoning models across mathematical and commonsense benchmarks and show that accuracy degradation is tightly linked to these process-level failures. To address them, we introduce two lightweight controls: FP16 planning, which gives the 2-bit model a short high-precision outline, and loop rescue, which detects repetitive traces and either commits to an earlier answer or falls back to FP16. On MATH-500, loop rescue improves Qwen3-8B accuracy from 17.2% to 74.2%, while planning plus loop rescue improves Qwen3-32B from 65.0% to 87.2%. Overall, our results show that extreme low-bit reasoning becomes practical when its failures are treated as controllable generation pathologies: with lightweight detection and selective FP16 support, 2-bit inference can recover accuracy while preserving real end-to-end speed. Our code is available at: https://github.com/brain-lab-research/quantized-reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。