TL;DR
Multimodal Large Language Models (MLLMs) are great at figuring out what you need from vague hints ("I need something to drive a nail"), while specialized object detectors are great at drawing crisp boxes around where things are. Instead of connecting them with a narrow text label, Reasoning-based Spatial Prior (RSP) harvests the MLLM’s internal visual attention maps, sharpens them into a spatial "spotlight," and injects that signal directly into an object detector. The result is a system that literally looks where the language model is thinking, setting new state-of-the-art benchmarks in intention-driven object detection.
What Problem Does This Paper Address?
Traditional object detectors expect explicit shopping lists: tell GroundingDINO to find a "hammer," and you’ll get a tight bounding box. Ask it for "something to secure a loose piece of wood," however, and it stumbles—it lacks the world knowledge to infer human intention.
MLLMs have the opposite problem. They easily deduce that you need a hammer, and even pick out roughly which object makes sense in context, yet they struggle to output pixel-accurate bounding boxes.
Previous hybrid approaches tried chaining the two together by having the MLLM pass a predicted word (like "hammer") or a single compressed <DET> token to the detector. Think of this like playing a game of telephone: even if the MLLM was internally staring right at the specific hammer on a cluttered workbench while generating its answer, passing just a word throws all that spatial context away, leaving the detector to guess among distractors.
Methods
RSP bridges these two worlds—specifically pairing InternVL3.5-8B (adapted via LoRA) with GroundingDINO—by turning the MLLM's internal cross-modal attention into a learnable 2D heatmap ($A_{\text{prior}}$) and feeding it straight into the detector's sampling mechanism.
Here is what moves beyond standard practice:
- Extracting Reasoning-Conditioned Attention: As the MLLM generates its text answer, RSP extracts the decoder attention maps over the $16 \times 16$ grid of visual tokens, anchored specifically on the final generated token—the moment the model has integrated the image, the vague user prompt, and its own reasoning.
- Dynamic Head Gating: Not all attention heads care about location, and the best ones change depending on the image. Rather than using fixed heuristics to pick "localization heads," RSP runs all attention maps through a lightweight convolutional gating network that assigns input-adaptive weights to fuse them into one clean spatial prior.
- SoftIoU Supervision: Raw MLLM attention is blurry. To sharpen it without breaking gradient flow via harsh binarization, the authors introduce a differentiable SoftIoU loss ($\mathcal{L}_{\text{loc}}$) that treats the continuous attention map like a probability density and pushes its mass inside the ground-truth bounding box.
- Prior-Guided Deformable Fusion: Standard GroundingDINO uses deformable attention—each object query picks a reference point and samples a handful of nearby spots to gather visual evidence. RSP doesn't alter where the detector samples; instead, it looks up the MLLM’s spatial prior at those exact sample coordinates and blends the two probability distributions using learned per-head weights.
Datasets
The authors collect no new datasets, instead training a single unified model jointly across the official training splits of five benchmarks and evaluating on each:
- EgoIntention & RIO: Intention-driven grounding benchmarks (first-person egocentric and third-person views, respectively) where prompts express implicit human needs rather than object names, split into frequent (common/content) and rare (uncommon) categories.
- RefCOCO, RefCOCO+, & RefCOCOg: Classic referring-expression benchmarks featuring explicit descriptive phrases (e.g., "book next to the purple book"), used to verify that RSP also helps standard grounding.
Key Insights and Ideas
- Don't throw away the MLLM's "eye movements": Passing a global semantic token (
Lenna) over a fine-tuned baseline yields modest gains (+1.1 to +1.5 [email protected]), whereas passing the dense spatial attention map (RSP) yields roughly four times that improvement (+4.0 to +7.4). Spatial topology matters far more than an extra semantic embedding. - Keep the prior honest via convex combinations: Instead of letting a deep neural network freely hallucinate a new heatmap from the MLLM's features, RSP restricts $A_{\text{prior}}$ to a weighted sum (convex combination) of actual attention heads. If the MLLM never attended to a region, the prior cannot put weight there—ensuring it stays a faithful window into the LLM's reasoning, while learned mixing weights ($\alpha_m$) let the detector fall back on its own visual instincts if the prior is uncertain.
- Box labels do double duty for free: Supervising the MLLM’s internal attention with $\mathcal{L}_{\text{loc}}$ requires zero extra human annotation—it simply recycles the bounding boxes already used to train the detector.
Key Results
Across all intention benchmarks, RSP achieves state-of-the-art [email protected] (IoU > 0.5), shining brightest on rare, "uncommon" objects where detector priors alone struggle:
- EgoIntention: RSP hits 65.3% (content) and 61.9% (uncommon), beating the fine-tuned reasoner-detector cascade (
R-D FTat 61.3% / 56.5%) and the token-passing hybridLenna(62.4% / 57.9%). - RIO: RSP reaches 72.3% (common) and 53.2% (uncommon)—jumping a massive 6.0 percentage points ahead of
Lenna(47.2%) on uncommon objects. - RefCOCO/+/g: Even when objects are explicitly named, RSP edges out GroundingDINO and
Lennaon 7 of 8 evaluation splits (e.g., 91.3% vs.Lenna's 89.7% on RefCOCO val). - Qualitatively, when a scene contains multiple similar items (several books, tools, or cyclists), the spatial prior cleanly spotlights the contextually right instance, preventing the detector from drifting toward nearby distractors.
Limitations and Future Work
- Compute overhead: Carrying an 8-billion-parameter MLLM in the loop dominates latency, meaning the current setup isn't ready for real-time edge robotics without exploring lighter backbones.
- Single architecture pair: End-to-end training was only demonstrated on InternVL3.5-8B + GroundingDINO, leaving broader plug-and-play generality across other detector families for future validation.
- Multi-object blind spot in benchmarks: Architecturally, RSP's heatmap can light up multiple valid objects at once (e.g., several cups for "something to drink from"), and the authors observed this qualitatively—but current intention benchmarks only evaluate a single target per query, leaving multi-target intention grounding unquantified.
Summary updated