Activation Sparsity via Negative Bias Offset in Neural Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods struggle to effectively increase activation sparsity in artificial neural networks, particularly due to challenges in fine-tuning and retraining processes, which are time-consuming and require significant software and hardware infrastructure, and often result in accuracy loss.

Innovation Solution

Applying a negative bias offset to bias-add or batch-normalization layers in artificial neural networks, followed by scaling or adding noise functions before the ReLU layer, to actively shape the probability density function of activations and increase sparsity, while mitigating accuracy loss through careful selection of layers and fine-tuning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If fine-tuning and retraining processes are applied to increase activation sparsity, then activation sparsity is improved, but time consumption and hardware infrastructure requirements increase significantly

Engineering Contradiction:
Improveactivation sparsityVSAvoidfine-tuning time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies parameter changes by modifying the bias offset values in batch normalization layers to negative values. This simple parameter adjustment shifts the activation distribution to increase sparsity without requiring time-consuming fine-tuning or retraining processes, directly resolving the contradiction between achieving high sparsity and minimizing time investment.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent employs a lightweight, low-cost approach by using simple bias offset adjustments rather than expensive, resource-intensive fine-tuning processes. This disposable-like modification can be applied quickly and discarded or adjusted without significant infrastructure investment, addressing the time and resource constraints.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Quantity of substance

If fine-tuning and retraining processes are applied to increase activation sparsity, then activation sparsity is improved, but accuracy loss occurs

Engineering Contradiction:
Improveactivation sparsityVSAvoidaccuracy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

By carefully selecting and adjusting the bias offset parameters in batch normalization layers, the patent achieves increased activation sparsity while maintaining model accuracy. This parameter modification approach avoids the accuracy degradation often associated with aggressive fine-tuning methods.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces bias offset adjustments as an intermediary mechanism between the original model and the sparsification goal. This intermediary approach allows sparsity to be increased without directly compromising the model's learned representations, thereby preserving accuracy while achieving the desired sparsity level.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of energy

If computational complexity is reduced through activation sparsity, then power consumption is reduced, but implementation complexity increases

Engineering Contradiction:
Improvepower consumptionVSAvoidimplementation complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The patent reduces power consumption by changing the bias offset parameters to negative values, which increases activation sparsity. This parameter change enables the model to skip computations for zero activations, reducing energy consumption without requiring complex hardware modifications or additional computational overhead.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20230021396A1Techniques For Increasing Activation Sparsity In Artificial Neural Networks
Publication Date: 2023.01.26 ALTERA CORP
  • US20230021396A1 patent drawing
  • US20230021396A1 patent drawing
  • US20230021396A1 patent drawing

AI summary

A method for implementing an artificial neural network in a computing system that comprises performing a compute operation using an input activation and a weight to generate an output activation, and modifying the output activation using a noise value to increase activation sparsity.