arrow
Return

Text-guided patch-level exemplar selection for zero-shot counting

delete2026-01-29
delete0
PRE
AI
S
Shihui Zhang
J
Junhui Liu *
S
Shengwei Jia
DOI:10.1016/j.engappai.2026.113986delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Text-guided zero-shot object counting aims to estimate object counts in images via text prompts. Existing methods face two key challenges. Firstly, current exemplar modeling methods overlook cross-modal fusion, whether using text as exemplars or selecting visuals based on text. Secondly, image–exemplar feature interaction suffers from semantic shift, causing models to focus on incorrect regions. To address the above issues, we propose a text-guided patch-level exemplar selection counting method (TPECount), which is based on Contrastive Language–Image Pretraining (CLIP). It mitigates the absence of visual appearance details while preserving textual semantic information in selected exemplar features and generates high-quality correlation features for density map regression. Specifically, TPECount comprises two well-designed modules: Visual Exemplar Optimization Module (VEOM) and Similarity-Guided Interaction Module (SGIM). VEOM leverages cross-modal feature fusion between images and text to model and select patch-level exemplar features, enabling TPECount to simultaneously leverage relevant exemplar visual appearance features and text features. SGIM is a novel interaction module that consists of our well-designed multi-layer transformer decoder blocks for image–exemplar feature interaction. By leveraging learnable image–exemplar similarity as global supervision, SGIM mitigates the impact of semantic shift and compute correlation features. Extensive experiments on three counting datasets demonstrate that our method achieves superior performance and generalizability. The code is available at https://github.com/aHui3/TPECount .

Journal

Engineering Applications of Artificial Intelligence cover
Engineering Applications of Artificial Intelligence
IF:
8
Papers:
5.8K
Citations:
3.5W

Organization

Y
yanshan university
Scholars:
4.6K
Papers: 1.4K
Citations: 0
Cited Papers

Cited Papers

Robust Movement-Specific Vehicle Counting at Crowded Intersections
err2020-06-01
err0
PREAI
errZhongji Liu; Wei Zhang; Xu Gao; Hao Meng; Xiao Tan; Xiaoxing Zhu; Zhan Xue; Xiaoqing Ye; Hongwu Zhang; Shilei Wen; Errui Ding
errShare
errSave
Class-agnostic Few-shot Object Counting
err2021-01-01
err0
PREAI
errShuo-Diao Yang; Hung-Ting Su; Winston H. Hsu; Wen-Chin Chen
errShare
errSave
Exemplar Free Class Agnostic Counting
err2023-03-02
err0
errOAAI
errViresh Ranjan; Minh Hoai Nguyen
errShare
errSave
A Two-Path Network for Cell Counting
err2021-01-01
err10
errOAAI
errJiang, Ni; Yu, Feihong
errShare
errSave
errShare
errSave
Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Counting
err
IF0
err2024-03-24
err0
PREAI
errZhicheng Wang; Liwen Xiao; Zhiguo Cao; Hao Lu
errShare
errSave
Towards generalizable object counting via dual-prompted cross-modality fusion network
err2025-10-13
err0
PREAI
errWenzhe Zhai; Jianyong Wang; Mingliang Gao; Michele Nappi; Lucia Cascone; Xianxun Zhu; Imad Rida
errShare
errSave
Class-Agnostic Counting
err2019-05-29
err0
PREAI
errErika Lu; Weidi Xie; Andrew Zisserman
errShare
errSave
researcher View more