Dual-Sparsity Neuron Computation for Faster ANN Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computing technologies, such as CPUs, GPUs, and FPGAs, face challenges in efficiently processing artificial neural networks (ANNs) due to high power consumption, programming complexity, and inefficient handling of massive data movement, particularly in large-scale industrial applications, without effectively addressing the parallel nature and redundancy of neuron computations.

Innovation Solution

A system comprising arithmetic and accumulation units that identify and perform mathematical operations only on relevant pairs of input values and weights, using identifiers to assign accumulation units for result accumulation, thereby optimizing computations by skipping irrelevant operations and reducing hardware requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If fully dense neural network layers are used, then computational accuracy is maintained, but computational performance and energy efficiency deteriorate

Engineering Contradiction:
Improvecomputational accuracyVSAvoidcomputational performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies parameter changes by transforming neural network weights and activations from dense format to sparse format, changing the density parameter from 1.0 to a lower value. This allows the same computational accuracy to be maintained while significantly improving computational performance and energy efficiency through sparsity-aware operations

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements partial action by applying sparsity transformations selectively to specific neural network layers rather than all layers. The system identifies candidate layers and applies dual sparsity transformations only where beneficial, maintaining accuracy while improving performance in a targeted manner

Inventive Principle:
Principle #16Partial or excessive action

2Productivity

If sparsity transformations are applied to neural network layers, then computational performance is improved, but implementation complexity increases

Engineering Contradiction:
Improvecomputational performanceVSAvoidimplementation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the neural network into different layer types (convolutional, fully-connected, transpose convolutional) and applies appropriate sparsity transformations to each. This segmentation allows complex sparsity operations to be broken down into manageable, layer-specific implementations

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediary data structures (sparse weight matrices, sparse activation vectors, and their dense equivalents) that facilitate the transformation between dense and sparse representations. These intermediaries simplify the implementation of sparsity-aware operations while maintaining compatibility with standard neural network frameworks

Inventive Principle:
Principle #24Intermediary (Mediator)

3Use of energy by moving object

If dual sparsity transformations are implemented, then energy consumption is reduced, but training and inference time increases

Engineering Contradiction:
Improveenergy consumptionVSAvoidtraining and inference time
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

The patent performs preliminary action by pre-computing and storing sparse weight matrices and identifying non-zero elements before the forward pass. This preprocessing step reduces the computational burden during inference, allowing energy-efficient sparse operations to be executed faster despite the initial transformation time

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3973464B1System, method and computer program for accelerating neuron computations in artificial neural networks with dual sparsity
Publication Date: 2026.05.06 XILINX INC
  • EP3973464B1 patent drawingFigure 1
  • EP3973464B1 patent drawingFigure 2
  • EP3973464B1 patent drawingFigure 3

AI summary

Systems and methods for accelerating computation of an artificial neural network (ANN) are provided. An example method comprises receiving, by processing units coupled with arithmetic units and accumulation units, a first plurality of first values and a second plurality of second values associated with one or more neurons of the ANN, generating, by the processing units, a plurality of pairs, wherein each pair of the plurality of pairs has a first value of the first plurality and a second value of the second plurality and the first value and the second value satisfy criteria, performing, by the arithmetic units, mathematical operations on pairs of the plurality of pairs to obtain results; accumulating, by the accumulation units, the results to obtain accumulated results, and determining, by the processing units and based on the accumulated results, an output of the neurons.