LLMYOLOEdge: An Edge-IoT Aware Novel Framework for Integration of YOLO With Localized Quantized Large Language Models
Deploying multimodal AI on severely resource-constrained hardware remains challenging due to tight latency, memory, and privacy requirements. We present LLMYOLOEdge, a fully on-device framework that integrates YOLO object detection (YOLOv8/11/12 variants) with quantized instruction-tuned LLMs—Qwen2.5:0.5b-instruct for reliable image-reference extraction and Granite3-MoE:1b-instruct for concise textual summarization—served locally via Ollama and orchestrated by a lightweight Flask API on Raspberry Pi 4B as a resource constrained egde-Internet of Things (IoT) setup. The system employs grammar-constrained, multi-shot prompting to guarantee structured JSON outputs and instruments every stage with fine-grained metrics for rigorous statistical analysis. On a Raspberry Pi 4B, LLMYOLOEdge sustains real-time operation while preserving data locality. Across extensive trials, we observe significant performance differences among YOLO backbones – yolo11n.pt yields the shortest inference latency (1013.241 ms), whereas yolo12s.pt minimizes extractor prompt-evaluation time (19.242 × 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">9</sup> ns). The multi-shot extractor achieves perfect URL/path extraction accuracy (100%), outperforming a baseline Granite3-MoE approach (88.89%). One-way ANOVA with Tukey’s HSD and pairwise <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">t</i>-tests confirm these effects at <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">p</i> < 0.001, establishing both efficiency and accuracy gains under strict resource budgets. Our contributions are threefold such as (i) an integrated, privacy-preserving multimodal pipeline that runs entirely on commodity edge hardware; (ii) a principled prompting strategy that removes brittle parsing failure modes; and (iii) a reproducible evaluation suite reporting per-stage latencies, throughput, and correctness. Code and assets are available at https://github.com/ParthaPRay/yolo_ollama_raspberrypi, offering a practical template for edge-native multimodal AI deployments.
Authors
- Shuai Li (ORCID: https://orcid.org/0000-0002-9574-9609)
- Partha Pratim Ray (ORCID: https://orcid.org/0000-0003-2306-2792)
- Mohan P. Pradhan (ORCID: https://orcid.org/0009-0007-8731-764X)
Institutions
- Sikkim University (IN)
- University of Oulu (FI)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3613423
- Primary Topic
- Robotics and Automated Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00