paper-with-me

홈 › Papers

SWIM: Selective Write-Verify for Computing-in-Memory Neural Accelerators

2022-02-17 · Zheyu Yan, Xiaobo Sharon Hu, Yiyu Shi

Computing-in-Memory architectures based on non-volatile emerging memories have demonstrated great potential for deep neural network (DNN) acceleration thanks to their high energy efficiency. However, these emerging devices can suffer from significant variations during the mapping process i.e., programming weights to the devices), and if left undealt with, can cause significant accuracy degradation. The non-ideality of weight mapping can be compensated by iterative programming with a write-verify scheme, i.e., reading the conductance and rewriting if necessary. In all existing works, such a practice is applied to every single weight of a DNN as it is being mapped, which requires extensive programming time. In this work, we show that it is only necessary to select a small portion of the weights for write-verify to maintain the DNN accuracy, thus achieving significant speedup. We further introduce a second derivative based technique SWIM, which only requires a single pass of forward and backpropagation, to efficiently select the weights that need write-verify. Experimental results on various DNN architectures for different datasets show that SWIM can achieve up to 10x programming speedup compared with conventional full-blown write-verify while attaining a comparable accuracy.

📄 PDF Abstract BibTeX arXiv:2202.08395

Code (1)

mariusanje/swim pytorch

Similar Papers 제목 키워드 기반

U-SWIM: Universal Selective Write-Verify for Computing-in-Memory Neural Accelerators

2023-12-11 · Zheyu Yan, Xiaobo Sharon Hu, Yiyu Shi

Architectures that incorporate Computing-in-Memory (CiM) using emerging non-volatile memory (NVM) devices have become strong contenders for deep neural network (DNN) acceleration due to their impressive energy efficiency…

When Small Variations Become Big Failures: Reliability Challenges in Compute-in-Memory Neural Accelerators

2026-03-03 · Yifan Qin, Jiahao Zheng, Zheyu Yan, Wujie Wen 외 arxiv

Compute-in-memory (CiM) architectures promise significant improvements in energy efficiency and throughput for deep neural network acceleration by alleviating the von Neumann bottleneck. However, their reliance on emergi…

Dual-Layer Agentic Memory with Fast Write Routing and Slow Consolidation

2026-08-23 · Wenzhi Li, Dong Nie, Rui Lan, Tongtong Lyu 외 arxiv

Large language model (LLM) agents operate in dynamic environments where knowledge continuously evolves. Existing memory systems typically treat external memory as a monotonically growing repository, inevitably leading to…

ELight: Enabling Efficient Photonic In-Memory Neurocomputing with Life Enhancement

2021-12-15 · Hanqing Zhu, Jiaqi Gu, Chenghao Feng, Mingjie Liu 외

With the recent advances in optical phase change material (PCM), photonic in-memory neurocomputing has demonstrated its superiority in optical neural network (ONN) designs with near-zero static power consumption, time-of…

MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair

2026-07-29 · Xuanze Chen, Xukang Xie, Wentao Fu, Jiajun Zhou 외 arxiv

Memory systems allow agents to retain and reuse information from past interactions, but they can also let malicious content persist. A malicious instruction crafted by an attacker may be stored in long-term memory, recal…