Home/International Journal of Artificial Intelligence and Machine Learning/Article Record
Peer-Reviewed Article December 31, 2025

On-Device Generative AI Integration In Android Applications: Architectural Patterns For Scalable And Efficient AI Systems

Are you an author of this work?Link to your sovereign AfriScholar profile
Published in: International Journal of Artificial Intelligence and Machine Learning
Publisher: SvedbergOpen • South Africa • 2789-2557
DOI: https://doi.org/10.51483/ijaiml.6.6s.2026.1031-1040

Abstract

The growing availability of powerful and scalable mobile system-on-chip (SoC) architecture platforms has enabled intelligent applications to embed generative artificial intelligence (GenAI) within apps without relying on cloud resources, addressing latency, connectivity requirements, and privacy concerns. This paper provides a systematic architectural study of integrating Generative AI on device in the Android environment. We instantiate five common architecture patterns (Direct-Embedded, Client-Server Hybrid, Delegate-Based Offload, Modular Pipeline, and Adaptive Quantized Runtime) and test each on three device levels, using a controlled experimental testbed featuring 5 inference runtimes (LiteRT, ONNX Runtime Mobile, MLC-LLM, MediaPipe GenAI Tasks, and PyTorch Mobile/ExecuTorch). Inference execution time, peak memory costs, energy consumption, and test-set accuracy across quantization levels (FP32 to INT4) demonstrate that Adaptive Quantized Runtime architectures deliver the best responsiveness and energy savings, while Direct-Embedded designs provide the best offline accuracy and strong privacy and reliability assurances at a higher storage cost. The Client-Server Hybrid is well-suited to large-parameter models but has inherent network-dependent latency variance, making it unsuitable for interactive generative experiences. Results are presented as an abstraction of the layered architecture and a decision tree for developers and systems architects to choose and connect patterns based on application-specific requirements, such as latency, energy, privacy, and agility for model updates. The paper concludes by presenting a set of open challenges related to cross-vendor hardware heterogeneity, standardized benchmarking, and on-device continuous personalization, which warrant further research.

Download Full Text PDFView at PublisherCrossref RecordCrossref XML

Verified Citation Velocity

Recorded scholarly citations in African and international peer-reviewed literature

14
Total Citations

Citations are continuously tracked and harvested across continental OJS endpoints and OpenAlex feeds.