Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Bootstrapping MLLM for Weakly-Supervised Class-Agnostic Object Counting

About

Object counting is a fundamental task in computer vision, with broad applicability in many real-world scenarios. Fully-supervised counting methods require costly point-level annotations per object. Few weakly-supervised methods leverage only image-level object counts as supervision and achieve fairly promising results. They are, however, often limited to counting a single category, e.g. person. In this paper, we propose WS-COC, the first MLLM-driven weakly-supervised framework for class-agnostic object counting. Instead of directly fine-tuning MLLMs to predict object counts, which can be challenging due to the modality gap, we incorporate three simple yet effective strategies to bootstrap the counting paradigm in both training and testing: First, a divide-and-discern dialogue tuning strategy is proposed to guide the MLLM to determine whether the object count falls within a specific range and progressively break down the range through multi-round dialogue. Second, a compare-and-rank count optimization strategy is introduced to train the MLLM to optimize the relative ranking of multiple images according to their object counts. Third, a global-and-local counting enhancement strategy aggregates and fuses local and global count predictions to improve counting performance in dense scenes. Extensive experiments on FSC-147, CARPK, PUCPR+, and ShanghaiTech show that WS-COC matches or even surpasses many state-of-art fully-supervised methods while significantly reducing annotation costs. Code is available at https://github.com/viscom-tongji/WS-COC.

Xiaowen Zhang, Zijie Yue, Yong Luo, Cairong Zhao, Qijun Chen, Miaojing Shi• 2026

Related benchmarks

TaskDatasetResultRank
Object CountingFSC-147 (test)
MAE13.91
297
Crowd CountingShanghaiTech Part A (test)
MAE128.9
227
Object CountingFSC-147 (val)
MAE14.77
211
Crowd CountingShanghaiTech Part B (test)
MAE34.2
191
CountingCARPK
MAE10.39
41
Object CountingPASCAL VOC Count 2007 (test)
mRMSE1.4
40
Object CountingPUCPR+
MAE42.3
6
Object CountingIOCfish5K (test)
MAE48.1
5
Showing 8 of 8 rows

Other info

Follow for update