Sparsity-Aware Dot-Product Accelerator for AI Hardware

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning processes, particularly matrix-multiplication operations in AI systems, are computationally intensive and inefficient due to the need to perform calculations involving zero-value elements, which do not contribute to the dot-product output, leading to wasted computational power and energy consumption.

Innovation Solution

A sparsity-aware dot-product accelerator identifies and excludes zero-value elements from processing, executing reduced dot-product operations only on non-zero elements, thereby optimizing processing efficiency and reducing power consumption by leveraging specialized hardware and logic units to handle sparse matrices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If full dot-product operations are performed on all elements including zero-value elements, then computational completeness is maintained, but processing efficiency and energy consumption are degraded

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidenergy consumption
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent extracts and removes zero-value elements from the dot-product computation stream before they reach the processing units. A sparsity-detection logic identifies zero elements in input vectors, and a multiplexer excludes them from being processed, thereby eliminating wasted computational operations and reducing energy consumption while maintaining the correctness of the final result.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system dynamically adapts its processing behavior based on the sparsity characteristics of input data. When zero-value elements are detected, the computation path is dynamically adjusted to skip unnecessary operations. The multiplexer and control logic enable real-time modification of the processing stream, switching between full and reduced computation modes based on data characteristics.

Inventive Principle:
Principle #15Dynamics

2Loss of energy

If sparsity-aware processing is implemented to skip zero-value elements, then energy consumption is reduced, but device complexity increases

Engineering Contradiction:
Improveenergy consumptionVSAvoidhardware complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The dot-product computation system is segmented into distinct functional modules: a sparsity-detection logic unit, a multiplexer for selective element routing, and processing units. This segmentation allows the sparsity-aware functionality to be added as a separate preprocessing stage without fundamentally redesigning the core computation units, thereby managing complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A multiplexer is introduced as an intermediary component between the input vectors and the processing units. This intermediary element selectively routes zero-value elements away from the computation path while allowing non-zero elements to proceed, thereby implementing sparsity-aware processing without requiring modifications to the core processing units themselves.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If zero-value elements are identified and excluded from processing, then unnecessary operations are minimized, but additional logic units are required

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidlogic unit complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The sparsity-detection logic and multiplexer structure are designed to be universally applicable to different dot-product computation scenarios. The same architectural pattern can be applied to various vector dimensions and data types, making the solution scalable and reusable across different neural network layer configurations without requiring custom logic for each case.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10482156B2Sparsity-aware hardware accelerators
Publication Date: 2019.11.19 META PLATFORMS INC
  • US10482156B2 patent drawing
  • US10482156B2 patent drawing
  • US10482156B2 patent drawing

AI summary

A special-purpose, hardware-based accelerator may include an input subsystem configured to receive first and second vectors as operands of a full dot-product operation. The accelerator may also include a sparsity-aware dot-product engine communicatively coupled to the input subsystem and configured to perform adaptive dot-product processing by: (1) identifying, within the first and second vectors, at least one zero-value element and (2) executing, in response to identifying the zero-value element, a reduced dot-product operation that excludes, relative to the full dot-product operation, at least one mathematical operation in which the zero-value element is an operand. The accelerator may also include an output subsystem that is communicatively coupled to the sparsity-aware dot-product engine and configured to send a result of the reduced dot-product operation to a storage subsystem. Various other accelerators, computing systems, and methods are also disclosed.