Active Learning Inspired ControlNet Guidance for Augmenting Semantic Segmentation Datasets

Hannah Kniesel, Pedro Hermosilla, Timo RopinskiarXiv 2025 · DOI

Introduction

Semantic segmentation is a cornerstone of computer vision, yet its progress is often throttled by the high cost of pixel-level annotation. While generative models like ControlNet offer a way to synthesize training data from label masks, standard approaches prioritize visual realism. However, for a learning model, the most "realistic" samples are not necessarily the most informative. This research introduces a proactive approach: instead of filtering a large pool of synthetic data for "hard" samples, the generative process itself is guided to create them.

Proactive Data Augmentation

The core idea is to bridge the gap between generative modeling and active learning. Traditionally, active learning identifies samples from an unlabeled real-world dataset that maximize a model's uncertainty. This paper adapts this concept to the generative domain, steering a diffusion model to produce images that are intentionally difficult for a target segmentation model.

The overall pipeline: Real data trains an initial segmentation model, which then guides ControlNet to generate informative synthetic samples for further training.

Methods: Training-Free Latent Guidance

The authors propose a training-free guidance mechanism that operates during the backward diffusion process—the iterative steps where noise is transformed into a coherent image.

At each denoising step, the algorithm estimates the final clean image and passes it through a pre-trained segmentation model. A "loss" is calculated based on active learning metrics, such as Entropy (measuring pixel-wise uncertainty). The gradient of this loss is then used to nudge the latent representation toward a version that maximizes the chosen metric.

The guided diffusion process: At each step, a single-step denoising estimate is evaluated by the segmentation model to calculate a loss, which updates the latent state.

The study explored several metrics to drive this guidance:

  • Entropy: Maximizes the model's uncertainty about class labels.
  • Query by Committee (MCD): Targets samples where model ensembles disagree.
  • Expected Model Change (CE): Seeks samples that would result in the largest parameter updates.

Key Insights and Results

Experimental results on COCO-Stuff10k and PascalVOC2012 revealed several critical findings:

  • Entropy is the most effective metric: It provides a stable gradient for optimization, whereas "Query by Committee" proved too noisy and "Expected Model Change" often led to unrealistic images.
  • Structure over Texture: Guidance is most effective when applied early in the diffusion process. Modifying the fundamental structure of objects provides more value to the segmentation model than merely changing textures or colors.
  • Significant Performance Gains: On COCO10k, the method achieved a +1.85 mIoU improvement, more than doubling the gains of previous unguided state-of-the-art methods (like SegGen).

Conclusion

By integrating active learning principles directly into the generative loop, this method shifts the paradigm from reactive data selection to proactive data creation. While challenges remain regarding computational overhead and hyperparameter sensitivity, the ability to generate "hard" samples on demand represents a significant step forward in efficient dataset augmentation for complex vision tasks.

Summary updated

BibTeX
@misc{kniesel2025active,
  author = {Hannah Kniesel and Pedro Hermosilla and Timo Ropinski},
  title = {{Active Learning Inspired ControlNet Guidance for Augmenting Semantic Segmentation Datasets}},
  year = {2025},
  eprint = {2503.09221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.09221},
}
Figure