arXiv:2506.17137cs.CV2025-06中稿 · The 37th British M…被引 1

针对跨域计数中密度差异导致性能下降,提出按条件对齐特征的新方法。

Towards Conditional Feature Alignment for Cross-Domain Counting

  • 在标签或伪密度条件下局部对齐特征,避免全局不变性破坏关键差异
  • 在JHU-CROWD++上将MAE从216.3降至90.5,显著提升大域间迁移性能
  • 适用于跨域计数、无监督域适应与源域泛化,尤其适合密度变化大的场景

物体计数模型在跨域部署时性能常因密度分布差异而下降,且该差异本身具有任务相关性。传统特征对齐方法通过强制全局域不变性抑制此类差异,但在背景、稀疏前景和密集前景比例不同的域间可能有害。本文提出条件特征对齐(CFA),不直接对齐全分布特征,而是根据密度标注或伪密度预测构建前景/背景或密度级别条件,仅对匹配条件内的特征进行对齐。从条件散度视角形式化该思想,理想状态为条件内无差异,但保留条件边缘密度偏移。在无监督域适应中,利用标注估计源域条件,通过分离的伪密度图生成目标域条件,结合全图一致性正则化进行条件级对抗对齐。在源域泛化中,以MPCount为基础,通过生成源域视图间的条件级记忆一致性实现相同原则。在人群与细胞计数基准测试中,跨多种无监督域适应(UDA)与域泛化(DG)设置下表现优异。例如,在JHU-CROWD++ FH→SN设置下,CFA-DG将MAE/RMSE由MPCount的216.3/421.4降至90.5/169.9,显著改善于大尺度天气与密度变化下的迁移任务。结果表明,条件级对齐是域自适应计数的有前途设计原则。

原文摘要 · Abstract (English)

Object counting models often degrade under cross-domain deployment because density composition varies across domains and is itself task-relevant. Standard feature alignment methods tend to suppress such variation by encouraging global domain invariance, which can be harmful when source and target domains contain different proportions of background, sparse foreground, and dense foreground. We propose Conditional Feature Alignment (CFA), a cross-domain counting framework that aligns representations within label-induced conditions rather than across full marginal feature distributions. Given density annotations or pseudo-density predictions, CFA constructs foreground/background or density-level conditions and aligns only features belonging to matching conditions. We formalise this idea through a conditional divergence perspective, characterising an ideal conditionally aligned state with no within-condition discrepancy while preserving condition-marginal density shift. For unsupervised domain adaptation, CFA estimates source conditions from annotations and target conditions from detached pseudo-density maps, then performs condition-wise adversarial alignment with full-image consistency regularisation. For source-domain generalisation, we instantiate the same principle with MPCount by enforcing condition-wise memory-consistency between generated source-domain views. Experiments on crowd and cell counting benchmarks show competitive or improved performance across diverse UDA and DG settings. For example, on JHU-CROWD++ FH->SN, CFA-DG reduces MAE/RMSE from MPCount's 216.3/421.4 to 90.5/169.9, showing a marked improvement on this large weather- and density-induced shift. These results suggest that condition-wise alignment is a promising design principle for domain-adaptive counting.

跨域计数特征对齐域泛化密度建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。