In-memory computing (IMC) is a family of hardware architectures designed to relieve the defining weakness of conventional computers: the costly movement of data between memory and processor. Its two main branches differ fundamentally in how close computation sits to stored data. In near-memory computing, processing and memory are co-located on the same chip but remain distinct blocks; in true compute-in-memory, exemplified by crossbar architectures, the memory array itself performs the computation. Understanding that distinction—and why the Von Neumann bottleneck makes it matter—is essential to evaluating the hardware direction of AI systems.

Understanding the Von Neumann Bottleneck

The conventional computer follows the Von Neumann architecture, in which the processing unit and memory are physically separate. As IBM researchers explain, this architecture proved advantageous over alternative models at the time of its establishment, but its shortcomings have become increasingly visible with the rapid proliferation of artificial intelligence: shuttling data back and forth between memory and CPU comes at a high price in both energy and speed when performing AI computations.

That cost is structural, not incidental. A survey on compute-in-memory for large language model inference, published on arXiv, describes how data must be moved from its origin to processors, which severely limits performance, energy efficiency, scalability, and ultimately sustainability. This constant data movement between memory and processing units is what the literature calls the Von Neumann bottleneck—or "memory wall." Even with multiple levels of caches, GPUs and multi-core CPUs can lose the benefits of local cache due to the many transfers required to get data to compute structures, leading to significant time and energy costs.