Learning to Count Without Annotations

Lukas Knobel, Tengda Han, Yuki M. Asano
2/14/2026

No official code found. Best implementation: lukasknobel/SelfCollages (23 stars, MIT, last commit 2024-05-24).

Abstract

While recent supervised methods for reference-based object counting continue to improve the performance on benchmark datasets, they have to rely on small datasets due to the cost associated with manually annotating dozens of objects in images. We propose UnCounTR, a model that can learn this task without requiring any manual annotations. To this end, we construct “Self-Collages”, images with various pasted objects as training samples, that provide a rich learning signal covering arbitrary object types and counts. Our method builds on existing unsupervised representations and segmentation techniques to successfully demonstrate for the first time the ability of reference-based counting without manual supervision. Our experiments show that our method not only outperforms simple base-lines and generic models such as FasterRCNN and DETR, but also matches the performance of supervised counting models in some domains.11Code: https://github.com/lukasknobel/SelfCollages

View on arXivView PDF

Code Implementations(1)

MIT

Learning to Count without Annotations

230Python, Jupyter NotebookJul 14, 20232 years agoMIT

Similar Papers

Cite this paper

@article{knobel2026learning,
  title  = {Learning to Count Without Annotations},
  author = {Lukas Knobel and Tengda Han and Yuki M. Asano},
  year   = {2026},
  eprint = {2307.08727},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.08727},
  journal = {CVPR 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/2307.08727.svg)](https://codeofpaper.com/paper/2307.08727)

Discussion