Neural Network Compression via Trainable Bottleneck Parameters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network pruning methods fail to efficiently preserve model accuracy while reducing floating point operations per second (FLOPs), often requiring extensive computational resources and numerous finetuning epochs, and do not effectively handle limited computational resources.

Innovation Solution

An automatic lightweight method that injects trainable bottleneck parameters into a neural network model, trains these parameters, determines an optimal threshold for pruning, and prunes the model based on the trained parameters to maintain accuracy while minimizing FLOPs, using a dichotomy algorithm to adjust the threshold and ensure efficient information flow.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If pruning filters is applied to reduce model size, then the number of parameters and FLOPs is reduced, but model accuracy deteriorates

Engineering Contradiction:
Improvenumber of parametersVSAvoidmodel accuracy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The method performs preliminary training of bottleneck parameters before actual pruning. By training these parameters in advance on the full model, the method identifies which filters are most important to retain, ensuring that accuracy is preserved before any filters are removed. This preliminary action allows the pruning process to be guided by learned importance scores rather than random or heuristic selection.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The method introduces bottleneck parameters as trainable variables that control the flow of information through different filters. By optimizing these parameters during training, the model learns to assign different weights to different filters, effectively identifying which ones are most important. This parameter change approach transforms the discrete pruning decision into a continuous optimization problem that can be solved during training.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If iterative pruning or retraining is performed to maintain accuracy, then model accuracy is preserved, but computational time and resources increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidfinetuning time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The method performs all necessary training in the preliminary phase before pruning. By training the bottleneck parameters on the complete model with all filters present, the method captures the full interdependencies between filters. This eliminates the need for iterative retraining after pruning, as the bottleneck parameters already encode the optimal filter selection for maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The method separates the pruning decision-making process from the model training process. The bottleneck parameters are trained independently to determine filter importance, and once trained, these parameters directly guide the pruning operation without requiring additional training iterations. This segmentation allows the two processes to be optimized independently and executed in a single pass.

Inventive Principle:
Principle #1Segmentation

3Ease of manufacture

If manual definition of pruning percentage is performed, then pruning can be controlled, but the process becomes time-consuming and requires human expertise

Engineering Contradiction:
Improvepruning controlVSAvoidpruning configuration time
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The method enables the model to automatically determine its own pruning configuration through the learned bottleneck parameters. Instead of requiring external human expertise to define pruning percentages, the model itself learns which filters are important and which can be removed. The bottleneck parameters serve as self-generated guidance signals that automatically adapt to the specific model architecture and dataset.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The method implements a feedback mechanism where the bottleneck parameters are trained using the model's performance on the training data. The loss function provides feedback about which filters are contributing most to accurate predictions, and this feedback is used to update the bottleneck parameters. This automated feedback loop replaces manual human judgment with data-driven automatic decision-making.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20230214657A1Method and apparatus for information flow based automatic neural network compression that preserves the model accuracy
Publication Date: 2023.07.06 NOTA INC
  • US20230214657A1 patent drawing
  • US20230214657A1 patent drawing
  • US20230214657A1 patent drawing

AI summary

Disclosed is an automatic lightweight method and apparatus for information flow-based neural network compression model that may preserve a performance. An automatic lightweight method for a neural network model may include receiving a first model, generating a second model by injecting trainable bottleneck parameters into the first model, training the bottleneck parameters of the second model using training data, determining an optimal threshold for the trained bottleneck parameters, and pruning the second model based on the trained bottleneck parameters and the determined optimal threshold.