[Paper Review] Dynasto: Validity-Aware Dynamic-Static Parameter Optimization for Autonomous Driving Testing
Dynasto jointly optimizes dynamic adversarial behaviors and static initial conditions under validity constraints to uncover realistic safety-critical failures in ADS testing. It uses RL with STL-based validity, GA over initial conditions, and graph-based failure clustering.
Extensive simulation-based testing is important for assuring the safety of autonomous driving systems (ADS). However, generating safety-critical traffic scenarios remains challenging because failures often arise from rare, complex interactions with surrounding vehicles. Existing automatic scenario-generation approaches frequently fail to distinguish genuine ADS faults from collisions caused by implausible or invalid adversarial behaviors, and they typically optimize either scenario initialization or agent behavior in isolation. We propose Dynasto, a two-step testing approach that jointly optimizes initial scenario parameters and dynamic adversarial behaviors to uncover realistic safety-critical failures. First, we train an adversarial agent using reinforcement learning (RL) with temporal-logic-based validity criteria and a safe-distance model inspired by ISO 34502 to promote behaviorally plausible failures. Second, a genetic algorithm (GA) searches over initial conditions while replaying the adversary's failure-inducing behaviors to reveal additional failures that the RL agent alone does not uncover. Finally, a graph-based clustering pipeline groups failures into representative modes based on semantic event sequences. Our evaluation experiments in HighwayEnv across two ADS controllers show that Dynasto finds 60%-70% more valid failures than an RL-only adversary under the same evaluation budget. With clustering, we obtain about 12 interpretable failure modes per system under test, revealing valid failures driven by weaknesses in ego-controller behavior. These results indicate that coordinated dynamic-static optimization with explicit validity constraints is effective for exposing safety-relevant failures in ADS testing.
Motivation & Objective
- Motivate safe, realistic failure discovery in ADS testing by distinguishing valid and invalid failures.
- Develop a two-step testing workflow that couples dynamic adversary optimization with static scenario search.
- Enable post-hoc failure analysis by clustering failures into interpretable modes.
Proposed method
- Train an RL adversary with a validity-based reward and STL-based safety criteria to generate valid failures.
- Use a GA to search over static initial conditions by replaying the adversary’s failure-inducing actions, discovering additional failures.
- Apply Signal Temporal Logic rules aligned with ISO 34502 to label valid vs invalid failures.
- Record failure traces and apply a graph-based clustering pipeline (kNN graph + Leiden) to identify failure modes.
- Represent failures with event sequences and use Levenshtein distance for similarity in clustering.
- Use an ask-tell interface to integrate GA evaluation with the RL-driven failure traces.
Experimental results
Research questions
- RQ1How can we distinguish genuine ADS faults from crashes caused by invalid adversarial behavior during scenario generation?
- RQ2Does coordinating dynamic (RL) and static (GA) optimization improve discovery of valid, safety-relevant failures compared to RL alone?
- RQ3Can post-hoc clustering reveal interpretable failure modes from collected traces?
- RQ4What is the impact of validity constraints on the diversity and quality of discovered failures?
- RQ5How effective is the Leiden clustering approach in grouping similar failure traces into meaningful modes?
Key findings
- Dynasto finds 60%–70% more valid failures than a DQN-only adversary under the same evaluation budget.
- Clustering yields about 12 interpretable failure modes per system under test.
- Post-hoc analysis groups hundreds of failures into cohesive modes driven by weaknesses in ego-vehicle behavior.
- The two-step approach expands the failure space beyond RL-only by replaying adversarial actions under varied static initializations.
- Validity semantics and explicit safety constraints substantially improve the realism of discovered failures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.