NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Continuous Adaptation for Interactive Object Segmentation by Learning from Corrections

Theodora Kontogianni, Michael Gygli, Jasper R. R. Uijlings, Vittorio Ferrari

Introduction

Interactive object segmentation relies on a collaborative loop where a human provides "hints"—typically clicks on foreground or background pixels—and a model generates a corresponding mask. While deep learning models like CNNs have significantly improved this process, they are traditionally "frozen" after training. This static nature leads to performance degradation when the model encounters appearance mismatches, distribution shifts (e.g., moving from consumer photos to specialized datasets), or significant domain gaps (e.g., medical or aerial imagery).

Proposed Method: Learning from Corrections

To address these limitations, this research introduces a method to treat user corrections not just as inputs, but as live training labels. By updating the model's parameters on-the-fly, the system adapts to the specific nuances of the current image or domain.

Dynamic Update Mechanism

The architecture builds upon DeepLabV3+, utilizing a 5-channel input: the standard RGB image and two guidance maps representing user clicks. The core innovation lies in a Combined Loss function optimized at test time:

  1. Sparse Cross-Entropy: Calculated exclusively on pixels clicked by the user to ensure the model respects the new constraints.
  2. Mask Regularization: Uses the model's initial prediction as a temporary ground truth for unclicked pixels, preventing the mask from collapsing.
  3. Parameter Regularization (MAS): Employs Memory-Aware Synapses to penalize drastic changes to critical network weights, preserving general knowledge.

The system supports two adaptation modes: Single Image Adaptation (IA), which optimizes for a specific object, and Image Sequence Adaptation (SA), which continuously learns across a series of related images to specialize in a particular domain.

Comparison of a frozen baseline model versus the proposed adaptive model across different scenarios: person segmentation (distribution shift), donut segmentation (class specialization), and rooftop aerial imagery (domain change).

Experimental Results

The model was pre-trained on PASCAL VOC12 and evaluated across diverse datasets, including Berkeley, YouTube-VOS, COCO, Rooftop Aerial, and DRIONS-DB.

Performance Gains

The adaptive approach demonstrated substantial reductions in the human effort required for accurate segmentation:

  • General Tasks: Required clicks were reduced by 9%–30% on standard datasets.
  • Class Specialization: For specific categories like "donuts," the workload decreased by up to 44%.
  • Domain Adaptation: In extreme shifts to medical or aerial imagery, the method reduced the required clicks by 60% to 77%.

Efficiency

Crucially, these updates are computationally efficient. A single update step takes approximately 0.16s on a modern GPU, making the adaptation overhead nearly imperceptible to the user during interactive sessions.

Conclusion

By transforming user clicks into live training data, this method bridges the gap between general-purpose pre-training and specialized real-world applications. The ability to adapt continuously allows for high-precision segmentation in challenging domains with significantly less human intervention. Future work may explore lighter backbones or partial network updates to further enhance real-time performance.

Summary updated

BibTeX
@inproceedings{kontogianni2020continuous,
  author = {Theodora Kontogianni and Michael Gygli and Jasper R. R. Uijlings and Vittorio Ferrari},
  title = {{Continuous Adaptation for Interactive Object Segmentation by Learning from Corrections}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58517-4\_34},
}
Figure