Here is a blog-style summary of the paper.
TL;DR
ScenicRules is a novel autonomous driving benchmark designed to evaluate how well vehicles navigate complex scenarios with conflicting goals—such as crossing into the oncoming lane to avoid a fallen cyclist. By combining a priority-based Hierarchical Rulebook framework with the Scenic scenario-modeling language, it provides a systematic way to test and expose safety critical trade-offs in autonomous vehicle (AV) software.
What Problem Does This Paper Address?
Real-world driving is a constant balancing act. An AV must simultaneously avoid collisions, obey traffic laws, and maintain passenger comfort. However, these objectives frequently conflict. For instance, if a pedestrian steps onto the road, a vehicle must prioritize avoiding a collision over maintaining its lane position.
Current AV benchmarks fall short in two major ways:
- Lack of Priority Modeling: They either focus on a single metric (like collision rate) or collapse multiple objectives into a single cost function using arbitrary weights, which fails to capture strict, human-like priority hierarchies.
- Lack of Environmental Context: They don't formally model the stochastic environments within which these rules apply, making it hard to systematically discover edge cases.
ScenicRules bridges this gap by providing a formalized, multi-objective evaluation framework mapped to diverse, probabilistically generated driving environments.
Methods
The authors constructed ScenicRules using a multi-layered approach:
- Formalizing Driving Rules: The authors collected 19 driving objectives from literature and formalized them using Signal Temporal Logic (STL) and custom objective functions. Each rule outputs a quantitative Violation Score (VS) to measure not just if a rule was broken, but how severely.
- Hierarchical Rulebooks: To manage the massive complexity of ranking 19 rules (which yields over $10^{35}$ possible orderings), they grouped rules into a hierarchy of functionally similar categories (e.g., Safety-critical, Road Compliance, Passenger Comfort). They also introduced a data-driven optimization algorithm to tune rule parameters and group priorities based on human driving data.
- Abstract Scenario Generation: Using the Scenic programming language, the benchmark defines abstract traffic scenarios that stochastically vary parameters like speed and distance.
- Common Scenarios: The authors used a k-Center Greedy coreset selection algorithm to distill millions of possible agent combinations into a compact, highly representative set of 200 scenarios.
- Near-Accident Scenarios: They built an LLM-assisted pipeline using Gemini 2.5 Flash to automatically translate natural language California DMV collision reports into executable Scenic scripts.
- Falsification Flow: The benchmark plugs into the VerifAI toolkit, using simulation-based falsification to actively search the continuous parameter space of the Scenic scenarios to find cases that maximize rulebook violations.
Datasets
The paper utilizes and introduces the following datasets:
- Reasonable Crowd Dataset: A public dataset containing 92 scenarios with human trajectory preferences, used to validate and optimize the alignment of the Hierarchical Rulebook against human judgment.
- California DMV Collision Reports: Real-world near-accident reports used to generate safety-critical testing environments.
- ScenicRules Benchmark (New): The newly introduced test suite consisting of 200 diverse common scenarios and 27 critical near-accident scenarios, fully open-sourced on GitHub.
Key Insights and Ideas
- Human Priorities are Context-Dependent: A monolithic, one-size-fits-all rulebook cannot capture human preferences perfectly. For example, humans expect an AV to maintain its course rather than execute an abrupt lane change if a pedestrian is the one causing a minor clearance violation. Scenario-specific priority tuning is essential.
- Nuance in Formalization Matters: How a rule is mathematically defined changes the evaluation outcome. For instance, measuring vehicle clearance based on the vehicle's heading versus its future trajectory yields entirely different preference selections.
- Revealing Joint Failure Modes: Instead of just flagging a collision, ScenicRules exposes complex trade-offs. It can show whether an agent failed because it completely ignored a vehicle (violating safety rules) or because it swerved aggressively to avoid a vehicle but ran off the road (violating compliance rules).
Key Results
- Alignment with Humans: The base Hierarchical Rulebook achieved 80.9% accuracy in matching human preferences from the Reasonable Crowd dataset. Optimizing parameters and allowing scenario-specific priority swaps pushed this accuracy up to 85.97%, matching brute-force search limits and closely approaching the human consensus rate (~84%).
- Efficient Scenario Coverage: The coreset selection method achieved 100% coverage of all defined ego/adversary maneuvers and spatial relations using just 100 scenarios per configuration.
- Agent Evaluation: When testing a rule-based controller and a PPO-trained reinforcement learning agent in the MetaDrive simulator, the benchmark successfully triggered violations across 100% of the rules in the rulebook, uncovering hundreds of unique joint failure combinations.
Limitations and Future Work
While powerful, the authors note a few areas for improvement:
- LLM Code Generation Errors: The LLM pipeline occasionally makes minor syntax or logic errors when dealing with highly complex agent behaviors or non-trivial spatial relations, requiring manual human refinement.
- Multi-Agent Dynamics: The current framework primarily evaluates the objectives of the ego vehicle. Future iterations aim to incorporate multi-agent interactive objectives.
- Scalability: The authors plan to scale ScenicRules to even more complex environments and test more advanced, commercial-grade AV stacks.
Summary updated