Adversarial Knowledge Distillation for Student Neural Network Accuracy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing knowledge distillation techniques face challenges such as computational expense, requirement for access to teacher model parameters, difficulty in generalizing across tasks, and significant accuracy gaps between teacher and student models, particularly in consumer devices with limited resources.

Innovation Solution

Adversarial learning is integrated with knowledge distillation to generate perturbed input samples that maximize divergence in teacher and student model predictions, using a generator to create adversarial data samples and train the student model with both original and adversarial data, minimizing divergence between teacher and student outputs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If knowledge distillation is applied to transfer knowledge from teacher to student model, then the student model achieves comparable inference performance with reduced computing resources, but the accuracy gap between teacher and student models remains significant

Engineering Contradiction:
Improvecomputing resource costVSAvoidaccuracy gap
Core Design Contradiction:
Use of energy by moving objectVSManufacturing precision

Solution Approach 1:

The method performs preliminary actions by training a generator to create adversarial data samples before the knowledge distillation process. These adversarial samples are then used to train the student model, preparing it in advance to handle difficult cases that would otherwise expose accuracy gaps, thereby improving final performance while maintaining efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The method converts the harmful accuracy gap into a benefit by using it as a training signal. Adversarial examples are specifically designed to maximize the difference between teacher and student predictions, and this difference is then used as a learning objective to close the gap, turning the initial disadvantage into a improvement mechanism

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

2Loss of information

If teacher neural network model is used for knowledge distillation, then student model can learn from complex model generalizations, but direct access to teacher model parameters is required which limits deployment flexibility

Engineering Contradiction:
Improveknowledge transfer completenessVSAvoiddeployment flexibility
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The method extracts only the necessary information from the teacher model - specifically the output predictions (logits) - while deliberately excluding access to the internal parameters and architecture. This extraction approach maintains knowledge transfer effectiveness while removing the constraint that would limit deployment flexibility

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The method introduces an intermediary mechanism where adversarial examples serve as a bridge between teacher and student models. Instead of requiring direct parameter access, the student learns through this intermediary training process that uses teacher predictions on adversarial data, enabling knowledge transfer without parameter exposure

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of manufacture

If traditional knowledge distillation is used, then student model training can proceed with standard datasets, but significant accuracy gaps persist due to lack of challenging training samples

Engineering Contradiction:
Improvetraining process simplicityVSAvoidstudent model accuracy
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The method performs preliminary action by generating adversarial data samples before the main training process. This preparation step creates challenging training data that anticipates potential failure cases, allowing the student model to learn from these difficult examples upfront rather than encountering them during evaluation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The method converts the harmful effect of simple training data into a benefit by deliberately creating adversarial examples that maximize teacher-student prediction differences. These previously harmful discrepancies become valuable training signals that drive the student model to improve and close the accuracy gap

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS12619881B2Method and system for training a neural network model using adversarial learning and knowledge distillation
Publication Date: 2026.05.05 HUAWEI TECH CO LTD
  • US12619881B2 patent drawing
  • US12619881B2 patent drawing
  • US12619881B2 patent drawing

AI summary

Method and system of training a student neural network using adversarial learning and knowledge distillation, including: training a generator to generate adversarial data samples for respective training data samples by masking parts of the training data samples with an objective of maximizing a divergence between output predictions generated by the student neural network and a teacher neural network model for the adversarial data samples; and training the student neural network based on objectives of (i) minimizing a divergence between output predictions generated by the student neural network and the teacher neural network model for the adversarial data samples, and (ii) minimizing a divergence between output predictions generated by the student neural network and the teacher neural network model for the training data samples.