arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.05561cs.AI
收藏

BitCal-TTS:用于量化推理模型的位校准测试时间缩放

BitCal-TTS: Bit-Calibrated Test-Time Scaling for Quantized Reasoning Models

Sai Babu Patarlapalli, Surya Teja Avvaru

AI总结:

本文提出BitCal-TTS,一种轻量级运行时控制器,通过在线代理、位条件置信度重缩放和位感知后标记确认范围,提升量化推理模型的准确率和稳定性。

摘要:

事后量化使大型推理模型在紧绷的内存和延迟预算下变得实用,但会扭曲驱动自适应测试时间计算分配的在线信号。在固定的新生成令牌数量上限下,校准不当的置信度可能导致有害的提前终止:模型可能在底层推理仍错误的情况下浮现一个合理的最终行,或者控制器可能在轨迹稳定之前停止。我们研究了贪婪4位推理中的这种交互,并提出了BitCal-TTS,一种轻量级的运行时控制器,结合(i)低成本的在线代理用于令牌级不确定性及推理轨迹稳定性,(ii)位条件置信度重缩放,其在低名义精度下保守,以及(iii)针对GSM8K风格结构化输出设计的位感知后标记确认范围。该方法不需要对基础模型进行微调,并通过logits和最后一层隐藏状态的forward hooks与标准Hugging Face 4位推理集成。在GSM8K的小型评估分片上,使用Qwen2.5 Instruct模型,BitCal-TTS在7B和14B规模上相对于非位感知的自适应基线提高了精确匹配准确性,同时相对于固定预算解码保持了显著的令牌节省。在令牌上限为B=512时,在评估分片上我们报告(N=54 for 7B和N=35 for 14B;不是完整的GSM8K测试集)的准确率提升为+3.7点(7B)和+2.8点(14B),提前停止率从14.8%降至11.1%(7B)和从17.1%降至11.4%(14B)。我们报告了整个过程的Wilson 95%置信区间,并明确讨论了部分分片比较的有限统计效力。我们发布代码和图表生成脚本以支持完整复现。

英文摘要:

Post-training quantization makes large reasoning models practical under tight memory and latency budgets, but it can distort the online signals that drive adaptive test-time compute allocation. Under a fixed cap on the number of newly generated tokens, miscalibrated confidence can lead to harmful early halting: the model may surface a plausible final line while the underlying reasoning is still wrong, or the controller may stop before the trace has stabilized. We study this interaction for greedy 4-bit inference and propose BitCal-TTS, a lightweight runtime controller that combines (i) inexpensive online proxies for token-level uncertainty and reasoning-trace stability, (ii) a bit-conditioned confidence rescaling that is conservative at low nominal precision, and (iii) a bit-aware post-marker confirmation horizon designed for GSM8K-style structured outputs. The method requires no fine-tuning of the base model and integrates with standard Hugging Face 4-bit inference using forward hooks for logits and last-layer hidden states. On small evaluation shards of GSM8K with Qwen2.5 Instruct models, BitCal-TTS improves exact-match accuracy over a non-bit-aware adaptive baseline at the 7B and 14B scales while preserving substantial token savings relative to fixed-budget decoding. At a token cap of B=512, on the evaluation shards we report (N=54 for 7B and N=35 for 14B; not the full GSM8K test set), accuracy gains are +3.7 points (7B) and +2.8 points (14B), with the premature-stop rate falling from 14.8% to 11.1% on 7B and from 17.1% to 11.4% on 14B. We report Wilson 95% confidence intervals throughout and explicitly discuss the limited statistical power of the partial-shard comparisons. We release code and figure-generation scripts to support full reproduction.

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

↑