Skip to main content
QUICK REVIEW

[Paper Review] Leveraging Unlabeled Data for Crowd Counting by Learning to Rank

Xialei Liu, Joost van de Weijer|arXiv (Cornell University)|Mar 8, 2018
Video Surveillance and Tracking MethodsComputer Science34 references23 citations
TL;DR

This paper proposes a self-supervised learning approach for crowd counting that leverages unlabeled crowd images by exploiting a ranking invariance: sub-images of a crowded scene contain fewer or equal people than their parent images. By training a multi-task network to simultaneously predict density maps and rank sub-images by person count, the method achieves state-of-the-art performance on UCF_CC_50 and ShanghaiTech datasets, significantly improving generalization and reducing error even with limited labeled data.

ABSTRACT

We propose a novel crowd counting approach that leverages abundantly available unlabeled crowd imagery in a learning-to-rank framework. To induce a ranking of cropped images , we use the observation that any sub-image of a crowded scene image is guaranteed to contain the same number or fewer persons than the super-image. This allows us to address the problem of limited size of existing datasets for crowd counting. We collect two crowd scene datasets from Google using keyword searches and query-by-example image retrieval, respectively. We demonstrate how to efficiently learn from these unlabeled datasets by incorporating learning-to-rank in a multi-task network which simultaneously ranks images and estimates crowd density maps. Experiments on two of the most challenging crowd counting datasets show that our approach obtains state-of-the-art results.

Motivation & Objective

  • To address the critical limitation of small, expensive-to-annotate crowd counting datasets by leveraging abundant unlabeled crowd imagery.
  • To improve the generalization and performance of deep crowd counting models using self-supervised pre-training on web-sourced unlabeled data.
  • To develop a multi-task learning framework that jointly optimizes for density regression and relative ranking of image crops.
  • To demonstrate that ranking-based self-supervision outperforms standard pre-training and fine-tuning strategies in crowd counting.
  • To validate the method's effectiveness through cross-dataset transfer learning and comparison with state-of-the-art approaches.

Proposed method

  • Uses the observation that any sub-image of a crowded scene contains ≤ the number of people in the parent image to generate a natural ranking of cropped images.
  • Collects two large unlabeled crowd datasets via keyword search and query-by-example image retrieval from Google.
  • Designs a multi-task deep learning architecture that jointly performs crowd density estimation and image crop ranking using contrastive ranking loss.
  • Applies a self-supervised ranking objective during training: for a set of nested crops, the model learns to predict that larger images contain more people.
  • Trains the network end-to-end with a combination of supervised loss on labeled data and contrastive ranking loss on unlabeled data.
  • Employs data augmentation and multi-scale inference to improve robustness and generalization.

Experimental results

Research questions

  • RQ1Can self-supervised ranking of image crops from unlabeled crowd scenes improve crowd counting performance?
  • RQ2Does incorporating ranking as a proxy task in a multi-task network yield better results than standard pre-training or fine-tuning?
  • RQ3How effective is the method in cross-dataset generalization, particularly when training on one dataset and testing on another?
  • RQ4Can the proposed method outperform existing state-of-the-art crowd counting models on benchmark datasets?
  • RQ5Does the ranking-based self-supervision reduce error and improve robustness compared to purely supervised training?

Key findings

  • On the UCF_CC_50 dataset, the proposed method reduces MAE from 295.8 (SOTA) to 279.6 using the keyword-based unlabeled dataset.
  • On the ShanghaiTech Part_A dataset, the method achieves an MAE of 73.6 and MSE of 112.0, surpassing the previous SOTA method.
  • On ShanghaiTech Part_B, the method achieves an MAE of 13.7 and MSE of 21.4, demonstrating strong performance on challenging, dense scenes.
  • The multi-task approach combining ranking and counting outperforms single-task training, with a 30% improvement in MAE on ShanghaiTech Part_B compared to the baseline.
  • In cross-dataset transfer learning (ShanghaiTech Part_A → UCF_CC_50), the method reduces MAE from 349.5 to 337.6 and MSE from 475.7 to 434.3, outperforming the only other method reporting such results.
  • The method generalizes well, with predictions showing high fidelity to ground truth density maps, as visualized in Figure 5.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.