Scaling Test-time Inference for Visual Grounding
Guanqi Zhan, Changye Li, Zhijian Liu, Yao Lu, Yi Wu, Song Han, Ligeng Zhu
TL;DR
EGM tackles the latency-accuracy gap in visual grounding for small VLMs by scaling test-time token generation. It introduces a two-stage SFT-RL training pipeline that endows small models with multi-modal reasoning, leveraging GPT-generated reasoning traces for vanilla and amodal grounding and learnability-based RL data curation with a token-level GRPO objective. The reward combines $IoU$ and grounding success, guiding the model to reason through complex prompts and occlusions. Across InternVL and QwenVL families, EGM yields consistent improvements in vanilla and amodal grounding and achieves a substantial latency reduction, e.g., an 8B model attaining $IoU=91.4$ on RefCOCO while being several times faster than much larger baselines, highlighting practical deployment benefits.
Abstract
Visual grounding is an essential capability of Visual Language Models (VLMs) to understand the real physical world. Previous state-of-the-art grounding visual language models usually have large model sizes, making them heavy for deployment and slow for inference. However, we notice that the sizes of visual encoders are nearly the same for small and large VLMs and the major difference is the sizes of the language models. Small VLMs fall behind larger VLMs in grounding because of the difference in language understanding capability rather than visual information handling. To mitigate the gap, we introduce 'Efficient visual Grounding language Models' (EGM): a method to scale the test-time computation (#generated tokens). Scaling the test-time computation of a small model is deployment-friendly, and yields better end-to-end latency as the cost of each token is much cheaper compared to directly running a large model. On the RefCOCO benchmark, our EGM-Qwen3-VL-8B demonstrates 91.4 IoU with an average of 737ms (5.9x faster) latency while Qwen3-VL-235B demands 4,320ms to achieve 90.5 IoU. To validate our approach's generality, we further set up a new amodal grounding setting that requires the model to predict both the visible and occluded parts of the objects. Experiments show our method can consistently and significantly improve the vanilla grounding and amodal grounding capabilities of small models to be on par with or outperform the larger models, thereby improving the efficiency for visual grounding.
