Skip to main content
ExplainerCompute-in-MemoryExplainer· 4 min read· in Artificial Intelligence

How Processing-in-Memory Architectures Bypass the Von Neumann Bottleneck in AI Accelerators

By embedding computational logic directly into memory chips, emerging hardware architectures are eliminating the data transfer bottlenecks that constrain modern artificial intelligence.

By Harper Lane

Commercial Memory Vendors 40%Hardware Architecture Researchers 30%Software Ecosystem Analysts 30%
Commercial Memory Vendors
Focus on delivering drop-in hardware accelerators that drastically reduce power consumption for LLM inference.
Hardware Architecture Researchers
Focus on pushing the boundaries of internal memory bandwidth and subarray-level parallelism.
Software Ecosystem Analysts
Emphasize the friction of adopting PIM due to the lack of mature compilers and programming frameworks.

Perspectives this story doesn't cover

  • Traditional GPU manufacturers whose business models rely on centralized compute architectures.
  • Cloud infrastructure providers who must manage the physical deployment and cooling of these new memory modules.

At a glance

  1. Moving data between memory and processors consumes up to 1,000 times more energy than the computation itself.
  2. Processing-in-Memory (PIM) architectures embed logic gates directly into memory chips to bypass this bottleneck.
  3. Samsung and SK Hynix have developed specialized PIM chips that accelerate the vector-matrix multiplications required for AI inference.
  4. SK Hynix reports its AiMX accelerator reduces data processing time by 10-fold and cuts power consumption by 80 percent.
  5. Widespread adoption of PIM is currently limited by the need to rewrite traditional software compilers and memory management frameworks.

The fundamental paradox of modern artificial intelligence hardware is that processors have never been faster, yet they spend most of their time waiting. In a traditional von Neumann architecture, the logic gates that perform calculations are physically separated from the dynamic random-access memory (DRAM) that stores the data. As large language models scale to hundreds of billions of parameters, the narrow bus connecting the processor to the memory has become a critical bottleneck.[5]

The energy economics of this divide are punishing. Moving a single byte of data from off-chip memory to a central processing unit (CPU) or graphics processing unit (GPU) consumes between 100 and 1,000 times more energy than performing a floating-point calculation with that same byte. During the decoding phase of LLM inference, where the model generates text one token at a time, the workload is almost entirely memory-bound. The GPU finishes its vector-matrix multiplications in a fraction of a nanosecond and then idles, burning power while it waits for the next batch of weights to arrive across the interconnect.[1][5]

Processing-in-Memory (PIM) architectures attempt to bypass this limitation by inverting the traditional computing paradigm: rather than moving the data to the compute, they move the compute to the data. By embedding logic gates directly inside the memory chips, PIM systems eliminate the off-chip data transfer entirely. This approach exposes the massive internal bandwidth of the memory arrays, allowing computations to happen in parallel across thousands of memory banks simultaneously.[1][4]

By moving computation to the data, PIM architectures bypass the narrow external bus that limits traditional processors.

The French startup UPMEM pioneered the first commercial general-purpose PIM, embedding 32-bit reduced instruction set computer (RISC) processors directly into standard DDR4 memory banks. While highly effective for database queries and integer-based workloads, the UPMEM architecture lacks the floating-point arithmetic units necessary to handle the heavy computational load of modern neural networks. To address the specific demands of AI, memory manufacturers have had to design specialized accelerators that integrate directly with high-bandwidth memory standards.[1]

Samsung demonstrated the industrial viability of this approach with its HBM-PIM architecture, known as Aquabolt-XL. By integrating programmable 16-bit floating-point (FP16) Single Instruction Multiple Data (SIMD) engines directly into the boundaries of High Bandwidth Memory (HBM2) banks, Samsung allows concurrent processing across multiple memory banks. A typical PIM-AI dual in-line memory module (DIMM) built on this concept can deliver 1.6 terabytes per second of aggregate internal bandwidth and up to 128 teraflops of compute capacity, scaling almost linearly with the memory size.[1][4]

