利用锐度感知训练以可迁移鲁棒性完善不完美的物理神经网络
Perfecting Imperfect Physical Neural Networks with Transferable Robustness using Sharpness-Aware Training
AI总结:
本文提出锐度感知训练(SAT),利用损失景观几何特性解决物理神经网络离线和在线训练中的建模误差、设备不可迁移及部署后扰动问题,在三种PNNs上验证了其通用性与鲁棒性。
摘要:
人工智能模型在科学与工程中不可或缺,但近期进展正逼近传统数字硬件的极限。为突破这些限制,利用物理基底进行计算的物理神经网络(PNNs)受到越来越多的关注。然而,为PNNs开发有效的训练方法仍是一项重大挑战。当前的方法,无论是离线训练还是在线训练,都存在显著的精度损失。离线训练受制于不精确的建模,而在线训练产生的模型具有设备特异性,由于制造差异无法迁移到其他设备。两种方法在部署后都面临扰动带来的挑战,例如热漂移或对准误差,这些扰动会使已训练模型失效并需要重新训练。在此,我们通过一种名为锐度感知训练(Sharpness-Aware Training,SAT)的新技术来应对离线和在线训练中的挑战,我们创新性地利用损失景观的几何特性来解决物理系统训练中的问题。SAT即使在使用不精确模型的情况下,也能利用高效的反向传播算法实现精确训练。尽管存在建模和制造误差,通过SAT离线训练的PNNs甚至优于在线训练的PNNs。SAT还通过实现模型在设备之间的可靠迁移,克服了在线训练的局限性。最后,SAT对部署后的扰动具有高度鲁棒性,使PNNs能够在扰动下持续精确运行而无需重新训练。我们在三种类型的PNNs上展示了SAT,表明其具有普遍适用性,无论模型是否被显式已知。这项工作为训练PNNs提供了一种变革性的高效方法,解决了模拟计算中的关键挑战,并支持现实世界的部署。
英文摘要:
AI models are essential in science and engineering, but recent advances are pushing the limits of traditional digital hardware. To address these limitations, physical neural networks (PNNs), which use physical substrates for computation, have gained increasing attention. However, developing effective training methods for PNNs remains a significant challenge. Current approaches, regardless of offline and online training, suffer from significant accuracy loss. Offline training is hindered by imprecise modeling, while online training yields device-specific models that can't be transferred to other devices due to manufacturing variances. Both methods face challenges from perturbations after deployment, such as thermal drift or alignment errors, which make trained models invalid and require retraining. Here, we address the challenges with both offline and online training through a novel technique called Sharpness-Aware Training (SAT), where we innovatively leverage the geometry of the loss landscape to tackle the problems in training physical systems. SAT enables accurate training using efficient backpropagation algorithms, even with imprecise models. PNNs trained by SAT offline even outperform those trained online, despite modeling and fabrication errors. SAT also overcomes online training limitations by enabling reliable transfer of models between devices. Finally, SAT is highly resilient to perturbations after deployment, allowing PNNs to continuously operate accurately under perturbations without retraining. We demonstrate SAT across three types of PNNs, showing it is universally applicable, regardless of whether the models are explicitly known. This work offers a transformative, efficient approach to training PNNs, addressing critical challenges in analog computing and enabling real-world deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。