Papers › EBC-ZIP: Improving Blockwise Crowd Counting with Zero-Inflated Poisson Regression

EBC-ZIP: Improving Blockwise Crowd Counting with Zero-Inflated Poisson Regression

24 Jun 2025arXiv:2506.19955archive 2025-07-28

Yiming Ma, Victor Sanchez, Tanaya Guha

Density map estimation has become the mainstream paradigm in crowd counting. However, most existing methods overlook the extreme sparsity of ground-truth density maps. In real-world crowd scenes, the vast majority of spatial regions (often over 95%) contain no people, leading to heavily imbalanced count distributions. Ignoring this imbalance can bias models toward overestimating dense regions and underperforming in sparse areas. Furthermore, most loss functions used in density estimation are majorly based on MSE and implicitly assume Gaussian distributions, which are ill-suited for modeling discrete, non-negative count data. In this paper, we propose EBC-ZIP, a crowd counting framework that models the spatial distribution of counts using a Zero-Inflated Poisson (ZIP) regression formulation. Our approach replaces the traditional regression loss with the negative log-likelihood of the ZIP distribution, enabling better handling of zero-heavy distributions while preserving count accuracy. Built upon the recently proposed Enhanced Block Classification (EBC) framework, EBC-ZIP inherits EBC's advantages in preserving the discreteness of targets and ensuring training stability, while further improving performance through a more principled probabilistic loss. We also evaluate EBC-ZIP with backbones of varying computational complexity to assess its scalability. Extensive experiments on four crowd counting benchmarks demonstrate that EBC-ZIP consistently outperforms EBC and achieves state-of-the-art results.

PaperPDFCode

Code

yiming-m/ebc-zip officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Crowd CountingDensity Estimation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Crowd Counting NWPU-Crowd (Val) EBC-ZIP-B MAE 28.26 #1 of 6 Archive leaderboard report
Crowd Counting NWPU-Crowd (Val) EBC-ZIP-B RMSE 64.84 #1 of 6 Archive leaderboard report
Crowd Counting ShanghaiTech A EBC-ZIP-B MAE 47.81 #1 of 35 Archive leaderboard report
Crowd Counting ShanghaiTech A EBC-ZIP-B RMSE 75.04 #1 of 35 Archive leaderboard report
Crowd Counting ShanghaiTech B EBC-ZIP-B MAE 5.51 #1 of 32 Archive leaderboard report
Crowd Counting ShanghaiTech B EBC-ZIP-B RMSE 8.63 #1 of 32 Archive leaderboard report
Crowd Counting UCF-QNRF EBC-ZIP-B MAE 69.46 #1 of 23 Archive leaderboard report
Crowd Counting UCF-QNRF EBC-ZIP-B RMSE 121.88 #1 of 23 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

EBC

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections