NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Meta-Knowledge and Multi-Task Learning-Based Multi-Scene Adaptive Crowd Counting

Siqi Tang, Zhisong Pan, Guyu Hu, Yang Wu, Yunbo Li2022

TL;DR

This paper tackles the challenge of crowd counting in surveillance systems that are deployed in new, unseen environments. They propose a "coarse-to-fine" approach that first learns general "meta-knowledge" from existing scenes and then uses multi-task learning to adapt to specific new scenes, achieving better accuracy and reducing the need for extensive retraining.

What Problem Does This Paper Address?

Surveillance cameras are often deployed in static positions, but the environments they monitor can vary drastically. This poses a significant challenge for crowd counting models, which are typically trained on specific datasets and struggle to generalize to new scenes with different lighting, backgrounds, and camera angles. While existing methods try to adapt models to new scenes, they often require retraining for each individual scene, which is labor-intensive and costly for large-scale deployments. This paper aims to develop a crowd counting system that can adapt to multiple new scenes efficiently and effectively, without requiring extensive retraining for each one.

Methods

The proposed method employs a two-stage "coarse-to-fine" pipeline:

  • Coarse-grained stage (Meta-Knowledge Learning): This stage focuses on learning general, scene-independent knowledge that is common across various surveillance scenarios. This "meta-knowledge" includes understanding foreground/background features, perspective scale variations, and crucially, inter-frame temporal knowledge. To capture this temporal information, they introduce a two-stream network. This network takes pairs of consecutive frames from the same scene and learns to differentiate between static background elements and moving crowds by analyzing the differences in high-level features. This stage aims to build a robust, generalizable model.
  • Fine-grained stage (Multi-Task Learning): Once the general meta-knowledge is learned, this stage focuses on adapting the model to the specific characteristics of individual scenes, including new, unseen ones. The authors frame crowd counting in each scene as a separate task within a multi-task learning framework. Specifically, they use the density maps generated by the coarse-stage network as input to a linear regression layer. This layer learns scene-specific weights to map density maps to the final crowd count. A robust multi-task learning approach is employed, incorporating low-rank and group-sparse structures to handle potential outlier scenes and improve overall robustness. This allows the model to learn scene-specific regression parameters efficiently, even with limited data from new scenes.

Datasets

The primary dataset used for evaluation is WorldExpo10. This dataset is notable for containing images collected from multiple fixed cameras across different scenes, making it suitable for evaluating multi-scene adaptive crowd counting. The authors mention that the dataset consists of 1132 images from 108 cameras. For their experiments, they randomly set aside 103 scenes for training (known scenes) and 5 scenes for testing (unseen scenes), with a small number of labeled images (K=5) for the unseen scenes.

Key Insights and Ideas

  • Inter-frame temporal knowledge is crucial: The paper highlights that most existing methods focus on single images and neglect the valuable information contained in the temporal relationship between consecutive frames. By comparing frames, models can better distinguish static backgrounds from moving crowds, leading to improved accuracy.
  • Meta-knowledge for generalization: The concept of "meta-knowledge" – generalizable information learned from diverse scenes – is central. This knowledge acts as a strong prior, enabling better adaptation to new, unseen environments.
  • Multi-task learning for efficient adaptation: Framing scene-specific counting as multiple tasks within a multi-task learning framework allows for efficient learning of scene-specific parameters. This avoids the need for full model retraining for each new scene.
  • Robustness to outlier scenes: The use of robust multi-task learning techniques helps the model handle variations and potential outliers across different scenes, leading to more reliable performance.

Key Results

The proposed method, TSN with Multi-Task Learning (MTL), achieved state-of-the-art results on the WorldExpo10 dataset.

  • It reduced the Mean Absolute Error (MAE) by 10.29% compared to AMSNet and 13.48% compared to MAML-counting.
  • The paper demonstrates that the fine-grained stage with MTL significantly improves accuracy. Compared to a TSN model without MTL, the proposed method reduced the average MAE by 15.28%.
  • Qualitative results show that the proposed method is better at distinguishing crowds from complex backgrounds and handles variations in lighting and crowd density more effectively.

Limitations and Future Work

  • Two-phase approach: The current method is a two-phase approach (coarse-grained and fine-grained stages). The authors suggest that in future work, the overall counting regression from density map could be integrated into a single, end-to-end network, potentially combining domain adaptation and meta-knowledge learning more holistically.
  • Lighting condition robustness: While the method shows good robustness, performance degradation was observed in scenes with highly unbalanced lighting conditions (e.g., significantly more daytime than nighttime frames). The authors suggest exploring improved data sampling mechanisms to balance illumination conditions for better robustness.

Summary updated

BibTeX
@misc{tang2022meta,
  author = {Siqi Tang and Zhisong Pan and Guyu Hu and Yang Wu and Yunbo Li},
  title = {{Meta-Knowledge and Multi-Task Learning-Based Multi-Scene Adaptive Crowd Counting}},
  year = {2022},
  doi = {10.3390/s22093320},
}

Loading related content...

Figure