Tag2Text: Guiding Vision-Language Model via Image Tagging

Xinyu Huang, Youcai Zhang, Jinyu Ma, Weiwei Tian, Rui Feng +4 more
2/12/2026

No official code found. Best implementation: xinyu1205/recognize-anything (3,714 stars, Apache-2.0, last commit 2025-02-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Open-source and strong foundation image recognition models.

3,714328Python, Jupyter NotebookMar 10, 20231 years agoApache-2.0
recognize-anythingtag2text-iclr2024

Similar Papers

Cite this paper

@article{huang2026tagtext,
  title  = {Tag2Text: Guiding Vision-Language Model via Image Tagging},
  author = {Xinyu Huang and Youcai Zhang and Jinyu Ma and Weiwei Tian and Rui Feng and Yuejie Zhang and Yaqian Li and Yandong Guo and Lei Zhang},
  year   = {2026},
  eprint = {2303.05657},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.05657},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.05657.svg)](https://codeofpaper.com/paper/2303.05657)

Discussion