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

使强纠错码在AI推理中的HBM中有效工作

Making Strong Error-Correcting Codes Work Effectively for HBM in AI Inference

Rensselaer Polytechnic Institute(伦斯勒理工学院);ScaleFlux;IBM T.J. Watson Research Center(IBM托马斯·J·沃森研究中心)

Rui Xie, Yunhua Fang, Asad Ul Haq, Linsen Ma, Sanchari Sen, Swagath Venkataramani, Liu Liu, Tong Zhang

AI总结:

REACH通过控制器管理的强纠错码在HBM中实现高错误容忍度,减少ECC面积和功耗,提升AI推理效率。

摘要:

大语言模型(LLM)推理越来越依赖内存,而HBM每GB的成本主导了系统成本。当前的HBM堆栈包括短芯片内ECC,它收紧了分组,提高了价格,并在设备内部固定了可靠性策略。本文询问是否系统可以容忍更高的原始HBM位错误率,同时保持端到端的正确性和吞吐量,而无需改变HBM物理层或固定的32 B传输大小。我们提出了REACH,一种由控制器管理的ECC设计,保持HBM链路和32 B传输不变。REACH使用两级Reed-Solomon方案:每个32 B块使用内码检查和纠正大多数故障,而无法纠正的块被标记为擦除。外码跨越千字节,并在擦除模式下运行,只修复标记的块,避免昂贵的定位步骤。对于小随机写入,REACH使用差分奇偶校验更新外奇偶校验,以避免重新计算整个跨度的奇偶校验,同时可选的重要性自适应位平面策略可以保护关键字段,如BF16指数,以减少ECC工作和流量。在三个LLM上进行测试,每个LLM在8K上下文中,REACH在零BER时保持约79%的芯片内ECC吞吐量,并在原始BER为1e-3时仍保持合格,将可容忍的设备错误率扩展了约三个数量级,同时保持每秒令牌数几乎不变。在ASAP7中,一个完整的REACH控制器占用15.2平方毫米,消耗17.5瓦,以3.56 TB/s的速度运行,相比朴素的长Reed-Solomon基线,REACH将ECC面积减少了11.6倍,功率降低了约60%。通过将强ECC移至控制器,REACH将长码可靠性转化为系统选择,可以在相同标准接口下启用更低成本的HBM。

英文摘要:

LLM inference is increasingly memory bound, and HBM cost per GB dominates system cost. Current HBM stacks include short on-die ECC that tightens binning, raises price, and fixes reliability policy inside the device. This paper asks whether a system can tolerate a much higher raw HBM bit error rate and still keep end-to-end correctness and throughput, without changing the HBM PHY or the fixed 32 B transaction size. We propose REACH, a controller managed ECC design that keeps the HBM link and 32 B transfers unchanged. REACH uses a two level Reed-Solomon scheme: each 32 B chunk uses an inner code to check and correct most faults locally, while chunks that cannot be fixed are marked as erasures. An outer code spans kilobytes and runs in erasure only mode, repairing only flagged chunks and avoiding the expensive locator step. For small random writes, REACH updates outer parity with differential parity to avoid recomputing parity over the whole span, and an optional importance adaptive bit plane policy can protect only critical fields such as BF16 exponents to reduce ECC work and traffic. On three LLMs at 8K context, REACH keeps about 79 percent of on-die ECC throughput at zero BER and remains qualified up to a raw BER of 1e-3, extending tolerable device error rates by about three orders of magnitude while keeping tokens per second nearly flat. In ASAP7, a full REACH controller occupies 15.2 mm2 and consumes 17.5 W at 3.56 TB/s, and it reduces ECC area by 11.6x and power by about 60 percent compared to a naive long Reed-Solomon baseline. By moving strong ECC into the controller, REACH turns long code reliability into a system choice that can enable lower cost HBM under the same standard interface.

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

↑