Skip to main content
QUICK REVIEW

[Paper Review] Which Design Decisions in AI-enabled Mobile Applications Contribute to Greener AI?

Roger Creus Castanyer, Silverio Martínez‐Fernández|arXiv (Cornell University)|Sep 28, 2021
IoT and Edge/Fog ComputingComputer Science6 citations
TL;DR

This study investigates how design decisions in AI-enabled mobile applications affect energy efficiency and performance, finding that model complexity—especially parameter count—exponentially increases CPU usage in convolutional networks, while accuracy does not improve proportionally. The authors advocate for starting small and scaling only when necessary, and validate profiling tools for promoting greener AI through systematic experimentation on mobile platforms.

ABSTRACT

Background: The construction, evolution and usage of complex artificial intelligence (AI) models demand expensive computational resources. While currently available high-performance computing environments support well this complexity, the deployment of AI models in mobile devices, which is an increasing trend, is challenging. Mobile applications consist of environments with low computational resources and hence imply limitations in the design decisions during the AI-enabled software engineering lifecycle that balance the trade-off between the accuracy and the complexity of the mobile applications. Objective: Our objective is to systematically assess the trade-off between accuracy and complexity when deploying complex AI models (e.g. neural networks) to mobile devices, which have an implicit resource limitation. We aim to cover (i) the impact of the design decisions on the achievement of high-accuracy and low resource-consumption implementations; and (ii) the validation of profiling tools for systematically promoting greener AI. Method: This confirmatory registered report consists of a plan to conduct an empirical study to quantify the implications of the design decisions on AI-enabled applications performance and to report experiences of the end-to-end AI-enabled software engineering lifecycle. Concretely, we will implement both image-based and language-based neural networks in mobile applications to solve multiple image classification and text classification problems on different benchmark datasets. Overall, we plan to model the accuracy and complexity of AI-enabled applications in operation with respect to their design decisions and will provide tools for allowing practitioners to gain consciousness of the quantitative relationship between the design decisions and the green characteristics of study.

Motivation & Objective

  • To systematically assess the trade-off between model accuracy and computational complexity in AI-enabled mobile applications.
  • To identify which design decisions in AI model architecture and configuration contribute to higher resource consumption and lower energy efficiency.
  • To validate the effectiveness of profiling tools in monitoring and optimizing AI application performance on mobile devices.
  • To promote greener AI by guiding practitioners toward lightweight, efficient models without sacrificing necessary accuracy.
  • To provide an open, reproducible dataset and methodology for future research in mobile AI efficiency.

Proposed method

  • Implemented neural networks for image and text classification on mobile platforms using Android Studio and Unity3D.
  • Trained models on six benchmark datasets: GTSRB, MNIST, CIFAR (vision); Sentiment140, IMDB, Amazon Reviews (text).
  • Profiled real-time metrics including CPU usage time, storage weight, and model accuracy across diverse model configurations.
  • Systematically varied independent variables such as model architecture (e.g., ResNet, Transformer, fully connected), depth, and number of parameters.
  • Applied statistical analysis to identify scaling trends and correlations between design choices and performance metrics.
  • Released a comprehensive open-source replication package with training code, app code, profiling data, and analysis scripts to ensure reproducibility and open science standards.

Experimental results

Research questions

  • RQ1How does the number of parameters in a neural network affect CPU usage and storage weight in mobile AI applications?
  • RQ2To what extent does model architecture (e.g., ResNet vs. simple CNN) influence the baseline computational cost of AI inference on mobile devices?
  • RQ3How do different datasets impact the scaling behavior and accuracy of AI models in mobile deployment?
  • RQ4Can profiling tools reliably capture and quantify the performance trade-offs between model complexity and resource consumption?
  • RQ5What design practices can guide developers toward more energy-efficient, or 'greener,' AI models in mobile applications?

Key findings

  • The time of CPU usage scales exponentially with the number of parameters in convolutional neural networks, while scaling logarithmically in fully-connected layers.
  • Storage weight increases linearly with the number of parameters, but model accuracy does not improve proportionally with parameter growth.
  • Residual Networks (ResNets) and Transformers exhibit significantly higher baseline CPU usage compared to simpler architectures like standard CNNs or RNNs.
  • The choice of dataset strongly influences both the scaling behavior and the accuracy of AI models, indicating context-dependent performance trade-offs.
  • The study confirms that profiling tools can systematically capture performance metrics, enabling data-driven decisions for greener AI development.
  • Starting with smaller models and scaling up only when accuracy is insufficient is a recommended best practice for achieving greener AI in mobile applications.

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.