Points As Queries: Weakly Semi-Supervised Object Detection by Points

Liangyu Chen, Tong Yang, Xiangyu Zhang, Wei Zhang, Jian Sun

Introduction

Object detection is a fundamental task in computer vision, yet its progress is often bottlenecked by the high cost of data annotation. Creating precise bounding boxes typically requires 10 to 35 seconds per object. While image-level labels are cheaper, they lack the spatial precision necessary for high-performance detectors. This paper explores a "weakly semi-supervised" approach using point annotations—a single click per object—which offers a compelling balance between annotation speed and localization detail.

Point annotations provide a location prior for each object instance.

Methodology: Point DETR

The authors propose Point DETR, an adaptation of the DEtection TRansformer (DETR) architecture specifically designed to leverage point annotations. Unlike traditional detectors that struggle to assign points to specific levels of a Feature Pyramid Network (FPN), Point DETR uses a Transformer's global attention mechanism to process points as object queries.

The Point Encoder

The core innovation is the Point Encoder. It takes point coordinates $(x, y)$ and category labels $c$ to generate instance-aware queries. By summing positional and category embeddings, the model creates a strong spatial anchor for each object. Instead of predicting absolute coordinates, the network performs relative regression, predicting offsets from the initial point to the four sides of the bounding box.

Teacher-Student Framework

The training follows a multi-stage pipeline:

  1. Teacher Training: A Point DETR model is trained on a small subset of fully labeled (bounding box) data.
  2. Pseudo-labeling: This teacher generates "pseudo-boxes" for the large set of point-annotated images.
  3. Student Training: A standard detector (e.g., FCOS) is trained on the combined dataset of ground-truth and pseudo-labels.

Experimental Results

Evaluations on the MS-COCO 2017 dataset demonstrate the efficacy of this approach. Using only 20% of fully labeled data, Point DETR achieved 33.3 AP, a 2.0 AP improvement over a strong FCOS baseline.

The final goal is to predict accurate bounding boxes from minimal point-based supervision.

A key finding was the significant boost in Average Recall (AR), which increased by over 10 points. Point annotations act as a "guarantee" of object existence, helping the model identify small or partially occluded instances that are often missed by purely semi-supervised methods.

Discussion and Conclusion

Point DETR effectively breaks the "FPN bottleneck" by using single-level feature maps and Transformer attention, which are more robust to the inherent noise in point placements. While the current study uses synthetic points, it paves the way for more efficient human-in-the-loop annotation workflows. Future research may focus on end-to-end training and extending this "points as queries" paradigm to tasks like instance segmentation.

Summary updated

BibTeX
@inproceedings{chen2021points,
  author = {Liangyu Chen and Tong Yang and Xiangyu Zhang and Wei Zhang and Jian Sun},
  title = {{Points As Queries: Weakly Semi-Supervised Object Detection by Points}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=ygZ4LViACN},
}
Figure