Point-Query Quadtree for Crowd Counting, Localization, and More

Chengxin Liu, Hao Lu, Zhiguo Cao, Tongliang Liu
2/14/2026

No official code found. Best implementation: cxliu0/PET (91 stars, MIT, last commit 2025-04-11).

Abstract

We show that crowd counting can be viewed as a decomposable point querying process. This formulation enables arbitrary points as input and jointly reasons whether the points are crowd and where they locate. The querying processing, however, raises an underlying problem on the number of necessary querying points. Too few imply underestimation; too many increase computational overhead. To address this dilemma, we introduce a decomposable structure, i.e., the point-query quadtree, and propose a new counting model, termed Point quEry Transformer (PET). PET implements decomposable point querying via data-dependent quadtree splitting, where each querying point could split into four new points when necessary, thus enabling dynamic processing of sparse and dense regions. Such a querying process yields an intuitive, universal modeling of crowd as both the input and output are interpretable and steerable. We demonstrate the applications of PET on a number of crowd-related tasks, including fully-supervised crowd counting and localization, partial annotation learning, and point annotation refinement, and also report state-of-the-art performance. For the first time, we show that a single counting model can address multiple crowd-related tasks across different learning paradigms. Code is available at https://github.com/cxliu0/PET.

View on arXivView PDF

Code Implementations(1)

cxliu0/PETCommunity100%
MIT

[ICCV 2023] Point-Query Quadtree for Crowd Counting, Localization, and More

9115Shell, PythonAug 9, 20231 years agoMIT
crowdcountingobject-counting

Similar Papers

Cite this paper

@article{liu2026pointquery,
  title  = {Point-Query Quadtree for Crowd Counting, Localization, and More},
  author = {Chengxin Liu and Hao Lu and Zhiguo Cao and Tongliang Liu},
  year   = {2026},
  eprint = {2308.13814},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.13814},
  journal = {ICCV 2023 2023}
}

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

Discussion