liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Optimising Multimodal AI La-tency on Android: A Modular Pipeline Approach
Linköping University, Department of Computer and Information Science.
2026 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesisAlternative title
Optimering av latens för multimodal AI på Android : En modulär pipeline-metod (Swedish)
Abstract [en]

Real-time multimodal AI interaction on mobile devices is constrained not by model capability, but by the data-processing bottleneck at inference time. This thesis investigates how a modular, edge-assisted pipeline can reduce Time To First Token (TTFT) in conversational, multimodal large language model applications on Android, addressing the core question: how do data reduction strategies and the choice between local and remote model execution affect latency? To explore this, the Android application TripleEM was developed using Flutter, and benchmarked across 12 configurations combining three image resolutions (1080p, 480p, 224p), two Voice-to-Text (VTT) execution modes (on-device vs. remote), and Region of Interest (ROI) detection toggled on or off. Tests were conducted on 100 images from the Microsoft COCO dataset, with TTFT as the primary metric and classification accuracy evaluated using an LLM-as-a-judge approach. Results show that the dominant driver of latency is VTT engine placement. On-device transcription via Whisper Tiny averaged 2019 ms, slower than the total TTFT of any remote VTT configuration, making it the single largest bottleneck. Image downscaling meaningfully reduced upload time and backend inference cost with no measurable accuracy degradation, even at 224p. ROI detection added minimal processing overhead (under 50 ms) but did not consistently reduce upload time, and in some cases harmed accuracy by discarding relevant content. The fastest configuration achieved a mean TTFT of 408 ms, meeting the 500 ms real-time threshold, while the slowest exceeded 3800 ms. An unexpected finding was a modality bias in the remote multimodal model: configurations offloading VTT to the backend produced lower visual classification accuracy, suggesting the model may over-attend to audio input during joint inference. The study concludes that downscaling combined with remote VTT offers the best latency, while on-device VTT is preferable where accuracy is critical.

Place, publisher, year, edition, pages
2026. , p. 14
Keywords [en]
programming, multimodal AI, LLM, AI on Android, low-latency AI, real-time AI
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-224849ISRN: LIU-IDA/LITH-EX-G--26/063--SEOAI: oai:DiVA.org:liu-224849DiVA, id: diva2:2071437
Subject / course
Computer Programming
Presentation
2026-06-10, P18, Linköping University SE-581 83, Linköping, 15:17 (Swedish)
Supervisors
Examiners
Available from: 2026-06-18 Created: 2026-06-13 Last updated: 2026-06-18Bibliographically approved

Open Access in DiVA

fulltext(1142 kB)164 downloads
File information
File name FULLTEXT01.pdfFile size 1142 kBChecksum SHA-512
6ab6c0720ee76e23f29936efb3a09d67263375254426bcf7587db121c760ed73cfcd13f77349d7dde939855e57fe3ac185eee57b3aab42d0eae4bf40311370b1
Type fulltextMimetype application/pdf

By organisation
Department of Computer and Information Science
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 164 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 152 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf