# Gradient descent-based programming of analog in-memory computing cores

arXiv: https://arxiv.org/abs/2305.16647 · HTML: https://mlsanity.com/paper/2305.16647/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 May 2023.

## Built on by (most cited first, 2 of 2)

- [U-SWIM: Universal Selective Write-Verify for Computing-in-Memory Neural Accelerators](https://mlsanity.com/paper/2401.05357/) (2023)
- [A Precision-Optimized Fixed-Point Near-Memory Digital Processing Unit for Analog In-Memory Computing](https://mlsanity.com/paper/2402.07549/) (2024)

## Abstract (arXiv)

The precise programming of crossbar arrays of unit-cells is crucial for obtaining high matrix-vector-multiplication (MVM) accuracy in analog in-memory computing (AIMC) cores. We propose a radically different approach based on directly minimizing the MVM error using gradient descent with synthetic random input data. Our method significantly reduces the MVM error compared with conventional unit-cell by unit-cell iterative programming. It also eliminates the need for high-resolution analog-to-digital converters (ADCs) to read the small unit-cell conductance during programming. Our method improves the experimental inference accuracy of ResNet-9 implemented on two phase-change memory (PCM)-based AIMC cores by 1.26%.
