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

Continuous Online Adaptation Driven by User Interaction for Medical Image Segmentation

Wentian Xu, Ziyun Liang, Harry Anthony, Yasin Ibrahim, Felix Cohen, Guang Yang, Daniel Whitehouse, David K. Menon, Virginia F. J. Newcombe, Konstantinos Kamnitsas · OpenReview

Abstract

Interactive segmentation models use real-time user interactions, such as mouse clicks, as extra inputs to dynamically refine the model predictions. After model deployment, user corrections of model predictions could be used to adapt the model to the post-deployment data distribution, countering distribution-shift and enhancing reliability. Motivated by this, we introduce an online adaptation framework that enables an interactive segmentation model to continuously learn from user interaction and improve its performance on new data distributions, as it processes a sequence of test images. We introduce the Gaussian Point Loss function to train the model how to leverage user clicks, along with a two-stage online optimization method that adapts the model using the corrected predictions generated via user interactions. We demonstrate that this simple and therefore practical approach is very effective. Experiments on 5 fundus and 4 brain MRI databases demonstrate that our method outperforms existing approaches under various data distribution shifts, including segmentation of image modalities and pathologies not seen during training.

Introduction

Deep learning models for medical imaging often suffer from performance degradation when deployed in new environments due to "distribution shifts"—variations in scanner hardware, imaging protocols, or patient demographics. While interactive segmentation allows clinicians to provide corrective "clicks" to refine individual masks, standard models are typically static and do not learn from these interactions. Consequently, clinicians must repeatedly correct the same types of errors. This paper introduces OAIMS (Online Adaptation for Interactive Medical-image Segmentation), a framework designed to bridge this gap by enabling models to learn from user feedback in real-time during deployment.

Methodology

OAIMS employs a two-pronged adaptation strategy to continuously refine model parameters without requiring massive retraining. The framework is built upon a standard U-Net backbone, ensuring it remains model-agnostic.

  1. Mid-Interaction Adaptation (MI): The model updates its weights incrementally after every click. By analyzing the difference between predictions before and after a user interaction, the model refines its understanding of the specific image being processed.
  2. Post-Interaction Adaptation (PI): Once a clinician is satisfied with a segmentation mask, the system treats it as a "pseudo-ground-truth." It then performs a two-stage fine-tuning process: first using the initial localization click, and subsequently using artificial clicks generated from the model's previous erroneous regions.
  3. Click-Centered Gaussian (CCG) Loss: To stabilize training, the authors introduced the CCG loss. Unlike sparse losses that only penalize the model at the exact pixel clicked, the CCG loss applies a Gaussian "spotlight" around the interaction point. This forces the model to update the surrounding region, making the adaptation more robust and responsive.
The OAIMS framework overview, detailing the inference cycle, CCG loss mechanism, and the two stages of online adaptation (Mid-Interaction and Post-Interaction).

Experimental Results

The researchers evaluated OAIMS across diverse datasets involving significant distribution shifts, including fundus imaging (REFUGE2, G1020, GS1-Drishti, GAMMA, PAPILA) and brain MRI volumes (BraTS, ATLAS v2.0, WMH, TBI).

Key findings include:

  • Performance Gains: On brain MRI tasks with extreme shifts (e.g., training on FLAIR and testing on T1 scans), OAIMS improved Dice scores by over 10% compared to non-adaptive baselines.
  • Efficiency: OAIMS significantly reduces the manual workload. For instance, on the BraTS T1 dataset, the model reached an 80% Dice score in just 4.4 clicks, compared to 10.6 clicks for a standard model.
  • Real-time Feasibility: The adaptation process is highly efficient, updating in less than 0.1 seconds on a GPU, ensuring no perceptible lag in the clinical workflow.
Quantitative results across multiple fundus and brain MRI test sets, showing that OAIMS (Interactive w/ CCG) consistently outperforms non-adaptive and standard interactive baselines as the number of clicks increases.

Discussion and Conclusion

OAIMS demonstrates that sparse user interactions can serve as powerful signals for continuous model improvement. A critical insight is the "Power of the Neighborhood"; by using the CCG loss to influence regions rather than single pixels, the model achieves stable and rapid adaptation. While the model may experience "catastrophic forgetting" of its original training distribution, the authors argue that in clinical practice, performance on the local, current data distribution is paramount. Furthermore, the system proved resilient to noisy interactions, maintaining performance even when a significant portion of clicks were intentionally erroneous. Future work may extend this framework to 3D volumes and explore alternative interaction types like scribbles or bounding boxes.

Summary updated

BibTeX
@inproceedings{xu2026continuous,
  author = {Wentian Xu and Ziyun Liang and Harry Anthony and Yasin Ibrahim and Felix Cohen and Guang Yang and Daniel Whitehouse and David K. Menon and Virginia F. J. Newcombe and Konstantinos Kamnitsas},
  title = {{Continuous Online Adaptation Driven by User Interaction for Medical Image Segmentation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=n0vHjCiLD2},
}
Figure