Evaluating Lightweight SLMs for Cloud-Free Edge Sensing
DOI:
https://doi.org/10.34190/icair.7.1.5548Keywords:
Large language models, Edge computing, Agricultural internet of things, Parameter-efficient fine-tuning, Low-rank adaptationAbstract
The integration of Large Language Models (LLMs) and Industrial Internet of Things (IIoT) is an evolving field and has shown benefits in anomaly and fault detection as well as sensor fusion. While beneficial across various applications, standard deployments commonly rely on cloud servers that incur high costs, latency, and privacy concerns. Deploying capable LLMs directly on constrained edge devices remains a key challenge, as these devices operate under strict energy and computational limitations. Current research explores the IIoT and LLM integration through model optimisation and various deployment strategies. This paper presents a selection methodology of lightweight, fine-tuned Small Language Models (SLMs) for agricultural sensor data interpretation on resource-limited hardware. Three candidate models of similar sizes, including Llama3.2 (3B), Phi4-mini (3.8B), and Qwen3.5 (4B), are evaluated on real-world agricultural sensor data. The models are benchmarked across accuracy, precision and recall, inference latency and memory footprint on a Radxa Cubie A7A using zero-shot prompting, a technique in which models perform tasks without prior examples or specialised training. The models are then fine-tuned using Parameter-Efficient Fine-Tuning (PEFT) via Low-Rank Adaptation (LoRA) on agricultural sensor datasets. This method freezes a model’s original weights and trains only a compact adapter module, significantly reducing computational overhead during training and preserving performance. The fine-tuned models are then compared against the results from the untuned models to determine the most suitable SLM for edge deployment and further research. This work contributes to a reproducible model selection and fine-tuning methodology for adapting open-weight SLMs to agricultural sensing without the reliance on cloud infrastructure, serving as a foundational step toward a fully decentralised, collaborative framework of fine-tuned edge SLMs for IoT systems.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 International Conference on AI Research

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.