Counting without Scale: Scale-Consistent Error Correction for Crowd Counting
Yi-Kuan Hsieh, Xin Li, Chi-Chia Sun, Yu-Chee Tseng, Ming-Ching Chang, Kuan-Chuan Peng, Jun Hsieh
NeurIPS page · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Domain Adaptive Vision · Type: new method · Keywords: crowd counting, scale invariance, annotation noise, loss function, multi-scale supervision, probabilistic label modeling
Areas: Computer Vision & 3D › Visual Multimodal Perception › Detection and Visual Recognition
Summary
SLICE introduces a scale-aware loss function that improves scale invariance and corrects annotation noise, leading to state-of-the-art crowd counting performance.
Explained to a 5-year-old
People draw pictures of groups of people and count how many there are. Sometimes the pictures are taken from far away, so the people look tiny, and sometimes it's close up, so they look big. If the computer sees a picture of people that looks different from the ones it learned from, it might count wrong. Also, the people who label the pictures for training sometimes make mistakes, so the computer learns from wrong numbers. The new idea is to teach the computer two tricks: one to make sure it counts the same no matter the size, and another to fix the mistakes it makes.
Explained to a 5-year-old, longer
When we look at a picture and count how many people are in it, we want to get the right number. Sometimes the picture is taken from far away, so the people look tiny, and sometimes it's close up, so they look big. If the computer sees a picture of people that looks different from the ones it learned from, it might count wrong. Also, the people who label the pictures for training sometimes make mistakes, so the computer learns from wrong numbers. The researchers noticed that both of these problems-different sizes and wrong labels-make counting unreliable. They thought of a way to help the computer be better at both things at once. First, they added a rule that makes the computer look at the picture from many different sizes and compare its counts. Second, they added another rule that lets the computer guess how uncertain it is about the labels and correct its mistakes. This second rule uses a special math model that thinks of the label errors as a mix of small blurs. The new method works like a helpful teacher that checks the computer's work and fixes errors without needing extra computer power. Because it is just a new loss function, it can be added to many existing counting systems easily. In tests, the new method counted people more accurately, especially when the pictures were very different from what the computer had seen before.
For a technical reader
Crowd counting models often suffer from scale variance and noisy annotations, leading to inconsistent performance on real-world images. The paper proposes a composite loss that enforces multi-scale consistency across density maps while modeling label uncertainty with probabilistic components. This loss is model-agnostic, integrates seamlessly into existing architectures, and requires no additional inference overhead. Experiments on five benchmark datasets show 5-7% MAE reductions versus baseline methods and up to 15% further improvement when the scale-invariance term is applied across multiple scales.
Problem
Crowd counting models often fail to produce consistent predictions when test images differ in scale from training data, and they are affected by noisy human annotations. This makes it difficult to achieve robust and scale-invariant counting across diverse scenarios.
Method
The approach uses a loss function composed of a scale-invariance term that applies multi-scale supervision to density maps and an error-correction term that models label uncertainty with probabilistic methods such as a mixture of Gaussians. This loss is model-agnostic and can be integrated into existing crowd counting architectures without extra inference cost.
Results
The approach reduces mean absolute error (MAE) by 5-7% compared to baseline methods and achieves up to an additional 15% reduction when the scale-invariance term is applied across multiple scales, delivering state-of-the-art performance.
Contributions
It introduces a unified loss that simultaneously addresses scale invariance and annotation noise, and demonstrates significant improvements in robustness and cross-dataset generalization for crowd counting.
Practical relevance
The method enables more reliable crowd counting for real-world applications such as surveillance and urban planning, where scale variation and noisy annotations are common.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction