[Paper Review] Tag2Text: Guiding Vision-Language Model via Image Tagging
Tag2Text introduces image tagging learned from annotation-free image–text pairs to guide vision-language pre-training, achieving strong zero-shot tagging and improved generation and alignment tasks.
This paper presents Tag2Text, a vision language pre-training (VLP) framework, which introduces image tagging into vision-language models to guide the learning of visual-linguistic features. In contrast to prior works which utilize object tags either manually labeled or automatically detected with an off-the-shelf detector with limited performance, our approach explicitly learns an image tagger using tags parsed from image-paired text and thus provides a strong semantic guidance to vision-language models. In this way, Tag2Text can utilize large-scale annotation-free image tags in accordance with image-text pairs, and provides more diverse tag categories beyond objects. As a result, Tag2Text demonstrates the ability of a foundational image tagging model, with superior zero-shot performance even comparable to fully supervised models. Moreover, by leveraging the tagging guidance, Tag2Text effectively enhances the performance of vision-language models on both generation-based and alignment-based tasks. Across a wide range of downstream benchmarks, Tag2Text achieves state-of-the-art results with similar model sizes and data scales, demonstrating the efficacy of the proposed tagging guidance. Code, demo and pre-trained models are available at https://github.com/xinyu1205/recognize-anything.
Motivation & Objective
- Motivate improving vision-language pre-training by injecting rich, annotation-free image tags beyond objects.
- Enable scalable tagging guidance by deriving tags from paired text rather than manual labeling or off-the-shelf detectors.
- Demonstrate that tagging guidance improves both generation-based and alignment-based VL tasks under detector-free architectures.
- Show that a large, diverse tag set (3,429 categories) boosts zero-shot tagging and downstream VL benchmarks.
Proposed method
- Mine image tags from image–text pairs using a text semantic parser to produce 3,429 common tag categories.
- Introduce an image tagging head that learns to predict parsed tags without manual annotations.
- Propose image-tag-text generation as a pre-training task to generate captions conditioned on image features and assigned tags.
- Add an image-text alignment component with coarse ITC and fine-grained ITM losses, using hard negative mining guided by tags.
- Train with a multi-task objective: Tagging, Generation (image-tag-text generation), and Alignment (ITC/ITM).
- Allow tag-guided inference where user-provided tags steer caption generation and retrieval.
Experimental results
Research questions
- RQ1Can annotation-free image tags parsed from text provide strong semantic guidance for vision-language pre-training?
- RQ2Does detector-free VL pre-training with image tagging improve both generation-based and alignment-based tasks compared to detector-based or detector-free baselines?
- RQ3What is the effect of tagging guidance on zero-shot tagging, captioning quality, and cross-modal retrieval?
- RQ4How many and what kinds of tags (objects, scenes, attributes, actions) are beneficial for VL learning?
Key findings
- Tag2Text achieves superior zero-shot image tagging on OpenImages and COCO compared with SOTA vision-language models.
- Image tagging guidance improves generation-based tasks (captioning) and alignment-based tasks (image-text retrieval) under detector-free VL models.
- Pre-training with 4M and 14M image–text pairs yields strong tagging, captioning, and retrieval results across benchmarks, with Tag2Text-Swin performing particularly well.
- The tagging head and the large, diverse tag set enable a better bridge between image and text than detector-based approaches, while remaining efficient in end-to-end training.
- A two-stage pre-training and fine-tuning paradigm (pre-train on large text-derived tags, then finetune on downstream tasks) boosts multi-label recognition and downstream VL performance.
- Tagging guidance provides controllability in captioning, allowing user-specified tags to steer generated descriptions.
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.