[Paper Review] Towards Unsupervised Crowd Counting via Regression-Detection Bi-knowledge Transfer
This paper proposes an unsupervised crowd counting method that transfers bi-knowledge from regression- and detection-based models in a labeled source domain to an unlabeled target domain via mutual knowledge distillation using scene-agnostic transformers. The approach iteratively co-trains both models using fused pseudo-labels, achieving state-of-the-art performance on ShanghaiTech, UCF_CC_50, and UCF_QNRF benchmarks with significant improvements in MAE and MSE over prior methods.
Unsupervised crowd counting is a challenging yet not largely explored task. In this paper, we explore it in a transfer learning setting where we learn to detect and count persons in an unlabeled target set by transferring bi-knowledge learnt from regression- and detection-based models in a labeled source set. The dual source knowledge of the two models is heterogeneous and complementary as they capture different modalities of the crowd distribution. We formulate the mutual transformations between the outputs of regression- and detection-based models as two scene-agnostic transformers which enable knowledge distillation between the two models. Given the regression- and detection-based models and their mutual transformers learnt in the source, we introduce an iterative self-supervised learning scheme with regression-detection bi-knowledge transfer in the target. Extensive experiments on standard crowd counting benchmarks, ShanghaiTech, UCF\_CC\_50, and UCF\_QNRF demonstrate a substantial improvement of our method over other state-of-the-arts in the transfer learning setting.
Motivation & Objective
- To address the challenge of unsupervised crowd counting in cross-domain settings where labeled data in the target domain is unavailable.
- To leverage complementary strengths of regression-based and detection-based models—regression for high-density crowds and detection for low-density scenes—through knowledge distillation.
- To enable effective transfer learning from a labeled source domain to an unlabeled target domain by learning mutual transformations between model outputs.
- To develop a self-supervised iterative co-training framework that improves both regression and detection performance on the target domain using fused pseudo-labels.
Proposed method
- Learns two scene-agnostic transformers: Reg-to-Det and Det-to-Reg, to map outputs between regression and detection models, enabling mutual knowledge distillation.
- Uses a novel focal MSE loss with DMS-SSIM to train the Reg-to-Det transformer, improving localization accuracy in the target domain.
- Applies iterative self-supervised learning: in each iteration, the models generate fused pseudo-labels (density maps and bounding boxes), which are used to refine both models.
- Fuses regression and detection outputs by converting detection results into density maps via Gaussian convolution and reversing the process via deconvolution-like operations.
- Employs a dual-branch network architecture where regression and detection heads are jointly optimized using pseudo-labels generated from the other modality.
- Trains the Reg-to-Det transformer on the source domain using a small subset of data, demonstrating its scene-agnostic nature and generalization capability.
Experimental results
Research questions
- RQ1Can complementary knowledge from regression- and detection-based crowd counting models be effectively transferred in an unsupervised domain adaptation setting?
- RQ2How can mutual knowledge distillation be formalized between heterogeneous outputs of regression and detection models?
- RQ3To what extent can scene-agnostic transformers enable effective cross-model knowledge transfer across domains?
- RQ4Does iterative self-supervised co-training with fused pseudo-labels improve performance on unlabeled target data?
Key findings
- The proposed method achieves a new state-of-the-art performance on the ShanghaiTech, UCF_CC_50, and UCF_QNRF benchmarks in the unsupervised transfer learning setting.
- On the ShanghaiTech dataset (SHB → SHA), the method reduces MAE to 112.24 and MSE to 218.18, outperforming prior SOTA methods.
- The Reg-to-Det transformer trained on only 30% of the source data achieves 0.406 mAP on A→Q and 0.610 mAP on A→B, showing strong generalization and scene-agnostic properties.
- The ablation study confirms that the full method (with fusion and self-supervised iterations) achieves the best performance, with MAE of 112.24 and mAP of 0.661, outperforming variants without fusion or random sampling.
- The iterative co-training process stabilizes after 4 iterations, with marginal gains beyond that, indicating convergence and robustness.
- The use of focal MSE and DMS-SSIM losses in the Reg-to-Det transformer leads to a 0.448 mAP on A→Q, significantly outperforming standard MSE loss (0.347) and focal CE loss (0.399).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.