Autonomous vehicles (AVs) must comply with regulatory frameworks to ensure road safety and predictability. Current proposed AV systems predominantly rely on machine learning models that lack explicit, computable representations of traffic laws, raising concerns about accountability and robustness in complex scenarios. This study proposes a novel pipeline that embeds formal logic rules in the autonomous agent to ensure legal compliance. To address the knowledge acquisition bottleneck, we propose using Large Language Models (LLMs), robust prompt engineering, and Logical English (LE) to translate traffic rules from natural language into a human-readable, executable rule-based framework. The pipeline includes an error correction phase to refine the process of extracting legal rules, which are then integrated into a simulation environment. Our approach successfully performed the translation of legal text into a structured, computable format, improving the transparency and interpretability of the high level decision making. The error correction phase improves rule accuracy, while simulations further validate rule compliance and performance in dynamic traffic scenarios.

Dal Pont, T., Sartor, G., Wyner, A., Sartor, G. (2026). You Take the High Road, and I’ll Take the Low Road. Association for Computing Machinery, Inc [10.1145/3769126.3769254].

You Take the High Road, and I’ll Take the Low Road

Dal Pont, Thiago
;
Sartor, Galileo;Wyner, Adam;Sartor, Giovanni
2026

Abstract

Autonomous vehicles (AVs) must comply with regulatory frameworks to ensure road safety and predictability. Current proposed AV systems predominantly rely on machine learning models that lack explicit, computable representations of traffic laws, raising concerns about accountability and robustness in complex scenarios. This study proposes a novel pipeline that embeds formal logic rules in the autonomous agent to ensure legal compliance. To address the knowledge acquisition bottleneck, we propose using Large Language Models (LLMs), robust prompt engineering, and Logical English (LE) to translate traffic rules from natural language into a human-readable, executable rule-based framework. The pipeline includes an error correction phase to refine the process of extracting legal rules, which are then integrated into a simulation environment. Our approach successfully performed the translation of legal text into a structured, computable format, improving the transparency and interpretability of the high level decision making. The error correction phase improves rule accuracy, while simulations further validate rule compliance and performance in dynamic traffic scenarios.
2026
20th International Conference on Artificial Intelligence and Law, ICAIL 2025 - Proceedings of the Conference
337
347
Dal Pont, T., Sartor, G., Wyner, A., Sartor, G. (2026). You Take the High Road, and I’ll Take the Low Road. Association for Computing Machinery, Inc [10.1145/3769126.3769254].
Dal Pont, Thiago; Sartor, Galileo; Wyner, Adam; Sartor, Giovanni
File in questo prodotto:
File Dimensione Formato  
3769126.3769254.pdf

accesso aperto

Tipo: Versione (PDF) editoriale / Version Of Record
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 748.86 kB
Formato Adobe PDF
748.86 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1052397
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact