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

方差感知噪声训练:强化深度神经网络以抵御不稳定的模拟计算

Variance-Aware Noisy Training: Hardening DNNs against Unstable Analog Computations

Hardware and Artificial Intelligence Lab, Institute of Computer Engineering, Heidelberg University(硬件与人工智能实验室,计算机工程学院,海德堡大学)

Xiao Wang, Hendrik Borras, Bernhard Klein, Holger Fröning

AI总结:

针对模拟计算中动态噪声导致噪声训练失效的问题,提出方差感知噪声训练,通过模拟推理噪声变化的调度提升鲁棒性,在CIFAR-10和Tiny ImageNet上分别将鲁棒性提升至97.6%和99.7%,且无训练开销。

摘要:

深度学习对计算能力的需求与计算硬件能力之间的差距正在急剧扩大。尽管深度学习在无数任务中取得了卓越的性能,但其对计算能力和能耗的不断增长的需求已超过甚至专用神经处理单元(包括Apple Neural Engine和NVIDIA TensorCores)的可持续极限。CMOS缩放速度的放缓加剧了这一挑战。模拟计算提供了一种有前景的替代方案,通过直接操纵电流、电压、电荷或光子等物理量,在能源效率方面带来显著提升。然而,它本质上容易受到制造变化、非线性和噪声的影响,导致预测精度下降。最有效的鲁棒性增强技术之一——噪声训练——在训练阶段引入噪声,以强化模型抵御推理过程中遇到的干扰。尽管该方法非常有效,但在实际环境中,由于温度变化和时间漂移等外部因素导致噪声特性波动时,其性能会下降。本研究强调了噪声训练的必要性,同时揭示了其在动态噪声存在下的根本局限性。为解决这些挑战,我们提出了方差感知噪声训练,一种新颖的方法,通过纳入模拟推理过程中遇到的不断变化的噪声条件的噪声调度来缓解性能下降。我们的方法显著提高了模型的鲁棒性,且没有训练开销。我们展示了鲁棒性的显著提升:在CIFAR-10上,从传统噪声训练的79.3%提高到方差感知噪声训练的97.6%;在Tiny ImageNet上,从32.4%提高到99.7%。

英文摘要:

The disparity between the computational demands of deep learning and the capabilities of compute hardware is expanding drastically. Although deep learning achieves remarkable performance in countless tasks, its escalating requirements for computational power and energy consumption surpass the sustainable limits of even specialized neural processing units, including the Apple Neural Engine and NVIDIA TensorCores. This challenge is intensified by the slowdown in CMOS scaling. Analog computing presents a promising alternative, offering substantial improvements in energy efficiency by directly manipulating physical quantities such as current, voltage, charge, or photons. However, it is inherently vulnerable to manufacturing variations, nonlinearities, and noise, leading to degraded prediction accuracy. One of the most effective techniques for enhancing robustness, Noisy Training, introduces noise during the training phase to reinforce the model against disturbances encountered during inference. Although highly effective, its performance degrades in real-world environments where noise characteristics fluctuate due to external factors such as temperature variations and temporal drift. This study underscores the necessity of Noisy Training while revealing its fundamental limitations in the presence of dynamic noise. To address these challenges, we propose Variance-Aware Noisy Training, a novel approach that mitigates performance degradation by incorporating noise schedules which emulate the evolving noise conditions encountered during inference. Our method substantially improves model robustness, without training overhead. We demonstrate a significant increase in robustness, from 79.3\% with conventional Noisy Training to 97.6\% with Variance-Aware Noisy Training on CIFAR-10 and from 32.4\% to 99.7\% on Tiny ImageNet.

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

↑