arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.21321cs.LGcs.ARmath.OC
收藏

动态对称点跟踪:解决模拟内存训练中的非理想参考问题

Dynamic Symmetric Point Tracking: Tackling Non-ideal Reference in Analog In-memory Training

Department of Electrical and Computer Engineering, Cornell University, New York, NY(康奈尔大学电气与计算机工程系);IBM T. J. Watson Research Center, Yorktown Heights, NY(IBM 沃森研究中心);Rensselaer Polytechnic Institute, Troy, NY(伦塞拉尔理工学院)

Quan Xiao, Jindan Li, Zhaoxian Wu, Tayfun Gokmen, Tianyi Chen

AI总结:

针对模拟内存计算中非理想器件导致的权重更新偏向对称点问题,提出动态对称点估计方法,在训练中跟踪对称点并保证收敛,结合数字信号处理技术增强性能。

摘要:

模拟内存计算(AIMC)直接在电阻交叉阵列内执行计算,为扩展大型视觉和语言模型提供了节能平台。然而,非理想的模拟器件特性使得在AIMC设备上的训练具有挑战性。特别是,其更新不对称性会导致权重更新向设备特定的对称点(SP)系统性地漂移,而该对称点通常不与训练目标的最优点对齐。为了减轻这种偏差,大多数现有工作假设SP已知,并通过将参考点设置为SP来在训练前将其预校准为零。然而,校准AIMC设备需要昂贵的脉冲更新,且残留校准误差会直接降低训练性能。在这项工作中,我们首次对SP校准的脉冲复杂度及由此产生的估计误差进行了理论表征。我们进一步提出了一种动态SP估计方法,在模型训练期间跟踪SP,并建立了其收敛性保证。此外,我们基于数字信号处理中的斩波和滤波技术开发了一种增强变体。数值实验证明了所提出方法的效率和有效性。

英文摘要:

Analog in-memory computing (AIMC) performs computation directly within resistive crossbar arrays, offering an energy-efficient platform to scale large vision and language models. However, non-ideal analog device properties make the training on AIMC devices challenging. In particular, its update asymmetry can induce a systematic drift of weight updates towards a device-specific symmetric point (SP), which typically does not align with the optimum of the training objective. To mitigate this bias, most existing works assume the SP is known and pre-calibrate it to zero before training by setting the reference point as the SP. Nevertheless, calibrating AIMC devices requires costly pulse updates, and residual calibration error can directly degrade training performance. In this work, we present the first theoretical characterization of the pulse complexity of SP calibration and the resulting estimation error. We further propose a dynamic SP estimation method that tracks the SP during model training, and establishes its convergence guarantees. In addition, we develop an enhanced variant based on chopping and filtering techniques from digital signal processing. Numerical experiments demonstrate both the efficiency and effectiveness of the proposed method.

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

↑