ML Accelerator Data Loading with Compressed Zero-Skip Reuse

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning accelerators face challenges in efficiently loading data due to the sparsity of weights and activations in deep neural networks, leading to energy inefficiencies and computational bottlenecks.

Innovation Solution

The implementation of a data controller with a compressed local data re-user and a zero compute load skipper, which selectively loads only useful compressed machine learning parameter data, reducing unnecessary data loading and energy consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all machine learning parameter data is loaded into the processor engine, then the processor engine has sufficient data to execute machine learning operations, but memory access and energy consumption increase due to loading zero-valued data

Engineering Contradiction:
Improvedata completeness for computationVSAvoidenergy consumption during data loading
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the non-zero elements from the machine learning parameter data (weights and activations) and loads them into the processor engine, while filtering out zero-valued data. This is achieved through sparsity indication information that identifies which elements are non-zero, allowing the system to load only the necessary data portions and avoid wasting energy on zero-valued data transmission and storage.

Inventive Principle:
Principle #2Taking out (Extraction)

2Productivity

If compressed machine learning parameter data is loaded into the processor engine every round, then the processor engine can execute machine learning operations, but clock cycles increase due to redundant data loading

Engineering Contradiction:
Improvemachine learning operation executionVSAvoidclock cycles for data loading
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs preliminary processing of the machine learning parameter data by compressing it and generating sparsity indication information before loading into the processor engine. This preliminary compression and sparsity analysis allows the system to quickly identify and load only the necessary non-zero elements during execution rounds, avoiding redundant data loading operations and reducing clock cycle consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent enables the processor engine to skip loading operations for data sections that are identified as containing only zero-valued elements through the sparsity indication information. When the sparsity indication shows that a particular data section contains no non-zero elements, the system can skip the loading process for that section entirely, rushing through the necessary data transfer operations and reducing overall execution time.

Inventive Principle:
Principle #21Skipping (Rushing through)

3Duration of action of stationary object

If compressed machine learning parameter data is stored in local memory, then data can be retained for multiple rounds of computation, but memory access increases when loading data that is already present

Engineering Contradiction:
Improvedata retention in local memoryVSAvoidmemory access time for redundant data
Core Design Contradiction:
Duration of action of stationary objectVSLoss of time

Solution Approach 1:

The patent implements a feedback mechanism where the data controller checks the sparsity indication information and the current round's requirements before loading data from local memory to the processor engine. This feedback loop allows the system to determine whether data needs to be reloaded or can be skipped, based on whether the data contains non-zero elements that are necessary for the current computation round, thereby avoiding redundant memory access operations.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12242861B2Methods and apparatus to load data within a machine learning accelerator
Publication Date: 2025.03.04 INTEL CORP
  • US12242861B2 patent drawing
  • US12242861B2 patent drawing
  • US12242861B2 patent drawing

AI summary

Methods, apparatus, systems, and articles of manufacture to load data into an accelerator are disclosed. An example apparatus includes data provider circuitry to load a first section and an additional amount of compressed machine learning parameter data into a processor engine. Processor engine circuitry executes a machine learning operation using the first section of compressed machine learning parameter data. A compressed local data re-user circuitry determines if a second section is present in the additional amount of compressed machine learning parameter data. The processor engine circuitry executes a machine learning operation using the second section when the second section is present in the additional amount of compressed machine learning parameter data.