Abstract
Field-programmable gate arrays (FPGAs) are becoming widely used accelerators for a myriad of datacenter applications due to their flexibility and energy efficiency. Among these applications, FPGAs have shown promising results in accelerating low-latency real-time deep learning (DL) inference. With the emerging research direction towards virtualized cloud FPGAs that can be shared by multiple users, the security aspect of FPGA-based DL accelerators requires careful consideration. In this work, we evaluate the security of DL accelerators against voltage-based integrity attacks in a multitenant FPGA scenario. We demonstrate the feasibility of such attacks on a state-of-the-art Stratix 10 card using stealthy attacker circuits that bypass conventional bitstream checkers. We show that aggressive clock gating can be weaponized to induce timing faults. Surprisingly, we find that DL models are inherently resilient to these faults, allowing for 1.18-1.31x higher inference performance through overclocking without compromising prediction accuracy.
The Vulnerability: Shared Power Distribution Networks
As cloud providers move toward multi-tenancy to maximize cost-efficiency, multiple users share the same physical FPGA chip. While these users are logically isolated, they are electrically connected through a single Power Distribution Network (PDN).
A "Voltage Integrity Attack" exploits this shared infrastructure. If a malicious tenant (the "Neighbor from Hell") implements a circuit that suddenly draws massive amounts of current, it causes a voltage drop across the chip. Because transistors switch slower at lower voltages, these drops can cause signals to arrive late, leading to timing violations and incorrect computations in a victim's circuit.
Methodology: Stealthy Attackers and Victim Models
The researchers conducted experiments on a high-end Intel Stratix 10 FPGA. A core challenge was developing attacker circuits that could bypass traditional bitstream security checkers, which often flag simple Ring Oscillators (ROs).
The authors developed "stealthy" attackers using clock-gated garbled XORs and hybrid logic. These circuits use standard vendor-supplied IP (like DSPs and BRAMs) and avoid combinational loops, making them indistinguishable from legitimate high-activity workloads. By weaponizing aggressive clock gating—rapidly enabling and disabling large sections of logic—the attacker creates sharp current transients that the chip's on-die capacitors cannot fully smooth out.
The victim role featured HPIPE, a state-of-the-art CNN accelerator running a MobileNet-V1 model on the ImageNet dataset (50,000 images) to monitor classification accuracy under attack.
Key Insights: Resilience and the "Safety Margin"
The study revealed that deep learning models are remarkably robust to hardware-level timing faults:
- Inherent Robustness: Even under the strongest voltage attacks, the MobileNet-V1 accelerator maintained its baseline Top-1 accuracy (71.7%) when running at its rated frequency. The model's architecture naturally filters out the occasional computational glitch.
- Massive Safety Margins: CAD tools build in significant "guardbands" (roughly 13% of the clock period) to ensure reliability. However, for DL models, the effective margin is much larger because they can tolerate errors that would crash traditional logic.
- The Overclocking Opportunity: This resilience allows for significant performance gains. The researchers demonstrated that the accelerator could be overclocked by 1.18× to 1.31× beyond its rated speed without any loss in prediction accuracy, even while being actively attacked.
Conclusion
While physical isolation through floorplanning can reduce the impact of voltage drops, it cannot eliminate the threat due to the shared PDN. Current software-based bitstream scanning is insufficient to stop stealthy, high-activity circuits. The findings suggest that future multi-tenant FPGA architectures may require hardware-level "voltage islands" for true electrical isolation, while also highlighting a massive opportunity to boost DL performance by operating closer to the hardware's physical limits.
Summary updated