从特性到微架构:设计一种优雅且可靠的BFP-based NPU
From Characterization to Microarchitecture: Designing an Elegant and Reliable BFP-Based NPU
AI总结:
本文提出了一种基于BFP的NPU微架构,通过分析硬件故障揭示异质性漏洞,设计轻量保护机制,实现接近双模冗余的可靠性,性能损耗仅3.55%。
摘要:
Block Floating-Point (BFP) 正逐渐成为边缘神经处理单元 (NPUs) 的有吸引力的数据格式,结合了宽动态范围和高硬件效率。然而,其在硬件故障下的行为及其在安全关键部署中的适用性仍缺乏深入研究。本文首次对基于BFP的NPUs进行了深入的实证可靠性研究。通过在NPUs上使用RTL级故障注入,我们的位级和路径级分析揭示了显著的异质性漏洞,并显示传统端到端检查在非线性块缩放下变得无效。受这些见解的启发,我们设计了一种容错的BFP-based NPU微架构,使BFP计算语义与可靠性约束对齐。该设计采用行/列式分块策略,将固定点尾数计算与标量指数路径解耦,并为每个部分引入超轻量级保护机制。实验结果表明,我们的设计仅以3.55%的几何平均性能损耗实现了接近双模冗余的可靠性,硬件成本低于2%。
英文摘要:
Block Floating-Point (BFP) is emerging as an attractive data format for edge Neural Processing Units (NPUs), combining wide dynamic range with high hardware efficiency. However, its behavior under hardware faults and suitability for safety-critical deployments remain underexplored. Here, we present the first in-depth empirical reliability study of BFP-based NPUs. Using RTL-level fault injection on NPUs, our bit- and path-level analysis reveals pronounced heterogeneous vulnerabilities and shows conventional end-to-end check becomes ineffective under nonlinear block scaling. Guided by these insights, we design a fault-tolerant BFP-based NPU microarchitecture that aligns the BFP computational semantics with reliability constraints. The design uses a row/column-wise blocking strategy to decouple the fixed-point mantissa computations from the scalar exponent path, and introduces ultra-lightweight protection mechanisms for each. Experimental results demonstrate our design achieves near-dual modular redundancy reliability with only $3.55\%$ geometric mean performance overhead and less than $2\%$ hardware cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。