Ambient Sound Helps: Audiovisual Crowd Counting in Extreme Conditions

Di Hu, Lichao Mou, Qingzhong Wang, Junyu Gao, Yuansheng Hua, Dejing Dou, Xiao Xiang ZhuarXiv 2020

Abstract

Visual crowd counting has been recently studied as a way to enable people counting in crowd scenes from images. Albeit successful, vision-based crowd counting approaches could fail to capture informative features in extreme conditions, e.g., imaging at night and occlusion. In this work, we introduce a novel task of audiovisual crowd counting, in which visual and auditory information are integrated for counting purposes. We collect a large-scale benchmark, named auDiovISual Crowd cOunting (DISCO) dataset, consisting of 1,935 images and the corresponding audio clips, and 170,270 annotated instances. In order to fuse the two modalities, we make use of a linear feature-wise fusion module that carries out an affine transformation on visual and auditory features. Finally, we conduct extensive experiments using the proposed dataset and approach. Experimental results show that introducing auditory information can benefit crowd counting under different illumination, noise, and occlusion conditions.

Introduction

Crowd counting—estimating the number of people in a scene—is vital for safety monitoring and urban planning. Currently, state-of-the-art methods rely almost exclusively on computer vision using Convolutional Neural Networks (CNNs). However, cameras have a significant "blind spot": they struggle in extreme conditions such as low illumination (nighttime), low resolution, heavy sensor noise, or physical occlusions where people are simply not visible.

Humans do not rely solely on vision to sense a crowd; auditory cues provide a crucial "second opinion." A roar from a stadium or the hum of a busy subway station conveys information about crowd size even when visual visibility is compromised. This paper bridges this gap by introducing the task of audiovisual crowd counting, integrating auditory information into the counting pipeline to enhance robustness.

Methods

The proposed AudioVisual Counting (AVC) framework, specifically the AudioCSRNet architecture, consists of three main components:

  1. Visual Feature Extraction: The first ten layers of VGG16 are utilized to extract spatial features from the input image.
  2. Audio Feature Extraction: Raw audio is converted into a Log Mel-Spectrogram (LMS) and processed by a VGGish-like CNN (pre-trained on AudioSet) to extract high-level auditory features.
  3. Feature-wise Audiovisual Fusion: Inspired by Feature-wise Linear Modulation (FiLM), the model learns scaling ($\gamma$) and shifting ($\beta$) parameters from the audio features. These are used to perform an affine transformation on the visual feature maps, effectively allowing the audio to amplify or suppress visual features based on the acoustic context.

By stacking multiple fusion blocks, the model refines its count across different levels of abstraction.

The DISCO Dataset

To support this new task, the authors introduced the auDiovISual Crowd cOunting (DISCO) dataset. It contains 1,935 pairwise image-audio clips with 170,270 annotated head instances. The dataset is notable for its diversity, covering indoor and outdoor scenes like subways, malls, and stadiums across various times of day. Crucially, DISCO includes a high proportion of low-illumination and poor-quality samples to test robustness in extreme environments.

Samples from the DISCO dataset showing diverse scenes with corresponding audio signals.

Key Results and Insights

Experimental results demonstrate that AudioCSRNet significantly outperforms vision-only heavyweights like MCNN, CSRNet, and CANNet, particularly in challenging scenarios.

  • Performance in Extreme Conditions: In scenarios with low illumination and high Gaussian noise, AudioCSRNet achieved a Mean Absolute Error (MAE) of 25.06, compared to 35.78 for the vision-only CSRNet.
  • Robustness to Occlusion: Audio helps even when people are physically hidden. Because sound waves travel around obstacles, the auditory signal remains informative even when large portions of the image are occluded.
  • Audio as a Calibrator: The model effectively learns that louder, more complex ambient sounds generally correspond to higher population densities. In cases of total darkness (zero illumination), the model relies on the auditory "prior" to provide a rough estimate rather than failing completely.
Comparison of crowd counting in low-illumination conditions: (a) Input, (b) Ground-truth, (c) Audiovisual Prediction, and (d) Vision-only Prediction.

Conclusion and Future Work

This work proves that ambient sound is a powerful auxiliary signal for crowd counting. While the linear fusion approach is computationally efficient and effective, future research could explore spatial audio to help localize people in the dark. Additionally, investigating how audio-crowd correlations transfer between different acoustic environments (e.g., quiet libraries vs. noisy construction sites) remains an open challenge.

Summary updated

Abstract

