Abstract
Autonomous driving (AD) systems must manage complex, multi-modal workloads across numerous sensors while adhering to strict safety-critical latency requirements. Traditional homogeneous hardware and static scheduling often fail to handle this variability efficiently. This paper introduces a comprehensive framework featuring a specialized heterogeneous multi-core accelerator (HMAI) and a deep reinforcement learning-based scheduler (FlexAI). The proposed system achieves a 5x speedup and 2.5x better energy efficiency compared to commercial GPUs, while ensuring that critical safety tasks consistently meet their deadlines.
Introduction: The Challenge of Workload Variability
Autonomous driving is characterized by a "chaotic workload mix." A vehicle must simultaneously process data from multiple cameras for tasks like object detection, lane segmentation, and pedestrian tracking. Each task has distinct frame rates and safety priorities that fluctuate based on driving conditions—for instance, a forward-facing camera at highway speeds requires significantly lower latency than a side camera in a parking lot.
Current AD computing faces two primary hurdles:
- Hardware Inefficiency: Standard GPUs or homogeneous ASICs are often over-provisioned or fail to meet the specific latency needs of diverse CNN models.
- Scheduling Complexity: Mapping thousands of tasks to hardware cores in real-time is an NP-complete problem. Heuristic-based schedulers often lack the foresight needed for global system optimization.
The Proposed Framework: HMAI and FlexAI
To address these challenges, the researchers developed a multi-layered solution that integrates specialized hardware with intelligent scheduling.
HMAI: Heterogeneous Multi-core AI Accelerator
The HMAI architecture moves away from identical cores, instead utilizing three specialized types of neural network accelerators: SconvOD, SconvIC, and MconvMC. Each core is optimized for specific data propagation styles, such as weight-centric or input-map-centric processing. This allows the system to match specific CNN models to the core architecture that executes them most efficiently.
FlexAI: Intelligent Scheduling
The FlexAI scheduler utilizes a Deep Reinforcement Learning (DRL) engine based on a Deep Q-Network (DQN). Unlike static or heuristic schedulers (e.g., Min-Min), FlexAI observes the global state of the hardware to predict the optimal core for each task. It aims to maximize a new metric called the Global State Value (Gvalue), which balances energy consumption, runtime, and resource utilization.
Furthermore, the framework introduces the Matching Score (MS), a safety-centric metric. MS determines if a task is completed within its "safety time"—the dynamic window available before a collision becomes unavoidable, which shrinks as vehicle velocity increases.
Evaluation and Results
The framework was evaluated using the KITTI Object Tracking 2D dataset to simulate realistic task queues across various driving scenarios (urban, highway, etc.). The HMAI architecture was synthesized using a 12nm process node for accurate performance metrics.
Key findings include:
- Performance and Efficiency: HMAI delivered a 5x speedup and 2.5x higher energy efficiency (TOPS/W) than an NVIDIA Tesla T4 GPU.
- Safety and Reliability: While traditional meta-heuristic schedulers met safety deadlines for only 34-51% of tasks, FlexAI achieved nearly 100% deadline satisfaction.
- Emergency Response: In simulated emergency braking scenarios, FlexAI reduced total braking distance by up to 96% by eliminating task waiting times for critical perception frames.
Conclusion
The integration of heterogeneous hardware (HMAI) and DRL-based scheduling (FlexAI) provides a robust foundation for the unpredictable workloads of autonomous driving. By prioritizing safety-critical latencies and hardware matching, the system significantly outperforms general-purpose solutions. Future work will explore extending this architecture to support emerging models like Transformers and Point Cloud-based perception, as well as scaling for more complex sensor suites including Lidar and Radar.
Summary updated