ClawMachine: Learning to Fetch Visual Tokens for Referential Comprehension
Tianren Ma, Lingxi Xie, Yunjie Tian, Boyu Yang, Qixiang Ye
TL;DR
ClawMachine presents a unified, end-to-end multimodal model that notates visual entities as token collectives within a joint vision-language vocabulary, enabling native referential comprehension (referring and grounding) without extra syntax. It combines a hybrid perception of continuous and discrete visual signals, a V-L mounting operation to fuse tokens into language prompts, and a region sampler to convert token collectives into grounding boxes. Through dual data pretraining (scene-level, region-level, and interleaved GRIT-20M data) and two-stage training (alignment pre-training and instruction-tuning), ClawMachine achieves state-of-the-art or competitive results on visual referring and grounding benchmarks with higher efficiency and fewer hallucinations. The approach demonstrates that pure autoregressive models can surpass architectures with large modular components, offering scalable, integrated capabilities for complex visual reasoning and multi-object grounding in real-world tasks.
Abstract
Aligning vision and language concepts at a finer level remains an essential topic of multimodal large language models (MLLMs), particularly for tasks such as referring and grounding. Existing methods, such as proxy encoding and geometry encoding, incorporate additional syntax to encode spatial information, imposing extra burdens when communicating between language and vision modules. In this study, we propose ClawMachine, offering a new methodology that explicitly notates each entity using token collectives groups of visual tokens that collaboratively represent higher level semantics. A hybrid perception mechanism is also explored to perceive and understand scenes from both discrete and continuous spaces. Our method unifies the prompt and answer of visual referential tasks without using additional syntax. By leveraging a joint vision-language vocabulary, ClawMachine further integrates referring and grounding in an auto-regressive manner, demonstrating great potential with scaled-up pre-training data. Experiments show that ClawMachine achieves superior performance on scene-level and referential understanding tasks with higher efficiency. It also exhibits the potential to integrate multi-source information for complex visual reasoning, which is beyond the capability of many MLLMs. Our code is available at github.com/martian422/ClawMachine.
