cs.ARNov 5, 2026

Enabling Retraining-Free Accurate Inference in Analog Compute in Memory Accelerators

Authors: George Karfakis, Puneet Gupta

Organizations: Department of Electrical and Computer Engineering, University of California, Los Angeles, CA, USA.

Abstract

Analog compute-in-memory (CIM) accelerators compute matrix-vector products directly inside memory arrays, eliminating weight movement and promising order-of-magnitude gains in inference efficiency. However, converter and device errors make pretrained models unusable on these arrays, and hardware-aware retraining is costly. We enable retraining-free, accurate inference of pretrained models on simple analog arrays with low-cost, shared calibration. Our key observation is that analog error depends on how each layer is represented on the array, and that this representation can be changed offline without changing the computation. We center the inputs and apply Hadamard rotations designed for analog arrays, which keep shared reference errors spread and confine input mixing to each array. Across CNNs, vision transformers and LLMs up to 14B parameters on PCM and ReRAM, the method brings vision models and larger LLMs within a few points of floating-point accuracy and matches or approaches published hardware-aware training without training any weights. On ReRAM with 6-bit ADCs, it restores ViT-B/16 from 37.4% to 82.9% and Phi-4 from 27.0% to 72.2%, both within 2.2 points of floating-point accuracy.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Robust Parameter-Efficient LLM Adaptation on Analog Hardware

    Oct 4, 2026Jindan Li, Zhaoxian Wu, Tianyi ChenCompute-in-MemoryLLM Fine-Tuning

  2. Making Analog Training Scale: Co-Designing Mapping, Optimizer, and Converters

    Sep 29, 2026Zhaoxian Wu, Tayfun Gokmen, Omobayode Fagbohungbe +2Mixed-Precision TrainingAnalog Computing

  3. Mitigating the Impact of Retention Loss on Inference Accuracy in 65 nm Single-Poly Floating-Gate Analog In-Memory Computing

    Jul 27, 2026Mirko Brazzini, Giulio Filippeschi, Alessandro Catania +2Compute-in-Memory