Enhancing TinyML Security: Study of Adversarial Attack Transferability
Parin Shah, Yuvaraj Govindarajulu, Pavan Kulkarni, Manojkumar Parmar
TL;DR
The paper investigates the transferability of adversarial attacks from a powerful host to TinyML devices like ESP32 and Raspberry Pi, focusing on Model Extraction and Evasion Attacks. Using MNIST and Gesture Recognition datasets, it demonstrates that surrogate models trained on host queries can replicate victim models, and that adversarial perturbations crafted on the host can effectively fool devices at deployment. Key results show high host accuracies (≈99.3% on MNIST) with compact surrogate models, and substantial evasion effectiveness (e.g., ε = 0.31 yielding ≈67.9% misclassifications on MNIST; higher ε yields more failures on gesture tasks). The findings highlight that adversarial risks persist across edge hardware, underscoring the need for integrated hardware-software defenses to safeguard AI at the edge in TinyML deployments.
Abstract
The recent strides in artificial intelligence (AI) and machine learning (ML) have propelled the rise of TinyML, a paradigm enabling AI computations at the edge without dependence on cloud connections. While TinyML offers real-time data analysis and swift responses critical for diverse applications, its devices' intrinsic resource limitations expose them to security risks. This research delves into the adversarial vulnerabilities of AI models on resource-constrained embedded hardware, with a focus on Model Extraction and Evasion Attacks. Our findings reveal that adversarial attacks from powerful host machines could be transferred to smaller, less secure devices like ESP32 and Raspberry Pi. This illustrates that adversarial attacks could be extended to tiny devices, underscoring vulnerabilities, and emphasizing the necessity for reinforced security measures in TinyML deployments. This exploration enhances the comprehension of security challenges in TinyML and offers insights for safeguarding sensitive data and ensuring device dependability in AI-powered edge computing settings.
