Abstract
Researchers from the University of Waterloo have developed a two-layer, rule-based behavior planner that achieves 98% autonomy in complex urban environments. This performance is comparable to state-of-the-art deep learning models, but with the critical advantage of full explainability. By employing a structured rule-learning algorithm, the system allows engineers to identify and rectify specific logical errors, bridging the gap between high-performance "black-box" models and transparent but unscalable traditional methods.
Introduction
The decision-making architecture of an autonomous vehicle (AV) is generally partitioned into three hierarchical components: mission planning (route generation), behavior planning (maneuver selection), and local planning (trajectory smoothing). While deep learning has become the dominant approach for behavior planning due to its ability to generalize across complex road geometries, it remains a "black box." When a failure occurs, diagnosing the underlying cause is often impossible.
Conversely, traditional rule-based systems like Finite State Machines (FSMs) are transparent but difficult to maintain; as the operational design domain (ODD) expands, the logic often devolves into unmanageable "spaghetti code." This paper introduces a behavior planner designed to be performant enough for urban driving, explainable for safety certification, and maintainable through an incremental learning cycle.
System Architecture
The proposed architecture centers on a two-layer rule engine that separates high-level decision logic from low-level execution parameters.
- The Maneuver Layer: This layer processes perceived environmental states (e.g., traffic signs, pedestrian locations) to output a set of feasible high-level behaviors. A resolution function selects the most "conservative" maneuver based on a predefined safety hierarchy—for instance, an Emergency-Stop always takes precedence over Track-Speed.
- The Parameter Layer: Once a maneuver is selected, this layer determines the specific numerical targets, such as the precise target velocity or the exact longitudinal coordinate for a stop line.
To avoid the pitfalls of manual coding, the authors implemented a learning algorithm that extracts rules from expert-labeled driving scenes. This "Knowledge Engineering Cycle" enables incremental updates to the rule base, ensuring that new scenarios can be handled without disrupting existing, validated logic.
Experimental Results
The system was rigorously tested using a custom dataset of 683 labeled scenes and an extensive 110 km public road test in Waterloo, Canada. The vehicle successfully navigated complex urban challenges, including four-way intersections, T-intersections, and unprotected left turns.
Key performance metrics include:
- 98% Autonomy: The system achieved levels of autonomy on par with end-to-end deep learning approaches.
- Intervention Rate: A safety driver intervened on average every 5 minutes and 30 seconds.
- Computational Efficiency: The rule engine, implemented in JavaScript, served queries at 300 Hz—well above the 10 Hz requirement of the vehicle's primary software stack.
Discussion and Future Work
While the system demonstrates high autonomy, several limitations remain. Approximately 64% of interventions were caused by perception gaps—objects like animals or bicycles that were not in the system's vocabulary. Additionally, the system's inherent safety bias occasionally led to "deadlocks," where the car refused to move due to uncertainty about whether a distant vehicle was parked or moving slowly.
Future research will focus on improving the robustness of the learning algorithm to handle noisy training data and expanding the rule base to cover a wider variety of dynamic objects. The authors also plan to explore adding more hierarchical layers to manage increasingly complex urban environments.
Summary updated