Abstract
Deep learning models deployed on resource-constrained edge devices are highly vulnerable to intellectual property theft. Traditional protection mechanisms, such as hardware-based Trusted Execution Environments (TEEs) or software-based full-model encryption, often impose prohibitive computational overhead or require specialized hardware. This paper introduces EdgePro, a novel, lightweight "neuron authorization" framework. EdgePro protects models by "locking" a small subset of neurons, rendering the model functional only when provided with specific activation "passwords." Experimental results across various architectures and datasets demonstrate that EdgePro maintains high accuracy (less than 1.63% loss) for authorized users while effectively blocking unauthorized access with significantly lower inference latency than existing software-based methods.
Introduction
The proliferation of AI on the edge—from IoT sensors to mobile devices—has made deep learning models valuable assets. However, once deployed, these models are susceptible to illegal copying and reverse engineering. Existing protection strategies face a trade-off: hardware-based solutions like Intel SGX are secure but lack ubiquity and suffer from memory swapping bottlenecks, while full-model encryption introduces massive real-time decryption overhead that drains battery and increases latency.
EdgePro addresses these challenges by shifting the focus from encrypting weights to controlling the internal state of the network. It acts as a biological-inspired password system, ensuring that the feature extraction process only succeeds when the correct authorization signals are present.
Methodology: Neuron Authorization
The core of EdgePro is the concept of Neuron Authorization, which hides the conditions under which a model's weights produce valid outputs.
Password Determination
The system randomly selects a small percentage (typically around 5%) of neurons across the network's layers to serve as "locks." The "password" for the model consists of the indices of these neurons, their fixed "locking values" (activation levels), and layer-wise scale factors ($\gamma$). These scale factors add an extra layer of security; if an attacker attempts to use the model without correct scaling, internal representations are distorted beyond repair.
Lock Training
The most critical phase is the training process, which utilizes a dual-dataset approach. The model is trained simultaneously on a "clean" dataset and an "obfuscated" dataset. For clean data, the model learns to predict correctly only when authorization neurons are set to their locking values. Conversely, for the obfuscated dataset (containing incorrect labels), the model is trained to produce erroneous results if the neurons are not properly locked.
Inference
During inference, a legitimate user provides the password, and the edge device overwrites the activations of the selected neurons with the locking values during the forward pass. For an unauthorized user, the model's internal state remains corrupted, leading to results no better than random guessing.
Experimental Evaluation
EdgePro was evaluated across diverse tasks including image classification (MNIST, CIFAR-10/100, Tiny-ImageNet) and graph node classification (Cora, PubMed). The framework was tested on architectures ranging from simple MLPs to complex models like ResNet-101, VGG-19, and ShuffleNet.
Key Results
- High Fidelity: Authorized users experience negligible performance degradation, with an average accuracy loss of less than 1.63% across all tested models.
- Security: Unauthorized users see accuracy drop to random guessing levels. Furthermore, the time required for reverse-engineering attacks increases exponentially with the number of authorization neurons.
- Performance: EdgePro is highly efficient, with inference time overhead being only 60% of current state-of-the-art software protection methods.
- Robustness: The protection remains effective against adaptive attacks such as model pruning and fine-tuning.
Conclusion
EdgePro provides a robust "middle way" for edge AI security, offering high-level protection without the heavy overhead of traditional encryption or the hardware requirements of TEEs. While currently optimized for classification tasks, future work will explore its application in semantic segmentation, object detection, and generative models.
Summary updated