mlsanityData to 7 Oct 2026

TransCrowd: weakly-supervised crowd counting with transformers

arXiv 2104.09116 ↗First posted 19 Apr 2021cs.CVcited by 61

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  9. 2015SSD: Single Shot MultiBox Detectorcited by 3,125
  10. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  11. 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
  12. 2017Deformable Convolutional Networkscited by 1,481
38 more
  1. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  2. 2020Pre-Trained Image Processing Transformercited by 891
  3. 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
  4. 2021Medical Transformer: Gated Axial-Attention for Medical Image Segmentationcited by 319
  5. 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
  6. 2021Transformer Meets Tracker: Exploiting Temporal Context for Robust Visual Trackingcited by 220
  7. 2018Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowdscited by 186
  8. 2019Bayesian Loss for Crowd Count Estimation with Point Supervisioncited by 162
  9. 2020SceneFormer: Indoor Scene Generation with Transformerscited by 154
  10. 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
  11. 2018Context-Aware Crowd Countingcited by 150
  12. 2019Learning from Synthetic Data for Crowd Counting in the Wildcited by 148
  13. 2020Distribution Matching for Crowd Countingcited by 143
  14. 2020End-to-end Lane Shape Prediction with Transformerscited by 111
  15. 2020JHU-CROWD++: Large-Scale Crowd Counting Dataset and A Benchmark Methodcited by 109
  16. 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
  17. 2020Localization in the Crowd with Topological Constraintscited by 68
  18. 2019Point in, Box out: Beyond Counting Persons in Crowdscited by 62
  19. 2019Crowd Counting and Density Estimation by Trellis Encoder-Decoder Networkcited by 56
  20. 2017Generating High-Quality Crowd Density Maps using Contextual Pyramid CNNscited by 55
  21. 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 54
  22. 2019Exploiting Unlabeled Data in CNNs by Self-supervised Learning to Rankcited by 52
  23. 2017DecideNet: Counting Varying Density Crowds Through Attention Guided Detection and Density Estimationcited by 49
  24. 2018Revisiting Perspective Information for Efficient Crowd Countingcited by 49
  25. 2018Iterative Crowd Countingcited by 48
  26. 2019From Open Set to Closed Set: Counting Objects by Spatial Divide-and-Conquercited by 48
  27. 2019Crowd Counting with Deep Structured Scale Integration Networkcited by 46
  28. 2018ADCrowdNet: An Attention-injective Deformable Convolutional Network for Crowd Understandingcited by 45
  29. 2021TFPose: Direct Human Pose Estimation with Transformerscited by 42
  30. 2017CNN-based Cascaded Multi-task Learning of High-level Prior and Density Estimation for Crowd Countingcited by 41
  31. 2019Multi-Level Bottom-Top and Top-Bottom Feature Fusion for Crowd Countingcited by 36
  32. 2021Focal Inverse Distance Transform Maps for Crowd Localizationcited by 36
  33. 2019AutoScale: Learning to Scale for Crowd Counting and Localizationcited by 35
  34. 2019Counting with Focus for Freecited by 33
  35. 2019PCC Net: Perspective Crowd Counting via Spatial Convolutional Networkcited by 33
  36. 2020Towards Using Count-level Weak Supervision for Crowd Countingcited by 33
  37. 2019Learn to Scale: Generating Multipolar Normalized Density Maps for Crowd Countingcited by 32
  38. 2020Weighing Counts: Sequential Crowd Counting by Reinforcement Learningcited by 30

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 15; 2023: 17; 2024: 8; 2025: 8; 2026: 6.

61 papers.

Sort:

By area:

  1. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
  2. 2021End-to-end Temporal Action Detection with Transformercited by 150
  3. 2024UniAnimate: Taming Unified Video Diffusion Models for Consistent Human Image Animationcited by 101
  4. 2022An End-to-End Transformer Model for Crowd Localizationcited by 74
  5. 2023CrowdCLIP: Unsupervised Crowd Counting via Vision-Language Modelcited by 47
  6. 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
  7. 2021CCTrans: Simplifying and Improving Crowd Counting with Transformercited by 30
  8. 2021Multi-Exit Vision Transformer for Dynamic Inferencecited by 28
  9. 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
  10. 2022Learning Local and Global Temporal Contexts for Video Semantic Segmentationcited by 24
  11. 2023CrowdDiff: Multi-hypothesis Crowd Density Estimation using Diffusion Modelscited by 20
  12. 2022Revisiting Crowd Counting: State-of-the-art, Trends, and Future Perspectivescited by 16
