Abstract
Recently, autonomous driving development ignited competition among car makers and technical corporations. Low-level automation cars are already commercially available. But high automated vehicles where the vehicle drives by itself without human monitoring is still at infancy. Such autonomous vehicles (AVs) rely on the computing system in the car to interpret the environment and make driving decisions. Therefore, computing system design is essential particularly in enhancing the attainment of driving safety. However, to our knowledge, no clear guideline exists so far regarding safety-aware AV computing system and architecture design. To understand the safety requirement of AV computing system, we performed a field study by running industrial Level-4 autonomous driving fleets in various locations, road conditions, and traffic patterns. The field study indicates that traditional computing system performance metrics, such as tail latency, average latency, maximum latency, and timeout, cannot fully satisfy the safety requirement for AV computing system design. To address this issue, we propose a 'safety score' as a primary metric for measuring the level of safety in AV computing system design. Furthermore, we propose a perception latency model, which helps architects estimate the safety score of given architecture and system design without physically testing them in an AV. We demonstrate the use of our safety score and latency model, by developing and evaluating a safety-aware AV computing system computation hardware resource management scheme.
Introduction
In Level-4 autonomous vehicles (AVs), the computing system effectively serves as the driver. While rigorous standards exist for "functional safety" (ensuring hardware reliability and software stability), there is a significant gap in measuring "nominal safety"—the ability of a correctly functioning computer to make safe decisions within critical time windows.
Traditional architectural design for AV systems relies on server-grade metrics like average latency, tail latency (99th percentile), and throughput. However, these metrics are often insufficient for safety-critical driving. An AV’s safety depends on its instantaneous response during split-second emergencies rather than its average performance. A system might exhibit excellent tail latency over a long journey but fail during a "black swan" event where a sudden cluster of obstacles spikes the processing load. Currently, there is no formal model to map how milliseconds of compute delay translate into physical safety risks, such as braking distance.
Characterizing the AV Compute Pipeline
To understand the computational demands of autonomous driving, researchers analyzed real-world traces from Pony.ai’s Level-4 fleet. The study revealed that perception tasks are the primary bottleneck, consuming approximately 74% of the total compute pipeline. Specifically, LiDAR perception alone accounts for 65% of the system's execution time.
As shown in Figure 3, the LiDAR perception pipeline is composed of multiple stages, including labeling, segmentation, and tracking. The high variance in latency across these modules suggests that static resource allocation is inefficient for handling the dynamic nature of real-world driving environments.
The Latency Accumulation Effect
A critical finding of this research is the "latency accumulation effect." Sensors like LiDAR operate at fixed sampling rates (e.g., 100ms). If the computing system takes longer than the sampling interval to process a frame (e.g., 110ms), it does not merely delay that specific frame; it delays the start of all subsequent frames. This creates a non-linear "death spiral" of latency that traditional statistical metrics fail to capture.
Figure 6 illustrates how the total system response time escalates as perception latency increases. This relationship underscores why maximum latency in high-risk scenarios is a more vital safety metric than the 99th percentile latency measured over aggregate driving time.
Proposed Safety-Aware Framework
To bridge the gap between compute performance and physical safety, the authors propose three core innovations:
- The Safety Score: Derived from the Responsibility-Sensitive Safety (RSS) model, this metric quantifies safety as a non-linear function of response time ($t$), vehicle velocity, and braking capability. It defines a "response time window" ($\theta$); responses within this window earn rewards, while those exceeding it incur heavy safety penalties.
- Perception Latency Model: This model predicts latency based on "obstacle density." Using a hierarchical grid map, the system estimates processing time based on the distribution of objects, as closer and denser clusters significantly increase LiDAR point processing requirements.
- Safety-Aware Resource Management: A hardware/software co-design that uses offline field data to cluster driving scenarios and determine optimal resource allocation (e.g., CPU vs. GPU tasking). An online hardware monitor tracks perception timeouts and triggers aggressive resource reallocation strategies if safety margins begin to erode.
Key Results
The proposed framework was evaluated against standard CPU-only and native heterogeneous (CPU+GPU) designs using over 200 hours of real-world driving traces. Key findings include:
- Safety Improvement: The framework achieved a 1.3x higher safety score compared to native CPU+GPU designs.
- Latency Reduction: Average response times were reduced by 2.4x compared to CPU-only systems and by 35% compared to standard heterogeneous setups.
- Efficiency: LiDAR-specific perception latency was reduced by an average of 45% (up to 2.6x in peak scenarios).
- Low Overhead: The hardware-based monitoring system imposed less than 1% overhead on total system energy consumption.
Conclusion and Future Work
This research demonstrates that AV computing systems must be designed with physical safety as a primary metric rather than relying solely on traditional throughput or latency statistics. By modeling the relationship between obstacle geometry, compute latency, and vehicle dynamics, architects can build more resilient autonomous systems. Future work will aim to extend this model to include complex camera-radar fusion and account for functional safety issues such as transient hardware faults.
Summary updated