Skip to main content
QUICK REVIEW

[Paper Review] Efficient Teacher: Semi-Supervised Object Detection for YOLOv5

Bowen Xu, Mingtao Chen|ArXiv.org|Feb 15, 2023
Advanced Neural Network ApplicationsComputer Science30 citations
TL;DR

Efficient Teacher introduces a Dense Detector baseline with a Pseudo Label Assigner and Epoch Adaptor to enable scalable, high-performance semi-supervised object detection for one-stage anchor-based detectors like YOLOv5.

ABSTRACT

Semi-Supervised Object Detection (SSOD) has been successful in improving the performance of both R-CNN series and anchor-free detectors. However, one-stage anchor-based detectors lack the structure to generate high-quality or flexible pseudo labels, leading to serious inconsistency problems in SSOD. In this paper, we propose the Efficient Teacher framework for scalable and effective one-stage anchor-based SSOD training, consisting of Dense Detector, Pseudo Label Assigner, and Epoch Adaptor. Dense Detector is a baseline model that extends RetinaNet with dense sampling techniques inspired by YOLOv5. The Efficient Teacher framework introduces a novel pseudo label assignment mechanism, named Pseudo Label Assigner, which makes more refined use of pseudo labels from Dense Detector. Epoch Adaptor is a method that enables a stable and efficient end-to-end semi-supervised training schedule for Dense Detector. The Pseudo Label Assigner prevents the occurrence of bias caused by a large number of low-quality pseudo labels that may interfere with the Dense Detector during the student-teacher mutual learning mechanism, and the Epoch Adaptor utilizes domain and distribution adaptation to allow Dense Detector to learn globally distributed consistent features, making the training independent of the proportion of labeled data. Our experiments show that the Efficient Teacher framework achieves state-of-the-art results on VOC, COCO-standard, and COCO-additional using fewer FLOPs than previous methods. To the best of our knowledge, this is the first attempt to apply Semi-Supervised Object Detection to YOLOv5.Code is available: https://github.com/AlibabaResearch/efficientteacher

Motivation & Objective

  • Motivate SSOD for one-stage anchor-based detectors and address pseudo label inconsistency.
  • Propose Dense Detector to bridge YOLOv5 and RetinaNet performance with dense inputs.
  • Introduce Pseudo Label Assigner to split pseudo labels into reliable and uncertain for soft guidance.
  • Develop Epoch Adaptor to enable efficient end-to-end SSOD training with domain and distribution adaptation.
  • Demonstrate state-of-the-art results on VOC, COCO-standard, and COCO-additional with reduced FLOPs.

Proposed method

  • Create Dense Detector by extending RetinaNet with YOLOv5-inspired dense sampling and an objectness branch.
  • Develop Pseudo Label Assigner to classify pseudo labels into reliable and uncertain using high/low thresholds and apply soft loss to uncertain labels.
  • Define an SSOD loss as L = Ls + λLu with Ls computed on labeled data and Lu on unlabeled data using class, box, and objectness terms.
  • In Lu, apply selective losses based on pseudo-label scores and objectness to mitigate unreliable pseudo labels.
  • Introduce Epoch Adaptor combining domain adaptation (via gradient reversal layer) and distribution adaptation to dynamically set pseudo-label thresholds per epoch.
  • Utilize distribution adaptation thresholds τ1^k, τ2^k based on class distributions to balance labeled/unlabeled data across epochs.

Experimental results

Research questions

  • RQ1How can pseudo label assignment be refined for one-stage anchor-based detectors in SSOD?
  • RQ2Can a dense-input detector (Dense Detector) improve pseudo-label quality and SSOD performance over traditional RetinaNet baselines?
  • RQ3Does an epoch-wise adaptation strategy improve training stability and efficiency in SSOD with unlabeled data?
  • RQ4What are the gains of Efficient Teacher on VOC, COCO-standard, and COCO-additional compared to existing SSOD methods?

Key findings

  • Efficient Teacher achieves state-of-the-art results on VOC, COCO-standard, and COCO-additional with fewer FLOPs than prior methods.
  • Dense Detector provides a 5.36 AP50:95 boost over RetinaNet while reducing inference FLOPs by ~30%.
  • Pseudo Label Assigner significantly improves SSOD by separating reliable and uncertain pseudo labels and applying a soft loss to the latter.
  • Epoch Adaptor with domain and distribution adaptation accelerates training and stabilizes learning, achieving better performance with fewer iterations.
  • Replacing backbone with YOLOv5l and training under Efficient Teacher yields improved final detection performance with lower computational overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.