Expanding Zero-Shot Object Counting with Rich Prompts

Huilin Zhu, Senyao Li, Jingling Yuan, Zhengwei Yang, Yu Guo +3 more
5/21/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Expanding pre-trained zero-shot counting models to handle unseen categories requires more than simply adding new prompts, as this approach does not achieve the necessary alignment between text and visual features for accurate counting. We introduce RichCount, the first framework to address these limitations, employing a two-stage training strategy that enhances text encoding and strengthens the model's association with objects in images.

Show full abstract

RichCount improves zero-shot counting for unseen categories through two key objectives: (1) enriching text features with a feed-forward network and adapter trained on text-image similarity, thereby creating robust, aligned representations; and (2) applying this refined encoder to counting tasks, enabling effective generalization across diverse prompts and complex images. In this manner, RichCount goes beyond simple prompt expansion to establish meaningful feature alignment that supports accurate counting across novel categories. Extensive experiments on three benchmark datasets demonstrate the effectiveness of RichCount, achieving state-of-the-art performance in zero-shot counting and significantly enhancing generalization to unseen categories in open-world scenarios.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2025expanding,
  title  = {Expanding Zero-Shot Object Counting with Rich Prompts},
  author = {Huilin Zhu and Senyao Li and Jingling Yuan and Zhengwei Yang and Yu Guo and Wenxuan Liu and Xian Zhong and Shengfeng He},
  year   = {2025},
  eprint = {2505.15398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15398v2}
}

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/2505.15398.svg)](https://codeofpaper.com/paper/2505.15398)

Discussion