跳到正文
返回论文列表
cs.CL提交于 已译

从问题到查询再到洞见:面向自然语言崩溃数据分析的 schema 驱动智能体工作流

From Questions to Queries to Insights: A Schema-Grounded Agentic Workflow for Natural-Language Crash Data Analysis

Jingwen Zhu · Keshu Wu · Steven T. Parker · Bin Ran · David A. Noyce

中文摘要

交通机构维护庞大的碰撞数据库,用于识别安全重点、评估对策并指导资源配置。现有仪表板仅支持预定义分析,额外需求往往依赖熟悉数据库查询、编码字段和机构惯例的专家。CrashDB-QA 是完全本地运行、由 schema 驱动的智能体工作流,可通过自然语言分析碰撞数据库。其专用组件负责解释问题、生成并验证只读 SQL、执行查询并解读结果。共享知识库依据机构数据字典和安全分析惯例构建查询,同时记录中间输出以供检查和审计。可选扩展 CrashDB-QA+ 检查问题、查询与执行结果的一致性,并为迭代修复提供证据。工作流在包含 440 万条 Wisconsin 碰撞记录的冻结快照上进行评估,使用覆盖十类分析问题和九种本地开放权重模型的新基准,共含 300 个问题。领域 grounding 显著提升查询准确率;面向代码的 7B 模型在受测模型中取得最佳准确率与延迟平衡。组合式分析仍比常规检索更难,尤其是群体或时期比较。当 Judge 使用权威字段定义且 Refiner 获得执行证据时,验证可改善性能;单独增加检查则未呈现稳定收益。

关键要点

  1. 01现有碰撞数据库仪表板仅支持预定义分析,灵活请求仍依赖专业人员。
  2. 02CrashDB-QA 通过专用组件解释问题、生成并验证只读 SQL、执行查询和解释结果。
  3. 03共享知识库以数据字典与安全分析惯例 grounding 查询,中间输出支持检查和审计。
  4. 04在 440 万条 Wisconsin 碰撞记录和 300 个问题上,领域 grounding 显著提高准确率。
  5. 05组合式分析仍较困难;验证仅在权威定义与执行证据齐备时带来稳定改进。

解读

尚无解读。

原始英文摘要

arXiv:2610.35054v1 Announce Type: new Abstract: Transportation agencies maintain extensive crash databases to identify safety priorities, evaluate countermeasures, and guide resource allocation. Making these data accessible to practitioners requires flexible ways to translate analytical questions into reliable results. Existing dashboards support predefined analyses, while additional requests often depend on specialists who understand database queries, coded fields, and agency conventions. This study presents CrashDB-QA, a fully local, schema-grounded agentic workflow that enables natural-language analysis of crash databases. Specialized components interpret questions, generate and validate read-only SQL, execute queries, and explain the results. A shared knowledge base grounds query construction in the agency's data dictionary and safety-analysis conventions, while recorded intermediate outputs support inspection and auditing. An optional extension, CrashDB-QA+, checks the alignment among the question, query, and execution result and supplies evidence for iterative repair. We evaluate the workflow on a frozen snapshot of 4.4 million Wisconsin crash records using a new benchmark of 300 questions across ten analytical categories and nine local open-weight models. Domain grounding substantially improves query accuracy, and a code-specialized 7B model provides the best accuracy-latency balance among the tested models. Compositional analyses remain more difficult than routine retrieval, particularly comparisons between groups or periods. Verification improves performance when the Judge uses authoritative field definitions and the Refiner receives execution evidence, whereas additional checking alone offers no consistent benefit. These findings demonstrate the potential of locally deployed, domain-grounded workflows to broaden access to crash analysis and identify the reasoning and verification capabilities needed for reliable use.

同方向论文 · cs.CL

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 6

学习didakte.com·外部收录·

让 AI 扮演私人辅导老师,分阶段讲解知识点、出题测评并给予鼓励反馈

你现在是我私人的教育机器人,非常专业并且能够帮助提升我的自信心。我们的学习过程将会分为几个阶段:首先,你需要使用简洁明了的语言解释一个知识点,并在解释结束后询问我是否理解。如果我有困惑,你需要耐心地用更浅显的方式重复解释,直到我理解。其次,我希望你能够像优秀的老师一样,通过联想和生动有趣的例子,帮助我深入理解这个知识点。在这个阶段,也请你指出可能的考试重点。第三阶段,我希望你能出一道与该知识点相关的,简单的 IGCSE Edexcel 历年常考题,然后根据我的回答,提供积极的…

学习eu.36kr.com·外部收录·

通过提问、提示、练习和复习环节,引导用户自主理解知识并掌握学习内容。

# 严格规则 你是一个平易近人却充满活力的老师,能通过指导用户学习来帮助用户学习。 1. 了解用户。如果你不知道他们的目标或年级,请在深入探讨之前询问用户。(尽量保持简洁!)如果他们没有回答,请尽量提供十年级学生也能理解的解释。 2. 以现有知识为基础。将新想法与用户已有知识联系起来。 3. 引导用户,不要只是给出答案。使用问题、提示和小步骤,让用户自己发现答案。 4. 检查并强化。在完成难点部分后,确认用户可以复述或运用该想法。提供快速总结、助记符或简短回顾,以帮助用户记…

学习github.com/f/awesome-chatgpt-prompts·外部收录·

Teen Study Buddy

- Organize the student's notes by subject and topic. - Build quizzes from notes before tests on the calendar. - Keep an assignment planner and break big projects into steps. - Encourage, never do the homework for them. - Keep the tone frien…

学习github.com/f/awesome-chatgpt-prompts·外部收录·

Home Energy Coach

You help the user lower home energy use without hurting comfort. - Read hourly consumption from the smart meter / Home Assistant and device states. - Detect: standby loads above baseline overnight, heating/cooling running with windows open…

学习wangshuyi.substack.com·外部收录·

根据指定主题为儿童生成带互动模拟、练习和测验的单文件 HTML 教程。

首先明确定义角色:你是儿童互动教育内容开发专家。然后给明确的目标:根据用户指定主题,生成一个完整独立的互动学习 HTML 文件。背景是目标用户是青少年儿童,输出格式是单文件 HTML,CSS、JS 全都内联,最后就要这一个文件。设计原则要注重趣味性、互动性、视觉吸引力。输入参数一共有 3 个:学习主题(必选)、用户画像(可选,默认我们家老大 12 岁的男孩 Kevin)、卡通形象(可选,最近他和弟弟迷名侦探柯南,所以我就选用了名侦探柯南)。页面结构要求包括 HTML 框架、标…