跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2402.02586 (cs)
[提交于 2024年7月30日]

标题:ClipFormer: Key-Value Clipping of Transformers on Memristive Crossbars for Write Noise Mitigation

作者:Abhiroop Bhattacharjee, Abhishek Moitra, Priyadarshini Panda
查看论文《ClipFormer: Key-Value Clipping of Transformers on Memristive Crossbars for Write Noise Mitigation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Transformers have revolutionized various real-world applications from natural language processing to computer vision. However, traditional von-Neumann computing paradigm faces memory and bandwidth limitations in accelerating transformers owing to their massive model sizes. To this end, In-memory Computing (IMC) crossbars based on Non-volatile Memories (NVMs), due to their ability to perform highly parallelized Matrix-Vector-Multiplications (MVMs) with high energy-efficiencies, have emerged as a promising solution for accelerating transformers. However, analog MVM operations in crossbars introduce non-idealities, such as stochastic read & write noise, which affect the inference accuracy of the deployed transformers. Specifically, we find pre-trained Vision Transformers (ViTs) to be vulnerable on crossbars due to the impact of write noise on the dynamically-generated Key (K) and Value (V) matrices in the attention layers, an effect not accounted for in prior studies. We, thus, propose ClipFormer, a transformation on the K and V matrices during inference, to boost the non-ideal accuracies of pre-trained ViT models. ClipFormer requires no additional hardware and training overhead and is amenable to transformers deployed on any memristive crossbar platform. Our experiments on Imagenet-1k dataset using pre-trained DeiT-S transformers, subjected to standard training and variation-aware-training, show >10-40% higher non-ideal accuracies at the high write noise regime by applying ClipFormer.
评论: 9 pages, 10 figures, 3 tables, 1 appendix
主题: 机器学习 (cs.LG); 新兴技术 (cs.ET)
引用方式: arXiv:2402.02586 [cs.LG]
  (或者 arXiv:2402.02586v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.02586
期刊参考: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2024
相关 DOI: https://doi.org/10.1109/TCAD.2024.3435762

提交历史

来自:Abhiroop Bhattacharjee
[v1] 2024年7月30日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-07
切换浏览方式为:
cs
cs.ET

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站