Skip to content
intermediateimage

Object Detection Re-Annotation With Soft Labels

Vote on the class of a boxed object, with a can't-solve option, using image_region and radio. Stage 3 of a four-stage pipeline, with illustrative boxes.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/image/specialized/detection-reannotation-soft-labels
potato start config.yaml

About this dataset

Penquitt, Klees, van Betteray, Jashnieh, Stehr, Rottmann, and Schmarje re-annotated four object detection benchmarks (COCO, Pascal VOC, Cityscapes, and KITTI) and report the paper at the NeurIPS 2026 Evaluations & Datasets Track. The validated ground truth holds 63,348 objects on KITTI against 39,597 in the original labels (+60.0%), and 51,487 on COCO against 36,781 (+40.0%). Each object carries a soft label, which is a probability distribution over classes aggregated from at least 11 annotators.

The pipeline is multi-stage. Stage 1 collects keypoints for every possible object of a class, stage 2 draws a tight bounding box for each keypoint, stage 3 asks annotators to assign each box to a dataset class or to select can't solve, and stage 4 post-processes the labels with 11 additional responses for ambiguous cases, bias correction, and expert duplicate removal. Each stage is answered independently by several annotators. The design reproduces stage 3 with the image_region display, which crops and outlines the box, and a radio scheme. The task wording from the paper is whether the object in the box is the proposed class, and the proposal is the class for which the keypoint was set. The config header describes how the stages chain as separate Potato tasks through data_files[].filter_by_prior_annotation, and sets num_annotators_per_item to 11. From Potato 2.15.0, the pre_annotation export format writes the answers of one stage as the predictions_file of the next stage.

The design adapts the protocol. Five of the 20 Pascal VOC class names stand in for the full class list, and the soft label is the share of annotators choosing each class, which is computed after export. The sample uses one CC0 Wikimedia Commons photograph with ten hand-placed boxes and not images from the dataset, whose source images keep the terms of the source, so all items are illustrative. Several proposals are wrong on purpose so the correct-the-label path shows. No model_training block is included, because no registered Potato trainer consumes these schemes.

Annotators per object for the soft label
At least 11
Objects on KITTI, original vs. validated
39,597 vs. 63,348 (+60.0%)
Objects on COCO, original vs. validated
36,781 vs. 51,487 (+40.0%)
Objects on Pascal VOC, original vs. validated
31,561 vs. 34,262 (+8.6%)
Objects on Cityscapes, original vs. validated
62,649 vs. 65,856 (+5.1%)
Boxes in this design
10 (illustrative)

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# Object detection re-annotation, stage 3: class vote for a boxed object (soft labels)
#
# OpenReview: https://openreview.net/forum?id=ZS2MA5cnQ0 (venue on OpenReview: NeurIPS 2026 Evaluations and Datasets Track spotlight)
# Dataset: Penquitt, Klees et al., "Object Detection Benchmarks are Incomplete: The Role of Label Errors
#   and Annotation Uncertainty", NeurIPS 2026 Evaluations & Datasets Track (accepted, proceedings not yet
#   published). Poster: https://neurips.cc/virtual/2026/poster/139282
#   Preprint: https://arxiv.org/abs/2609.21822 (DOI 10.48550/arXiv.2609.21822). Code https://github.com/JonathanKlees/Uncertainty-aware-Object-Detection
#   and data https://huggingface.co/datasets/JKlees/Uncertainty_Aware_Object_Detection (cc-by-sa-4.0 in the
#   Hugging Face metadata). The sample here uses a Wikimedia Commons CC0 photograph, not dataset images.
# Protocol (paper section III, Table 10): Stage 3, "Each bounding box is presented to annotators, who are
#   asked to assign it to one of the dataset classes or select can't solve if the object is ambiguous or
#   not recognizable. The class for which the keypoint was set serves as a proposal. By aggregating the
#   response of at least 11 annotators, we obtain a soft label". Task wording (Table 10): "Is the object
#   in the box a <class>? If so, click class. If not, select the correct label." Description: "If you are
#   not sure, press 'can't solve'."
# Multi-stage protocol: the paper's pipeline has four stages, each answered independently by several
#   annotators (section III). Stage 1 collects keypoints (three repeats, each shown the earlier keypoints),
#   stage 2 draws a tight box per keypoint (two annotators), stage 3 is the class vote built here, and stage 4
#   post-processes (11 more responses for ambiguous cases, bias correction, expert duplicate removal). This
#   design reproduces stage 3 only. Because the stages are done by different annotators, they chain as
#   separate Potato tasks. The boxes exported from the stage 2 task become the data file of this task. A
#   data_files entry may carry filter_by_prior_annotation (annotation_dir, schema, value, optional invert and
#   rule) to admit only items that an earlier task marked a given way, which is how a second pass over the
#   items whose first-pass class vote came back as "can't solve" would be selected. num_annotators_per_item
#   sets how many annotators vote on each box. Both keys were read in potato/server_utils/config_module.py
#   and potato/flask_server.py (v2.14.2). The drawing stages and the expert duplicate removal are not built.
#   From Potato 2.15.0, the pre_annotation export format (python -m potato.export --format pre_annotation)
#   writes stage 1's answers as the next stage's predictions_file.
# Adaptations: (1) only stage 3 is built; stages 1 (keypoints) and 2 (tight boxes) are drawing tasks
#   that a separate image_annotation task would cover; (2) five of the 20 Pascal VOC classes stand in for the
#   full class list; (3) the soft label is the share of annotators choosing each class and is computed
#   after export, so each item needs at least 11 annotators to match the paper; (4) the box is drawn as
#   an outline with image_region, and its position in the sample is hand-placed and illustrative; (5) several
#   proposals in the ten sample items are deliberately wrong (a bicycle proposed for a market stall, a bus
#   for a car) so the correct-the-label path shows up.
# Sample image: Wikimedia Commons "Traffic and pedestrians on Calle Velasquez near Catedral San Nicolas
#   de Bari in Porlamar, Venezuela.jpg", CC0.

