Superposed analog memory for vector storage in neural networks

Athanasios Vasilopoulos, Patrick Diener, Michael Hersche, Abbas Rahimi, Abu SebastianarXiv 2026

This paper introduces a novel analog memory architecture that uses distributed superposition to store multiple high-dimensional vectors within the same physical memory cells. By leveraging the analog properties of phase-change memory (PCM) and the mathematical framework of Tensor Product Representations (TPRs), the researchers demonstrate that they can pack more information into a chip than there are physical rows, offering a new path for scaling AI hardware beyond traditional transistor shrinking.

TL;DR

IBM researchers have developed a way to "stack" multiple neural network vectors into the same physical memory array using analog superposition. This approach allows storage density to exceed physical hardware limits while providing massive gains in signal-to-noise ratios through collective readout.

What Problem Does This Paper Address?

As neural networks—especially Large Language Models (LLMs) and Recommendation Models (DLRMs)—grow, the "memory wall" has become a primary bottleneck. These models rely on massive embedding tables and weight vectors that are too large to fit into fast, on-chip memory (SRAM) and too energy-expensive to constantly fetch from off-chip memory (DRAM).

Traditional memory stores data "locally": one vector occupies a specific set of memory cells. To increase capacity, you must either make the cells smaller (physical scaling) or pack more bits into each cell (multi-level cell scaling). Both approaches are hitting physical and reliability limits. This paper proposes a third way: representational scaling, where information is distributed across the entire array in a way that allows multiple vectors to overlap.

Methods

The core of the proposal is the Superposed Composite Representation (SCR).

  1. Encoding: Instead of storing a vector $v$ directly, it is "bound" to a unique key vector $k$ using an outer product ($v \otimes k^⊤$), creating a matrix. Multiple such matrices are then summed (superposed) into a single master matrix $S$.
  2. Storage: This master matrix is programmed into an analog crossbar array (in this case, using Phase-Change Memory). Each element of the matrix is represented by the conductance of a PCM device.
  3. Retrieval: To get a vector back, the system performs an in-memory Matrix-Vector Multiplication (MVM). By applying the specific key $k$ as an input voltage to the rows, the resulting column currents represent the retrieved vector.
  4. Training: Because superposition introduces a small amount of "interference" from other stored vectors, the authors use SCR-aware training. They simulate this interference during the model's training phase, allowing the neural network to learn to be robust to the noise inherent in the storage method.

Datasets

The researchers evaluated their architecture on two heavy-duty AI tasks:

  • DLRM (Deep Learning Recommendation Model): Evaluated using the Criteo Kaggle Display Advertising Challenge dataset. This is a standard benchmark for embedding-heavy models.
  • LLM (Large Language Model): Specifically GPT-2 Large, evaluated on the WikiText-2 dataset to measure perplexity (a measure of how well the model predicts text).

Key Insights and Ideas

  • The Blessing of Dimensionality: In high-dimensional space, random vectors are almost always nearly orthogonal. The authors exploit this "quasi-orthogonality" to ensure that even when vectors are stacked, the interference remains low enough for the neural network to function.
  • Collective Readout: In standard memory, you read one cell at a time. Here, retrieval involves activating every row in a column simultaneously. This "collective" signal is 150x stronger than a single-device read, significantly reducing the impact of device-level noise and allowing the use of much smaller, more resistive (and thus denser) devices.
  • Graceful Degradation: Unlike digital systems where a single bit flip can crash a model, this analog system degrades gracefully. As you increase the "superposition factor" (storing more vectors than rows), the accuracy drops slowly rather than failing catastrophically.
  • Distribution-Agnostic: Unlike many compression techniques that rely on specific patterns in the data, SCR works regardless of the data distribution because the "keys" provide the structure.

Key Results

  • Massive Compression: For the DLRM model, they achieved a 1024x superposition factor (storing 1024 vectors for every 1 physical row) with less than a 0.01 drop in AUC (Area Under the Curve) compared to the software baseline.
  • LLM Performance: GPT-2 Large maintained baseline perplexity at 1x superposition and showed manageable degradation at 2x, proving the method works even for highly sensitive language models.
  • Hardware Validation: Using the IBM HERMES prototype chip (14nm CMOS), they experimentally confirmed that the hardware retrieval accuracy matches software simulations, even in the presence of 8-10% device noise.
  • Signal Integrity: The collective readout reduced the coefficient of variation in the read current by more than sixfold, proving the architecture is much more robust than traditional analog memory schemes.

Limitations and Future Work

  • Retraining Overhead: Currently, the model must be retrained or fine-tuned with "SCR-awareness" to handle the interference. For massive models like GPT-4, this retraining could be prohibitively expensive. The authors suggest future work into "post-training adaptation" to skip this step.
  • Key Management: While the keys are generated using a simple hardware-friendly rule (Cellular Automata Rule 30), the system still requires peripheral circuitry to manage these keys and perform the MVM.
  • Scaling to 3D: The authors note that combining this representational scaling with physical 3D memory structures could potentially enable the storage of trillions of vectors in a tiny, energy-efficient footprint.

Summary updated

Abstract

The growing memory demands of artificial neural networks pose a major challenge for energy-efficient computing, particularly for models that rely on large collections of high-dimensional weight and embedding vectors. Conventional memory architectures store these vectors individually, requiring many memory cells per vector and limiting achievable storage density. Here we demonstrate an analog memory architecture that encodes multiple vectors in a distributed superposition within a single memory array. Individual vectors are recovered through in-memory matrix-vector multiplication, allowing the degree of superposition to be tuned to balance storage density against recall fidelity. This approach introduces a new scaling dimension for analog memory, in which effective storage density can be increased without a corresponding increase in the number of physical memory cells. The distributed representation also provides resilience to device-level noise. We implement the architecture on a prototype phase-change memory chip and experimentally evaluate it using embedding tables from deep learning recommendation models and large language models. The results demonstrate inference accuracy comparable to full-precision software baselines, establishing analog superposition as a promising route towards dense, energy-efficient memory for artificial intelligence.
BibTeX
@misc{vasilopoulos2026superposed,
  author = {Athanasios Vasilopoulos and Patrick Diener and Michael Hersche and Abbas Rahimi and Abu Sebastian},
  title = {{Superposed analog memory for vector storage in neural networks}},
  year = {2026},
  eprint = {2610.26118},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.26118},
}
Figure