CIM - term AI

CIM, Compute in Memory — is computing directly in memory.

The Anatomy of the Bottleneck

Traditional accelerators (graphics and tensor processors) suffer from the so-called von Neumann bottleneck. In modern neural networks comprising hundreds of billions of parameters, the majority of energy and time is spent not on the mathematical calculations themselves, but on the endless transfer of model weights from RAM to computational units.

The physics of the process is unforgiving: moving charge through conductors requires hundreds of times more watts than performing an addition operation. Processors idle while waiting for data, and server farms consume megawatts of energy solely to fight the resistance of cables and chip heating. This problem is known as the memory wall.

When Physics Replaces Algorithms

CIM technology changes the very essence of computation. Instead of copying data, it transforms memory cells into active computational elements. For this purpose, modern types of non-volatile memory are used — RRAM (resistive), PCM (phase-change), or memristors.

Neural network weights are frozen inside these cells in the form of their physical electrical resistance. The matrix-vector multiplication operation itself, the most resource-intensive task in AI, is implemented through basic laws of electrodynamics:

Input data is fed to the grid as analog voltage.
Each memory cell, acting as a programmable resistor, instantly generates a current. The strength of this current, according to Ohm’s law, is directly proportional to the product of the input signal and the stored weight.
The summation of results occurs automatically according to Kirchhoff’s first law: currents from multiple cells simply merge at a common node.
The entire cascade of matrix multiplications, which requires thousands of clock cycles and millions of data transfers for a digital chip, occurs in parallel and at the speed of light in a semiconductor within a CIM architecture.

Why This Changes the Game for AI

The transition to computing within memory arrays brings three critical advantages for the development of neural networks:

Energy efficiency bordering on science fiction. Eliminating data movement reduces energy consumption for matrix operations by 100 to 1000 times. This makes it possible to deploy complex computer vision and voice assistants in autonomous sensors, wearable electronics, and implants, where every milliwatt counts.
Scalability beyond Moore’s Law. Moore’s Law is slowing down: transistors cannot be shrunk infinitely. CIM offers horizontal scaling. To accelerate computations, one does not need to shrink the process node to atomic sizes, but simply increase the area of the memory matrix itself by adding new computational cells.
Approaching the biological brain. Unlike silicon, the human brain does not separate memory and logic. A synapse simultaneously stores connection information and weighs the incoming signal. CIM chips are the first successful attempt to recreate this principle in hardware, paving the way for the creation of truly neuromorphic systems.

The technology is ceasing to be a purely academic experiment. Leading semiconductor giants and startups are already bringing CIM solutions to market. For example, joint developments by SK hynix and TetraMem use memristor arrays to perform computer vision operations directly in memory, while IBM’s solutions rely on phase-change cells.

The primary application area for such chips today is inference (the deployment of trained models). In data centers, CIM accelerators take over the processing of user requests, radically reducing the cost of generating responses. In Edge devices, they enable running recognition models directly on cameras or drones without connecting to the cloud.

Obstacles on the Path to the Absolute

Despite its potential, analog in-memory computing has inherent drawbacks. Physical cells are subject to thermal noise and manufacturing variance, which limits their baseline accuracy. Therefore, modern chips are built on a hybrid principle: the analog core instantly produces a rough result, and a fast digital co-processor refines it to the required 16 or 32 bits in a few clock cycles. Furthermore, the software industry is only just beginning to create tools for the automatic mapping of neural network architectures onto the physical grids of crossbars.

Compute in Memory will not send GPUs to the scrapheap of history anytime soon; digital accelerators are indispensable for training giant models from scratch. However, for the era of ubiquitous AI, when intelligence must operate on every device, from a smartphone to an industrial machine tool, it is precisely the erasure of boundaries between data storage and data processing that becomes the only viable path for development.

Let's start a conversation

Start Scaling Today

Contact our experts to select the optimal hardware configuration and calculate rental pricing for your AI workloads.

Location: Moscow, ext.ter.g., sh. Ochakovskoe, 28, p.2
GPU Servers High-density compute
Облачная аренда Быстрый старт ИИ моделей
Enterprise SLA Guaranteed availability
Low Latency Optimal network routes