TL;DR
GroundAnything is a 4B-parameter foundation model that achieves state-of-the-art visual grounding by treating spatial prediction as parallel "visual evidence extraction" rather than a sequential task. By leveraging bidirectional masked diffusion and blockwise decoding, it delivers up to a 4.51× speedup over traditional autoregressive models while maintaining competitive precision across 30 diverse benchmarks.
What Problem Does This Paper Address?
Visual grounding—the ability to map text queries to specific regions in an image—is a cornerstone of modern AI, powering everything from object detection to OCR and GUI automation. Currently, the dominant paradigm is Autoregressive (AR) decoding, where a model predicts spatial coordinates one token at a time (e.g., $[x_1, y_1, x_2, y_2]$).
The authors argue that this sequential approach is fundamentally flawed for two reasons:
- Latency: In dense scenes with hundreds of objects, predicting thousands of tokens one-by-one is painfully slow.
- Order Bias: Unlike language, spatial coordinates have no inherent "left-to-right" causal dependency. The location of a "flower" is constrained by the image and the query, not necessarily by the coordinate of the "vase" predicted just before it.
Methods
The core innovation of GroundAnything is viewing grounding as Visual Evidence Extraction. Instead of a sequence, spatial hypotheses are allowed to emerge in parallel and be jointly refined through iterative denoising.
The Architecture
The model utilizes a MoonViT-V2 (Kimi K3) visual encoder and a Qwen3-4B language decoder. To bridge the gap between AR and parallel decoding, the authors introduce a blockwise masked diffusion approach.
Key Techniques
- Blockwise Parallel Decoding: The output is partitioned into blocks (e.g., 32 tokens). Within a block, tokens are recovered in parallel using bidirectional attention. Across blocks, the model maintains causal dependencies, allowing for efficient KV-cache reuse.
- AR-to-Diffusion Conversion: Rather than training from scratch, the authors convert a pretrained AR grounding model into a diffusion model. They add a
<MASK>token and train with a joint objective: one part supervises clean next-token prediction (AR), and the other supervises masked token recovery (Diffusion). - Reinforcement Learning (GRPO): The model undergoes post-training using Group Relative Policy Optimization. It uses specific rewards for "set completeness" (finding all objects) and "strict localization" (precision of the boxes).
- Self-Speculative Decoding: An optional mode where the diffusion branch "drafts" a block of tokens in parallel, which is then verified and corrected by the AR branch in a single pass.
Datasets
The authors evaluated GroundAnything across a massive suite of 30 benchmarks covering 11 perceptual capabilities:
- Object Detection: COCO, LVIS, and the dense-object benchmark Dense200.
- Referring Expression: RefCOCO, RefCOCO+, and RefCOCOg.
- OCR & Layout: HierText, ICDAR2015, TotalText, SROIE, DocLayNet, and M6Doc.
- GUI & Robotics: ScreenSpot-V2, OSWorld-G, and RoboSpatial.
To power this, they developed an Expert-Driven Data Engine that fuses multi-teacher annotations and applies task-specific validation to ensure high-quality spatial supervision.
Key Insights and Ideas
- Bidirectional Attention is a "Natural Fit": Because spatial variables are jointly constrained, allowing the model to look "ahead" and "behind" within a coordinate block significantly improves the reliability of parallel predictions.
- Entropy as a Reliability Signal: During inference, the model uses the entropy of the token distribution to decide which tokens to "commit" to first. Lower entropy means higher confidence, allowing the model to fill in the "easy" parts of a scene first to provide context for the harder parts.
- Compactness Matters: GroundAnything uses a highly efficient serialization format (7.6 tokens per box on COCO), which is nearly 20× more compact than some previous specialized grounding models like SEED1.5-VL.
Key Results
GroundAnything establishes a new frontier for 4B-scale models:
- State-of-the-Art Accuracy: The AR variant, GroundAnything-VLM, achieves an average score of 72.42% across 30 benchmarks, outperforming much larger models like Qwen3.7-Max and remaining competitive with GPT-6 Astra (71.35%).
- Flash Speed: The pure diffusion mode is over 2× faster than the AR version.
- Speculative Gains: The self-speculative decoding mode achieves a 4.51× speedup on COCO with a negligible drop (0.74 percentage points) in F1mIoU.
Limitations and Future Work
While GroundAnything excels at speed and general grounding, the authors note a few areas for improvement:
- Tiny Object Gap: The diffusion variant still struggles slightly more than the AR variant with extremely tiny objects in crowded scenes (e.g., VisDrone).
- Precision in OCR: There is a noticeable "diffusion-AR gap" in tasks like dense OCR and document layout, where even a small coordinate shift can lead to errors.
- Future Directions: The authors suggest exploring temporal association for video grounding and further optimizing the infrastructure (e.g., FP8 and CUDA Graphs) to bring these speedups to edge devices.
Summary updated