cs.CVMar 25, 2026

Granular Ball Guided Stable Latent Domain Discovery for Domain-General Crowd Counting

Authors: Fan Chen, Shuyin Xia, Yi Wang

Organizations: Chongqing University of Posts and Telecommunications, Chongqing, China · Chongqing Ant Consumer Finance Co., Ltd., Chongqing, China

Abstract

Single-source domain generalization for crowd counting is highly challenging because a single labeled source domain may contain heterogeneous latent domains, while unseen target domains often exhibit severe distribution shifts. A central issue is stable latent domain discovery: directly performing flat clustering on evolving sample-level latent features is easily disturbed by feature noise, outliers, and representation drift, leading to unreliable pseudo-domain assignments and weakened domain-structured learning. To address this problem, we propose a granular ball guided stable latent domain discovery framework for domain-general crowd counting. The proposed method first groups samples into compact local granular balls and then clusters granular ball centers as representatives to infer pseudo-domains, thereby converting direct sample-level clustering into a hierarchical representative-based clustering process. This design produces more stable and semantically consistent pseudo-domain assignments. On top of the discovered latent domains, we develop a two-branch learning framework that improves transferable semantic representations via semantic codebook re-encoding and captures domain-specific appearance variations through a style branch, thereby alleviating semantic--style entanglement under domain shifts. Extensive experiments on ShanghaiTech A/B, UCF_QNRF, and NWPU-Crowd under a strict no-adaptation protocol verify the effectiveness of the proposed method and show strong generalization ability, especially in transfer settings with large domain gaps.

Figures & tables

Explore similar work

CardsList
  1. FOCUS: Bridging Fine-Grained Recognition and Open-World Discovery across Domains

    Mar 15, 2026Vaibhav Rathore, Divyam Gupta, Moloud Abdar +2Generalized Category DiscoveryDomain Generalization

  2. A General Representation-Based Approach to Multi-Source Domain Adaptation

    Apr 26, 2026Ignavier Ng, Yan Li, Zijian Li +3Multi-Source Domain AdaptationUnsupervised Domain Adaptation

  3. Learning Domain Trajectories with Flow Matching for Gradual Domain Adaptation

    Oct 22, 2026Yubo Huang, Yushe Cao, Zixi Wang +4Domain AdaptationUnsupervised Domain Adaptation