vix.ing · top · new · best · stats · spec

Diffusion-based Data Augmentation for Object Counting Problems

2024/01/25 by Zhen Wang, Yuelei Li, Wang, Zhen +5 · 1 citation
Computer Science · Environmental Science · Social Sciences · #Air Quality Monitoring and Forecasting #Computer Vision and Pattern Recognition (cs.CV) #FOS: Computer and information sciences #Human Mobility and Location-Based Analysis #Video Surveillance and Tracking Methods

paper · pdf · doi:10.48550/arxiv.2401.13992

openalex publication_date 2024/01/25 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Crowd counting is an important problem in computer vision due to its wide range of applications in image understanding. Currently, this problem is typically addressed using deep learning approaches, such as Convolutional Neural Networks (CNNs) and Transformers. However, deep networks are data-driven and are prone to overfitting, especially when the available labeled crowd dataset is limited. To overcome this limitation, we have designed a pipeline that utilizes a diffusion model to generate extensive training data. We are the first to generate images conditioned on a location dot map (a binary dot map that specifies the location of human heads) with a diffusion model. We are also the first to use these diverse synthetic data to augment the crowd counting models. Our proposed smoothed density map input for ControlNet significantly improves ControlNet's performance in generating crowds in the correct locations. Also, Our proposed counting loss for the diffusion model effectively minimizes the discrepancies between the location dot map and the crowd images generated. Additionally, our innovative guidance sampling further directs the diffusion process toward regions where the generated crowd images align most accurately with the location dot map. Collectively, we have enhanced ControlNet's ability to generate specified objects from a location dot map, which can be used for data augmentation in various counting problems. Moreover, our framework is versatile and can be easily adapted to all kinds of counting problems. Extensive experiments demonstrate that our framework improves the counting performance on the ShanghaiTech, NWPU-Crowd, UCF-QNRF, and TRANCOS datasets, showcasing its effectiveness.

Cited by

Related