LGD: Label-guided Self-distillation for Object Detection

Peizhen Zhang, Zijian Kang, Tong Yang, Xiangyu Zhang, Nanning Zheng +1 more
9/23/2021
cs.CV
distillation

Official code: megvii-research/LGD (51 stars, Python, PyTorch, last commit 2022-04-19).

Abstract

In this paper, we propose the first self-distillation framework for general object detection, termed LGD (Label-Guided self-Distillation). Previous studies rely on a strong pretrained teacher to provide instructive knowledge that could be unavailable in real-world scenarios.

Show full abstract

Instead, we generate an instructive knowledge based only on student representations and regular labels. Our framework includes sparse label-appearance encoder, inter-object relation adapter and intra-object knowledge mapper that jointly form an implicit teacher at training phase, dynamically dependent on labels and evolving student representations. They are trained end-to-end with detector and discarded in inference. Experimentally, LGD obtains decent results on various detectors, datasets, and extensive tasks like instance segmentation. For example in MS-COCO dataset, LGD improves RetinaNet with ResNet-50 under 2x single-scale training from 36.2% to 39.0% mAP (+ 2.8%). It boosts much stronger detectors like FCOS with ResNeXt-101 DCN v2 under 2x multi-scale training from 46.1% to 47.9% (+ 1.8%). Compared with a classical teacher-based method FGFI, LGD not only performs better without requiring pretrained teacher but also reduces 51% training cost beyond inherent student learning. Codes are available at https://github.com/megvii-research/LGD.

View on arXivView PDF

Code Implementations(1)

PyTorch

Official Implementation of the detection self-distillation framework LGD.

512PythonApr 18, 20224 years agoNOASSERTION
2dcomputer-visionknowledge-distillationobject-detectionpython3+2 more

Similar Papers

Cite this paper

@article{zhang2021lgd,
  title  = {LGD: Label-guided Self-distillation for Object Detection},
  author = {Peizhen Zhang and Zijian Kang and Tong Yang and Xiangyu Zhang and Nanning Zheng and Jian Sun},
  year   = {2021},
  eprint = {2109.11496},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.11496}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.11496.svg)](https://codeofpaper.com/paper/2109.11496)

Discussion