Semi-supervised Counting via Pixel-by-pixel Density Distribution Modelling

Hui Lin, Zhiheng Ma, Rongrong Ji, Yaowei Wang, Zhou Su +2 more
2/23/2024
cs.CVcs.LG

Official code: LoraLinH/Semi-supervised-Counting-via-Pixel-by-pixel-Density-Distribution-Modelling (8 stars, last commit 2025-04-02).

Abstract

This paper focuses on semi-supervised crowd counting, where only a small portion of the training data are labeled. We formulate the pixel-wise density value to regress as a probability distribution, instead of a single deterministic value. On this basis, we propose a semi-supervised crowd-counting model. Firstly, we design a pixel-wise distribution matching loss to measure the differences in the pixel-wise density distributions between the prediction and the ground truth; Secondly, we enhance the transformer decoder by using density tokens to specialize the forwards of decoders w.r.t. different density intervals; Thirdly, we design the interleaving consistency self-supervised learning mechanism to learn from unlabeled data efficiently. Extensive experiments on four datasets are performed to show that our method clearly outperforms the competitors by a large margin under various labeled ratio settings. Code will be released at https://github.com/LoraLinH/Semi-supervised-Counting-via-Pixel-by-pixel-Density-Distribution-Modelling.

View on arXivView PDF

Code Implementations(1)

Official Implement of 'Semi-supervised Counting via Pixel-by-pixel Density Distribution Modelling'

81PythonJan 21, 20231 years ago

Similar Papers

Cite this paper

@article{lin2024semisupervised,
  title  = {Semi-supervised Counting via Pixel-by-pixel Density Distribution Modelling},
  author = {Hui Lin and Zhiheng Ma and Rongrong Ji and Yaowei Wang and Zhou Su and Xiaopeng Hong and Deyu Meng},
  year   = {2024},
  eprint = {2402.15297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15297v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.15297.svg)](https://codeofpaper.com/paper/2402.15297)

Discussion