arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13573cs.DB
收藏

MatQuery:面向异构材料数据库的执行落地式自然语言查询

MatQuery: Execution-Grounded Natural-Language Querying over Heterogeneous Materials Databases

Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算学部)

Chen Jason Zhang, Qi Chen

AI总结:

MatQuery是面向异构材料数据库的执行落地式自然语言查询基础设施,其原型经初步实验验证了查询生成与数据库选择的准确率,但也暴露了部分局限性,目前正处于冒烟测试阶段。

摘要:

材料科学家越来越多地结合来自多个公共数据库的信息,每个数据库都有其自身的接口、模式、单位和计算规范。MatQuery是一个原型和实验基础设施,用于研究如何将自然语言请求转换为对这些数据库的查询,以及如何解释返回的值。本报告描述了已构建的内容和迄今为止获得的初步结果。该原型包含六个公共材料数据库的冻结、自验证本地副本(每个约10000条记录)、从这些数据库派生的声明字段目录、一种与数据库无关的查询表示形式(带有每个数据库的适配器),以及一个八步流程,其中语言模型提出方案,确定性程序步骤进行检查、执行和组装。基准生成器生成问题,其参考查询通过在冻结副本上执行进行验证,其措辞通过回译和审查进行检查。评估工具在相同的冻结基础上运行直接提示、CHESS和Alpha-SQL。对包含800个问题的开发集进行的初步实验显示,使用三个演示的直接生成达到了82.4%的严格执行准确率(无演示时为56.5%),低成本评分器为85.0%的完整请求选择了确切的数据库集合,且概率校准良好,在成分匹配的跨数据库集群中,带隙差异超过0.5 eV的比例为31.6%。两项试点研究显示了当前方法的局限性:先探测再询问策略在50次会话中仅在11次中获得了两位评审者均评为有效的答案,在300个抽样记录对中,仅有115个可通过结构进行比较。完整流程正在冒烟测试中,尚未进行大规模评估。

英文摘要:

Materials scientists increasingly combine information from several public databases, each with its own interface, schema, units and calculation conventions. MatQuery is a prototype and experimental infrastructure for studying how a natural-language request can be turned into queries over such databases and how the returned values can be interpreted. This report describes what has been built and the preliminary results obtained so far. The prototype holds frozen, self-verifying local copies of six public materials databases (about 10,000 records each), a catalog of declared fields derived from them, a database-independent query representation with an adapter for each database, and an eight-step pipeline in which a language model proposes and deterministic program steps check, execute and assemble. A benchmark generator produces questions whose reference queries are verified by execution on the frozen copies and whose wording is checked by back-translation and review. An evaluation harness runs direct prompting, CHESS and Alpha-SQL on the same frozen basis. Preliminary experiments on an 800-question development set show that direct generation with three demonstrations reaches 82.4% strict execution accuracy (56.5% without demonstrations), that a low-cost scorer selects the exact set of databases for 85.0% of complete requests with well-calibrated probabilities, and that band gaps differ by more than 0.5 eV in 31.6% of composition-matched cross-database clusters. Two pilots show the limits of the current approach: a probe-then-ask policy gave answers rated valid by both reviewers in only 11 of 50 sessions, and only 115 of 300 sampled record pairs could be compared by structure. The complete pipeline is in smoke testing and has not yet been evaluated at scale.

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

↑