Unbiased Minimum Variance Pruning for Neural Network Tensor Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current deep neural network (DNN) pruning technologies face limitations in accelerating the update phase during training, particularly due to the lack of efficient methods to accelerate the computation of gradients, which hinders overall processing efficiency.

Innovation Solution

The implementation of a tensor-level pruning method based on a minimum variance unbiased estimate (MVUE) approach, which prunes neural gradients to accelerate the update phase by determining pruning probabilities for elements in tensors, allowing for N:M structured sparsity and optimizing computations across all training phases.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If DNN pruning is applied to reduce computation cost, then computational efficiency is improved, but the update phase during training cannot be accelerated due to lack of efficient gradient computation methods

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidupdate phase acceleration
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent segments the DNN training process into distinct phases (forward propagation, backward propagation, update phase) and applies targeted pruning strategies to each. Specifically, it prunes gradients during backward propagation and applies structured sparsity to weight updates, allowing each phase to be optimized independently rather than treating the entire training process uniformly.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the sparsity parameter from fixed to dynamic by introducing N:M structured sparsity ratios that can be adjusted at different training stages. It also modifies the pruning probability parameter based on gradient magnitude statistics, allowing the pruning intensity to adapt during training while maintaining acceleration benefits throughout the update phase.

Inventive Principle:
Principle #35Parameter changes

2Speed

If existing pruning methods are used, then some computational speedup is achieved, but accuracy degradation occurs and performance is not significantly improved

Engineering Contradiction:
Improvecomputational speedupVSAvoidaccuracy maintenance
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements feedback mechanisms by monitoring validation accuracy during training and dynamically adjusting the pruning probability and sparsity ratio accordingly. When accuracy degradation is detected, the system reduces pruning intensity; when accuracy stabilizes, it increases sparsity, creating a closed-loop control system that maintains reliability while maximizing speedup.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies partial pruning strategically by identifying and preserving critical gradients and weights while pruning less important connections. Rather than uniformly pruning all parameters, it uses magnitude-based selection to prune only a portion of connections in each layer, maintaining sufficient computational pathways for accurate inference while achieving speedup.

Inventive Principle:
Principle #16Partial or excessive action

3Ease of manufacture

If uniform pruning is applied to all parameters, then implementation is simple, but computational resources are not optimized effectively

Engineering Contradiction:
Improveimplementation simplicityVSAvoidcomputational resource optimization
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent applies local quality by differentiating pruning strategies across different parameter types (gradients vs. weights) and different layers of the network. It uses magnitude-based local selection within each parameter group, applying higher pruning probabilities to parameters with smaller magnitudes while preserving larger-magnitude parameters, thereby optimizing resource allocation locally rather than uniformly across the entire network.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240265260A1Compressing neural networks through unbiased minimum variance pruning
Publication Date: 2024.08.08 INTEL OVERSEAS FUNDING CORP
  • US20240265260A1 patent drawing
  • US20240265260A1 patent drawing
  • US20240265260A1 patent drawing

AI summary

A DNN can be compressed by pruning one or more tensors for a deep learning operation. A first pruning parameter and a second pruning parameter are determined for a tensor. A vector having a size of the second pruning parameter may be extracted from the tensor. Pruning probabilities may be determined for the elements in the vector. One or more elements in the vector are selected based on the pruning probabilities. Alternatively, a matrix, in lieu of the vector, may be extracted from the tensor. Pruning probabilities may be determined for the columns in the matrix. One or more columns are selected based on their pruning probabilities. The number of the selected element(s) or column(s) may equal the first pruning parameter. The tensor can be modified by modifying the value(s) of the selected element(s) or column(s) and setting the value(s) of one or more unselected elements or columns to zero.