Hybrid Tensor Core Architecture for Memory-Bound Deep Learning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing artificial neural network (ANN) computation devices face inefficiencies in energy consumption and resource utilization due to the limitations of adder tree-based structures for memory-bound operations and MAC-based devices for tensor operations, leading to reduced power efficiency and increased memory bandwidth requirements.
Innovation Solution
A computation apparatus incorporating both an adder tree-based ANN accelerator for tensor operations and a MAC-based co-processor for vector operations, allowing parallel processing and reducing memory access by reusing data within a local buffer, thereby optimizing hardware utilization and energy efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If an adder tree-based structure is used for tensor operations, then computational throughput is improved, but memory bandwidth requirements increase and power efficiency deteriorates for memory-bound operations
Solution Approach 1:
The computational system is segmented into two distinct cores: an adder tree-based tensor core for tensor operations and a MAC-based vector core for vector operations. This segmentation allows each core to be optimized for its specific operation type, with the vector core handling memory-bound operations more efficiently and the tensor core handling compute-bound operations with higher throughput.
Solution Approach 2:
Different computational units are assigned different architectural qualities suited to their specific functions. The tensor core uses an adder tree structure with high parallelism for tensor operations, while the vector core uses MAC units with better memory access patterns for vector operations. This local quality optimization resolves the contradiction by matching architecture to workload.
2Use of energy by moving object
If a MAC-based device is used for tensor operations, then power efficiency is improved, but computational throughput and resource utilization deteriorate
Solution Approach 1:
The system segments tensor operations and vector operations into different processing cores. Tensor operations that benefit from high throughput are handled by the adder tree-based tensor core, while vector operations are handled by the MAC-based vector core. This segmentation allows MAC-based power efficiency to be preserved where applicable while achieving high throughput where needed.
Solution Approach 2:
The dual-core architecture provides universal processing capability for both tensor and vector operations. Each core can handle its designated operation type efficiently, creating a multi-functional system that resolves the throughput limitation of MAC-based devices while maintaining power efficiency benefits.
3Measurement precision
If data is repeatedly accessed from external memory, then operation accuracy is maintained, but memory access time increases and overall operation time deteriorates
Solution Approach 1:
The system implements a nested memory hierarchy with local buffers nested within each core and external memory providing the base layer. Frequently accessed data is cached in local buffers, creating a nested structure where fast local memory serves the cores while slower external memory provides comprehensive storage. This resolves the contradiction by providing fast access for repeated data while maintaining accurate operation results.
Solution Approach 2:
Data is pre-loaded into local buffers before being needed for computation. The system anticipates future data needs and loads data into faster local memory in advance, eliminating subsequent memory access delays while ensuring data accuracy is maintained through proper caching strategies.
4Productivity
If separate processing units are used for tensor and vector operations, then resource utilization is improved, but device complexity increases
Solution Approach 1:
The processing system is segmented into two specialized cores, each optimized for specific operation types. This segmentation improves resource utilization by ensuring each core is consistently utilized for its designated operations while avoiding the overhead of general-purpose processing. The complexity increase is managed through modular design where each core is a self-contained unit.
Solution Approach 2:
While the system uses separate processing units, it merges them into a unified architecture through shared memory interfaces and coordinated control. This merging approach allows the system to achieve high resource utilization through specialization while managing device complexity through integrated design principles.
Data Source
AI summary
A method and apparatus for performing deep learning operations. A computation apparatus includes an adder tree-based tensor core configured to perform a tensor operation, and a multiplier and accumulator (MAC)-based vector core configured to perform a vector operation using an output of the tensor core as an input.


