Skip to main content
QUICK REVIEW

[Paper Review] Towards Real-Time Action Recognition on Mobile Devices Using Deep Models

Chen-Lin Zhang, Xinxin Liu|arXiv (Cornell University)|Jun 17, 2019
Human Pose and Action RecognitionComputer Science34 references8 citations
TL;DR

This paper proposes a real-time action recognition framework for mobile devices using efficient deep learning models, leveraging temporal shift modules (TSM) and squeeze-and-excitation (SE) modules to achieve state-of-the-art accuracy with 6x fewer FLOPs and inference time. It demonstrates the first successful deployment of deep action recognition models on mobile phones, achieving ~10 FPS on a Huawei Mate 10 for gesture recognition.

ABSTRACT

Action recognition is a vital task in computer vision, and many methods are developed to push it to the limit. However, current action recognition models have huge computational costs, which cannot be deployed to real-world tasks on mobile devices. In this paper, we first illustrate the setting of real-time action recognition, which is different from current action recognition inference settings. Under the new inference setting, we investigate state-of-the-art action recognition models on the Kinetics dataset empirically. Our results show that designing efficient real-time action recognition models is different from designing efficient ImageNet models, especially in weight initialization. We show that pre-trained weights on ImageNet improve the accuracy under the real-time action recognition setting. Finally, we use the hand gesture recognition task as a case study to evaluate our compact real-time action recognition models in real-world applications on mobile phones. Results show that our action recognition models, being 6x faster and with similar accuracy as state-of-the-art, can roughly meet the real-time requirements on mobile devices. To our best knowledge, this is the first paper that deploys current deep learning action recognition models on mobile devices.

Motivation & Objective

  • To redefine the inference setting for real-time action recognition on mobile devices, distinct from standard server-based settings with heavy data augmentation.
  • To empirically evaluate state-of-the-art action recognition models under real-time constraints on mobile hardware.
  • To design compact, efficient models that maintain high accuracy while drastically reducing FLOPs and latency for on-device deployment.
  • To validate the approach in real-world mobile applications, particularly for hand gesture recognition.
  • To provide new design insights for efficient real-time action recognition models, differing from ImageNet model optimization principles.

Proposed method

  • Adopted MnasNet as the base architecture due to its efficiency and mobile suitability.
  • Integrated the Temporal Shift Module (TSM) to enable cross-frame feature exchange with zero FLOP cost, enhancing temporal modeling.
  • Added Squeeze-and-Excitation (SE) modules to recalibrate channel-wise feature responses, improving representational power.
  • Used joint pretraining on ImageNet and Kinetics to improve generalization and accuracy under real-time constraints.
  • Fine-tuned models on the Jester dataset for gesture recognition using 25 epochs with learning rate decay.
  • Evaluated models under two input modes: batch processing of 8-frame clips and sequential frame feeding to simulate real-time inference.

Experimental results

Research questions

  • RQ1How does the performance of state-of-the-art action recognition models change under a real-time mobile inference setting without heavy data augmentation?
  • RQ2What role do pretrained ImageNet weights play in improving accuracy for real-time action recognition on mobile devices?
  • RQ3How do additional modules like TSM and SE affect accuracy, FLOPs, and inference latency in compact models?
  • RQ4Can efficient models designed for image classification be effectively adapted for video action recognition on mobile platforms?
  • RQ5What are the key differences in model design principles between efficient ImageNet models and efficient real-time action recognition models?

Key findings

  • MnasNet with TSM and SE modules achieved 66.5% top-1 accuracy on Kinetics validation set, a 5.8% improvement over baseline MnasNet (60.7%) with only 6x fewer FLOPs and inference time.
  • Models pre-trained on both ImageNet and Kinetics outperformed those trained only on Kinetics, and Kinetics accuracy strongly correlated with ImageNet accuracy under real-time settings.
  • Overfitting was a major issue in compact models, contradicting findings in ImageNet settings where overfitting is less pronounced.
  • Branch architectures like Inception were effective but incurred high CPU latency on mobile devices even with similar FLOP counts.
  • Sequential inference on the HUAWEI Mate 10 achieved ~10 FPS (90.24ms latency per frame), meeting real-time requirements for gesture recognition.
  • The proposed model achieved 93.7% accuracy on the Jester dataset with 20% of the latency and 10% of the FLOPs of ResNet-50, demonstrating strong efficiency-accuracy trade-off.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.