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

A Continual Learning Framework for Uncertainty-Aware Interactive Image Segmentation

Ervine Zheng, Qi Yu, Rui Li, Pengcheng Shi, Anne R. Haake

Abstract

Deep learning has significantly advanced image segmentation, yet "fully automatic" models often struggle in specialized domains with ambiguous boundaries. Interactive segmentation addresses this by incorporating user feedback, but traditional methods treat each image in isolation, failing to learn from past corrections. This paper presents CLIS (Continual Learning for Interactive Segmentation), a framework that treats interactive refinement as a continual learning problem. By utilizing Bayesian nonparametric modeling and uncertainty estimation, CLIS learns from user interactions over time, improving performance on future tasks while preventing the "catastrophic forgetting" of previously learned domains.

Introduction

In fields like medical imaging or marine biology, precise segmentation is critical but difficult to automate due to complex visual features. Interactive segmentation tools allow experts to refine results with manual clicks. However, existing tools suffer from three primary issues: isolation, where knowledge from one image doesn't transfer to the next; catastrophic forgetting, where updating a model on new data degrades its performance on old data; and inefficient interaction, where users must manually identify areas needing correction.

Methodology

The CLIS framework introduces a dynamic architecture designed to evolve with user input.

Bayesian Nonparametric Modeling

To manage a sequence of tasks, the model employs an Indian Buffet Process (IBP) prior. This allows the network's convolutional kernels to be treated as "dishes" in a buffet. For a new task, the model can either reuse existing kernels or allocate new ones if the visual domain is significantly different. This ensures the model remains flexible without becoming overly specialized to a single dataset.

Task-Aware Probabilistic Masks

The framework generates binary masks that activate specific subsets of kernels tailored to the current task. This "task-aware" approach ensures that the most relevant features are extracted, whether the model is processing urban street scenes or dermoscopic skin lesion images.

Workflow of the CLIS framework for interactive segmentation and uncertainty estimation.

Uncertainty-Guided Interaction

Rather than requiring users to hunt for errors, CLIS calculates predictive entropy to generate an uncertainty map. This map highlights regions where the model is least confident, guiding the user to provide annotations where they will have the most significant impact. When a user provides a correction, an Interactive Learning Module uses a Markov Random Field (MRF) to propagate the label to similar neighboring pixels before the neural network weights are updated.

Experiments and Results

The framework was evaluated on three distinct datasets: Cityscapes (urban), MaSTr1325 (marine), and ISIC (medical).

Quantitative Performance

CLIS consistently outperformed standard continual learning baselines such as Learning without Forgetting (LwF), Elastic Weight Consolidation (EWC), and PackNet. On the ISIC skin lesion dataset, CLIS achieved a Mean Intersect-over-Union (IoU) of 0.782, surpassing EWC (0.765) and LwF (0.749).

Qualitative Analysis and Knowledge Transfer

A key strength of CLIS is its ability to handle Forward Transfer (improving on future unseen images) and Backward Transfer (retaining performance on previously seen tasks). Qualitative results demonstrate that CLIS produces sharper, more accurate boundaries compared to baselines, which often produce blurry or over-generalized segments.

Qualitative comparison of CLIS against baseline methods across three diverse datasets.

Conclusion

The CLIS framework represents a significant step toward truly intelligent interactive segmentation tools. By framing interaction as a continual learning process, the system reduces manual labor through uncertainty guidance and builds a persistent knowledge base across tasks. Future work will focus on reducing the computational latency of model updates and expanding the variety of supported user interactions, such as scribbles and bounding boxes.

Summary updated

BibTeX
@inproceedings{zheng2021continual,
  author = {Ervine Zheng and Qi Yu and Rui Li and Pengcheng Shi and Anne R. Haake},
  title = {{A Continual Learning Framework for Uncertainty-Aware Interactive Image Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i7.16752},
}
Figure