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

TransCrowd:基于Transformers的弱监督人群计数

TransCrowd: weakly-supervised crowd counting with transformers

Huazhong University of Science and Technology(华中科技大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Dingkang Liang, Xiwu Chen, Wei Xu, Yu Zhou, Xiang Bai

摘要:

主流的人群计数方法通常利用卷积神经网络(CNN)来回归密度图,需要点级注释。然而,用一个点注释每个人是一个昂贵而费力的过程。在测试阶段,不考虑点级注释来评估计数精度,这意味着点级注释是冗余的。因此,需要开发仅依赖于计数级注释的弱监督计数方法,这是一种更经济的标记方式。当前的弱监督计数方法采用CNN通过图像到计数范例来回归人群的总计数。然而,对于上下文建模具有有限的感受野是这些基于弱监督CNN的方法的内在限制。因此,这些方法不能实现令人满意的性能,在现实世界中的应用有限。Transformer是自然语言处理(NLP)中流行的序列到序列预测模型,它包含一个全局感受野。在本文中,我们提出了transCrowd,它重新制定了弱监督的人群计数问题的角度来看,基于Transformers的顺序计数。我们观察到,所提出的transCrowd通过使用Transformer的自注意力机制,可以有效地提取语义人群信息。据我们所知,这是第一个工作,采用纯Transformer的人群计数研究。在五个基准数据集上的实验表明,与所有基于弱监督CNN的计数方法相比,所提出的TransCrowd具有更好的性能,与一些流行的全监督计数方法相比,具有很强的竞争力。

英文摘要:

The mainstream crowd counting methods usually utilize the convolution neural network (CNN) to regress a density map, requiring point-level annotations. However, annotating each person with a point is an expensive and laborious process. During the testing phase, the point-level annotations are not considered to evaluate the counting accuracy, which means the point-level annotations are redundant. Hence, it is desirable to develop weakly-supervised counting methods that just rely on count-level annotations, a more economical way of labeling. Current weakly-supervised counting methods adopt the CNN to regress a total count of the crowd by an image-to-count paradigm. However, having limited receptive fields for context modeling is an intrinsic limitation of these weakly-supervised CNN-based methods. These methods thus cannot achieve satisfactory performance, with limited applications in the real world. The transformer is a popular sequence-to-sequence prediction model in natural language processing (NLP), which contains a global receptive field. In this paper, we propose TransCrowd, which reformulates the weakly-supervised crowd counting problem from the perspective of sequence-to-count based on transformers. We observe that the proposed TransCrowd can effectively extract the semantic crowd information by using the self-attention mechanism of transformer. To the best of our knowledge, this is the first work to adopt a pure transformer for crowd counting research. Experiments on five benchmark datasets demonstrate that the proposed TransCrowd achieves superior performance compared with all the weakly-supervised CNN-based counting methods and gains highly competitive counting performance compared with some popular fully-supervised counting methods.

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

↑