In traditional computer vision, the boundary between "automatic" and "interactive" was once a rigid wall. You either had a model that did everything itself (often poorly on new data) or a tool that required tedious, pixel-by-pixel manual labor. The rise of visual foundation models like the Segment Anything Model (SAM) has demolished this wall, replacing it with a new paradigm: Unified Multi-modal Prompting.
Instead of forcing users to adapt to a model's specific input requirements—such as drawing only bounding boxes or clicking only points—researchers are building systems that translate diverse human intents (scribbles, text, lassos, and even 3D skeletons) into a single language the model understands.
The Unified Embedding Space
The core intuition behind this research is that every form of human guidance—whether a mouse click, a text description, or a rough scribble—is simply a way of providing spatial and semantic constraints.
To make this work, models like SAM-Med2D by Junlong Cheng et al. utilize a unified prompt encoding mechanism. Rather than treating a point and a bounding box as different data structures, the system maps them into a shared embedding space. This allows the model to process varying levels of user guidance simultaneously. For instance, a user might provide a bounding box to define a general area and then use points to exclude specific sub-regions.
This unification is pushed further in VPUFormer, where Kailun Yang and colleagues treat prompts as probabilistic distributions. By representing clicks, boxes, and scribbles as a unified 1D representation, they allow the model to attend to human intent with the same mathematical machinery it uses to look at pixels.
Beyond Geometry: Text and Sketches
If a picture is worth a thousand words, a text prompt is often worth a thousand clicks. A major thrust of this research direction is integrating natural language with spatial cues.
Matte Anything (MatAny), developed by Jingfeng Yao and Xinggang Wang, demonstrates how multi-modal prompting can automate complex tasks like image matting. By allowing users to point at a transparent object or simply type "the glass," the model bridges the gap between high-level semantic intent and low-level pixel transparency.
Similarly, SceneTrilogy by Pinaki Nath Chowdhury and Tao Xiang explores the complementarity of sketches, photos, and text. Their framework disentangles the "style" of a sketch from its "meaning," allowing a user to mix modalities—sketching a rough layout and adding text to specify colors or textures—to retrieve or generate precise visual content.
Closing the Loop with Online Adaptation
The most powerful aspect of interactive prompting is not just the initial mask, but the ability to refine and learn. In specialized fields like medicine, a general-purpose model will inevitably encounter "distribution shifts"—new scanners or rare pathologies it hasn't seen before.
The OAIMS framework by Wentian Xu and Guang Yang treats the user's corrective clicks as a real-time training signal. Instead of just fixing the current image, the model uses those interactions to update its internal weights on the fly. This turns the human expert into a teacher, allowing the model to adapt to new environments without a massive, pre-labeled dataset.
This concept of "learning while doing" is echoed in RAIS by Yuying Hao et al., which uses continual learning to ensure that as the model adapts to new user prompts, it doesn't suffer from "catastrophic forgetting" of its original training.
Why It Works: The Intuition of Guidance
The success of this research direction stems from a shift in how we view the model's role. We are moving away from the model as a "black box" that produces an answer, and toward the model as a flexible canvas that responds to human constraints.
By unifying these constraints—whether they are geometric (points/boxes), semantic (text), or illustrative (sketches)—researchers are creating a more ergonomic interface for AI. The model no longer asks the user to speak its language; instead, it learns to interpret the diverse, sparse, and often messy ways that humans naturally communicate visual intent.