mlsanityData to 7 Oct 2026

TR2MTL: LLM based framework for Metric Temporal Logic Formalization of Traffic Rules

arXiv 2406.05709 ↗First posted 9 Jun 2024cs.RO cs.FL cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Traffic rules formalization is crucial for verifying the compliance and safety of autonomous vehicles (AVs). However, manual translation of natural language traffic rules as formal specification requires domain knowledge and logic expertise, which limits its adaptation. This paper introduces TR2MTL, a framework that employs large language models (LLMs) to automatically translate traffic rules (TR) into metric temporal logic (MTL). It is envisioned as a human-in-loop system for AV rule formalization. It utilizes a chain-of-thought in-context learning approach to guide the LLM in step-by-step translation and generating valid and grammatically correct MTL formulas. It can be extended to various forms of temporal logic and rules. We evaluated the framework on a challenging dataset of traffic rules we created from various sources and compared it against LLMs using different in-context learning methods. Results show that TR2MTL is domain-agnostic, achieving high accuracy and generalization capability even with a small dataset. Moreover, the method effectively predicts formulas with varying degrees of logical and semantic structure in unstructured traffic rules.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 13 of its 36 references that are in the map. First posted on arXiv 9 Jun 2024.

Builds on

13 of 36 references.

References · 13

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  6. 2023StarCoder: may the source be with you!cited by 790
  7. 2022Parallel Context Windows for Large Language Modelscited by 81
  8. 2023Data-Efficient Learning of Natural Language to Linear Temporal Logic Translators for Robot Task Specificationcited by 38
  9. 2022Formal Specifications from Natural Languagecited by 33
  10. 2021DeepSTL -- From English Requirements to Signal Temporal Logiccited by 22
  11. 2019Planning with State Abstractions for Non-Markovian Task Specificationscited by 8
  12. 2022Road Traffic Law Adaptive Decision-making for Self-Driving Vehiclescited by 3
1 more
  1. 2019From Specifications to Behavior: Maneuver Verification in a Semantic State Spacecited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards Lawful Autonomous Driving: Deriving Scenario-Aware Driving Requirements from Traffic Laws and Regulations
  2. 2025SanDRA: Safe Large-Language-Model-Based Decision Making for Automated Vehicles Using Reachability Analysis
  3. 2023LLMLight: Large Language Models as Traffic Signal Control Agents
  4. 2024Large Language Models (LLMs) as Traffic Control Systems at Urban Intersections: A New Paradigm
  5. 2024Hybrid Reasoning Based on Large Language Models for Autonomous Car Driving
  6. 2026Reasoning to Regulate: Chain-of-Thought for Traffic Rule Understanding
  7. 2024Leveraging Large Language Models with Chain-of-Thought and Prompt Engineering for Traffic Crash Severity Analysis and Inference
  8. 2023LLM4Drive: A Survey of Large Language Models for Autonomous Driving