ZIP: Scalable Crowd Counting via Zero-Inflated Poisson Modeling

Yiming Ma, Victor Sanchez, Tanaya Guha
6/24/2025
cs.CV

No official code found. Best implementation: Yiming-M/ZIP (21 stars, MIT, last commit 2025-09-16).

Abstract

Most crowd counting methods directly regress blockwise density maps using Mean Squared Error (MSE) losses. This practice has two key limitations: (1) it fails to account for the extreme spatial sparsity of annotations - over 95% of 8x8 blocks are empty across standard benchmarks, so supervision signals in informative regions are diluted by the predominant zeros; (2) MSE corresponds to a Gaussian error model that poorly matches discrete, non-negative count data. To address these issues, we introduce ZIP, a scalable crowd counting framework that models blockwise counts with a Zero-Inflated Poisson likelihood: a zero-inflation term learns the probability a block is structurally empty (handling excess zeros), while the Poisson component captures expected counts when people are present (respecting discreteness). We provide a generalization analysis showing a tighter risk bound for ZIP than MSE-based losses and DMCount provided that the training resolution is moderately large. To assess the scalability of ZIP, we instantiate it on backbones spanning over 100x in parameters/compute. Experiments on ShanghaiTech A & B, UCF-QNRF, and NWPU-Crowd demonstrate that ZIP consistently surpasses state-of-the-art methods across all model scales.

View on arXivView PDF

Code Implementations(1)

Yiming-M/ZIPCommunity100%
MIT
214Shell, PythonJun 27, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ma2025zip,
  title  = {ZIP: Scalable Crowd Counting via Zero-Inflated Poisson Modeling},
  author = {Yiming Ma and Victor Sanchez and Tanaya Guha},
  year   = {2025},
  eprint = {2506.19955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.19955v3}
}

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/2506.19955.svg)](https://codeofpaper.com/paper/2506.19955)

Discussion