Count What You Want: Exemplar Identification and Few-Shot Counting of Human Actions in the Wild

Authors

  • Yifeng Huang Stony Brook University, NY, USA
  • Duc Duy Nguyen VinAI, Hanoi, Vietnam
  • Lam Nguyen VinAI, Hanoi, Vietnam
  • Cuong Pham VinAI, Hanoi, Vietnam Posts & Telecommunications Institute of Technology, Hanoi, Vietnam
  • Minh Hoai Stony Brook University, NY, USA VinAI, Hanoi, Vietnam

DOI:

https://doi.org/10.1609/aaai.v38i9.28869

Keywords:

HAI: Human-in-the-loop Machine Learning, ML: Time-Series/Data Streams

Abstract

This paper addresses the task of counting human actions of interest using sensor data from wearable devices. We propose a novel exemplar-based framework, allowing users to provide exemplars of the actions they want to count by vocalizing predefined sounds ``one'', ``two'', and ``three''. Our method first localizes temporal positions of these utterances from the audio sequence. These positions serve as the basis for identifying exemplars representing the action class of interest. A similarity map is then computed between the exemplars and the entire sensor data sequence, which is further fed into a density estimation module to generate a sequence of estimated density values. Summing these density values provides the final count. To develop and evaluate our approach, we introduce a diverse and realistic dataset consisting of real-world data from 37 subjects and 50 action categories, encompassing both sensor and audio data. The experiments on this dataset demonstrate the viability of the proposed method in counting instances of actions from new classes and subjects that were not part of the training data. On average, the discrepancy between the predicted count and the ground truth value is 7.47, significantly lower than the errors of the frequency-based and transformer-based methods. Our project, code and dataset can be found at https://github.com/cvlab-stonybrook/ExRAC.

Published

2024-03-24

How to Cite

Huang, Y., Nguyen, D. D., Nguyen, L., Pham, C., & Hoai, M. (2024). Count What You Want: Exemplar Identification and Few-Shot Counting of Human Actions in the Wild. Proceedings of the AAAI Conference on Artificial Intelligence, 38(9), 10057-10065. https://doi.org/10.1609/aaai.v38i9.28869

Issue

Section

AAAI Technical Track on Humans and AI