Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd counting
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 32 of its 48 references that are in the map. First posted on arXiv 12 Mar 2022.
Builds on
32 of 48 references.
References · 32
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
- 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
20 more
- 2018Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowdscited by 186
- 2019Bayesian Loss for Crowd Count Estimation with Point Supervisioncited by 162
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 152
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2018Context-Aware Crowd Countingcited by 150
- 2019Learning from Synthetic Data for Crowd Counting in the Wildcited by 148
- 2020Distribution Matching for Crowd Countingcited by 143
- 2017Switching Convolutional Neural Network for Crowd Countingcited by 93
- 2021TransCrowd: weakly-supervised crowd counting with transformerscited by 61
- 2019Crowd Counting and Density Estimation by Trellis Encoder-Decoder Networkcited by 56
- 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 54
- 2016CrowdNet: A Deep Convolutional Network for Dense Crowd Countingcited by 52
- 2020CNN-based Density Estimation and Crowd Counting: A Surveycited by 43
- 2020Towards Using Count-level Weak Supervision for Crowd Countingcited by 33
- 2019HA-CCN: Hierarchical Attention-based Crowd Counting Networkcited by 32
- 2021CCTrans: Simplifying and Improving Crowd Counting with Transformercited by 30
- 2018PaDNet: Pan-Density Crowd Countingcited by 16
- 2019Dual Path Multi-Scale Fusion Networks with Attention for Crowd Countingcited by 12
- 2018Optical Flow Dataset and Benchmark for Visual Crowd Analysiscited by 8
- 2019W-Net: Reinforced U-Net for Density Map Estimationcited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 2.
6 papers.
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2023RGB-T Multi-Modal Crowd Counting Based on Transformercited by 7
- 2023Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernelcited by 1
- 2024Vision Transformers for Weakly-Supervised Microorganism Enumerationcited by 0
- 2025MS-CLR: Multi-Skeleton Contrastive Learning for Human Action Recognitioncited by 0
- 2025Count2Density: Crowd Density Estimation without Location-level Annotationscited by 0
- 2025Count2Density: Crowd Density Estimation without Location-level Annotations3 Sep 2025
- 2025MS-CLR: Multi-Skeleton Contrastive Learning for Human Action Recognition20 Aug 2025
- 2024Vision Transformers for Weakly-Supervised Microorganism Enumeration3 Dec 2024
- 2023Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernel4 Nov 2023
- 2023RGB-T Multi-Modal Crowd Counting Based on Transformer8 Jan 2023
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervision20 May 2022