Skip to main content
QUICK REVIEW

[Paper Review] Guidelines and Benchmarks for Deployment of Deep Learning Models on Smartphones as Real-Time Apps

Abhishek Sehgal, Nasser Kehtarnavaz|arXiv (Cornell University)|Jan 8, 2019
Advanced Neural Network ApplicationsComputer Science22 references5 citations
TL;DR

This paper presents a unified framework for deploying deep learning models as real-time applications on smartphones using Android and iOS platforms. It leverages open-source tools, multi-threading for performance optimization, and a benchmarking suite measuring accuracy, CPU/GPU usage, and throughput—demonstrated across six CNN models with validated real-time inference capabilities.

ABSTRACT

Deep learning solutions are being increasingly used in mobile applications. Although there are many open-source software tools for the development of deep learning solutions, there are no guidelines in one place in a unified manner for using these tools towards real-time deployment of these solutions on smartphones. From the variety of available deep learning tools, the most suited ones are used in this paper to enable real-time deployment of deep learning inference networks on smartphones. A uniform flow of implementation is devised for both Android and iOS smartphones. The advantage of using multi-threading to achieve or improve real-time throughputs is also showcased. A benchmarking framework consisting of accuracy, CPU/GPU consumption and real-time throughput is considered for validation purposes. The developed deployment approach allows deep learning models to be turned into real-time smartphone apps with ease based on publicly available deep learning and smartphone software tools. This approach is applied to six popular or representative convolutional neural network models and the validation results based on the benchmarking metrics are reported.

Motivation & Objective

  • To address the lack of unified, practical guidelines for deploying deep learning models as real-time mobile applications on smartphones.
  • To establish a standardized, cross-platform (Android and iOS) workflow for deploying pre-trained deep learning inference networks.
  • To evaluate and benchmark model performance using accuracy, computational resource consumption (CPU/GPU), and real-time throughput metrics.
  • To demonstrate the effectiveness of multi-threading in improving inference throughput for real-time operation.
  • To validate the framework across a diverse set of six representative convolutional neural network models.

Proposed method

  • A uniform software deployment pipeline is designed for both Android and iOS using publicly available deep learning and mobile development tools.
  • Multi-threading is implemented to enhance real-time inference throughput by parallelizing model inference and input processing.
  • A benchmarking framework is established with three core metrics: model accuracy, CPU/GPU utilization, and real-time inference throughput (frames per second).
  • Pre-trained convolutional neural network models are adapted and deployed using on-device inference engines compatible with mobile platforms.
  • The deployment pipeline integrates model quantization and optimization techniques to reduce computational load without significant accuracy loss.
  • Performance is evaluated on real smartphones to ensure practical real-time operation under typical mobile workloads.

Experimental results

Research questions

  • RQ1What is a unified, practical workflow for deploying deep learning models as real-time apps on both Android and iOS smartphones?
  • RQ2How can multi-threading be effectively used to improve real-time inference throughput on mobile devices?
  • RQ3What are the trade-offs between model accuracy, CPU/GPU usage, and inference speed when deploying deep learning models on smartphones?
  • RQ4Which deep learning models from a representative set can achieve real-time performance on consumer-grade smartphones?
  • RQ5How do different optimization strategies impact the efficiency and latency of on-device inference?

Key findings

  • The proposed deployment framework successfully enables real-time inference for six diverse CNN models on consumer smartphones, achieving consistent throughput across devices.
  • Multi-threading significantly improves real-time performance, with measurable gains in frames per second for input processing and inference pipelines.
  • The benchmarking framework effectively captures trade-offs between model accuracy and computational efficiency, enabling informed model selection for mobile deployment.
  • CPU and GPU utilization metrics show that optimized models maintain low resource consumption while meeting real-time constraints (e.g., 30 FPS).
  • The approach is reproducible and reusable, relying solely on publicly available tools, making it accessible for researchers and developers.
  • The study demonstrates that real-time deployment of deep learning models on smartphones is feasible and practical using standard open-source toolchains.

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.