Samsung demonstrated the industrial viability of this approach with its HBM-PIM architecture, known as Aquabolt-XL.

SK Hynix has similarly targeted the LLM inference market with its Accelerator-in-Memory (AiM) technology. Their GDDR6-AiM chips are specifically designed to accelerate the vector-matrix multiplications that dominate transformer-based models. At the 2023 AI Hardware & Edge AI Summit, SK Hynix showcased the AiMX accelerator card, demonstrating a 13-billion parameter model running on a server equipped with the prototype.[3]

The performance gains reported by these memory-centric designs represent a structural shift in how AI hardware is evaluated. Eui-cheol Lim, vice president of the Solution Development division at SK Hynix, stated that "SK hynix's AiMX is a solution that delivers higher performance while consuming less power, and costing less than conventional GPUs." The company reports that the AiMX system reduces data processing time by more than 10-fold compared to traditional GPU setups, while simultaneously consuming 80 percent less power. By executing the operations where the parameters reside, the system avoids the thermal and latency penalties of the external memory bus.[3]

SK Hynix reports its AiMX accelerator reduces processing time by 10-fold and power consumption by 80 percent compared to traditional GPUs.

However, the transition to PIM is not merely a hardware swap; it requires a fundamental rewrite of the software ecosystem. Traditional compilers and software development kits (SDKs) are designed for a centralized processor managing a hierarchy of caches. Utilizing PIM requires explicit memory management, where developers must manually partition workloads and orchestrate data transfers between the host and the distributed memory-processing units.[1][2]

Researchers are actively developing new frameworks to abstract these complexities. A 2024 study on subarray-level parallelism proposed adaptive tiling strategies to handle the varying matrix sizes common in smaller language models, achieving a 3.9-fold speedup in token generation time. Until these software abstractions mature, the adoption of PIM will likely remain confined to highly specialized datacenter applications where the energy savings justify the engineering overhead.[2][5]

Integrating PIM into existing datacenters requires new software frameworks to manage distributed memory-processing units.

As generative AI models continue to grow, the physical limits of data transport will increasingly dictate hardware design. The von Neumann bottleneck can no longer be brute-forced with wider external buses or larger processor caches. By shifting the thermal and power limits entirely to the logic gates embedded within the memory, PIM architectures decouple future parameter scaling from the constraints of the interconnect, establishing memory as the new engine of computation.[5]

Terms to know

Von Neumann Bottleneck
The performance limitation caused by the time and energy required to move data between a computer's memory and its central processing unit.
Processing-in-Memory (PIM)
An architectural approach that embeds computational logic directly inside memory chips to eliminate the need for external data transfers.
LLM Inference
The phase of machine learning where a trained Large Language Model generates text or predictions based on user input.
SIMD (Single Instruction, Multiple Data)
A parallel computing architecture where a single command is executed simultaneously across multiple data points.
Vector-Matrix Multiplication
The core mathematical operation underlying neural networks, requiring massive amounts of memory bandwidth to process.

Sources

Source coverage

5 outlets

3 viewpoints surfaced

Commercial Memory Vendors 40%Hardware Architecture Researchers 30%Software Ecosystem Analysts 30%
  1. [1]arXivHardware Architecture Researchers

    PIM-AI: A Novel Architecture for High-Efficiency LLM Inference

    Read on arXiv
  2. [2]arXivHardware Architecture Researchers

    SAL-PIM: A Subarray-Level Processing-in-Memory Architecture

    Read on arXiv
  3. [3]Supercomputing Exhibitor ForumCommercial Memory Vendors

    Cost-Effective LLM Inference Solution Using SK hynix's AiM (Accelerator-in-Memory)

    Read on Supercomputing Exhibitor Forum
  4. [4]IEEE XploreHardware Architecture Researchers

    Hardware Architecture and Software Stack for PIM Based on Commercial DRAM Technology

    Read on IEEE Xplore
  5. [5]Factlen Editorial TeamSoftware Ecosystem Analysts

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team

Comments

Stay informed

Every angle. Every day.

Get Artificial Intelligence stories with full source coverage and perspective breakdowns delivered to your inbox.