Reasoning to Regulate: Chain-of-Thought for Traffic Rule Understanding

Yueru Luo, Xu Yan, Changqing Zhou, Yiming Yang, Chao Zhan, Shuqi Mei, Chao Zheng, Zhen Li · Submission to ICLR 2026 · Rejected

TL;DR

Researchers have developed a new framework that equips Vision-Language Models (VLMs) with Chain-of-Thought (CoT) reasoning to better understand complex traffic regulations. By moving beyond simple pattern matching to explicit spatial reasoning and using a two-stage reinforcement learning pipeline, the approach significantly improves both the accuracy and interpretability of how autonomous systems associate traffic signs with specific lanes.

What Problem Does This Paper Address?

For an autonomous vehicle (AV), understanding a traffic sign isn't just about reading text (OCR); it’s about contextual reasoning. A "No Left Turn" sign might only apply to the leftmost lane, or a "Bus Only" sign might be active only during rush hour for a specific carriageway.

Existing methods typically treat this as a "black box" sequence prediction task: the model looks at an image and a map, then spits out a lane ID. This approach has two major flaws:

  1. Lack of Interpretability: If the car makes a mistake, we don't know why.
  2. Reasoning Gaps: These models often fail to connect the semantic meaning of a sign (e.g., "Emergency Lane") with the spatial geometry of the road (e.g., "the lane separated by a solid white line on the far right").

The authors aim to bridge this gap by forcing models to generate a step-by-step rationale before arriving at a decision.

Methods

The paper proposes a three-pronged strategy to instill reasoning capabilities into VLMs:

  1. Scalable CoT Data Curation: High-quality reasoning data is rare. The authors designed a two-round prompting strategy using a strong LLM (Qwen-VL-Max). In Round 1, the model predicts blindly. In Round 2, it is shown the ground truth and asked to reflect, analyze its errors, and write a self-consistent rationale. A separate VLM "judge" then filters these, keeping only the samples where the reasoning logically leads to the correct answer.
  2. Supervised Fine-Tuning (SFT) Warm-up: The model (based on Qwen-VL-Chat 9.6B) is first trained on a mix of standard "answer-only" data and the new "rationale + answer" data. This teaches the model the basic protocol of thinking before speaking.
  3. Reinforcement Learning via GRPO: To further refine the model, the authors use Group Relative Policy Optimization (GRPO). Unlike standard RL that requires a complex "critic" model, GRPO compares a group of outputs for the same prompt and rewards those that achieve higher scores.
  4. Fine-grained Rewards: Instead of a simple "right or wrong" binary reward, they use a formula that gives partial credit for correctly understanding the rule's attributes and correctly associating it with the right lanes.

Datasets

The study primarily utilizes MapDR, a recent large-scale benchmark for traffic rule understanding.

  • MapDR vs. Others: While older datasets like OpenLane-V2 focus on simple directional signs and category-level labels, MapDR provides fine-grained rule descriptions (e.g., effective times, vehicle types) and links them to vectorized HD map lane polylines.
  • Data Volume: The authors started with 11,060 training samples and curated a high-quality subset of 4,517 (CoT, answer) pairs for their reasoning-based training.

Key Insights and Ideas

  • Reasoning is a Bottleneck: The authors found that VLMs often fail not because they can't see the sign, but because they can't map the sign's "scope" to the 3D geometry of the lanes.
  • The Power of Reflection: The two-round curation process proves that models are much better at generating faithful rationales when they are forced to "debug" their own initial incorrect guesses against the ground truth.
  • Dense Rewards Matter: In the RL stage, providing "dense credit" (partial points for getting the rule right even if the lane is slightly off) provides much more informative gradients than binary rewards, leading to faster and more stable convergence.
  • Interpretability as a Safety Feature: By exposing the intermediate reasoning, the model becomes "interpretable." We can see if a model correctly identified a "Bus Lane" symbol but failed because it miscounted the lanes from the curb.

Key Results

The proposed method was tested against several baselines, including modular systems and end-to-end models like RuleVLM.

  • Superior Accuracy: The framework achieved a state-of-the-art F1 score of 0.723, a significant jump over RuleVLM’s 0.642.
  • Reasoning vs. Extraction: Interestingly, the model's raw "Rule Extraction" (just reading the sign) was slightly lower than some baselines, but its "Lane Association" was much higher. This suggests the CoT approach specifically excels at the difficult task of applying the rule to the map.
  • Qualitative Success: Qualitative examples show the model correctly identifying Chinese text on signs (e.g., "Variable Lane") and using BEV (Bird's-Eye View) spatial cues to distinguish between adjacent lanes that look similar in a front-view camera.

Limitations and Future Work

  • Computational Overhead: Generating a full Chain-of-Thought rationale for every sign in real-time is computationally expensive. Future work may need to look at "distilling" this reasoning back into faster, more concise models.
  • Static vs. Dynamic: The current work focuses on static map elements and signs. Integrating dynamic context (like the behavior of other cars or temporary construction barriers) into the reasoning chain is a logical next step.
  • Data Scarcity: Even with their curation pipeline, the amount of high-quality reasoning data is small compared to standard vision datasets. Expanding this to more diverse global driving environments remains a challenge.

Summary updated

BibTeX
@misc{luo2026reasoning,
  author = {Yueru Luo and Xu Yan and Changqing Zhou and Yiming Yang and Chao Zhan and Shuqi Mei and Chao Zheng and Zhen Li},
  title = {{Reasoning to Regulate: Chain-of-Thought for Traffic Rule Understanding}},
  year = {2026},
  eprint = {2607.24199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.24199},
}
Figure