Semi-DETR: Semi-Supervised Object Detection with Detection Transformers

Jiacheng Zhang, Xiangru Lin, Wei Zhang, Kuo Wang, Xiao Tan +4 more
2/14/2026

No official code found. Best implementation: facebookresearch/detr (15,350 stars, Apache-2.0, last commit 2024-03-12). 2 more below.

Abstract

We analyze the DETR-based framework on semi-supervised object detection (SSOD) and observe that (1) the one-to-one assignment strategy generates incorrect matching when the pseudo ground-truth bounding box is inaccurate, leading to training inefficiency; (2) DETR-based detectors lack deterministic correspondence between the input query and its prediction output, which hinders the applicability of the consistency-based regularization widely used in current SSOD methods. We present Semi-DETR, the first transformer-based end-to-end semi-supervised object detector, to tackle these problems. Specifically, we propose a Stage-wise Hybrid Matching strategy that combines the one-to-many assignment and one-to-one assignment strategies to improve the training efficiency of the first stage and thus provide high-quality pseudo labels for the training of the second stage. Besides, we introduce a Cross-view Query Consistency method to learn the semantic feature invariance of object queries from different views while avoiding the need to find deterministic query correspondence. Furthermore, we propose a Cost-based Pseudo Label Mining module to dynamically mine more pseudo boxes based on the matching cost of pseudo ground truth bounding boxes for consistency training. Extensive experiments on all SSOD settings of both COCO and Pascal VOC benchmark datasets show that our Semi-DETR method outperforms all state-of-the-art methods by clear margins.

View on arXivView PDF

Code Implementations(3)

Apache-2.0

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.

14,3413,022C, C++Oct 25, 20197 months agoApache-2.0
blazefacedeepsortdetrface-detectionfairmot+15 more
JCZ404/Semi-DETRCommunity100%
MIT

[CVPR 2023] Official implementation of the paper "Semi-DETR: Semi-Supervised Object Detection with Detection Transformers"

11316C++, CudaJul 13, 20231 years agoMIT
Apache-2.0

End-to-End Object Detection with Transformers

15,3502,675Python, DockerfileMay 26, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026semidetr,
  title  = {Semi-DETR: Semi-Supervised Object Detection with Detection Transformers},
  author = {Jiacheng Zhang and Xiangru Lin and Wei Zhang and Kuo Wang and Xiao Tan and Junyu Han and Errui Ding and Jingdong Wang and Guanbin Li},
  year   = {2026},
  eprint = {2307.08095},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.08095},
  journal = {CVPR 2023 2023}
}

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/2307.08095.svg)](https://codeofpaper.com/paper/2307.08095)

Discussion