Abstract & Overview
Secure deployment of neural networks (NNs) on edge and Internet of Things (IoT) devices is essential for real-time intelligence. However, it is challenged by latency variation, energy limits, adversarial attacks, privacy risks, memory scarcity, and hardware heterogeneity. This paper presents a secure NN deployment framework for edge/IoT using MATLAB-based simulation over 200 epochs and 200 inference requests. The framework evaluates latency, energy consumption, adversarial robustness, federated learning (FL) convergence under Differential Privacy (DP), compression-based memory reduction, side-channel power leakage, and throughput variability across 100 devices. Results show stable yet noisy latency of 80-88ms, centered near 83-84ms, and consistent energy demand with a mean of 1.07197×10^6mJ. At ε=0.1, unsecured model accuracy drops from 85.51% to 35.05%, while the defended model retains 75.50%, a 40.45 percentage-point gain. With DP noise of σ=0.03, FL global loss declines from 1.92 to about -0.05 by round 200, indicating convergence. Pruning and quantization from 20% to 50% reduce memory from 410.68 MB to 255.59 MB. Peak side-channel leakage reaches 1.62 V, and throughput varies from 4.24 to 16.50 million Ops/s. Despite simulation-only evaluation and limited adaptive-threat coverage, the study offers a practical metrics-driven blueprint for balancing security, privacy, and efficiency in edge/IoT AI deployment.