Abstract
Interactive image segmentation typically relies on passive models that wait for human input to correct errors. We present PseudoClick, a framework that enables models to proactively predict their own errors and generate "pseudo clicks" to refine segmentation masks automatically. By imitating human correction strategies, PseudoClick reduces the manual effort required for high-quality object extraction. Our results show state-of-the-art performance across diverse domains, including a 12.4% reduction in human clicks on Pascal VOC and significant gains in medical imaging tasks.
Introduction
Interactive image segmentation is a "human-in-the-loop" process used to extract objects from images. Users provide positive clicks to include missing areas (false negatives) and negative clicks to remove incorrectly included areas (false positives). While effective, this process is often tedious as users must manually inspect masks, identify the largest errors, and wait for model updates.
The primary bottleneck in current systems is their passivity. PseudoClick addresses this by asking: "Can the model directly predict where a human would click next?" By identifying its own likely errors and simulating correction clicks, the model can refine the mask "for free" before human intervention is required.
Methods
PseudoClick is a generic framework compatible with various segmentation backbones, such as HRNet or Vision Transformers. Its architecture consists of three core components:
- Segmentation Error Decoder: Running in parallel with the standard segmentation head, this module is trained to produce error maps for both False Positives (over-segmentation) and False Negatives (under-segmentation).
- Pseudo Click Generation: The system identifies the largest connected component in the predicted error maps and places a "pseudo click" at its center. This mimics the standard human strategy for mask correction.
- Dual-Stream Encoding: To maintain robustness, the framework encodes human clicks and pseudo clicks into separate spatial maps (using binary disks) before refinement. This prevents the model from being misled by potentially inaccurate automated clicks.
The model is trained using Normalized Focal Loss (NFL), which improves convergence speed and helps the network manage the imbalance between correctly labeled pixels and small error regions.
Key Insights
- Imitation as Refinement: By treating error correction as an imitation learning task, the model internalizes the feedback loop typically performed by humans.
- Efficiency Gains: Because pseudo clicks are model-generated, they do not count toward the "Number of Clicks" (NoC) metric, allowing for higher Intersection over Union (IoU) scores with fewer manual interactions.
- Zero-Shot Robustness: Models trained only on natural images (COCO/LVIS) demonstrated exceptional performance on specialized medical MRI and electron microscopy images, highlighting the framework's cross-domain capability.
Results
PseudoClick outperformed existing state-of-the-art methods like RITM across multiple benchmarks:
- Pascal VOC: Reduced the number of clicks required to reach 85% IoU by 12.4%.
- Medical Imaging (BraTS): Achieved a mean IoU of 64.0% with just 3 human clicks, compared to 51.7% for the RITM baseline.
- Inference Speed: The system remains highly efficient, processing a click and its automated refinement in approximately 0.185 seconds on a modern GPU.
Conclusion
PseudoClick significantly reduces the human labor involved in interactive segmentation by teaching models to predict and fix their own mistakes. While pseudo clicks are not always perfect and may occasionally require human correction, the framework represents a major step toward more proactive and efficient interactive AI tools. Future work may explore reinforcement learning to predict sequences of clicks for even more sophisticated automated refinement.
Summary updated