arXiv:2605.08594cs.ARcs.IT2026-05

用数学方法一测就定位计算阵列的故障核心单元。

FLARE: One-Shot PE-Level Fault Localization in Systolic Arrays via Algebraic Test Vectors

论文配图:FLARE: One-Shot PE-Level Fault Localization in Systolic Arrays via Algebraic Test Vectors
图 1 · 摘自论文原文
  • 用互质数构造测试向量,让故障产生唯一可辨识的数字签名。
  • 单次测试即可在98%概率下定位256×256阵列中的故障行。
  • 无需硬件冗余,适合芯片验证与低功耗场景使用。

Systolic arrays 是神经网络推理的主要计算架构。已有工作可通过均匀测试模式高效检测列级故障,但对故障列内处理单元(PE)级故障的定位仍缺乏有效方法,且不依赖硬件冗余。根本难点在于:均匀输入会抹除每行的特征差异——任何激活所有行的测试都无法区分哪个行是异常源。本文提出一种轻量级纯算法方案,基于互质测试向量。通过为测试输入赋值互质整数,永久性权重寄存器故障将导致偏差具有唯一可辨的可除性特征,从而精准定位故障行。在一般有界误差模型下,一次测试即可高概率定位故障行。该模型涵盖比以往数据流感知测试更广泛的故障类型。若一次不足,第二次通过比值计算可实现精确定位;对于单比特错误,奇数互质输入可在一次测试中保证精确识别。针对INT16运算,单次测试覆盖256×256阵列,定位概率超0.98,测试开销低于一次GEMM块推理的1%。

原文摘要 · Abstract (English)

Systolic arrays are the dominant compute fabric for neural network inference. Prior work has addressed column-level fault detection efficiently with uniform test patterns, but row-level (PE-level) fault localization within a faulty column remains open without resorting to hardware redundancy. The fundamental obstacle is that uniform test inputs destroy per-row signatures: any test that activates every row equally cannot distinguish which row is the source of an observed deviation. In this paper, we propose a lightweight, purely algorithmic remedy based on coprime test vectors. By assigning pairwise coprime integers as test-input entries, a permanent weight-register fault produces a deviation whose divisibility signature uniquely identifies the faulty row. Under a general bounded error model, a single test pass localizes the faulty row with high probability. This error model covers a broader class of faults than what prior dataflow-aware testing work has primarily emphasized. When one round is insufficient, a second pass using a ratio computation achieves exact localization; for the special case of single-bit errors, odd coprime entries guarantee exact localization in one round. For INT16 arithmetic, a single test pass covers array sizes up to $256{\times}256$ with localization probability above $0.98$, at a test cost under $1\%$ of one inference GEMM tile.

故障定位计算阵列算法测试AI芯片

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。