[Paper Review] 5 Parallel Prism: A topology for pipelined implementations of convolutional neural networks using computational memory
This paper proposes the 5 Parallel Prism (5PP) topology, a communication fabric for computational memory arrays that enables pipelined inference of convolutional neural networks (CNNs) with minimal latency and bandwidth overhead. By proving a homomorphism between CNN graph representations and 5PP, the authors demonstrate that all major CNN architectures—including ResNet, Inception, and DenseNet—can be efficiently mapped, achieving up to 7× lower latency and 4× reduced bandwidth per channel compared to 2D meshes.
In-memory computing is an emerging computing paradigm that could enable deeplearning inference at significantly higher energy efficiency and reduced latency. The essential idea is to map the synaptic weights corresponding to each layer to one or more computational memory (CM) cores. During inference, these cores perform the associated matrix-vector multiply operations in place with O(1) time complexity, thus obviating the need to move the synaptic weights to an additional processing unit. Moreover, this architecture could enable the execution of these networks in a highly pipelined fashion. However, a key challenge is to design an efficient communication fabric for the CM cores. Here, we present one such communication fabric based on a graph topology that is well suited for the widely successful convolutional neural networks (CNNs). We show that this communication fabric facilitates the pipelined execution of all state of-the-art CNNs by proving the existence of a homomorphism between one graph representation of these networks and the proposed graph topology. We then present a quantitative comparison with established communication topologies and show that our proposed topology achieves the lowest bandwidth requirements per communication channel. Finally, we present a concrete example of mapping ResNet-32 onto an array of CM cores.
Motivation & Objective
- To address the bottleneck in pipelined CNN inference caused by inefficient communication between computational memory (CM) cores.
- To design a communication fabric topology that supports diverse, state-of-the-art CNN architectures without introducing redundant connections.
- To minimize latency and bandwidth requirements per communication channel in CM-based DNN accelerators.
- To prove theoretically that all major CNN architectures (feedforward, residual, Inception, dense) are mappable onto the proposed 5PP topology.
Proposed method
- Propose a novel graph-based communication topology called 5 Parallel Prism (5PP) optimized for physical proximity and pipelined execution in computational memory arrays.
- Define a consolidated graph representation of CNNs where vertices represent layers and edges represent activation flows, enabling formal analysis of network executability.
- Establish a mathematical condition for pipelined execution: the existence of a graph homomorphism from the CNN’s graph representation to the 5PP topology.
- Use homomorphism existence as a theoretical criterion to prove mappability of ResNet, Inception, and DenseNet onto 5PP.
- Quantitatively compare 5PP with 2D mesh topologies using metrics like latency, throughput, and bandwidth per channel.
- Provide a detailed physical mapping of ResNet-32 onto a 4×10 CM core array, specifying dataflow, memory usage, and bandwidth requirements.
Experimental results
Research questions
- RQ1Can a communication topology be designed to enable pipelined inference of all major CNN architectures on computational memory arrays?
- RQ2What topological properties are necessary and sufficient for a communication fabric to support low-latency, high-throughput execution of diverse CNNs?
- RQ3How does the 5PP topology compare to established topologies like 2D mesh in terms of latency and bandwidth efficiency?
- RQ4Is there a formal criterion to determine whether a given CNN can be executed without pipeline stalls on a given communication fabric?
- RQ5What are the practical memory and bandwidth requirements for mapping ResNet-32 onto a CM array using the 5PP topology?
Key findings
- The 5PP topology enables pipelined execution of all state-of-the-art CNNs, including ResNet, Inception, and DenseNet, by proving the existence of a homomorphism between their graph representations and the 5PP topology.
- The 5PP topology reduces inference latency by up to 7× and bandwidth requirements per channel by up to 4× compared to the best 2D mesh configurations.
- The number of interconnections in 5PP increases by a factor of 2.31 compared to 2D meshes, which is significantly lower than the 7× improvement in latency and 4× improvement in bandwidth efficiency.
- For ResNet-32 mapping on a 4×10 CM core array, the proposed topology ensures no pipeline stalls, with required bandwidth per channel estimated at approximately 5 Gbps—within state-of-the-art on-chip link capabilities.
- The physical mapping of ResNet-32 onto CM cores demonstrates that feedforward and residual path activations can be communicated via distinct channels, enabling efficient dataflow with minimal overhead.
- The theoretical framework based on graph homomorphism provides a general method to verify mappability of any CNN architecture onto a given communication fabric, enabling systematic design of future accelerators.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.