Neural Network Compression Using Impact Maps for Task-Specific Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Trained neural networks used in applications like autonomous driving are computationally intensive due to being trained for multiple tasks, necessitating a method to generate a compressed network capable of performing specific tasks with low computational cost, especially in real-time and safety-critical systems.

Innovation Solution

A method involving a first model portion generating an impact map to assess the importance of neural network components, followed by a second model portion creating a compressing map to delete unnecessary components, reducing weights and biases to near zero, and using a regularization term to increase compression, resulting in a task-specific efficient network architecture.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a neural network is trained for multiple tasks to improve versatility, then adaptability is improved, but computational cost increases

Engineering Contradiction:
Improvetask versatilityVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the neural network by identifying and removing unnecessary components for specific tasks. The method calculates importance values for individual network components and selectively removes those with low importance for the target task, dividing the network into essential and non-essential parts.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts only the necessary components for the specific task from the multi-task neural network. By calculating importance values and comparing them against thresholds, the method extracts and retains only those components that contribute significantly to the target task performance.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If a neural network is trained for multiple tasks to improve adaptability, then adaptability is improved, but device complexity increases

Engineering Contradiction:
Improvetask versatilityVSAvoidnetwork complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the neural network architecture by identifying task-specific components. The method divides the network into task-relevant and task-irrelevant parts through importance calculation, allowing selective retention of only necessary components for the target task.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts unnecessary network components for the specific task by calculating importance values and removing those below a threshold. This extraction process simplifies the network architecture while preserving task-specific performance.

Inventive Principle:
Principle #2Taking out (Extraction)

3Speed

If network components are removed to reduce computational cost, then processing speed is improved, but measurement precision deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidtask performance accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent applies local quality by assigning different importance values to different network components based on their specific contribution to the target task. The method selectively preserves components with high local importance while removing those with low importance, maintaining precision where needed while improving speed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameter of component importance through calculation and thresholding. By dynamically determining which components meet the importance threshold for the target task, the method adjusts the network configuration to optimize both speed and accuracy.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12024159B2Device and method for generating a compressed network from a trained neural network
Publication Date: 2024.07.02 ROBERT BOSCH GMBH
  • US12024159B2 patent drawing
  • US12024159B2 patent drawing
  • US12024159B2 patent drawing

AI summary

A device and a method for generating a compressed network from a trained neural network are provided. The method includes: a model generating a compressing map from first training data, the compressing map representing the impact of model components of the model to first output data in response to the first training data; generating a compressed network by compressing the trained neural network in accordance with the compressing map; the trained neural network generating trained network output data in response to second training data; the compressed network generating compressed network output data in response to the second training data; training the model by comparing the trained network output data with the compressed network output data.