INQUIRING LINE

Could a drawn box or painted mask tell an AI exactly what part of an image to change?

How do pixel masks and coordinate ranges encode user intent for generative systems?

This explores how spatial signals, such as a painted mask over part of an image or a box drawn around a region, tell a generative system what a user wants. The corpus has nothing directly on inpainting masks or region-guided image generation, so this answer works from the nearest material: how systems read intent from where things are on a screen or page.


This explores how spatial signals, like a painted mask or a box drawn around a region, tell a generative system what a user wants. The collection doesn't cover inpainting or region-guided image editing, the most literal reading of the question. What it does have is a cluster of work on how location and layout carry meaning for AI systems, plus a twist: in some of this work, masking teaches the model what users want rather than being how the user tells it.

Start with coordinates as meaning. DocLLM shows that a bounding box (four numbers marking where text sits on a page) can do much of the work people assume needs a full image encoder Can bounding boxes replace image encoders for document understanding?. The model attends to 'what the text says' and 'where it sits' as separate channels and learns how they relate. That's the core idea behind a user-drawn region too: a coordinate range is a compact, explicit statement of 'this part, not that part.' It's cheaper and less ambiguous than asking a model to work out from pixels which part matters. OmniParser points the same way from the GUI side. Vision models do poorly when they must both interpret a raw screenshot and decide what to do, and they do much better when the screen is first parsed into labeled regions Why do vision-only GUI agents struggle with screen interpretation?. Spatial structure takes over the 'where is it' half of the job, so the model can focus on intent.

Now the twist. In UI-JEPA, masking isn't something the user does. It's a training trick. Chunks of screen-recording video are hidden, and the model learns to predict them. Doing that well forces it to model what the person on screen is trying to accomplish, without needing text labels Can unlabeled UI video teach models what users intend?. Poppins goes further and drops explicit signals altogether: it watches the screen and infers short-lived goals, and people preferred its outputs over a standard LLM's 66–86% of the time Can systems infer what users want from watching their screen?. So intent can be pointed to (a mask or a box), learned from what's hidden (predictive masking), or inferred from behavior (passive observation).

Why does pointing matter? Because typed descriptions lose information. Generative UI tools skip about a quarter of the design reasoning stated in prompts, and about a third of functional requirements Do generative UI tools actually implement their stated design rationales?. Moran argues that most people can't describe the interface they want anyway Can generative UI serve users who cannot specify interfaces?. A mask or a box is one way past that limit: you don't have to say what you want if you can show where. Rasa's shift from sorting user requests into intent categories to generating structured commands reflects the same instinct. Intent travels better as something precise and actionable than as a fuzzy label Can command generation replace intent classification in dialogue systems?.

The thing you might not have expected to want to know: a mask means opposite things depending on who holds it. Held by the user, it narrows the scope ('change only here'). Held by the trainer, it's a learning signal ('guess what's missing, and you'll learn what people are doing'). If you want the image-editing side specifically (inpainting, region prompts, layout-to-image), that's a gap in the collection.


Sources 7 notes

Can bounding boxes replace image encoders for document understanding?

DocLLM shows that bounding-box spatial information combined with decomposed transformer attention can capture text-spatial alignment in documents without pixel-based visual encoding. Pretraining on text-infilling objectives suited to irregular layouts achieves this at substantially lower computational cost than multimodal LLMs using image encoders.

Why do vision-only GUI agents struggle with screen interpretation?

OmniParser demonstrates that GPT-4V fails when forced to simultaneously identify icon meanings and predict actions from raw screenshots. Pre-parsing screenshots into structured semantic elements with descriptions lets the model focus solely on action prediction, removing the composite-task bottleneck.

Can unlabeled UI video teach models what users intend?

UI-JEPA applies JEPA-style predictive masking to screen recordings, learning task-aware temporal representations that an LLM decoder can use to infer intent with minimal paired data. This trades the bottleneck of labeled video for abundant unlabeled streams.

Can systems infer what users want from watching their screen?

Systems that passively observe user activity to infer just-in-time objectives produce outputs preferred 66–86% of the time over standard LLMs. This approach sidesteps fixed training objectives by inferring narrow, momentary goals from behavior instead.

Do generative UI tools actually implement their stated design rationales?

A benchmark of 24 tasks across five tools found roughly 25% of design rationales go unimplemented, rising to 34% for functional requirements. Tools recognized only half the UX principles embedded in prompts.

Show all 7 sources
Can generative UI serve users who cannot specify interfaces?

Moran argues genUI's advantage is that AI acts as designer, deciding what interface to build rather than requiring users to specify one—addressing the gap where most people lack the interface literacy that vibe coding presupposes.

Can command generation replace intent classification in dialogue systems?

Rasa's dialogue understanding architecture generates domain-specific commands instead of classifying intents, eliminating annotation requirements, handling context naturally, and scaling without degradation—treating understanding as pragmatics rather than semantics.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.