38 more
  1. 2023Degradation-Aware Self-Attention Based Transformer for Blind Image Super-Resolutioncited by 14
  2. 2024CountFormer: Multi-View Crowd Counting Transformercited by 12
  3. 2021Congested Crowd Instance Localization with Dilated Convolutional Swin Transformercited by 11
  4. 2021Rethinking Global Context in Crowd Countingcited by 8
  5. 2022CrowdFormer: Weakly-supervised Crowd counting with Improved Generalizabilitycited by 8
  6. 2022CrowdMLP: Weakly-Supervised Crowd Counting via Multi-Granularity MLPcited by 8
  7. 2022Counting Varying Density Crowds Through Density Guided Adaptive Selection CNN and Transformer Estimationcited by 8
  8. 2023Focus for Free in Density-Based Countingcited by 8
  9. 2023Learning Discriminative Features for Crowd Countingcited by 8
  10. 2023RGB-T Multi-Modal Crowd Counting Based on Transformercited by 7
  11. 2024Semi-supervised Counting via Pixel-by-pixel Density Distribution Modellingcited by 7
  12. 2021Boosting Few-shot Semantic Segmentation with Transformerscited by 6
  13. 2022Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd countingcited by 6
  14. 2022Residual Swin Transformer Channel Attention Network for Image Demosaicingcited by 6
  15. 2023TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Imagecited by 6
  16. 2022Glance to Count: Learning to Rank with Anchors for Weakly-supervised Crowd Countingcited by 5
  17. 2023Exploring Unsupervised Cell Recognition with Prior Self-activation Mapscited by 5
  18. 2022FaceFormer: Scale-aware Blind Face Restoration with Transformerscited by 4
  19. 2023GCNet: Probing Self-Similarity Learning for Generalized Counting Networkcited by 4
  20. 2023STB-VMM: Swin Transformer Based Video Motion Magnificationcited by 4
  21. 2022IDET: Iterative Difference-Enhanced Transformers for High-Quality Change Detectioncited by 3
  22. 2024DenseTrack: Drone-based Crowd Tracking via Density-aware Motion-appearance Synergycited by 3
  23. 2022Reinforcing Local Feature Representation for Weakly-Supervised Dense Crowd Countingcited by 2
  24. 2022Unsupervised Dense Nuclei Detection and Segmentation with Prior Self-activation Map For Histology Imagescited by 2
  25. 2022Counting Like Human: Anthropoid Crowd Counting on Modeling the Similarity of Objectscited by 2
  26. 2023Super-Resolution Information Enhancement For Crowd Countingcited by 2
  27. 2023Visual Crowd Analysis: Open Research Problemscited by 2
  28. 2024Dynamic Proxy Domain Generalizes the Crowd Localization by Better Binary Segmentationcited by 2
  29. 2024Mutually-Aware Feature Learning for Few-Shot Object Countingcited by 2
  30. 2026Face Density as a Proxy for Data Complexity: Quantifying the Hardness of Instance Countcited by 2
  31. 2023Count, Decode and Fetch: A New Approach to Handwritten Chinese Character Error Correctioncited by 1
  32. 2023Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernelcited by 1
  33. 2024Efficient Masked AutoEncoder for Video Object Counting and A Large-Scale Benchmarkcited by 1
  34. 2025Depth-Assisted Network for Indiscernible Marine Object Counting with Adaptive Motion-Differentiated Feature Encodingcited by 1
  35. 2025Consistent-Point: Consistent Pseudo-Points for Semi-Supervised Crowd Counting and Localizationcited by 1
  36. 2025ProgRoCC: A Progressive Approach to Rough Crowd Countingcited by 1
  37. 2025TCFormer: A 5M-Parameter Transformer with Density-Guided Aggregation for Weakly-Supervised Crowd Countingcited by 1
  38. 2026SPROUT: A Scalable Diffusion Foundation Model for Multi-Crop Plant Phenotypingcited by 1

50 most cited of 61 All 61 (JSON)