Abstract
Autonomous Driving System (ADS) testing is crucial in ADS development, with the current primary focus being on safety. However, the evaluation of non-safety-critical performance, particularly the ADS's ability to make optimal decisions and produce optimal paths for autonomous vehicles (AVs), is also vital to ensure the intelligence and reduce risks of AVs. Currently, there is little work dedicated to assessing the robustness of ADSs' path-planning decisions (PPDs), i.e., whether an ADS can maintain the optimal PPD after an insignificant change in the environment. The key challenges include the lack of clear oracles for assessing PPD optimality and the difficulty in searching for scenarios that lead to non-optimal PPDs. To fill this gap, in this paper, we focus on evaluating the robustness of ADSs' PPDs and propose the first method, Decictor, for generating non-optimal decision scenarios (NoDSs), where the ADS does not plan optimal paths for AVs. Decictor comprises three main components: Non-invasive Mutation, Consistency Check, and Feedback. To overcome the oracle challenge, Non-invasive Mutation is devised to implement conservative modifications, ensuring the preservation of the original optimal path in the mutated scenarios. Subsequently, the Consistency Check is applied to determine the presence of non-optimal PPDs by comparing the driving paths in the original and mutated scenarios. To deal with the challenge of large environment space, we design Feedback metrics that integrate spatial and temporal dimensions of the AV's movement. These metrics are crucial for effectively steering the generation of NoDSs. We evaluate Decictor on Baidu Apollo, an open-source and production-grade ADS. The experimental results validate the effectiveness of Decictor in detecting non-optimal PPDs of ADSs.
Introduction
While most autonomous driving tests focus on preventing crashes, an AI that doesn't crash isn't necessarily a "good" driver. It might hesitate unnecessarily, take a long way around a tiny obstacle, or fail to change lanes when it should, leading to poor passenger comfort and traffic congestion. Current testing for Autonomous Driving Systems (ADSs) is heavily focused on safety—specifically, avoiding collisions or traffic violations. However, there is a significant gap in evaluating Path-Planning Decision (PPD) robustness: the ability of an ADS to maintain an optimal path despite minor, insignificant environmental changes.
Evaluating PPD robustness faces two primary hurdles:
- The Oracle Problem: Defining "optimal" mathematically in dynamic environments is difficult. Without a ground truth, identifying a "non-optimal" decision is challenging.
- Search Space Complexity: The environment is infinitely variable. Finding minor changes that trigger logic failures without causing safety violations is a "needle in a haystack" problem.
The Decictor Framework
To address these challenges, we introduce Decictor, a search-based testing framework designed to generate Non-optimal Decision Scenarios (NoDSs). As shown in Figure 4, Decictor operates as an evolutionary loop involving mutation, virtual testing, and feedback-guided selection.
The framework consists of three core components:
- Non-invasive Mutation: This component modifies the behavior of other participants (NPCs) or adds obstacles only within "safe zones" to ensure the original optimal path remains valid.
- Consistency Check: Instead of strict coordinate comparison, Decictor uses an abstraction-based method. It maps paths to a lane-grid and calculates similarity. A drop in similarity below a threshold flags a potential non-optimal decision.
- Feedback-Guided Selection: A fitness function combining spatial feedback (path deviation) and temporal behavior feedback (velocity, acceleration, heading) guides the search toward scenarios likely to trigger "confused" AI behavior.
Non-invasive Mutation Strategy
The "Non-invasive Mutation" is central to solving the oracle problem. By ensuring that any environmental modification does not physically block or interfere with the original optimal path, the researchers create a "pseudo-oracle." If the ADS deviates significantly from its original path in the mutated scenario, it is by definition non-robust, as the original optimal route was still available and safe.
As illustrated in Figure 6, the mutation process identifies a "Non-invasive Feasible Area" based on kinematic constraints. Adding participants within this area ensures that the ego vehicle's original trajectory remains feasible, allowing any deviation to be identified as a decision-making failure rather than a forced safety maneuver.
Experimental Evaluation
Decictor was evaluated using Baidu Apollo 7.0, a production-grade ADS, within the SimControl simulator. The study utilized six representative "seed" scenarios: left turns, right turns, lane following, U-turns, intersection crossings, and standard road driving.
Key Results
- Effectiveness: Decictor generated an average of 63.9 NoDSs across test scenarios, significantly outperforming the best baseline (35.4).
- Validity: The Non-invasive Mutation strategy achieved a 97.9% validity rate, confirming that the original optimal path remained viable in nearly all generated cases.
- Human Validation: Human audits confirmed that the identified non-optimal paths were indeed inferior choices, often resulting from "excessive caution" or misclassification of obstacles.
Conclusion
Decictor demonstrates that safety does not equal intelligence. Even when an ADS passes rigorous safety tests, it may still exhibit non-robust decision-making. By using non-invasive mutations and feedback-guided search, Decictor effectively identifies these "intelligence" gaps, providing a path toward more robust and efficient autonomous driving logic.
Summary updated