Integrated Teacher-Student Neural Network for Efficient Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Knowledge distillation techniques face limitations in effectively transferring knowledge from a larger teacher network to a smaller student network due to architectural mismatches and a one-way knowledge transfer path, which restricts the ability to leverage improvements in the student network's performance and requires computationally intensive hardware.

Innovation Solution

An integrated teacher-student system where student neural sub-networks are trained using a portion of the teacher neural network to generate intermediate feature maps, allowing for feature enhancement and compression to reduce computational intensity and enable distributed inference across multiple platforms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a larger teacher network is used to train a smaller student network through knowledge distillation, then the student network achieves better generalization and performance, but the system requires computationally intensive hardware and has architectural mismatch limitations

Engineering Contradiction:
Improvestudent network performanceVSAvoidcomputational hardware requirements
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the teacher network into multiple teacher sub-networks, each responsible for generating specific intermediate feature maps at different stages of the network. This segmentation allows the student network to selectively learn from specific feature representations rather than requiring the entire teacher network structure, reducing computational overhead while maintaining performance benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a nested architecture where student sub-networks are embedded within the teacher network structure. The student networks share certain computational components with the teacher network, allowing the student to benefit from the teacher's computational power during training while requiring fewer resources during independent inference.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Adaptability or versatility

If conventional knowledge distillation uses a one-way knowledge transfer path from teacher to student, then the student network can be trained independently, but the teacher network does not benefit from student performance improvements and knowledge transfer is limited

Engineering Contradiction:
Improveindependent training capabilityVSAvoidknowledge transfer efficiency
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The patent implements a feedback mechanism where the student network's performance and learned representations are fed back to update the teacher network. This creates a bidirectional knowledge transfer system where both networks continuously improve together, with the student benefiting from teacher knowledge and the teacher being refined by student insights, thereby maximizing knowledge transfer efficiency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent merges the training processes of the teacher and student networks into a unified joint training framework. Rather than training them separately in a one-way distillation process, the system combines their optimization objectives, allowing simultaneous learning where knowledge flows bidirectionally and both networks adapt to each other's improvements.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If the student network is designed with fewer learned parameters to reduce computational intensity, then the network can operate on less computationally-intensive platforms, but the architectural mismatch with the teacher network limits knowledge transfer

Engineering Contradiction:
Improveinference speedVSAvoidknowledge transfer effectiveness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by having different student sub-networks target specific intermediate feature maps from different layers of the teacher network. Each student sub-network is optimized for its specific target layer, allowing for more effective knowledge transfer to smaller networks rather than attempting to compress the entire teacher network into a single student model.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent transitions from a single-dimensional knowledge transfer approach to a multi-dimensional framework by transferring knowledge at multiple network depths simultaneously. Instead of transferring only final layer predictions, the system transfers intermediate feature representations from multiple layers, enabling smaller student networks to learn hierarchical features more effectively and overcome parameter limitations.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS11900260B2Methods, devices and media providing an integrated teacher-student system
Publication Date: 2024.02.13 HUAWEI TECH CO LTD
  • US11900260B2 patent drawing
  • US11900260B2 patent drawing
  • US11900260B2 patent drawing

AI summary

Methods, devices and processor-readable media for an integrated teacher-student machine learning system. One or more teacher-student modules are trained as part of the teacher neural network training. Each student sub-network uses a portion of the teacher neural network to generate an intermediate feature map, then provides the intermediate feature map to a student sub-network to generate inferences. The student sub-network may use a feature enhancement block to map the intermediate feature map to a subsequent feature map. A compression block may be used to compress intermediate feature map data for transmission in some embodiments.