arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09416cs.LG
收藏

硬件感知训练中硬件诱导失真控制诊断研究

A Controlled Diagnostic Study of Hardware-Induced Distortions in Hardware-Aware Training

Beihang University(北航)

Yunxuan Fang, Xinhe Wang

AI总结:

本文提出一种诊断框架,分析硬件非理想性对梯度优化的影响,区分可通过HAT补偿的失真与破坏优化的失真,为软硬件协同设计提供指导。

摘要:

硬件感知训练(HAT)广泛用于提升神经网络在非理想AI加速器上的鲁棒性,如类比存内计算(IMC)系统。然而并非所有硬件诱导失真都能通过训练补偿。本文提出一种诊断框架,将硬件非理想性建模为前向算子的结构扰动,并评估其与基于梯度的优化的兼容性。我们分析了六种代表性的扰动类别——读噪声、变异性、漂移、 stuck-at 故障、IR下降和ADC离散化,并识别出三个关键诊断:梯度期望一致性、有界梯度方差和非退化敏感性。我们的结果表明,扰动可分为可通过HAT补偿和破坏优化的两类。这为软硬件协同设计提供了实用指导,明确了哪些非理想性可在训练层面解决,哪些需要电路、架构或校准层面的缓解。本研究应被视为在 vanilla 前向扰动 HAT 下的受控实证分析,而非通用的硬件感知训练理论。

英文摘要:

Hardware-aware training (HAT) is widely used to improve the robustness of neural networks on non-ideal AI accelerators, such as analog in-memory computing (IMC) systems. However, not all hardware-induced distortions are equally compensable by training. This paper presents a diagnostic framework that models hardware non-idealities as structured perturbations of the forward operator and evaluates their compatibility with gradient-based optimization. We analyze six representative perturbation classes--read noise, variability, drift, stuck-at faults, IR-drop, and ADC discretization--and identify three key diagnostics: gradient expectation consistency, bounded gradient variance, and non-degenerate sensitivity. Our results show a clear separation between perturbations that can be compensated by HAT and those that consistently break optimization. This provides practical guidance for hardware-software co-design, clarifying which non-idealities can be addressed at the training level and which require circuit-, architecture-, or calibration-level mitigation. This study should be interpreted as a controlled empirical analysis under vanilla forward-perturbation HAT, rather than as a universal theory of hardware-aware training.

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

↑