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

Interactive Segmentation for Diverse Gesture Types Without Context

Josh Myers-Dean, Yifei Fan, Brian L. Price, Wilson Chan, Danna Gurari

Introduction

Interactive segmentation is a fundamental task in computer vision, enabling users to guide AI models in isolating specific objects within an image. Despite its utility in photo editing and medical imaging, current state-of-the-art systems often impose rigid constraints on user interaction. Most models require specific gesture types (e.g., only clicks or only bounding boxes) and necessitate explicit "context"—users must manually toggle between "positive" (add) and "negative" (remove) modes.

Researchers from the University of Colorado Boulder, Adobe Research, and UT Austin address these limitations in their paper, "Interactive Segmentation for Diverse Gesture Types Without Context." They propose a more intuitive interface where the model interprets any user mark—be it a scribble, click, or lasso—without prior knowledge of the gesture type or its intended polarity.

A New Paradigm: Gesture-Agnostic Segmentation

The authors define a "gesture-agnostic, context-free" task. In this framework, the model receives an image and a user-provided gesture mask. Crucially, the model is not told whether the gesture is a click, a scribble, or a box, nor is it told if the gesture is meant to include or exclude a region.

Figure 1: Overview of the gesture-agnostic, context-free interactive segmentation workflow.

This approach reduces the cognitive load on the user. A user study conducted by the team revealed that people naturally prefer different gestures based on object geometry: scribbles for elongated shapes, clicks for small clusters, and lassos for general boundaries. By allowing "any gesture," the system accommodates these natural human preferences.

The Diverse Interactive Gesture (DIG) Dataset

To train and evaluate models for this flexible task, the researchers introduced the Diverse Interactive Gesture (DIG) dataset. Built upon 103,902 images from the COCO and LVIS datasets, DIG is unprecedented in its scale and variety, containing 13.5 million samples.

Figure 2: Taxonomy and distribution of user gestures observed in the study, highlighting the prevalence of circling and scribbling.

Unlike existing datasets that focus on a single interaction type, DIG provides five distinct gesture categories for every object: loose lassos, tight lassos, scribbles, clicks, and rectangles. Furthermore, it includes "previous segmentations" generated via superpixels, allowing models to learn how to refine imperfect masks through corrective gestures.

Methodology: Adapting HRNet for Flexibility

The researchers adapted the HRNet architecture (specifically the FocalClick variant) to handle this multi-modal input. Standard interactive models typically use separate input channels for positive and negative interactions. The authors collapsed these into a single gesture channel. To help the model interpret the spatial influence of a mark, they incorporated a Euclidean distance map of the gesture.

A key innovation is the HRNet-dataAug training strategy. During training, the model is occasionally presented with a "wrong" previous segmentation. This forces the model to rely on the new gesture to correct specific errors, rather than simply defaulting to global image features. This "refinement-first" training ensures the model remains responsive to user corrections.

Evaluation: Moving Beyond IoU with RICE

Traditional metrics like Intersection-over-Union (IoU) often fail to capture the effectiveness of an interaction in a refinement context. A high IoU might simply reflect a good initial mask, rather than a helpful user correction. To solve this, the authors propose Relative IoU Corrective Evaluation (RICE). RICE measures the degree to which an interaction actually improves (or degrades) a previous mask, providing a clearer picture of a model's "corrective power."

Results and Discussion

Experimental results demonstrate that HRNet-dataAug is highly versatile. While foundation models like the Segment Anything Model (SAM) excel at initial object creation when provided with a bounding box, HRNet-dataAug consistently outperformed SAM and other single-gesture models in refining existing segmentations across all gesture types.

The proposed HRNet variants are also significantly more lightweight than large-scale foundation models. This efficiency, combined with the lack of required user context, makes the approach ideal for on-device applications where low latency and intuitive UI are paramount.

Conclusion

By moving toward gesture-agnostic models, this research simplifies the human-AI interface for image editing. The DIG dataset and the RICE metric provide a robust foundation for future work in interactive segmentation. The ultimate goal is an "invisible" AI interface—a tool that seamlessly interprets human intent, regardless of the input device or gesture style used.

Summary updated

BibTeX
@inproceedings{myersdean2024interactive,
  author = {Josh Myers-Dean and Yifei Fan and Brian L. Price and Wilson Chan and Danna Gurari},
  title = {{Interactive Segmentation for Diverse Gesture Types Without Context}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00703},
}
Figure