Referring Expression Counting

Siyang Dai, Jun Liu, Ngai-Man Cheung
2/9/2026

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Existing counting tasks are limited to the class level, which don't account for fine-grained details within the class. In real applications, it often requires in-context or referring human input for counting target objects. Take urban analysis as an example, fine-grained information such as traffic flow in different directions, pedestrians and vehicles waiting or moving at different sides of the junction, is more beneficial. Current settings of both class-specific and class-agnostic counting treat objects of the same class indifferently, which pose limitations in real use cases. To this end, we propose a new task named Referring Expression Counting (REC) which aims to count objects with different attributes within the same class. To evaluate the REC task, we create a novel dataset named REC-8K which contains 8011 images and 17122 referring expressions. Experiments on REC-8K show that our proposed method achieves state-of-the-art performance compared with several text-based counting methods and an open-set object detection model. We also outperform prior models on the class agnostic counting (CAC) benchmark [36]for the zero-shot setting, and perform on par with the few-shot methods. Code and dataset is available at https://github.com/sydai/referring-expression-counting.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — 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{dai2026referring,
  title  = {Referring Expression Counting},
  author = {Siyang Dai and Jun Liu and Ngai-Man Cheung},
  year   = {2026},
  doi    = {10.1109/CVPR52733.2024.01607},
  url    = {https://doi.org/10.1109/CVPR52733.2024.01607},
  journal = {CVPR 2024 2024}
}

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

Discussion