Enabling Retraining-Free Accurate Inference in Analog Compute in Memory Accelerators
George Karfakis, Puneet Gupta
Key points
From the paper's conclusion- We enable retraining-free, accurate inference of pretrained models on simple analog arrays with low-cost, shared calibration.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- IMC-CLINIC: Coupled Loss-Informed Newton Iterations for Clipping in Analog In-Memory ComputingarXiv · 2026
- NeuroSim V1.5: Improved Software Backbone for Benchmarking Compute-in-Memory Accelerators with Device and Circuit-level Non-idealitiesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2026
- Hardware-aware Low-Rank Adaptation for Large Language Models Based on Hybrid Compute-in-Memory ArchitectureACM Transactions on Design Automation of Electronic Systems · 2026
- Memristor-based adaptive analog-to-digital conversion for efficient and accurate compute-in-memoryNature Communications · 2025
- ABNAT: Attention-Based Noise-Aware Training for Robust Transformers on Analog Compute-in-Memory SystemsarXiv · 2026
- AutoEMatic: Runtime-Adaptive Mixed-Precision LLM Inference via Automatic Exponent-Mantissa RefinementarXiv · 2026