Efficient TinyML Architectures for On-Device Small Language Models: Privacy-Preserving Inference at the Edge
Deploying small language models (SLMs) on ultra-low-power edge devices requires careful optimization to meet strict memory, latency, and energy constraints while preserving privacy. This paper presents a systematic approach to adapting SLMs for Tiny ML, focusing on model compression, hardware-aware quantization, and lightweight privacy mechanisms. We introduce a sparse ternary quantization technique that reduces model size by 5.8× with minimal accuracy loss and an efficient federated fine-tuning method for edge deployment. To address privacy concerns, we implement on-device differential noise injection during text preprocessing, adding negligible computational overhead. Evaluations on constrained devices (Cortex-M7 and ESP32) show our optimized models achieve 92% of the accuracy of full-precision baselines while operating within 256KB RAM and reducing inference latency by 4.3×. The proposed techniques enable new applications for SLMs in always-on edge scenarios where both efficiency and data protection are critical.
Authors
- Anshul Goel (ORCID: https://orcid.org/0000-0003-3117-142X)
- Mangesh Pujari
- Anil Kumar Pakina
Publication Details
- Journal
- International Journal Science and Technology
- Published
- 2024-11-28
- DOI
- https://doi.org/10.56127/ijst.v3i3.1958
- Citations
- 3
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 1.04