Abstract
Interactive segmentation of intricate, thin objects often requires high user precision, leading to a "precision-effort" dilemma. We present NTClick, a framework that introduces noise-tolerant clicks to alleviate this burden. By employing a two-stage architecture with efficient attention mechanisms, NTClick achieves state-of-the-art performance on high-resolution benchmarks while remaining robust to imprecise user inputs.
The Precision-Effort Dilemma in Segmentation
Interactive segmentation—where a user provides clicks or scribbles to guide a model in masking an object—faces a significant challenge when dealing with complex targets like bicycle spokes, tree branches, or thin wires. Standard click-based methods require users to be incredibly precise, which is time-consuming and frustrating on both mice and touchscreens.
Furthermore, many modern models, such as the Segment Anything Model (SAM), are constrained by the quadratic complexity of standard Transformer attention. To stay within memory limits, these models often downsample high-resolution images to a fixed size (e.g., 1024x1024). This downsampling destroys fine-grained details, leading to a "resolution ceiling" that prevents perfect masks regardless of the number of clicks provided.
The NTClick Framework
NTClick utilizes a two-stage architecture and a new interaction primitive to break the resolution ceiling and simplify user interaction:
- Noise-tolerant Clicks: Unlike traditional foreground/background clicks that must land exactly on the target, these clicks inform the model that "fine structures exist in this vicinity." This treats user imprecision as a feature rather than a bug, making the interaction robust to human motor-control limitations.
- Explicit Coarse Perception (ECP) Network: The first stage processes the image at a lower resolution (448x448) to generate a three-class FBU map (Foreground, Background, and Uncertain). It identifies solid regions and flags complex areas, such as edges and thin structures, as "uncertain."
- High Resolution Refinement (HRR) Network: The second stage takes the original high-resolution RGB image and the upsampled FBU map. To handle resolutions up to 4096x4096 on consumer hardware, the authors replace standard global attention with Neighborhood Attention (local dependencies) and Grid Attention (long-range dependencies), keeping computational costs linear.
Experimental Evaluation
NTClick was trained on the HQSeg-44k dataset and evaluated on challenging benchmarks including DIS5K, ThinObject5K, and HRSOD.
Key Results
- Efficiency: On the DIS5K-VD dataset, NTClick achieves a 90% mIoU with significantly fewer clicks (7.23 NoC@90) compared to SegNext (10.35) and SAM-HQ (11.04).
- Accuracy on Intricate Targets: On the most difficult test set (DIS5K-TE4), it improved the NoC@90 by 5.46 and the 5-click mIoU by 8.04% over previous leaders.
- Robustness: Quantitative tests demonstrated that even when "noise-tolerant" clicks were randomly sampled within an error region (e.g., landing in gaps between thin structures), the model's performance remained stable.
Conclusion
NTClick successfully decouples the task of identifying the general object from the task of resolving pixel-perfect boundaries. By allowing for imprecise user input and utilizing memory-efficient attention for high-resolution refinement, it provides a practical solution for segmenting the most challenging, thin-structured objects in high-definition imagery.
Summary updated