Sparse Activation Maps Knowledge Distillation for Neural Network Generalization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Heavy and complex deep learning architectures consume high computational resources and energy, making them unsuitable for low-resource environments, while lightweight architectures lack generalization ability and perform worse than their heavy counterparts.

Innovation Solution

A method for learning activated neuron responses transfer using sparse activation maps (SAMs) in knowledge distillation, where teacher and student networks share neuron activation boundaries through a computed loss function, improving the student network's nonlinearity and generalization ability by extracting and comparing feature maps and updating the student network's weights.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a heavy and complex deep learning architecture is used, then accuracy and generalization ability are improved, but computational resources and energy consumption increase

Engineering Contradiction:
Improvegeneralization abilityVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and transfers only the essential knowledge from the teacher network to the student network through knowledge distillation. Specifically, it extracts activation maps, gradient information, and feature representations from the heavy teacher network and uses them to train the lightweight student network, thereby capturing generalization ability without copying the entire complex architecture.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a simplified copy of the teacher network's knowledge rather than copying its structure. It generates a student network with fewer parameters that copies the functional behavior and decision boundaries of the teacher network through distillation processes, including matching activation distributions and gradient flows, achieving similar performance with reduced computational cost.

Inventive Principle:
Principle #26Copying

2Use of energy by moving object

If a lightweight deep learning architecture is used, then computational resources are reduced, but generalization ability and performance deteriorate

Engineering Contradiction:
Improvecomputational resourcesVSAvoidgeneralization ability
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The patent introduces activation maps and gradient information as intermediary carriers of knowledge from the teacher network to the student network. These intermediaries transfer the essential learning patterns, feature relationships, and decision boundaries without requiring direct structural correspondence, enabling the lightweight student network to achieve better generalization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameters of the student network during distillation by adjusting weights and biases to match the activation distributions and gradient characteristics of the teacher network. It dynamically modifies the student network's parameters based on the extracted teacher knowledge, allowing the lightweight architecture to adapt and improve its generalization ability.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If knowledge distillation is performed without sparse activation maps, then training simplicity is maintained, but transfer accuracy and neuron response alignment are insufficient

Engineering Contradiction:
Improvetraining simplicityVSAvoidneuron activation alignment
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent applies local quality by focusing distillation on sparse, highly activated neurons rather than treating all neurons uniformly. It identifies and prioritizes the most informative activated neurons in the teacher network and transfers their responses more intensely to corresponding student neurons, thereby improving alignment precision where it matters most while maintaining overall training simplicity.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240242086A1Method and apparatus for learning activated neurons responses transfer using sparse activation maps in knowledge distillation
Publication Date: 2024.07.18 UNIVERSITY INDUSTRY COOPERATION GROUP OF KYUNG HEE UNIVERSITY
  • US20240242086A1 patent drawing
  • US20240242086A1 patent drawing
  • US20240242086A1 patent drawing

AI summary

The method for learning activated neurons responses transfer using sparse activation maps (SAMs) in knowledge distillation according to an embodiment is performed on a computing device including one or more processors and a memory that stores one or more programs executed by the one or more processors. The method includes extracting teacher SAMs by extracting a feature map from a learning model of the teacher network based on input data and filtering the extracted feature map, extracting student SAMs by extracting a feature map from a learning model of the student network based on the input data and filtering the extracted feature map, computing a loss function by comparing the extracted teacher SAMs with the extracted student SAMs, and updating the learning model of the student network based on the computed loss function.