Prompt Pre-Training with Twenty-Thousand Classes for Open-Vocabulary Visual Recognition

Shuhuai Ren, Aston Zhang, Yi Zhu, Shuai Zhang, Shuai Zheng +3 more
2/12/2026

No official code found. Best implementation: amazon-science/prompt-pretraining (259 stars, Apache-2.0, last commit 2024-05-03).

Abstract

This work proposes POMP, a prompt pre-training method for vision-language models. Being memory and computation efficient, POMP enables the learned prompt to condense semantic information for a rich set of visual concepts with over twenty-thousand classes. Once pre-trained, the prompt with a strong transferable ability can be directly plugged into a variety of visual recognition tasks including image classification, semantic segmentation, and object detection, to boost recognition performances in a zero-shot manner. Empirical evaluation shows that POMP achieves state-of-the-art performances on 21 datasets, e.g., 67.0% average accuracy on 10 classification datasets (+3.1% compared to CoOp) and 84.4 hIoU on open-vocabulary Pascal VOC segmentation (+6.9 compared to ZSSeg). Our code is available at https://github.com/amazon-science/prompt-pretraining.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation for the paper "Prompt Pre-Training with Over Twenty-Thousand Classes for Open-Vocabulary Visual Recognition"

25910Shell, PythonMar 22, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{ren2026prompt,
  title  = {Prompt Pre-Training with Twenty-Thousand Classes for Open-Vocabulary Visual Recognition},
  author = {Shuhuai Ren and Aston Zhang and Yi Zhu and Shuai Zhang and Shuai Zheng and Mu Li and Alexander J. Smola and Xu Sun},
  year   = {2026},
  eprint = {2304.04704},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2304.04704},
  journal = {NEURIPS 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/2304.04704.svg)](https://codeofpaper.com/paper/2304.04704)

Discussion