UGround: Towards Unified Visual Grounding with Unrolled Transformers

Rui Qian, Xin Yin, Chuanhang Deng, Zhiyuan Peng, Jian Xiong, Wei Zhai, Dejing Dou · DOI

Introduction

Visual grounding—the task of localizing specific image regions based on natural language queries—is a cornerstone of multimodal AI. Despite rapid progress, current Large Multimodal Models (LMMs) often struggle with complex reasoning, multi-target scenarios, and "false-premise" queries where the target object is absent. Most existing architectures suffer from a "last-layer bottleneck," where the model relies exclusively on a high-dimensional embedding from the final transformer layer to guide a vision decoder. This approach often leads to cumulative information distortion and a lack of explicit spatial guidance.

The UGround Framework

UGround addresses these limitations by "unrolling" the transformer stack, allowing the vision decoder to access intermediate layers. This shift moves away from the traditional "telephone game" architecture toward a more dynamic and spatially aware system.

Overview of UGround's unrolled architecture compared to standard autoregressive transformers.

Methods: Policy-Prompted Masking

The core of UGround is Policy-Prompted Masking (PPM), which introduces two key innovations:

  1. Stochastic Skip Connection (SSC): Instead of a fixed path from the last layer, UGround employs a Reinforcement Learning (RL) policy to select the optimal layer from the unrolled stack for each query. This allows the model to bypass later layers that may be more optimized for language generation than spatial localization.
  2. Mask as Prompt (MasP): Rather than passing an abstract vector, UGround generates a similarity map between the query's <SEG> token and the image tokens. This map acts as an explicit "soft logit mask," providing the vision decoder (e.g., SAM) with direct spatial hints.

Key Insights and Results

A critical finding of the UGround study is that the final layer is not always the best for grounding. Performance metrics like cumulative Intersection over Union (cIoU) and Dice Loss often peak at intermediate layers (typically between layers 19 and 28 in a 40-layer model). UGround's policy-prompted approach effectively navigates these layers to optimize performance.

Performance metrics across transformer layers, comparing UGround's policy-prompted approach to a fixed last-layer baseline.

UGround demonstrates significant improvements across various benchmarks:

  • Reasoning Power: On the ReasonSeg test set, UGround-13B achieved a 9.0% gain in cIoU over previous methods.
  • Safety and Generality: On the gRefCOCO validation set, it achieved a 12.1% gain in N-acc, demonstrating a significantly better ability to correctly identify when a query refers to an object not present in the image.
  • Efficiency: While training is slightly slower due to the explicit optimization of similarity maps, the inference speed remains comparable to existing SOTA models (approx. 4.12 FPS).

Conclusion

UGround represents a significant step toward unified visual grounding. By breaking the last-layer bottleneck and providing explicit spatial prompts through similarity maps, it achieves higher accuracy and robustness. While future work is needed to refine the geometric alignment of the generated masks, UGround establishes a new paradigm for bridging the gap between large language models and high-precision vision decoders.

Summary updated

BibTeX
@inproceedings{qian2026uground,
  author = {Rui Qian and Xin Yin and Chuanhang Deng and Zhiyuan Peng and Jian Xiong and Wei Zhai and Dejing Dou},
  title = {{UGround: Towards Unified Visual Grounding with Unrolled Transformers}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=AXtUl2KiQU},
}
Figure