[Paper Review] Crossing the Format Boundary of Text and Boxes: Towards Unified Vision-Language Modeling
UNICORN proposes a unified vision-language model that treats text generation and bounding box prediction as a single sequence-to-sequence task by quantizing boxes into discrete tokens and integrating them with text tokens. The model achieves state-of-the-art or competitive performance across seven vision-language benchmarks using a single architecture, enabling multi-task learning and generalization to new tasks like ImageNet object localization.
In this paper, we propose UNICORN, a vision-language (VL) model that unifies text generation and bounding box prediction into a single architecture. Specifically, we quantize each box into four discrete box tokens and serialize them as a sequence, which can be integrated with text tokens. We formulate all VL problems as a generation task, where the target sequence consists of the integrated text and box tokens. We then train a transformer encoder-decoder to predict the target in an auto-regressive manner. With such a unified framework and input-output format, UNICORN achieves comparable performance to task-specific state of the art on 7 VL benchmarks, covering the visual grounding, grounded captioning, visual question answering, and image captioning tasks. When trained with multi-task finetuning, UNICORN can approach different VL tasks with a single set of parameters, thus crossing downstream task boundary. We show that having a single model not only saves parameters, but also further boosts the model performance on certain tasks. Finally, UNICORN shows the capability of generalizing to new tasks such as ImageNet object localization.
Motivation & Objective
- To unify text generation and object detection into a single vision-language modeling framework.
- To eliminate the need for task-specific architectures by training one model for multiple vision-language tasks.
- To improve model efficiency and performance through parameter sharing across diverse vision-language tasks.
- To enable generalization to new tasks, such as ImageNet object localization, without architectural modification.
Proposed method
- Quantize each bounding box into four discrete tokens representing its coordinates, enabling integration with text tokens in a sequence.
- Serialize the discrete box tokens into a sequence and combine them with text tokens to form a unified input representation.
- Formulate all vision-language tasks as autoregressive sequence generation tasks over the combined text and box token sequence.
- Train a transformer encoder-decoder model end-to-end to predict the full target sequence, including both text and box tokens.
- Use multi-task fine-tuning to adapt the unified model to diverse downstream tasks with shared parameters.
- Enable zero-shot generalization to new tasks by leveraging the model's unified representation and generation capability.
Experimental results
Research questions
- RQ1Can vision-language tasks such as visual grounding, captioning, and VQA be unified under a single sequence-to-sequence generation framework?
- RQ2How does parameter sharing across multiple vision-language tasks affect model performance and efficiency?
- RQ3Can a single unified model generalize to new, unseen vision-language tasks like ImageNet object localization?
- RQ4Does the integration of discrete box tokens into a sequence improve joint modeling of vision and language?
- RQ5What is the performance trade-off between unified modeling and task-specific architectures across diverse benchmarks?
Key findings
- UNICORN achieves state-of-the-art or competitive performance on seven vision-language benchmarks, including visual grounding, grounded captioning, VQA, and image captioning.
- The unified model with multi-task fine-tuning matches or exceeds task-specific SOTA models on all evaluated benchmarks.
- Parameter sharing across tasks leads to improved performance on certain tasks, indicating inductive bias benefits from joint learning.
- The model generalizes effectively to new tasks, such as ImageNet object localization, without architectural changes.
- The discrete tokenization of bounding boxes enables seamless integration with autoregressive language modeling, forming a scalable unified representation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.