TransCrowd: weakly-supervised crowd counting with transformers
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 61 papers in the map (data through 7 Oct 2026). Builds on 53 of its 87 references that are in the map. First posted on arXiv 19 Apr 2021.
Builds on
53 of 87 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 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
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
- 2017Deformable Convolutional Networkscited by 1,481
38 more
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2020Pre-Trained Image Processing Transformercited by 891
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
- 2021Medical Transformer: Gated Axial-Attention for Medical Image Segmentationcited by 319
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2021Transformer Meets Tracker: Exploiting Temporal Context for Robust Visual Trackingcited by 220
- 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
- 2020SceneFormer: Indoor Scene Generation with Transformerscited by 154
- 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
- 2020End-to-end Lane Shape Prediction with Transformerscited by 111
- 2020JHU-CROWD++: Large-Scale Crowd Counting Dataset and A Benchmark Methodcited by 109
- 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
- 2020Localization in the Crowd with Topological Constraintscited by 68
- 2019Point in, Box out: Beyond Counting Persons in Crowdscited by 62
- 2019Crowd Counting and Density Estimation by Trellis Encoder-Decoder Networkcited by 56
- 2017Generating High-Quality Crowd Density Maps using Contextual Pyramid CNNscited by 55
- 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 54
- 2019Exploiting Unlabeled Data in CNNs by Self-supervised Learning to Rankcited by 52
- 2017DecideNet: Counting Varying Density Crowds Through Attention Guided Detection and Density Estimationcited by 49
- 2018Revisiting Perspective Information for Efficient Crowd Countingcited by 49
- 2018Iterative Crowd Countingcited by 48
- 2019From Open Set to Closed Set: Counting Objects by Spatial Divide-and-Conquercited by 48
- 2019Crowd Counting with Deep Structured Scale Integration Networkcited by 46
- 2018ADCrowdNet: An Attention-injective Deformable Convolutional Network for Crowd Understandingcited by 45
- 2021TFPose: Direct Human Pose Estimation with Transformerscited by 42
- 2017CNN-based Cascaded Multi-task Learning of High-level Prior and Density Estimation for Crowd Countingcited by 41
- 2019Multi-Level Bottom-Top and Top-Bottom Feature Fusion for Crowd Countingcited by 36
- 2021Focal Inverse Distance Transform Maps for Crowd Localizationcited by 36
- 2019AutoScale: Learning to Scale for Crowd Counting and Localizationcited by 35
- 2019Counting with Focus for Freecited by 33
- 2019PCC Net: Perspective Crowd Counting via Spatial Convolutional Networkcited by 33
- 2020Towards Using Count-level Weak Supervision for Crowd Countingcited by 33
- 2019Learn to Scale: Generating Multipolar Normalized Density Maps for Crowd Countingcited by 32
- 2020Weighing Counts: Sequential Crowd Counting by Reinforcement Learningcited by 30
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2021: 7; 2022: 15; 2023: 17; 2024: 8; 2025: 8; 2026: 6.
61 papers.
Sort:
By area:
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
- 2021End-to-end Temporal Action Detection with Transformercited by 150
- 2024UniAnimate: Taming Unified Video Diffusion Models for Consistent Human Image Animationcited by 101
- 2022An End-to-End Transformer Model for Crowd Localizationcited by 74
- 2023CrowdCLIP: Unsupervised Crowd Counting via Vision-Language Modelcited by 47
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2021CCTrans: Simplifying and Improving Crowd Counting with Transformercited by 30
- 2021Multi-Exit Vision Transformer for Dynamic Inferencecited by 28
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
- 2022Learning Local and Global Temporal Contexts for Video Semantic Segmentationcited by 24
- 2023CrowdDiff: Multi-hypothesis Crowd Density Estimation using Diffusion Modelscited by 20
- 2022Revisiting Crowd Counting: State-of-the-art, Trends, and Future Perspectivescited by 16
38 more
- 2023Degradation-Aware Self-Attention Based Transformer for Blind Image Super-Resolutioncited by 14
- 2024CountFormer: Multi-View Crowd Counting Transformercited by 12
- 2021Congested Crowd Instance Localization with Dilated Convolutional Swin Transformercited by 11
- 2021Rethinking Global Context in Crowd Countingcited by 8
- 2022CrowdFormer: Weakly-supervised Crowd counting with Improved Generalizabilitycited by 8
- 2022CrowdMLP: Weakly-Supervised Crowd Counting via Multi-Granularity MLPcited by 8
- 2022Counting Varying Density Crowds Through Density Guided Adaptive Selection CNN and Transformer Estimationcited by 8
- 2023Focus for Free in Density-Based Countingcited by 8
- 2023Learning Discriminative Features for Crowd Countingcited by 8
- 2023RGB-T Multi-Modal Crowd Counting Based on Transformercited by 7
- 2024Semi-supervised Counting via Pixel-by-pixel Density Distribution Modellingcited by 7
- 2021Boosting Few-shot Semantic Segmentation with Transformerscited by 6
- 2022Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd countingcited by 6
- 2022Residual Swin Transformer Channel Attention Network for Image Demosaicingcited by 6
- 2023TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Imagecited by 6
- 2022Glance to Count: Learning to Rank with Anchors for Weakly-supervised Crowd Countingcited by 5
- 2023Exploring Unsupervised Cell Recognition with Prior Self-activation Mapscited by 5
- 2022FaceFormer: Scale-aware Blind Face Restoration with Transformerscited by 4
- 2023GCNet: Probing Self-Similarity Learning for Generalized Counting Networkcited by 4
- 2023STB-VMM: Swin Transformer Based Video Motion Magnificationcited by 4
- 2022IDET: Iterative Difference-Enhanced Transformers for High-Quality Change Detectioncited by 3
- 2024DenseTrack: Drone-based Crowd Tracking via Density-aware Motion-appearance Synergycited by 3
- 2022Reinforcing Local Feature Representation for Weakly-Supervised Dense Crowd Countingcited by 2
- 2022Unsupervised Dense Nuclei Detection and Segmentation with Prior Self-activation Map For Histology Imagescited by 2
- 2022Counting Like Human: Anthropoid Crowd Counting on Modeling the Similarity of Objectscited by 2
- 2023Super-Resolution Information Enhancement For Crowd Countingcited by 2
- 2023Visual Crowd Analysis: Open Research Problemscited by 2
- 2024Dynamic Proxy Domain Generalizes the Crowd Localization by Better Binary Segmentationcited by 2
- 2024Mutually-Aware Feature Learning for Few-Shot Object Countingcited by 2
- 2026Face Density as a Proxy for Data Complexity: Quantifying the Hardness of Instance Countcited by 2
- 2023Count, Decode and Fetch: A New Approach to Handwritten Chinese Character Error Correctioncited by 1
- 2023Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernelcited by 1
- 2024Efficient Masked AutoEncoder for Video Object Counting and A Large-Scale Benchmarkcited by 1
- 2025Depth-Assisted Network for Indiscernible Marine Object Counting with Adaptive Motion-Differentiated Feature Encodingcited by 1
- 2025Consistent-Point: Consistent Pseudo-Points for Semi-Supervised Crowd Counting and Localizationcited by 1
- 2025ProgRoCC: A Progressive Approach to Rough Crowd Countingcited by 1
- 2025TCFormer: A 5M-Parameter Transformer with Density-Guided Aggregation for Weakly-Supervised Crowd Countingcited by 1
- 2026SPROUT: A Scalable Diffusion Foundation Model for Multi-Crop Plant Phenotypingcited by 1
50 most cited of 61 All 61 (JSON)
- 2026COBICount: Separating Object and Background Responses for Remote Sensing Object Counting Without Training on Target Data30 Sep 2026
- 2026RootQuantV2: Adapting a Vision Foundation Model for Root-Trait Regression from Minirhizotron Imagery22 Sep 2026
- 2026GAAT: Geometry-Aware Alignment Transformer for Multimodal UAV Perception28 Aug 2026
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Models9 Apr 2026
- 2026Face Density as a Proxy for Data Complexity: Quantifying the Hardness of Instance Count6 Apr 2026
- 2026SPROUT: A Scalable Diffusion Foundation Model for Multi-Crop Plant Phenotyping29 Mar 2026
- 2025TCFormer: A 5M-Parameter Transformer with Density-Guided Aggregation for Weakly-Supervised Crowd Counting21 Dec 2025
- 2025LeCoT: revisiting network architecture for two-view correspondence pruning10 Nov 2025
- 2025Foggy Crowd Counting: Combining Physical Priors and KAN-Graph29 Sep 2025
- 2025Count2Density: Crowd Density Estimation without Location-level Annotations3 Sep 2025
- 2025ProgRoCC: A Progressive Approach to Rough Crowd Counting18 Apr 2025
- 2025Constrained Gaussian Process Motion Planning via Stein Variational Newton Inference7 Apr 2025
38 more
- 2025Consistent-Point: Consistent Pseudo-Points for Semi-Supervised Crowd Counting and Localization16 Mar 2025
- 2025Depth-Assisted Network for Indiscernible Marine Object Counting with Adaptive Motion-Differentiated Feature Encoding11 Mar 2025
- 2024Vision Transformers for Weakly-Supervised Microorganism Enumeration3 Dec 2024
- 2024Efficient Masked AutoEncoder for Video Object Counting and A Large-Scale Benchmark20 Nov 2024
- 2024Mutually-Aware Feature Learning for Few-Shot Object Counting19 Aug 2024
- 2024DenseTrack: Drone-based Crowd Tracking via Density-aware Motion-appearance Synergy24 Jul 2024
- 2024CountFormer: Multi-View Crowd Counting Transformer2 Jul 2024
- 2024UniAnimate: Taming Unified Video Diffusion Models for Consistent Human Image Animation3 Jun 2024
- 2024Dynamic Proxy Domain Generalizes the Crowd Localization by Better Binary Segmentation22 Apr 2024
- 2024Semi-supervised Counting via Pixel-by-pixel Density Distribution Modelling23 Feb 2024
- 2023Learning Discriminative Features for Crowd Counting8 Nov 2023
- 2023Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernel4 Nov 2023
- 2023Degradation-Aware Self-Attention Based Transformer for Blind Image Super-Resolution6 Oct 2023
- 2023Exploring Unsupervised Cell Recognition with Prior Self-activation Maps22 Aug 2023
- 2023Visual Crowd Analysis: Open Research Problems21 Aug 2023
- 2023Count, Decode and Fetch: A New Approach to Handwritten Chinese Character Error Correction30 Jul 2023
- 2023TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Image12 Jul 2023
- 2023Focus for Free in Density-Based Counting8 Jun 2023
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Counting8 May 2023
- 2023Crowd Counting with Sparse Annotation12 Apr 2023
- 2023CrowdCLIP: Unsupervised Crowd Counting via Vision-Language Model9 Apr 2023
- 2023CrowdDiff: Multi-hypothesis Crowd Density Estimation using Diffusion Models22 Mar 2023
- 2023Super-Resolution Information Enhancement For Crowd Counting13 Mar 2023
- 2023STB-VMM: Swin Transformer Based Video Motion Magnification20 Feb 2023
- 2023GCNet: Probing Self-Similarity Learning for Generalized Counting Network10 Feb 2023
- 2023Density-based clustering with fully-convolutional networks for crowd flow detection from drones12 Jan 2023
- 2023RGB-T Multi-Modal Crowd Counting Based on Transformer8 Jan 2023
- 2022Counting Like Human: Anthropoid Crowd Counting on Modeling the Similarity of Objects2 Dec 2022
- 2022Unsupervised Dense Nuclei Detection and Segmentation with Prior Self-activation Map For Histology Images14 Oct 2022
- 2022Revisiting Crowd Counting: State-of-the-art, Trends, and Future Perspectives14 Sep 2022
- 2022FaceFormer: Scale-aware Blind Face Restoration with Transformers20 Jul 2022
- 2022IDET: Iterative Difference-Enhanced Transformers for High-Quality Change Detection15 Jul 2022
- 2022Counting Varying Density Crowds Through Density Guided Adaptive Selection CNN and Transformer Estimation21 Jun 2022
- 2022Glance to Count: Learning to Rank with Anchors for Weakly-supervised Crowd Counting29 May 2022
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervision20 May 2022
- 2022Residual Swin Transformer Channel Attention Network for Image Demosaicing14 Apr 2022
- 2022Learning Local and Global Temporal Contexts for Video Semantic Segmentation7 Apr 2022
- 2022CrowdMLP: Weakly-Supervised Crowd Counting via Multi-Granularity MLP15 Mar 2022
50 newest of 61 All 61 (JSON)
- 2024UniAnimate: Taming Unified Video Diffusion Models for Consistent Human Image Animationcited by 101
- 2023CrowdDiff: Multi-hypothesis Crowd Density Estimation using Diffusion Modelscited by 20
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Modelscited by 0
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Models9 Apr 2026
- 2024UniAnimate: Taming Unified Video Diffusion Models for Consistent Human Image Animation3 Jun 2024
- 2023CrowdDiff: Multi-hypothesis Crowd Density Estimation using Diffusion Models22 Mar 2023
- 2021Multi-Exit Vision Transformer for Dynamic Inferencecited by 28
- 2021Multi-Exit Vision Transformer for Dynamic Inference29 Jun 2021
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
- 2021End-to-end Temporal Action Detection with Transformercited by 150
- 2022An End-to-End Transformer Model for Crowd Localizationcited by 74
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2021CCTrans: Simplifying and Improving Crowd Counting with Transformercited by 30
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
- 2022Learning Local and Global Temporal Contexts for Video Semantic Segmentationcited by 24
- 2022Revisiting Crowd Counting: State-of-the-art, Trends, and Future Perspectivescited by 16
- 2023Degradation-Aware Self-Attention Based Transformer for Blind Image Super-Resolutioncited by 14
- 2024CountFormer: Multi-View Crowd Counting Transformercited by 12
- 2021Congested Crowd Instance Localization with Dilated Convolutional Swin Transformercited by 11
- 2021Rethinking Global Context in Crowd Countingcited by 8
12 most cited of 56 All 56 (JSON)
- 2026COBICount: Separating Object and Background Responses for Remote Sensing Object Counting Without Training on Target Data30 Sep 2026
- 2026RootQuantV2: Adapting a Vision Foundation Model for Root-Trait Regression from Minirhizotron Imagery22 Sep 2026
- 2026GAAT: Geometry-Aware Alignment Transformer for Multimodal UAV Perception28 Aug 2026
- 2026Face Density as a Proxy for Data Complexity: Quantifying the Hardness of Instance Count6 Apr 2026
- 2026SPROUT: A Scalable Diffusion Foundation Model for Multi-Crop Plant Phenotyping29 Mar 2026
- 2025TCFormer: A 5M-Parameter Transformer with Density-Guided Aggregation for Weakly-Supervised Crowd Counting21 Dec 2025
- 2025LeCoT: revisiting network architecture for two-view correspondence pruning10 Nov 2025
- 2025Foggy Crowd Counting: Combining Physical Priors and KAN-Graph29 Sep 2025
- 2025Count2Density: Crowd Density Estimation without Location-level Annotations3 Sep 2025
- 2025ProgRoCC: A Progressive Approach to Rough Crowd Counting18 Apr 2025
- 2025Constrained Gaussian Process Motion Planning via Stein Variational Newton Inference7 Apr 2025
- 2025Consistent-Point: Consistent Pseudo-Points for Semi-Supervised Crowd Counting and Localization16 Mar 2025
12 newest of 56 All 56 (JSON)