Visual crowd counting has been recently studied as a way to enable people counting in crowd scenes from images. Albeit successful, vision-based crowd counting approaches could fail to capture informative features in extreme conditions, e.g., imaging at night and occlusion. In this work, we introduce a novel task of audiovisual crowd counting, in which visual and auditory information are integrated for counting purposes. We collect a large-scale benchmark, named auDiovISual Crowd cOunting (DISCO) dataset, consisting of 1,935 images and the corresponding audio clips, and 170,270 annotated instances. In order to fuse the two modalities, we make use of a linear feature-wise fusion module that carries out an affine transformation on visual and auditory features. Finally, we conduct extensive experiments using the proposed dataset and approach. Experimental results show that introducing auditory information can benefit crowd counting under different illumination, noise, and occlusion conditions. The dataset and code will be released. Code and data have been made available

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
DISCO low-quality imagesCSRNetMAE35.78Low illumination and Gaussian noise; PSNR 9.94.
Source quote
L161: Specifically, comparisons between AudioCSRNet and its counterpart, CSRNet, directly demonstrate that introducing audio information can benefit crowd counting, in particular on lower-quality images. For example, on images with low illumination and Gaussian noise (PSNR is 9.94 and 10.43), CSRNet obtains the MAEs of 35.78 and 45.88, whereas the MAEs of AudioCSRNet drop to 25.06 and 27.33, respectively. Besides, on images with low resolution (PSNR is 22.27), AudioCSRNet surpasses all competitors and achieves decrements of up to 43.29 in terms of MAE. As to images corrupted with Gaussian noise (PSNR is 30.05 and 24.13), AudioCSRNet obtains the lowest MSE in comparison with visual models as well.
DISCO low-quality imagesAudioCSRNetMAE25.06Low illumination and Gaussian noise; PSNR 9.94.
Source quote
L161: Specifically, comparisons between AudioCSRNet and its counterpart, CSRNet, directly demonstrate that introducing audio information can benefit crowd counting, in particular on lower-quality images. For example, on images with low illumination and Gaussian noise (PSNR is 9.94 and 10.43), CSRNet obtains the MAEs of 35.78 and 45.88, whereas the MAEs of AudioCSRNet drop to 25.06 and 27.33, respectively. Besides, on images with low resolution (PSNR is 22.27), AudioCSRNet surpasses all competitors and achieves decrements of up to 43.29 in terms of MAE. As to images corrupted with Gaussian noise (PSNR is 30.05 and 24.13), AudioCSRNet obtains the lowest MSE in comparison with visual models as well.
DISCO low-quality imagesCSRNetMAE45.88Low illumination and Gaussian noise; PSNR 10.43.
Source quote
L161: Specifically, comparisons between AudioCSRNet and its counterpart, CSRNet, directly demonstrate that introducing audio information can benefit crowd counting, in particular on lower-quality images. For example, on images with low illumination and Gaussian noise (PSNR is 9.94 and 10.43), CSRNet obtains the MAEs of 35.78 and 45.88, whereas the MAEs of AudioCSRNet drop to 25.06 and 27.33, respectively. Besides, on images with low resolution (PSNR is 22.27), AudioCSRNet surpasses all competitors and achieves decrements of up to 43.29 in terms of MAE. As to images corrupted with Gaussian noise (PSNR is 30.05 and 24.13), AudioCSRNet obtains the lowest MSE in comparison with visual models as well.
DISCO low-quality imagesAudioCSRNetMAE27.33Low illumination and Gaussian noise; PSNR 10.43.
Source quote
L161: Specifically, comparisons between AudioCSRNet and its counterpart, CSRNet, directly demonstrate that introducing audio information can benefit crowd counting, in particular on lower-quality images. For example, on images with low illumination and Gaussian noise (PSNR is 9.94 and 10.43), CSRNet obtains the MAEs of 35.78 and 45.88, whereas the MAEs of AudioCSRNet drop to 25.06 and 27.33, respectively. Besides, on images with low resolution (PSNR is 22.27), AudioCSRNet surpasses all competitors and achieves decrements of up to 43.29 in terms of MAE. As to images corrupted with Gaussian noise (PSNR is 30.05 and 24.13), AudioCSRNet obtains the lowest MSE in comparison with visual models as well.
BibTeX
@misc{hu2020ambient,
  author = {Di Hu and Lichao Mou and Qingzhong Wang and Junyu Gao and Yuansheng Hua and Dejing Dou and Xiao Xiang Zhu},
  title = {{Ambient Sound Helps: Audiovisual Crowd Counting in Extreme Conditions}},
  year = {2020},
  eprint = {2005.07097},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.07097},
}
Figure