port: 8000
annotation_task_name: "Detection class vote with can't-solve"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
data_files:
  - sample-data.json
item_properties:
  id_key: id
  text_key: proposal
user_config:
  allow_all_users: true
  users: []
site_dir: default

# Stage 3 collects at least 11 independent class votes per box (paper section III).
num_annotators_per_item: 11

instance_display:
  fields:
    - key: proposal
      type: text
      label: "Proposed class"
    - key: boxed_object
      type: image_region
      label: "Object in the box"
      display_options:
        padding: 120

annotation_schemes:
  - annotation_type: radio
    name: object_class
    description: "Is the object in the box the proposed class? If so, click that class. If not, select the correct label. If you are not sure, press can't solve."
    labels:
      - name: person
      - name: car
      - name: bus
      - name: bicycle
      - name: motorbike
      - name: "can't solve"
        tooltip: "The object is ambiguous or cannot be recognized"

Sample Data

json
[
  {
    "id": "det_001",
    "proposal": "person",
    "boxed_object": {
      "image": "https://upload.wikimedia.org/wikipedia/commons/9/93/Traffic_and_pedestrians_on_Calle_Vel%C3%A1squez_near_Catedral_San_Nicol%C3%A1s_de_Bari_in_Porlamar%2C_Venezuela.jpg",
      "width": 2367,
      "height": 1374,
      "region": [
        732,
        800,
        164,
        480
      ],
      "polygon": [
        [
          732,
          800
        ],
        [
          896,
          800
        ],
        [
          896,
          1280
        ],
        [
          732,
          1280
        ]
      ]
    }
  },
  {
    "id": "det_002",
    "proposal": "car",
    "boxed_object": {
      "image": "https://upload.wikimedia.org/wikipedia/commons/9/93/Traffic_and_pedestrians_on_Calle_Vel%C3%A1squez_near_Catedral_San_Nicol%C3%A1s_de_Bari_in_Porlamar%2C_Venezuela.jpg",
      "width": 2367,
      "height": 1374,
      "region": [
        1310,
        810,
        580,
        440
      ],
      "polygon": [
        [
          1310,
          810
        ],
        [
          1890,
          810
        ],
        [
          1890,
          1250
        ],
        [
          1310,
          1250
        ]
      ]
    }
  }
]

// ... and 8 more items

Dataset & paper

Penquitt et al., NeurIPS 2026 Evaluations & Datasets Track

Paper DOI
10.48550/arXiv.2609.21822

Citation (BibTeX)

bibtex
@misc{https://doi.org/10.48550/arxiv.2609.21822,
  doi = {10.48550/ARXIV.2609.21822},
  url = {https://arxiv.org/abs/2609.21822},
  author = {Penquitt, Sarina and Klees, Jonathan and van Betteray, Antonia and Jashnieh, Parssa and Stehr, Peter and Rottmann, Matthias and Schmarje, Lars},
  keywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences},
  title = {Object Detection Benchmarks are Incomplete: The Role of Label Errors and Annotation Uncertainty},
  publisher = {arXiv},
  year = {2026},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

Details

Annotation Types

radio

Domain

Object DetectionLabel ErrorsAnnotation Uncertainty

Use Cases

Soft Label CollectionBenchmark Re-AnnotationMulti-Stage Annotation

Tags

object detection re-annotationsoft labelslabel errorscan't solveimage_regionmicrotasksneurips 2026

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)