arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.06388cs.CV
收藏

基于弱监督学习的CNN和Transformer网络联合人群计数

Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd counting

Chongqing University(重庆大学);Huazhong University of Science and Technology(华中科技大学)

Fusen Wang, Kai Liu, Fei Long, Nong Sang, Xiaofeng Xia, Jun Sang

摘要:

目前,对于人群计数,基于密度图估计的全监督方法是主流研究方向。然而,这样的方法需要在图像中的人的位置级注释,这是费时费力的。因此,迫切需要一种仅依赖计数级标注的弱监督方法。由于CNN不适合对全局上下文和图像块之间的交互进行建模,因此通过CNN进行弱监督学习的人群计数通常不能表现出良好的性能。提出了基于Transformer的弱监督模型,用于全局上下文建模和对比度特征学习。然而,Transformer直接将人群图像划分为一系列令牌,由于每个行人都是独立的个体,并且网络的参数数量非常大,这可能不是一个很好的选择。因此,我们提出了一个联合CNN和Transformer网络(JCTNet)通过弱监督学习人群计数在本文中。JCTNet由三部分组成:CNN特征提取模块(CFM)、Transformer特征提取模块(TFM)和计数回归模块(CRM)。CFM提取人群的语义信息特征,将其分片发送给TRM进行全局上下文建模,CRM用于预测人群数量。大量的实验和可视化结果表明,JCTNet可以有效地集中在人群区域,并在五个主流数据集上获得优异的弱监督计数性能。与纯Transformer工作相比,该模型的参数数可减少约67%~73%。我们还试图解释仅受计数级注释约束的模型仍然可以聚焦于人群区域的现象。我们相信我们的工作可以促进这一领域的进一步研究。

英文摘要:

Currently, for crowd counting, the fully supervised methods via density map estimation are the mainstream research directions. However, such methods need location-level annotation of persons in an image, which is time-consuming and laborious. Therefore, the weakly supervised method just relying upon the count-level annotation is urgently needed. Since CNN is not suitable for modeling the global context and the interactions between image patches, crowd counting with weakly supervised learning via CNN generally can not show good performance. The weakly supervised model via Transformer was sequentially proposed to model the global context and learn contrast features. However, the transformer directly partitions the crowd images into a series of tokens, which may not be a good choice due to each pedestrian being an independent individual, and the parameter number of the network is very large. Hence, we propose a Joint CNN and Transformer Network (JCTNet) via weakly supervised learning for crowd counting in this paper. JCTNet consists of three parts: CNN feature extraction module (CFM), Transformer feature extraction module (TFM), and counting regression module (CRM). In particular, the CFM extracts crowd semantic information features, then sends their patch partitions to TRM for modeling global context, and CRM is used to predict the number of people. Extensive experiments and visualizations demonstrate that JCTNet can effectively focus on the crowd regions and obtain superior weakly supervised counting performance on five mainstream datasets. The number of parameters of the model can be reduced by about 67%~73% compared with the pure Transformer works. We also tried to explain the phenomenon that a model constrained only by count-level annotations can still focus on the crowd regions. We believe our work can promote further research in this field.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