Label Anything: An Interpretable, High-Fidelity and Prompt-Free Annotator

Wei-Bin Kou, Guangxu Zhu, Rongguang Ye, Shuai Wang, Ming Tang, Yik-Chung Wu

Abstract

Learning-based street scene semantic understanding in autonomous driving (AD) has advanced significantly recently, but the performance of the AD model is heavily dependent on the quantity and quality of the annotated training data. Traditional manual labeling involves high costs to annotate the vast amount of required data. To mitigate this, we propose the Label Anything Model (LAM), an interpretable, high-fidelity, and prompt-free data annotator. LAM incorporates a pretrained Vision Transformer (ViT) to extract latent features, followed by a Semantic Class Adapter (SCA) and an Optimization-Oriented Unrolling algorithm (OptOU). Training requires only a single pre-annotated RGB seed image. Extensive experiments demonstrate that LAM generates high-fidelity annotations (nearly 100% mIoU) for real-world datasets like CamVid, Cityscapes, and Apolloscapes.

Introduction: The Data Bottleneck in Autonomous Driving

Deep learning models for autonomous driving (AD) are notoriously data-hungry. Training a vehicle to recognize pedestrians, traffic lights, or road boundaries requires thousands of images where every pixel is manually labeled—a process that is both prohibitively expensive and slow.

While foundation models like Meta’s Segment Anything Model (SAM) offered a potential solution, they face critical limitations in AD contexts: they are often class-agnostic, require manual prompts for every image, and are computationally heavy. The Label Anything Model (LAM) addresses these gaps, providing a prompt-free, interpretable framework that achieves near-perfect semantic labels after training on just a single seed image.

Methodology: Interpretable Optimization

LAM utilizes a three-part architecture designed for efficiency and transparency:

  1. Pretrained ViT Backbone: A standard Vision Transformer extracts high-level latent features from the input image.
  2. Semantic Class Adapter (SCA): A lightweight 1x1 convolution layer that maps ViT features into specific semantic classes (e.g., "Road," "Car," "Building").
  3. Optimization-Oriented Unrolling (OptOU): This core innovation replaces "black-box" neural layers with $K$ cascading layers that mimic gradient descent steps. Each layer refines the segmentation by solving an optimization problem to align the output with the ground truth.
The overall architecture of the Label Anything Model (LAM), featuring the ViT backbone, SCA, and OptOU modules.

Because the total number of trainable parameters is extremely small, LAM can be "tuned" to a specific dataset's style using only one labeled "seed" image without the risk of overfitting.

Experimental Setup and Datasets

The authors evaluated LAM across four diverse benchmarks: Cityscapes (3,475 urban images), CamVid (701 samples), Apolloscape (1,255 high-resolution images), and CARLA_ADV (a simulated dataset with 2,937 images under adverse weather conditions).

Key Results: High Fidelity and Rapid Convergence

LAM demonstrates remarkable performance across all metrics:

  • Near-Perfect Accuracy: The model achieved 99.99% mIoU across all tested datasets, producing labels virtually indistinguishable from manual ground truth.
  • Efficiency: LAM processes an image in 0.12 seconds, making it roughly 45x faster than SAM (5.34s).
  • Instant Convergence: Due to its minimal parameter count, the model reaches peak performance within a single training epoch.
Performance comparison (mF1) across epochs. LAM (orange line) achieves 100% accuracy almost instantly, significantly outperforming traditional segmentation models.

Conclusion and Future Directions

LAM represents a significant shift toward interpretable AI tools for data annotation. By treating architecture as an unrolled optimization problem, it eliminates the need for massive datasets and manual prompting. Future work will focus on expanding LAM to handle multi-modal data, such as LiDAR point clouds and depth maps, to further support the complex sensor suites of modern autonomous vehicles.

Summary updated

Abstract

Learning-based street scene semantic understanding in autonomous driving (AD) has advanced significantly recently, but the performance of the AD model is heavily dependent on the quantity and quality of the annotated training data. However, traditional manual labeling involves high cost to annotate the vast amount of required data for training robust model. To mitigate this cost of manual labeling, we propose a Label Anything Model (denoted as LAM), serving as an interpretable, high-fidelity, and prompt-free data annotator. Specifically, we firstly incorporate a pretrained Vision Transformer (ViT) to extract the latent features. On top of ViT, we propose a semantic class adapter (SCA) and an optimization-oriented unrolling algorithm (OptOU), both with a quite small number of trainable parameters. SCA is proposed to fuse ViT-extracted features to consolidate the basis of the subsequent automatic annotation. OptOU consists of multiple cascading layers and each layer contains an optimization formulation to align its output with the ground truth as closely as possible, though which OptOU acts as being interpretable rather than learning-based blackbox nature. In addition, training SCA and OptOU requires only a single pre-annotated RGB seed image, owing to their small volume of learnable parameters. Extensive experiments clearly demonstrate that the proposed LAM can generate high-fidelity annotations (almost 100% in mIoU) for multiple real-world datasets (i.e., Camvid, Cityscapes, and Apolloscapes) and CARLA simulation dataset.
BibTeX
@inproceedings{kou2025label,
  author = {Wei-Bin Kou and Guangxu Zhu and Rongguang Ye and Shuai Wang and Ming Tang and Yik-Chung Wu},
  title = {{Label Anything: An Interpretable, High-Fidelity and Prompt-Free Annotator}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11128321},
}
Figure