Skip to main content
QUICK REVIEW

[Paper Review] Federated Action Recognition on Heterogeneous Embedded Devices

Pranjal Jain, Shreyas Goenka|arXiv (Cornell University)|Jul 18, 2021
Privacy-Preserving Technologies in DataComputer Science60 references5 citations
TL;DR

This paper proposes an asynchronous federated learning framework for action recognition on heterogeneous embedded devices, using knowledge distillation from a large Kinetics model to enable accurate fine-tuning on small local datasets. It achieves 55.6% top-1 per-clip accuracy on HMDB51 and 89.5% on UCF101—within 2% of central server fine-tuning—while reducing training time by 40% compared to synchronous methods.

ABSTRACT

Federated learning allows a large number of devices to jointly learn a model without sharing data. In this work, we enable clients with limited computing power to perform action recognition, a computationally heavy task. We first perform model compression at the central server through knowledge distillation on a large dataset. This allows the model to learn complex features and serves as an initialization for model fine-tuning. The fine-tuning is required because the limited data present in smaller datasets is not adequate for action recognition models to learn complex spatio-temporal features. Because the clients present are often heterogeneous in their computing resources, we use an asynchronous federated optimization and we further show a convergence bound. We compare our approach to two baseline approaches: fine-tuning at the central server (no clients) and fine-tuning using (heterogeneous) clients using synchronous federated averaging. We empirically show on a testbed of heterogeneous embedded devices that we can perform action recognition with comparable accuracy to the two baselines above, while our asynchronous learning strategy reduces the training time by 40%, relative to synchronous learning.

Motivation & Objective

  • Enable action recognition on resource-constrained embedded devices where local datasets are too small for effective training.
  • Address the challenge of model overfitting on small datasets like HMDB51 and UCF101 by leveraging pre-trained models via knowledge distillation.
  • Overcome the limitations of synchronous federated learning in heterogeneous edge environments, where straggler devices delay training.
  • Develop and theoretically bound an asynchronous federated optimization strategy suitable for real-world edge deployments with variable device capabilities.
  • Demonstrate that edge-based federated learning can achieve accuracy comparable to centralized training without sharing raw video data.

Proposed method

  • Perform knowledge distillation at the central server using a ResNet-34 as a teacher model to train a smaller ResNet-18 student model on the Kinetics-400 dataset.
  • Use the distilled ResNet-18 as an initialization for fine-tuning on local client datasets (HMDB51 and UCF101), improving generalization on small data.
  • Implement an asynchronous federated averaging algorithm where clients update the global model independently, without waiting for all devices.
  • Introduce a mixing hyperparameter β and an adaptive aggregation weight a to control the influence of incoming client updates, improving convergence stability.
  • Theoretical analysis provides a convergence bound for the asynchronous federated optimization under non-iid and heterogeneous client conditions.
  • Hyperparameter tuning is performed empirically to identify optimal settings (a=0.5, β=0.7) that maximize accuracy across both HMDB51 and UCF101 datasets.

Experimental results

Research questions

  • RQ1Can knowledge distillation from a large-scale pre-trained model improve action recognition accuracy on small local datasets in edge devices?
  • RQ2How does asynchronous federated learning compare to synchronous federated averaging in terms of convergence speed and accuracy on heterogeneous embedded devices?
  • RQ3What hyperparameter settings (a and β) yield the best trade-off between convergence speed and model accuracy in asynchronous federated training?
  • RQ4To what extent can federated learning on edge devices achieve accuracy comparable to centralized training without data sharing?
  • RQ5Can the proposed framework effectively handle the computational and storage limitations of real-world embedded devices like Jetson Nano and AGX Xavier?

Key findings

  • The proposed asynchronous federated learning framework reduces training time by 40% compared to synchronous federated averaging on a heterogeneous testbed of embedded devices.
  • With hyperparameters a=0.5 and β=0.7, the method achieves 55.6% top-1 per-clip accuracy on HMDB51 and 89.5% on UCF101, within 2% of the central server fine-tuning baseline (57.3% on HMDB51).
  • The ResNet-18 model distilled via a teaching assistant (TA) achieves 54.6% per-clip accuracy on Kinetics-400, outperforming direct distillation from ResNet-34 (53.8%) and training from scratch (50.2%).
  • Training time per epoch varies significantly across devices: Jetson Nano takes 4.7× longer than AGX Xavier, highlighting the need for asynchronous training to avoid straggler bottlenecks.
  • The convergence rate in asynchronous training is slowest for small β values, as they assign less weight to incoming client updates, which is empirically validated in the results.
  • Adding more than one teaching assistant during knowledge distillation provides negligible accuracy gains but increases training time, indicating diminishing returns.

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.