Randomized trial enhances traffic data querying using NL2SQL framework, implying improved accessibility and execution accuracy.
Intelligent transport systems generate vast traffic data with specific intricate business logics, necessitating efficient querying solutions. Traditional Structured Query Language (SQL) requires programming and domain expertise, whereas Natural Language to Structured Query Language (NL2SQL) enables natural language interaction for improved accessibility. This study tackles some challenges in the application of NL2SQL in the traffic field, including complex database structures, implied domain knowledge, and reliability issues with Large Language Model (LLM)-generated SQL. Existing approaches employ context optimization and schema linking but face two limitations: computational overhead increased by redundant context, and omission of critical columns and foreign keys risked by schema linking. To address the above issues, a NL2SQL framework for intelligent traffic data query is proposed, which integrates bidirectional schema linking, contextual information augmentation, binary selection strategy, multi-turn self-correction, and calibration with hints. Experimental results demonstrate that the proposed framework achieves an execution accuracy of 69.97% on the BIRD traffic dataset (a 5.54% improvement over DIN-SQL) and 65.51% on the complete BIRD development set. This demonstrates the framework’s robustness in handling complex traffic queries while maintaining competitive performance across diverse domains.
No takes yet. Share an insight, caveat, or question.
Wang et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: