Lune

AAAI2025Top-tier venue

PBECount: Prompt-Before-Extract Paradigm for Class-Agnostic Counting

Canchen Yang, Tianyu Geng, Jian Peng, Chun Xu

Abstract

In the field of class-agnostic counting (CAC), counting only objects of interest that are similar to exemplars in multi-class scenarios has been a challenging task. To address this challenge, recent research has proposed the extract-and-match paradigm based on the vision transformer (ViT) architecture. However, although this paradigm can improve the accuracy of exemplar-similar object identification, it overly emphasizes the role of the ViT structure. To address this shortcoming, this work introduces a more generalized prompt-before-extract paradigm on top of the extract-and-match paradigm and designs a pure convolutional neural network (CNN) model named PBECount. In addition, an innovative loss function, a post-processing strategy, and a dynamic threshold method are proposed to enhance the detection performance of the proposed model when the probability maps are used as ground truth during model training. The experimental results on the FSC-147 and CARPK datasets demonstrate that the proposed PBECount can identify whether unknown class objects are similar to exemplars and outperform the state-of-the-art CAC methods in terms of accuracy and generalization.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DAVE - A Detect-and-Verify Paradigm for Low-Shot Counting cites Learning To Count Everything
  • DAVE - A Detect-and-Verify Paradigm for Low-Shot Counting cites Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Counting
  • Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Counting cites Learning To Count Everything
  • Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Counting cites Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Counting
  • Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Counting cites Learning To Count Everything
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. Segment Anything in High QualityLei Ke, Mingqiao Ye, Martin Danelljan, Yifan Liu et al.NeurIPS 2023 · 709 citations
  2. Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic CountingMin Shi, Hao Lu, Chen Feng, Chengxin Liu et al.CVPR 2022 · 99 citations
  3. Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic CountingZhicheng Wang, Liwen Xiao, Zhiguo Cao, Hao LuAAAI 2024 · 35 citations
  4. DAVE - A Detect-and-Verify Paradigm for Low-Shot CountingJer Pelhan, Alan Lukezic, Vitjan Zavrtanik, Matej KristanCVPR 2024 · 14 citations
  5. Learning To Count EverythingViresh Ranjan, Udbhav Sharma, Thu Nguyen, Minh HoaiCVPR 2021

Related papers

  1. TransFG: A Transformer Architecture for Fine-Grained RecognitionJu He, Jieneng Chen, Shuai Liu, Adam Kortylewski et al.AAAI 2022 · 529 citations
  2. A Fixed-Point Approach to Unified Prompt-Based CountingWei Lin, Antoni B. ChanAAAI 2024 · 11 citations
  3. Training Object Detectors from Scratch: An Empirical Study in the Era of Vision TransformerWeixiang Hong, Jiangwei Lao, Wang Ren, Jian Wang et al.CVPR 2022 · 14 citations
  4. Rethinking Spatial Dimensions of Vision TransformersByeongho Heo, Sangdoo Yun, Dongyoon Han, Sanghyuk Chun et al.ICCV 2021 · 733 citations
  5. Guided Attention Network for Object Detection and Counting on DronesYuanqiang Cai, Dawei Du, Libo Zhang, Longyin Wen et al.ACM MM 2020 · 60 citations
Dusk over the sea between two cliffs drawn in fine vertical lines