Processing-In-Memory MAC Integration for Lower Data-Movement Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The separation of processor and memory in traditional hardware systems limits data communication, degrading the performance of artificial intelligence due to increased computational demands, particularly in deep learning applications.
Innovation Solution
Integration of a processing-in-memory (PIM) device with MAC operators and memory banks, along with data I/O circuits, to perform arithmetic operations directly on the memory, enhancing data processing speed and efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If processor and memory are separated in traditional hardware systems, then device complexity is reduced and ease of manufacture is improved, but data communication speed deteriorates and productivity decreases
Solution Approach 1:
The patent merges the processor and memory into a single integrated device, specifically combining MAC operators with memory banks to form a processing-in-memory architecture. This integration eliminates the need for data communication between separate processor and memory components, directly resolving the productivity limitation caused by separated architecture while managing device complexity through functional consolidation.
Solution Approach 2:
The integrated PIM device performs multiple functions within a single architecture: it stores data in memory banks and simultaneously performs arithmetic operations using MAC operators. This multi-functionality allows the device to handle both data storage and processing tasks, improving overall system productivity without requiring separate dedicated components for each function.
2Measurement precision
If the number of layers in neural network is increased to improve AI performance, then computational accuracy is improved, but the amount of computations required increases exponentially leading to increased loss of time
Solution Approach 1:
The patent segments the computational workload across multiple MAC operators (first to Lth MAC operators) that operate in parallel on different portions of data. Each MAC operator processes specific weight data from memory banks, allowing simultaneous execution of multiple arithmetic operations. This segmentation enables the system to handle increased computational requirements from deeper neural networks without proportionally increasing computation time.
Solution Approach 2:
The integrated PIM architecture enables continuous processing by eliminating data transfer delays between separate memory and processor components. Weight data is continuously supplied from memory banks to MAC operators, and results are continuously generated and output through data I/O circuits. This continuous operation maintains high computational throughput even as the number of neural network layers increases.
3Speed
If PIM device performs arithmetic operations directly in memory, then data processing speed is improved, but device complexity increases
Solution Approach 1:
The patent combines memory banks with MAC operators in an integrated PIM device, allowing arithmetic operations to be performed directly on data stored in memory. This merging eliminates the need for data to be transferred to a separate processor, achieving faster data processing speed while managing complexity through functional integration rather than separate components.
Data Source
AI summary
A processing-in-memory (PIM) device includes first to Lth multiplication/accumulation (MAC) operators, first to Lth memory banks, and a plurality of data input/output (I/O) circuits. The first to Lth MAC operators include first to Lth left MAC operators and first to Lth right MAC operators. The plurality of data I/O circuits include left data I/O circuits and right data I/O circuits. A Uth MAC operator among the first to Lth MAC operators is configured to output one of the first to Mth MAC result data through a Uth left MAC operator among the first to Lth left MAC operators or a Uth right MAC operator among the first to Lth right MAC operators. The PIM device is configured to output the MAC result data outputted through the left MAC operators through the left data I/O circuits, and output the MAC result data outputted through the right MAC operators through the right data I/O circuits.


