arXiv:2609.11288cs.ARSep 2026

Manuscript Offprint

arXiv:2609.11288

Bio-inspired Learning and Decision-Making with Probabilistic In-Memory Computing Hardware: Part 2

Thomas Dalgaty, Eiji Kawasaki, Miguel de Prado, Tommaso Salvatori, Germain Haugou, Eric Flamand

Abstract

This report extends our previous work (Part 1), which introduced an energy-based model for learning and decision-making under uncertainty. The model leverages stochastic Langevin dynamics to continuously evolve approximate probability distributions over neuron states and model weights. However, as noted in Part 1 and confirmed through GPU-based implementations, large-scale probabilistic energy-based models of this nature face significant scalability challenges due to excessive execution latency. This latency stems from a fundamental mismatch: massively parallel models with low arithmetic intensity (such as energy-based models) are being executed on processor architectures like GPUs that rely on high-bandwidth memory (HBM) interfaces. The HBM imposes brutally sequential execution constraints on inherently parallelizable models, creating the false impression that such models are unscalable. In reality, it is the GPU architecture itself, with its dependence on HBM interfaces, that is not a scalable processor architecture for this class of AI model. In this report, we demonstrate using a detailed transaction-level model (TLM) of a probabilistic analogue in-memory computing (AIMC) processor that the same energy-based model can execute well over 1000× faster than data-center-grade hardware by eliminating the HBM interface and performing computation directly within on-chip memory.

Introduction

Graphics processing units (GPUs) have revolutionized the execution speed of algorithms with sequential computational patterns and high arithmetic intensity (i.e., those that reuse the same data loaded from memory multiple times), offering dramatic performance improvements over general-purpose CPUs. The GPU paradigm relies on storing massive quantities of model data off-chip in dynamic random access memory (DRAM) and transferring this data to on-chip static random access memory (SRAM) for processing. Typically, the SRAM capacity is approximately 1000× less than the DRAM (Nvidia 2025). This architecture has enabled the remarkable scalability of AI models such as convolutional neural networks (CNNs), which were previously considered to be un-scaleable, and has led to their profound and lasting impact on industry and society (Krizhevsky, Sutskever, and Hinton 2017).

A critical bottleneck in executing models like CNNs—often invisible in practice—is the interface between the external DRAM and the on-chip SRAM hierarchy on the GPU. In modern GPUs, this external memory and its interface are referred to as high-bandwidth memory (HBM) (Jun et al. 2017), named for the high-speed data transfer across thousands of lanes between the two circuits, achieving bandwidths on the order of terabytes per second (TB/s).

In response to the inherently low arithmetic intensity of large language model (LLM) inference, recent years have seen a surge of innovation in processor architecture and technology aimed at increasing model data bandwidth well beyond the TB/s regime. These advancements include: chiplet-level packaging that integrates multiple HBM and GPU chips on the same interposer; vertical integration of HBM chips on top of GPU chips (Vivet et al. 2020) to boost HBM bandwidth; and architectural innovations such as near-memory computing (Caon et al. 2025), wafer-scale computing (Lie 2024), and in-memory computing (Hager et al. 2024; Khaddam-Aljameh et al. 2022). The latter three approaches share a common philosophy: eliminating the HBM bottleneck by bringing model data as much as possible into on-chip memory, thereby enabling operator access with at least one order of magnitude higher bandwidth in a distributed fashion.

The ultimate solution in this direction is analogue in-memory computing (AIMC), where the same memory devices that store model data also perform computations—such as multiplication and addition—directly within the memory circuit itself with extremely high bandwidth. However, AIMC introduces a significant challenge: storage and computation based on physical analogue phenomena are inherently subject to intrinsic and unavoidable noise and variability. These effects degrade data precision and significantly increase the bit-error rate during analogue in-memory computation. Recently, the field of probabilistic (or Bayesian) in-memory computing has gained considerable traction because it provides a means to exploit these intrinsic error sources to generate and compute with well-controlled probability distributions (Dalgaty et al. 2021; Liu et al. 2022; Lin et al. 2025; Dalgaty, Vianello, and Querlioz 2026). In this paradigm, noise and variability become integral parts of the algorithm, enabling reference software algorithms to run perfectly on analogue hardware.

In this technical note, we describe how the energy-based

AI method introduced in Part 1 can be mapped and executed on a probabilistic AIMC processor. To achieve this, we implemented a full transaction-level model (TLM) of the AIMC processor and cross-compiled C++ code to run on the RISC-V cores within the TLM. Our results show that the energy-based model (EBM) described in Part 1 executes over 1000× faster on the AIMC processor model compared to a GPU.