Single Domain Generalization for Crowd Counting
Zhuoxuan Peng, S.-H. Gary Chan
Abstract
Due to its promising results, density map regression has been widely employed for image-based crowd counting. The approach, however, often suffers from severe performance degradation when tested on data from unseen scenarios, the so-called “domain shift” problem. To address the problem, we investigate in this work single domain generalization (SDG) for crowd counting. The existing SDG approaches are mainly for image classification and segmentation, and can hardly be extended to our case due to its regression nature and label ambiguity (i.e., ambiguous pixel-level ground truths). We propose MPCount, a novel effective SDG approach even for narrow source distribution. MPCount stores diverse density values for density map regression and reconstructs domain-invariant features by means of only one memory bank, a content error mask and attention consistency loss. By partitioning the image into grids, it employs patch-wise classification as an auxiliary task to mitigate label ambiguity. Through extensive experiments on different datasets, MPCount is shown to significantly improve counting accuracy compared to the state of the art under diverse scenarios unobserved in the training data characterized by narrow source distribution. Code is availablex at https://github.com/Shimmer93/MPCount.
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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- To Choose or to Fuse? Scale Selection for Crowd Counting cites Bayesian Loss for Crowd Count Estimation With Point Supervision
- Bootstrapping MLLM for Weakly‑Supervised Class‑Agnostic Object Counting cites Distribution Matching for Crowd Counting
- Boosting Crowd Counting via Multifaceted Attention cites Distribution Matching for Crowd Counting
- Boosting Crowd Counting via Multifaceted Attention cites Bayesian Loss for Crowd Count Estimation With Point Supervision
- Adapting Lightweight Image-based Counting Models for Video Crowd Counting cites Boosting Crowd Counting via Multifaceted Attention
- Adapting Lightweight Image-based Counting Models for Video Crowd Counting cites Distribution Matching for Crowd Counting
- Adapting Lightweight Image-based Counting Models for Video Crowd Counting cites Bayesian Loss for Crowd Count Estimation With Point Supervision
- Single Domain Generalization for Few-Shot Counting via Universal Representation Matching cites Switchable Whitening for Deep Representation Learning
- CountSE: Soft Exemplar Open-Set Object Counting cites Boosting Crowd Counting via Multifaceted Attention
- Distribution Matching for Crowd Counting cites Bayesian Loss for Crowd Count Estimation With Point Supervision
Cited by top-tier papers7
- OmniCount: Multi-label Object Counting with Semantic-Geometric PriorsAnindya Mondal, Sauradip Nag, Xiatian Zhu, Anjan DuttaAAAI 2025 · 14 citations
- Bootstrapping MLLM for Weakly‑Supervised Class‑Agnostic Object CountingXiaowen Zhang, Zijie Yue, Yong Luo, Cairong Zhao et al.ICLR 2026 · 3 citations
- CountSE: Soft Exemplar Open-Set Object CountingShuai Liu, Peng Zhang, Shiwei Zhang, Wei KeICCV 2025 · 1 citation
- Adapting Lightweight Image-based Counting Models for Video Crowd CountingWeibo Shu, Antoni B. ChanCVPR 2026
- Single Domain Generalization for Few-Shot Counting via Universal Representation MatchingXianing Chen, Si Huo, Borui Jiang, Hailin Hu et al.CVPR 2025
Builds on26
- Bayesian Loss for Crowd Count Estimation With Point SupervisionZhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong GongICCV 2019 · 612 citations
- Distribution Matching for Crowd CountingBoyu Wang, Huidong Liu, Dimitris Samaras, Minh Hoai NguyenNeurIPS 2020 · 443 citations
- Boosting Crowd Counting via Multifaceted AttentionHui Lin, Zhiheng Ma, Rongrong Ji, Yaowei Wang et al.CVPR 2022 · 229 citations
- Switchable Whitening for Deep Representation LearningXingang Pan, Xiaohang Zhan, Jianping Shi, Xiaoou Tang et al.ICCV 2019 · 204 citations
- To Choose or to Fuse? Scale Selection for Crowd CountingQingyu Song, Changan Wang, Yabiao Wang, Ying Tai et al.AAAI 2021 · 195 citations
Related papers
- Domain-General Crowd Counting in Unseen ScenariosZhipeng Du, Jiankang Deng, Miaojing ShiAAAI 2023 · 63 citations
- Fine-Grained Fragment Diffusion for Cross Domain Crowd CountingHuilin Zhu, Jingling Yuan, Zhengwei Yang, Xian Zhong et al.ACM MM 2022 · 28 citations
- Variational Attention: Propagating Domain-Specific Knowledge for Multi-Domain Learning in Crowd CountingBinghui Chen, Zhaoyi Yan, Ke Li, Pengyu Li et al.ICCV 2021 · 51 citations
- Error-Aware Density Isomorphism Reconstruction for Unsupervised Cross-Domain Crowd CountingYuhang He, Zhiheng Ma, Xing Wei, Xiaopeng Hong et al.AAAI 2021 · 34 citations
- Leveraging Self-Supervision for Cross-Domain Crowd CountingWeizhe Liu, Nikita Durasov, Pascal FuaCVPR 2022 · 43 citations
