ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsTopic · 分层舍入策略1 min read·2026-10-09DisconfirmAI Editorial

Layered Rounding Cuts Low-Precision Error

A study shows that using stochastic rounding for MLP layers and round-to-nearest for the output head reduces DistilGPT-2 perplexity degradation to 1.10x at 6-bit precision, compared to 2.21x for uniform round-to-nearest.

ImportanceLocalEvidenceE2 unreplicatedWrite-upQuick

Original publication time 2026-10-02 12:00 GMT+8

At 6-bit virtual precision, a mixed rounding strategy keeps DistilGPT-2 perplexity degradation within 1.10x of the full-precision reference.

Previous approaches often applied either stochastic rounding (SR) or round-to-nearest (RN) uniformly across the network. This research reveals that different layers respond oppositely to rounding noise: MLP layer errors cause uniform logit shifts, which Softmax is invariant to, making SR's variance penalty negligible there. Conversely, language model head errors are non-uniform, favoring deterministic RN.

Experiments showed that pure RN increased perplexity to 2.21x the baseline, while pure SR resulted in 1.15x. By assigning SR to the MLP and RN to the head, perplexity was reduced to 1.10x, a 28% improvement over matched-bit RN.

These results are based on simulations with the small DistilGPT-2 model and have not yet been verified on large-scale models or real hardware.

Sources

  • 原始出处arxiv.org↗
Sign in / Sign up
ReadingResearchRadarInvestment framework
Topic

分层舍入策略

【背景】在Transformer模型的低精度推理中,单一舍入规则往往导致性能显著下降。最新研究提出“分层舍入策略”,即根据网络不同部位的特性混合使用随机舍入(SR)和就近舍入(RN)。

2 steps1 piecesUpdated 2026-10-09 15:20

How it got here

  1. 2026-10-01Chatelain等人提交预印本《Stochastic Rounding in Low-Precision Transformer Inference》,提出变量精度随机舍入(VPSR)算法及分层舍入概念。
  2. 2026-10-08论文v2版本发布,确认在DistilGPT-2 6位精度下,MLP用SR+输出头用RN的组合可将困惑度劣化从2.21x降至1.10x。

What is still unsettled

  • 该策略在更大规模模型(如7B以上参数)上的泛化能力如何?
  • 实际硬件部署中,动态切换舍入模式的延迟开销是否抵消了精度收益?
  • LAMP等基于重计算的混合精度方案与分层舍入策略能否结合使用?
Read the full topic →
Continue researching →