Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning Towards Mobile Applications

Ji Wang, Bokai Cao|arXiv (Cornell University)|Sep 10, 2018
Context-Aware Activity Recognition SystemsComputer Science35 references7 citations
TL;DR

This paper surveys challenges and advancements in deploying deep learning on mobile devices, focusing on federated learning for privacy-preserving model training, efficient inference techniques, and real-world applications like user identification and mood detection. It demonstrates that deep learning can be effectively used on mobile devices with high accuracy (98.97% F1 score) while preserving user privacy.

ABSTRACT

Recent years have witnessed an explosive growth of mobile devices. Mobile devices are permeating every aspect of our daily lives. With the increasing usage of mobile devices and intelligent applications, there is a soaring demand for mobile applications with machine learning services. Inspired by the tremendous success achieved by deep learning in many machine learning tasks, it becomes a natural trend to push deep learning towards mobile applications. However, there exist many challenges to realize deep learning in mobile applications, including the contradiction between the miniature nature of mobile devices and the resource requirement of deep neural networks, the privacy and security concerns about individuals' data, and so on. To resolve these challenges, during the past few years, great leaps have been made in this area. In this paper, we provide an overview of the current challenges and representative achievements about pushing deep learning on mobile devices from three aspects: training with mobile data, efficient inference on mobile devices, and applications of mobile deep learning. The former two aspects cover the primary tasks of deep learning. Then, we go through our two recent applications that apply the data collected by mobile devices to inferring mood disturbance and user identification. Finally, we conclude this paper with the discussion of the future of this area.

Motivation & Objective

  • Address the challenge of deploying resource-intensive deep neural networks (DNNs) on mobile devices with limited computation and battery capacity.
  • Enable privacy-preserving training of DNNs using decentralized data from mobile devices without transferring raw data to central servers.
  • Develop efficient inference methods to run DNNs on mobile hardware despite memory and energy constraints.
  • Demonstrate practical mobile deep learning applications using real user-generated data, such as user identification and mood disturbance detection.
  • Identify key research gaps in efficiency and privacy for future mobile deep learning systems.

Proposed method

  • Utilizes federated learning to train DNNs across mobile devices without centralizing raw user data, preserving privacy.
  • Employs model compression and quantization techniques to reduce DNN size and computational cost for on-device inference.
  • Leverages mobile sensor data (keystrokes, accelerometer) as input features for user identification and mood analysis.
  • Applies deep neural networks (e.g., DNNs, XGBoost, Random Forest) to classify user behavior patterns from mobile sensor streams.
  • Designs a system called DeepService that uses keystroke dynamics and motion patterns to identify users with high accuracy.
  • Employs feature engineering to separate frequent and infrequent keys and analyze multi-axis acceleration correlations for improved user differentiation.

Experimental results

Research questions

  • RQ1How can deep learning models be trained efficiently on mobile devices without compromising user privacy?
  • RQ2What techniques enable efficient inference of large DNNs on resource-constrained mobile hardware?
  • RQ3Can mobile sensor data (e.g., keystrokes, accelerometer) be used to accurately identify users or detect mood states?
  • RQ4How does model performance degrade as the number of users to identify increases in a shared mobile environment?
  • RQ5What are the key challenges and future directions for deploying deep learning in mobile applications?

Key findings

  • Federated learning enables effective model training across mobile devices while keeping raw user data on-device, addressing privacy concerns.
  • DeepService achieves an average accuracy of 99.1% and an F1 score of 98.97% in identifying users based on their mobile interaction patterns.
  • The system successfully distinguishes between users even in shared scenarios (e.g., husband and wife using the same phone), with high performance in multi-class identification.
  • When scaling to 10 users, DeepService achieves 87.35% accuracy and 87.69% F1 score, outperforming traditional models like XGBoost and Random Forest.
  • Performance degrades with increasing numbers of users due to greater variation in shared biometric patterns, indicating a trade-off between scalability and accuracy.
  • The paper concludes that future mobile deep learning will shift from cloud-based inference to on-device training and inference, driven by advances in mobile processors and wireless technology.

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.