arXiv:2609.03149cs.ETSep 2026

Manuscript Offprint

arXiv:2609.03149

RACE-AIMC: Selective Inference for Heterogeneous Analog In-Memory Accelerators at the Edge

Osama Yousuf, Martin Lueker-Boden

Osama Yousuf

WD Research

San Jose, CA, USA

osama.yousuf@wdc.com

Martin Lueker-Boden

WD Research

San Jose, CA, USA

martin.lueker-boden@wdc.com

Abstract—Analog in-memory computing (AIMC) speeds up neural-network inference by doing the arithmetic directly inside a memory array, instead of shuttling weights back and forth between memory and a processor. This saves energy, but the physical devices that store the weights are imperfect: programming errors, electrical noise, limited-resolution converters, and outright broken cells all distort the computation, and every physical chip is distorted in its own way. A designer with several such chips available faces an uncomfortable choice: run all of them and combine the answers (safe, but wasteful of energy), or trust a single chip blindly (cheap, but with no guarantee on how often it is wrong). This paper introduces RACE-AIMC (Risk-Aware Certified Ensemble for AIMC), a framework that resolves this choice with statistics rather than guesswork. Offline, RACE-AIMC studies a pool of physical accelerators, picks the single best one for a given energy budget, and computes a mathematically exact upper bound on how often that accelerator will be wrong when it chooses to answer. Online, only that one accelerator is switched on; a lightweight check decides whether to accept its answer or defer to a fallback. In our simulations using a noisy weight mapping and multiple independent test runs, every certified bound stayed under a 10% error target (mean bound 7.83% ± 0.89%, with 70.88% ± 0.98% of inputs answered directly). The resulting system matches the accuracy of a clean digital baseline while cutting modeled energy use by 69.02% relative to always running every accelerator in the pool.

Index Terms—analog in-memory computing, heterogeneous accelerators, selective classification, risk certification, edge AI, crossbar arrays

I. INTRODUCTION

Ordinary computers keep memory (where numbers are stored) and the processor (where arithmetic happens) in physically separate places. Every multiplication requires shuttling a number from memory to the processor and back, which costs both time and energy. Analog in-memory computing (AIMC) avoids most of that shuttling: neural-network weights are stored as physical conductances inside a grid of memory devices (a "crossbar array"), and a matrix-vector multiplication – the core operation in a neural network layer – is computed directly by applying voltages to the array and reading off currents, using basic circuit physics (Ohm's and Kirchhoff's laws) instead of digital multiply-and-add circuits [1, 2].

The catch is that physical devices are not perfect. Writing a target conductance value onto a device is imprecise (programming error); reading the device back introduces noise; converting between the analog and digital worlds adds quantization error; and a small fraction of devices may be stuck at the wrong value entirely (stuck faults) [3, 4, 5]. All of this means a neural network mapped onto an analog chip does not compute quite the same thing as the original digital network – and because every physical chip has its own random manufacturing imperfections, different chips make different mistakes.

If you have several such imperfect chips available (a heterogeneous pool), an obvious safety net is to run every input through all of them and combine the results, e.g. by averaging. This is the standard engineering answer to unreliable hardware, but on an energy-constrained edge device it is wasteful: you pay the full energy cost on every single input, even the easy ones a single chip would have gotten right anyway. The opposite extreme – picking one chip and trusting it blindly – is cheap, but gives no way to guarantee an application-level error budget (e.g., “this system must be wrong on at most 10% of the answers it commits to”).

A middle path, borrowed from the idea of selective classification [6], is to let the system decline to answer low-confidence inputs rather than being forced to commit every time. Early-exit and cascade systems apply a similar idea to save compute [7, 8], but they generally assume the underlying predictor is stable and digital. AIMC breaks that assumption: the accelerator itself is a source of unreliable, chip-specific behavior, so the system must decide both which physical chip to use and when that chip's answer is trustworthy enough to accept.

RACE-AIMC addresses exactly this two-part problem. It does its thinking offline – characterizing each accelerator, picking one winner, and computing an exact statistical guarantee – so that the online path (the part that runs at inference time, on the edge device, under a tight energy budget) is as simple as possible: one analog inference, one comparison, one decision (Fig. 1).

Contributions. This paper makes four contributions: (i) a rule for selecting which accelerator in a heterogeneous pool should be the “front line” one, based on how much useful work it does per unit of energy; (ii) a cheap, per-accelerator stopping rule for deciding when to trust an answer; (iii) an exact statistical certificate on the error rate among accepted answers, computed on data that was never used for tuning; and (iv) transparent simulation experiments confirming the

Figure

Fig. 1. RACE-AIMC overview. (a) Offline, disjoint hardware, policy, and certificate splits characterize a heterogeneous pool of AIMC accelerators, select and freeze one accelerator and its confidence threshold, and independently certify accepted error. (b) Online, a query activates only the selected accelerator; a small controller accepts its high-confidence label or defers to a fallback or abstention path. (c) Benefits of our approach.

approach works.