[Paper Review] Driving with Regulation: Trustworthy and Interpretable Decision-Making for Autonomous Driving with Retrieval-Augmented Reasoning
This paper proposes a retrieval-augmented, LLM-powered decision-making framework for autonomous vehicles that retrieves and interprets traffic rules from region-specific regulation documents to ensure legal compliance and safety. By combining a Traffic Regulation Retrieval (TRR) Agent with an LLM-based reasoning module, the system achieves 100% compliance accuracy and 94% decision accuracy across diverse hypothetical and real-world scenarios, with seamless adaptation to different regions like Boston and Singapore.
Understanding and adhering to traffic regulations is essential for autonomous vehicles to ensure safety and trustworthiness. However, traffic regulations are complex, context-dependent, and differ between regions, posing a major challenge to conventional rule-based decision-making approaches. We present an interpretable, regulation-aware decision-making framework, DriveReg, which enables autonomous vehicles to understand and adhere to region-specific traffic laws and safety guidelines. The framework integrates a Retrieval-Augmented Generation (RAG)-based Traffic Regulation Retrieval Agent, which retrieves relevant rules from regulatory documents based on the current situation, and a Large Language Model (LLM)-powered Reasoning Agent that evaluates actions for legal compliance and safety. Our design emphasizes interpretability to enhance transparency and trustworthiness. To support systematic evaluation, we introduce the DriveReg Scenarios Dataset, a comprehensive dataset of driving scenarios across Boston, Singapore, and Los Angeles, with both hypothesized text-based cases and real-world driving data, constructed and annotated to evaluate models' capacity for regulation understanding and reasoning. We validate our framework on the DriveReg Scenarios Dataset and real-world deployment, demonstrating strong performance and robustness across diverse environments.
Motivation & Objective
- To address the challenge of integrating complex, context-dependent traffic regulations into autonomous vehicle decision-making.
- To improve transparency and trust by enabling interpretable reasoning over legal and safety rules.
- To enable seamless adaptation to different regional traffic regulations without re-engineering the decision logic.
- To overcome limitations of rule-based systems that struggle with rule diversity, semantic complexity, and regional variability.
- To establish a benchmark for evaluating rule-aware decision-making in autonomous driving using both hypothetical and real-world scenarios.
Proposed method
- A Traffic Regulation Retrieval (TRR) Agent uses Retrieval-Augmented Generation (RAG) to retrieve relevant traffic rules from extensive regional regulation documents based on the ego vehicle’s current driving situation.
- The system employs a Large Language Model (LLM), specifically GPT-4o, to interpret retrieved rules and assess actions for both legal compliance and safety adherence.
- The reasoning module differentiates between mandatory traffic rules and flexible safety guidelines, evaluating actions on two levels: compliance and safety.
- Intermediate reasoning steps, including the specific rules used, are output to ensure interpretability and transparency in decision-making.
- The framework dynamically adapts to different regions by switching the source regulation documents, enabling region-specific rule application without architectural changes.
- A comprehensive benchmark was created using 17 diverse real-world scenarios from the nuScenes dataset, with manually annotated compliance and safety labels for evaluation.
Experimental results
Research questions
- RQ1How can autonomous vehicles reliably retrieve and interpret region-specific traffic regulations in real time?
- RQ2To what extent can an LLM-based reasoning system accurately assess both legal compliance and safety in complex driving scenarios?
- RQ3Can a retrieval-augmented LLM framework achieve high accuracy and interpretability in rule-aware decision-making across diverse and realistic driving situations?
- RQ4How effectively can the system adapt to different regional traffic regulations without retraining or rule re-encoding?
- RQ5What is the impact of incorporating comprehensive legal and safety guidelines on decision-making performance in ambiguous or complex scenarios?
Key findings
- The framework achieved 100% compliance accuracy and 94% decision accuracy across 17 diverse real-world scenarios from the nuScenes dataset.
- In hypothetical scenarios, the system improved compliance accuracy from 82% to 100% and decision accuracy from 76% to 100% by incorporating comprehensive legal and judicial information.
- The model correctly identified non-compliant actions in complex cases, such as turning right on red without yielding to pedestrians, even when the action was legally permissible in some regions.
- The system demonstrated seamless adaptation to different regions: it correctly identified that right turns on red are illegal in Singapore, unlike in Boston, without requiring rule re-encoding.
- The output reasoning traces provided clear, interpretable justifications by citing specific traffic rules, enhancing transparency and trust in the decision process.
- The framework outperformed traditional rule-based systems in handling nuanced cases like work zone speed limits, which are often omitted in hand-crafted rule sets.
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.