ANN Crossbar Processor With Multi-Mode Weights for Energy-Area Balance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing artificial neural network (ANN) accelerators face challenges in achieving a balance between hardware requirements, flexibility, and processing performance due to high energy consumption and memory costs, particularly with increasing model sizes in domains like Computer Vision and Natural Language Processing.
Innovation Solution
A processor design incorporating a crossbar with synapse nodes operating in multiple modes, including fixed, flexible, and offline-configurable weight storage options, allowing for a combination of hardwired and programmable weights to optimize energy consumption and area usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If fully digital ANN accelerators are used with complete programmability, then flexibility is improved, but energy consumption and chip area increase significantly
Solution Approach 1:
The weight storage is segmented into two distinct types: volatile memory (SRAM/DRAM) for flexible, trainable weights that can be updated, and non-volatile memory (Flash, FRAM, MRAM) for fixed, pre-trained weights that remain static. This segmentation allows the system to selectively apply programmability only where needed while using fixed storage for the majority of weights, thereby reducing overall energy consumption and chip area while maintaining necessary flexibility for training and adaptation.
Solution Approach 2:
Different regions of the neural network are assigned different weight storage types based on their specific requirements. Trainable layers use volatile memory for weight storage to enable gradient updates during backpropagation, while fixed layers use non-volatile memory for weight storage to eliminate repeated loading and reduce energy consumption. This local quality differentiation optimizes the balance between flexibility and energy efficiency for each specific functional region.
2Productivity
If on-chip SRAM memory size is increased to store more parameters, then processing capability is improved, but chip area and cost increase
Solution Approach 1:
The parameter storage is divided between on-chip volatile memory (SRAM/DRAM) and on-chip non-volatile memory (Flash/FRAM/MRAM). Volatile memory stores only the essential trainable parameters that require frequent updates, while non-volatile memory stores the larger set of fixed pre-trained parameters. This segmentation enables the system to process large neural networks with billions of parameters without proportionally increasing the area of expensive volatile memory, thus improving processing capability while controlling chip area.
Solution Approach 2:
Pre-trained weights are copied into non-volatile memory during manufacturing or initial setup, creating a permanent on-chip copy that eliminates the need to repeatedly load these weights from off-chip memory during inference. This copying strategy reduces both chip area requirements and energy consumption by making frequently used weights immediately accessible without requiring large volatile memory buffers or repeated data transfers.
3Ease of manufacture
If off-chip DRAM is used to reduce silicon cost, then manufacturing cost is improved, but energy consumption increases due to data transfer
Solution Approach 1:
The patent extracts and removes the need for repeated off-chip memory accesses by implementing on-chip non-volatile memory storage for fixed weights. This extraction eliminates the energy-intensive data transfer path between off-chip DRAM and the processing core for weights that do not change during inference, thereby reducing energy consumption while maintaining the cost benefits of using standard off-chip DRAM for volatile data storage.
Solution Approach 2:
Weights are preliminarily loaded and stored in on-chip non-volatile memory during chip manufacturing or initial system setup, before the actual inference operations begin. This preliminary action ensures that all fixed weights are already present in fast, energy-efficient on-chip storage, eliminating the need for subsequent energy-hungry data transfers from off-chip memory during the inference process, thus reducing operational energy consumption.
4Area of stationary object
If the number of compute resources (PEs) is reduced to decrease chip area, then chip area is improved, but the ability to handle large ANNs is worsened
Solution Approach 1:
The patent substitutes traditional digital multiply-accumulate units with analog crossbar array computations for fixed-weight layers. In this analog implementation, weights are encoded as conductance values in the crossbar, and matrix-vector multiplications are performed through parallel analog current summation during a single clock cycle. This substitution dramatically reduces the number of discrete compute resources needed, enabling the system to handle large-scale ANNs with limited chip area by performing computations in the analog domain rather than through sequential digital operations.
Data Source
Figure 1A~1B
Figure 2A
Figure 2B
AI summary
Processor (10) for processing an artificial neural network operation, comprising: a crossbar (12) comprising a plurality of crossbar (12) array entities, each crossbar (12) array entity comprising at least one synapse node (20), the at least one synapse node (20) is configured to be operated in a first synapse mode (m1) having one or more stored first weights, and in a second synapse mode (m2) using one or more second weights and/or in a third synapse mode (m3) using one or more fixed (stored) third weights; wherein the first synapse mode (m1) and the second synapse mode (m2) and the third synapse mode (m3) differ from each other with respect to a storing of the one or more weights as the stored first weights or second weights or third weights.