Abstract
Deploying deep neural networks (DNNs) on resource-constrained edge devices requires balancing accuracy, latency, and energy efficiency. Traditional approaches often optimize models for fixed hardware or treat hardware constraints as static. This paper presents a paradigm shift toward simultaneous algorithm-accelerator co-design. By parameterizing both neural architecture and hardware parameters into a unified search space, the authors achieve state-of-the-art performance across FPGAs and GPUs, significantly reducing search time through differentiable optimization.
Introduction: The Siloed Design Bottleneck
Deploying AI on edge devices like drones or mobile phones is traditionally a sequential process: researchers design a model for accuracy, and hardware engineers later attempt to optimize its execution on a specific chip. Even "hardware-aware" Neural Architecture Search (NAS) typically treats the hardware as a fixed entity, ignoring the optimization potential of flexible hardware like FPGAs.
This siloed approach leads to "hardware-unfriendly" models or "model-unfriendly" accelerators. To overcome this, the authors propose a bi-directional co-design strategy where both the algorithm and the hardware architecture are optimized simultaneously.
Methodologies for Co-design
The paper highlights three primary methodologies to break the wall between algorithm and hardware:
1. Simultaneous DNN/FPGA Co-design (The "Bundle" Approach)
This method introduces "Bundles" — basic building blocks that define both a set of DNN layers and their corresponding hardware IP cores. The search process identifies the optimal combination of Bundles along a resource-accuracy Pareto curve, ensuring that every algorithmic choice is backed by an efficient hardware implementation.
2. SkyNet: Bi-directional Co-design for Object Detection
SkyNet is a specialized strategy for object detection and tracking. It employs Particle Swarm Optimization (PSO) to explore the design space and incorporates hardware-friendly features such as "layer-bypass" for small object detection and ReLU6 activations, which are more computationally efficient on edge hardware than standard ReLU.
3. EDD: Efficient Differentiable Co-search
EDD represents the most advanced method, merging DNN search variables and hardware implementation variables (e.g., bit-width, parallelism) into a single differentiable space.
By making hardware metrics like latency and resource usage differentiable, the system can utilize gradient descent to find the optimal combination of model architecture and hardware parameters simultaneously. This reduces the search time for complex co-design problems to just 12 hours on a single GPU.
Experimental Results
The authors evaluated these methods using benchmarks such as DAC-SDC (low-power object detection for drones), GOT-10k (generic object tracking), and ImageNet.
- SkyNet Performance: SkyNet dominated the DAC-SDC competition, achieving a 73.1 IoU and 67.33 FPS on the Nvidia TX2 GPU. It also provided a 1.73x speedup over a ResNet-50 backbone for tracking.
- Energy Efficiency: On the Pynq-Z1 FPGA, the co-design approach achieved energy efficiency as low as 0.08 J/pic, outperforming non-co-designed solutions.
- EDD Efficiency: The EDD-Net-1 model was 1.4x to 2.0x faster than other mobile-oriented NAS models (e.g., ProxylessNAS, FBNet) while maintaining comparable accuracy on ImageNet.
Conclusion and Future Directions
Treating hardware parameters as searchable variables rather than fixed constraints unlocks significant performance gains for edge AI. While this work focuses on single-device optimization, future research will likely extend these co-design principles to distributed AI environments, heterogeneous scaling in smart cities, and emerging hardware platforms like neuromorphic or quantum computing.
Summary updated