Abstract
Creating high-quality image masks for deep learning is a labor-intensive process. Interactive segmentation aims to alleviate this by incorporating human feedback, typically in the form of clicks. However, traditional models suffer from a training-testing mismatch, as they are often trained on static heuristic patterns rather than the error-correcting feedback provided by real users. This paper introduces Iteratively Trained Interactive Segmentation (ITIS), a framework that simulates the human correction process during training. By iteratively placing clicks on prediction errors, the model learns the "semantics of correction," achieving state-of-the-art performance with significantly fewer user interactions.
Introduction
Deep learning models for image segmentation require vast amounts of pixel-perfect ground truth data, which is expensive to produce. Interactive segmentation offers a solution by allowing users to guide models with simple inputs like foreground (positive) and background (negative) clicks. A critical flaw in existing approaches is the discrepancy between how models are trained and how they are used. While training often relies on clicks placed at object centers, human users naturally click on the model's errors to refine the output. ITIS addresses this mismatch by integrating an iterative feedback loop directly into the training phase.
Methodology
The ITIS framework is built upon the DeepLabV3+ architecture, modified to process multi-channel inputs.
Input Representation
The network accepts a 6-channel input: the standard RGB image, a channel for positive clicks, a channel for negative clicks, and an optional channel for a previous segmentation mask. Unlike previous methods that use distance transforms, ITIS represents clicks as small 2D Gaussian heatmaps. This approach more effectively localizes user intent and provides a stronger signal for adding or removing segments.
Iterative Training Strategy
The core innovation is the iterative training loop. During training, the model starts with a few random clicks and generates an initial prediction. It then identifies where it failed by comparing its prediction to the ground truth, clusters these error pixels, and automatically places a "correction click" in the center of the largest error cluster. The model is then updated based on this new, "human-like" feedback. To ensure robustness, a "reset probability" is introduced, occasionally clearing clicks to force the model to handle cases with minimal initial information.
Experimental Results
The model was evaluated across several benchmarks, including PASCAL VOC 2012, GrabCut, KITTI, and DAVIS.
Performance Benchmarks
On the PASCAL VOC dataset, ITIS achieved a Mean Intersection over Union (mIoU) of 85% with an average of only 3.8 clicks. This outperforms previous state-of-the-art methods like iFCN (6.8 clicks) and DEXTR (4.0 clicks). Notably, ITIS does not require an initial bounding box, streamlining the user interaction.
Generalization and Refinement
In the KITTI driving scene dataset, ITIS outperformed Polygon-RNN despite the latter's use of ground-truth bounding boxes. Furthermore, the model demonstrated significant utility in video object segmentation. When used to refine "broken" masks from automatic trackers (e.g., OSVOS) on the DAVIS dataset, a single click from ITIS improved mask quality from 50.4% to 67.0% mIoU.
Conclusion
Iteratively Trained Interactive Segmentation (ITIS) effectively bridges the gap between training and real-world usage. By simulating the human-in-the-loop correction process, the model learns to interpret clicks as specific instructions to fix errors. The resulting framework is robust, efficient, and significantly reduces the human effort required for high-quality image segmentation.
Summary updated