LOST: A flexible framework for semi-automatic image annotation

Jonas Jäger, Gereon Reus, Joachim Denzler, Viviane Wolff, Klaus Fricke-NeudertharXiv 2019

Introduction

Training state-of-the-art computer vision models requires massive amounts of annotated data, a process that is notoriously slow and expensive. While numerous annotation tools like LabelMe or CVAT exist, they are often rigid, hard-coding specific workflows or machine learning models into their interfaces. This lack of flexibility forces researchers to build new tools from scratch whenever they wish to test a novel semi-automatic annotation strategy. To address this, we introduce LOST (Label Objects and Save Time), an open-source, modular framework designed for building custom, high-efficiency annotation pipelines.

Modular Pipeline Architecture

LOST models the annotation process as a directed graph composed of interchangeable building blocks: datasources, Python scripts, human annotation tasks, and loops. This modularity allows developers to seamlessly integrate custom machine learning models and different user interface (UI) paradigms.

Dual Annotation Interfaces

The framework features two primary UI paradigms to optimize different parts of the labeling process:

  1. Single Image Annotation (SIA): A traditional interface for drawing bounding boxes, polygons, or points on individual images.
  2. Multi Image Annotation (MIA): A novel interface designed for bulk-labeling. It allows annotators to assign a single class label to an entire cluster of visually similar images or cropped bounding boxes simultaneously.

Active Learning and Two-Stage Pipelines

By utilizing loop elements, LOST supports "human-in-the-loop" setups. In these pipelines, models are iteratively retrained on newly annotated data to provide progressively better proposals, reducing the manual effort required over time.

The two-stage annotation pipeline architecture, featuring box proposal generation, SIA/MIA tasks, and active learning loops.

Key Insights: Divide and Conquer

A core strategy enabled by LOST is the separation of the annotation process into two distinct stages: localization (drawing boxes) and classification (assigning labels). This "divide and conquer" approach is highly efficient. It allows project managers to assign the simpler task of drawing boxes to crowd-workers while reserving the classification task for domain experts. Furthermore, by clustering visually similar bounding boxes using CNN features (e.g., from a ResNet50 model), annotators can label dozens of objects with a single click in the MIA interface, only needing to remove occasional outliers.

Experimental Results

We evaluated the efficiency of LOST using the Pascal VOC2012 dataset. Our experiments demonstrated significant time savings without sacrificing data quality.

  • Baseline Efficiency: Traditional manual annotation (simultaneous drawing and labeling) took an average of 11.15 seconds per box.
  • Two-Stage Speedup: Splitting the task reduced box-drawing time to 7.1 seconds. When combined with ResNet50-based clustering in the MIA interface, classification time dropped to just 1.92 seconds per box—a 2x speedup over manual classification.
  • Iterative Improvement: While an iterative approach may start slower than manual annotation (the "cold start" problem), the model quickly learns to generate high-quality proposals. As shown in the performance metrics, the total time per box decreases significantly as the system iterates.
Annotation time per box decreases over successive iterations as the machine learning models provide better proposals.

In terms of quality, human annotators achieved approximately 80% mAP compared to the Pascal VOC ground truth. The iterative machine learning loop maintained this level of accuracy while progressively reducing the human time required per box.

Limitations and Future Work

Currently, LOST is optimized for static images and lacks an Image Sequence Annotation (ISA) interface for video tracking. Additionally, while it supports collaborative web-based annotation, it does not yet feature direct integration with crowdsourcing platforms like Amazon Mechanical Turk. Future updates aim to incorporate these features to further expand the framework's utility.

Summary updated

BibTeX
@misc{jager2019lost,
  author = {Jonas Jäger and Gereon Reus and Joachim Denzler and Viviane Wolff and Klaus Fricke-Neuderth},
  title = {{LOST: A flexible framework for semi-automatic image annotation}},
  year = {2019},
  eprint = {1910.07486},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.07486},
}
Figure