arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.21712cs.CL
收藏

通过生成式AI拓宽交通安全管理数据的可及性:一种基于模式的时空自然语言查询框架

Broadening Access to Transportation Safety Data with Generative AI: A Schema-Grounded Framework for Spatial Natural Language Queries

Department of Civil and Environmental Engineering, University of Massachusetts Amherst(麻省大学阿姆赫斯特分校土木与环境工程系)

Mahdi Azhdari, Eric J. Gonzales

AI总结:

本文提出了一种基于模式的自然语言接口,利用大型语言模型解释用户意图,同时保持确定性和可审查的执行,以解决交通安全管理数据访问不均的问题,通过整合事故记录、道路属性和地理空间数据,提升公共部门的安全规划能力。

摘要:

交通安全管理分析需要通过基于GIS的工作流整合事故记录、道路属性和地理空间数据,但各机构和社区利益相关者之间的访问仍然不均。技术前提导致分析工具与能够使用它们的从业者之间存在差距。地方机构、学校委员会和居民可能有安全担忧,但缺乏检索、过滤、映射和分析相关数据的能力。生成式AI提供了一种缩小这一差距的方法,但其在公共部门的使用引发了关于可靠性和可复现性的问题。本文提出了一种基于模式的自然语言接口,利用大型语言模型(LLM)解释用户意图,同时保持确定性和可审查的执行,以权威数据库为基础。用户查询被翻译成结构化的语义框架,通过基于规则的层验证,编译成一个有类型的有向无环图,用于执行PostGIS数据库。这种设计将语言解释与确定性执行分离,保持结果可复现和基于模式,同时去除访问障碍。该框架使用整合了事故记录、道路属性和地理空间层(包括学校、公交站、过街天桥和市政边界)的州级马萨诸塞州交通安全管理数据库进行评估。所有查询均成功执行;验证层纠正了29%的评估查询中的错误,反映了灵活的自然语言与严格模式要求之间的差距。结果表明,结合自然语言的可访问性与确定性执行是扩大交通安全管理数据可及性的可行方向,对公共部门规划中的可信AI具有启示。

英文摘要:

Transportation safety analysis requires integrating crash records, roadway attributes, and geospatial data through GIS-based workflows, but access remains uneven across agencies and community stakeholders. Technical prerequisites create a gap between analytical tools central to safety planning and the practitioners able to use them. Local agencies, school committees, and residents may have safety concerns but limited capacity to retrieve, filter, map, and analyze relevant data. Generative AI offers a way to narrow this divide, but its public-sector use raises questions about reliability, reproducibility, and governance. This paper presents a schema-grounded natural language interface for transportation safety analysis, using a large language model (LLM) to interpret user intent while preserving deterministic, reviewable execution against an authoritative database. User queries are translated into structured semantic frames, validated by a rule-based layer, compiled into a typed directed acyclic graph of spatial operations, and executed against a PostGIS database. This bounded design separates language interpretation from deterministic execution, keeping results reproducible and schema-grounded while removing access barriers. The framework is evaluated using a statewide Massachusetts transportation safety database integrating crash records, roadway attributes, and geospatial layers including schools, bus stops, crosswalks, and municipal boundaries. All queries executed successfully; the validation layer corrects errors in 29% of evaluation queries, reflecting the gap between flexible natural language and strict schema-grounded requirements. The results suggest that combining natural language accessibility with deterministic execution is a practical direction for broadening access to transportation safety data, with implications for trustworthy AI in public-sector planning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