Distilling Knowledge by Mimicking Features
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Knowledge distillation (KD) is a popular method to train efficient networks ("student") with the help of high-capacity networks ("teacher"). Traditional methods use the teacher's soft logits as extra supervision to train the student network. In this paper, we argue that it is more advantageous to make the student mimic the teacher's features in the penultimate layer. Not only the student can directly learn more effective information from the teacher feature, feature mimicking can also be applied for teachers trained without a softmax layer. Experiments show that it can achieve higher accuracy than traditional KD. To further facilitate feature mimicking, we decompose a feature vector into the magnitude and the direction. We argue that the teacher should give more freedom to the student feature's magnitude, and let the student pay more attention on mimicking the feature direction. To meet this requirement, we propose a loss term based on locality-sensitive hashing (LSH). With the help of this new loss, our method indeed mimics feature directions more accurately, relaxes constraints on feature magnitudes, and achieves state-of-the-art distillation accuracy. We provide theoretical analyses of how LSH facilitates feature direction mimicking, and further extend feature mimicking to multi-label recognition and object detection.
Results and benchmarks
Knowledge distillation (KD) is a popular method to train efficient networks ("student") with the help of high-capacity networks ("teacher").
| Task | Dataset | Metric | Value | Split | Source |
|---|---|---|---|---|---|
| Softmax function | CIFAR-100 | Accuracy | 100 | test | paper-derived |
Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.
Evidence graph: 2 refs, 1 links.
Utility signals: depth 100/100, grounding 68/100, status medium.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Start from related paper: Augmentation Invariant and Instance Spreading Feature for Softmax Embedding.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Framework baselines
- Hugging Face Transformers training guide
Modern transformer training baseline.
- PyTorch nn.Transformer docs
Reference transformer building block implementation.
- TorchVision object detection finetuning tutorial
Baseline setup for object detection workflows.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Datasets
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
40
Citations
54
References
Tasks
Softmax function, Feature (linguistics), Computer science, Pattern recognition (psychology), Feature vector, Feature extraction, Feature learning, Semantic feature
Methods
None detected
Domains
Artificial intelligence, Machine learning, Computer Vision and Pattern Recognition
Related papers
- Augmentation Invariant and Instance Spreading Feature for Softmax EmbeddingSearch on Paper2Code
2020 · Semantic similarity
- Robust Deep Feature Extraction Method for Acoustic Scene ClassificationSearch on Paper2Code
2019 · Semantic similarity
- Group Softmax Loss with Discriminative Feature GroupingSearch on Paper2Code
2021 · Semantic similarity
- Multi-scale Feature Mergence Reinforced Network for Person Re-IdentificationSearch on Paper2Code
2021 · Semantic similarity
- A Comparative Study on Deep Feature Extraction Approaches for Visual Tracking of Industrial RobotsSearch on Paper2Code
2022 · Semantic similarity
- Feat2Vec: Dense Vector Representation for Data with Arbitrary FeaturesSearch on Paper2Code
2018 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.