Abstract
Existing class-agnostic counting models typically rely on a single type of prompt, e.g., box annotations. This paper aims to establish a comprehensive prompt-based counting framework capable of generating density maps for concerned objects indicated by various prompt types, such as box, point, and text. To achieve this goal, we begin by converting prompts from different modalities into prompt masks without requiring training. These masks are then integrated into a class-agnostic counting methodology for predicting density maps. Furthermore, we introduce a fixed-point inference along with an associated loss function to improve counting accuracy, all without introducing new parameters. The effectiveness of this method is substantiated both theoretically and experimentally. Additionally, a contrastive training scheme is implemented to mitigate dataset bias inherent in current class-agnostic counting datasets, a strategy whose effectiveness is confirmed by our ablation study. Our model excels in prominent class-agnostic datasets and exhibits superior performance in cross-dataset adaptation tasks. © 2024, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 38th Annual AAAI Conference on Artificial Intelligence |
| Editors | Michael Wooldridge, Jennifer Dy, Sriraam Natarajan |
| Place of Publication | Washington, DC |
| Publisher | Association for the Advancement of Artificial Intelligence |
| Pages | 3468-3476 |
| ISBN (Print) | 1-57735-887-2, 978-1-57735-887-9 |
| DOIs | |
| Publication status | Published - 2024 |
| Event | 38th Annual AAAI Conference on Artificial Intelligence (AAAI-24) - Vancouver Convention Centre – West Building, Vancouver, Canada Duration: 20 Feb 2024 → 27 Feb 2024 https://aaai.org/aaai-conference/ |
Publication series
| Name | Proceedings of the AAAI Conference on Artificial Intelligence |
|---|---|
| Publisher | Association for the Advancement of Artificial Intelligence |
| Number | 4 |
| Volume | 38 |
| ISSN (Print) | 2159-5399 |
| ISSN (Electronic) | 2374-3468 |
Conference
| Conference | 38th Annual AAAI Conference on Artificial Intelligence (AAAI-24) |
|---|---|
| Abbreviated title | AAAI-24 |
| Place | Canada |
| City | Vancouver |
| Period | 20/02/24 → 27/02/24 |
| Internet address |
Bibliographical note
Research Unit(s) information for this publication is provided by the author(s) concerned.Funding
This work was supported by a Strategic Research Grant from City University of Hong Kong (Project No. 7005665).