Pixel Aligned Language Models
Jiarui Xu, Xingyi Zhou, Shen Yan, Xiuye Gu, Anurag Arnab, Chen Sun, Xiaolong Wang, Cordelia Schmid
TL;DR
PixelLLM introduces a vision-language model that assigns a precise pixel location to each output token, enabling both captioning and dense word grounding. Trained on the Localized Narratives dataset, it uses a prompt-conditioned architecture with a lightweight per-token 2D regression head and LoRA-tuned LLMs, achieving state-of-the-art results in referring localization, dense object captioning, and location-conditioned captioning. The approach demonstrates strong gains from end-to-end dense word-pixel alignment and show-and-tell style localization integrated with text generation. This work paves the way for spatially aware language models capable of fine-grained region understanding and generation tasks.
Abstract
Large language models have achieved great success in recent years, so as their variants in vision. Existing vision-language models can describe images in natural languages, answer visual-related questions, or perform complex reasoning about the image. However, it is yet unclear how localization tasks, such as word grounding or referring localization, can be performed using large language models. In this work, we aim to develop a vision-language model that can take locations, for example, a set of points or boxes, as either inputs or outputs. When taking locations as inputs, the model performs location-conditioned captioning, which generates captions for the indicated object or region. When generating locations as outputs, our model regresses pixel coordinates for each output word generated by the language model, and thus performs dense word grounding. Our model is pre-trained on the Localized Narrative dataset, which contains pixel-word-aligned captioning from human attention. We show our model can be applied to various location-aware vision-language tasks, including referring localization, location-conditioned captioning, and dense object captioning, archiving state-of-the-art performance on RefCOCO and Visual Genome. Project page: https://jerryxu.net/PixelLLM .
