Abstract
In practical cloud-edge scenarios, where a resource-constrained edge performs data acquisition and a cloud system performs inference tasks with a deep neural network (DNN), adversarial robustness is critical for reliability. Adversarial detection is a prime defense technique, but traditional detectors are often attached to the classifier in the cloud, requiring high computational overhead and causing energy wastage by transmitting malicious data. RobustEdge proposes Quantization-enabled Energy Separation (QES) training with "early detection and exit" to perform low-cost adversarial detection directly at the edge. By blocking adversarial data transmission, RobustEdge improves both the adversarial robustness and energy efficiency of the Cloud-Edge system.
The Problem: Energy-Draining Adversarial Attacks
Deep Neural Networks (DNNs) are the backbone of modern cloud-edge systems, where low-power devices like smart cameras capture data and send it to powerful cloud servers. However, DNNs are notoriously vulnerable to adversarial attacks—subtle, intentional perturbations to input data that cause misclassification.
Currently, most adversarial detection happens in the cloud. This creates two major problems:
- Energy Wastage: The edge device spends significant energy transmitting malicious data that will eventually be discarded.
- Computational Overhead: Existing detectors are often as complex as the classifiers themselves, making them too heavy for resource-constrained edge hardware.
Methods: QES and Early Exit
RobustEdge introduces a standalone, 3-layer convolutional detector designed for the edge, utilizing two primary innovations:
- Quantization-enabled Energy Separation (QES): Instead of final labels, RobustEdge analyzes "energy signatures"—the magnitude of weighted summation outputs at each layer. Adversarial samples typically exhibit different energy distributions than natural ones. QES trains the detector to maximize this "energy gap" while quantizing the model (to 12-bit or 16-bit) for hardware efficiency.
- Early Detection and Exit: To minimize power, the detector establishes "confidence boundaries" at each layer. If an input’s energy signature is clearly natural or adversarial at Layer 1, the device makes an immediate decision and "exits," saving computation cycles for subsequent layers.
Key Results
The researchers evaluated RobustEdge using standard benchmarks like CIFAR10, CIFAR100, and TinyImagenet against a battery of gradient-based and black-box attacks. Key findings include:
- High Accuracy: The 16-bit and 12-bit detectors achieved an Area Under the Curve (AUC) score > 0.9 across most gradient-based attacks.
- Massive Energy Savings: Hardware evaluations on a 45nm CMOS digital accelerator showed that RobustEdge requires 25x lower energy for detection than prior state-of-the-art methods.
- System Efficiency: By blocking 100% of adversarial transmissions, total system energy efficiency improved by > 166x.
- Early Exit Success: The "early exit" strategy reduced the detector's own energy consumption by 66% without sacrificing significant accuracy.
Conclusion
RobustEdge demonstrates that "failing fast" at the edge is a superior strategy for cloud-edge security. By shifting detection to the point of data acquisition and utilizing energy-based signatures, the framework provides a scalable, classifier-agnostic solution that drastically reduces the energy footprint of secure IoT systems. Future work will focus on improving robustness against score-based attacks and adaptive adversaries who may attempt to mimic natural energy signatures.
Summary updated