arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.11045cs.DBcs.AIq-bio.QM
收藏

智能体提议,代码验证,人类决策:经验证的智能体将异构科学表摄入关系型数据库

Agents Propose, Code Verifies, Humans Decide: Verified Agentic Ingestion of Heterogeneous Scientific Tables into Relational Databases

Colorado State University(科罗拉多州立大学);The Ohio State University(俄亥俄州立大学)

Bharatha Rankothge, Suzanne Hodgkins, Virginia Rich, Michael Kirby

AI总结:

该研究提出AI辅助摄入流水线,以LLM智能体提议、确定性代码验证、人类决策为规则,在生物医学数据集上实现异构科学表到关系型数据库的可靠摄入,错误捕获率高,成本低。

摘要:

公开科学数据集很少能直接用于分析,它们以包含宽矩阵、长表、电子表格和分队列文件的杂乱文件夹形式存在,这些文件的键和编码各不相同,每次重新分析都必须先将它们重新连接。编码智能体可以实现这一过程的自动化,但其错误可能看起来合理,且没有审计跟踪的话,可能无法发现会破坏数据的错误。我们提出了一种AI辅助的摄入流水线,基于一条规则:大语言模型(LLM)智能体提议,确定性代码验证,人类决策。窄域智能体仅查看文件的紧凑、可引用证据,从不查看数据本身,并返回带类型的提议。具有39种检查类型的验证器在两个循环中根据该证据测试每个提议,一个循环针对模式的结构,另一个针对其含义,人类审核员批准模式和加载操作。代码会编译PostgreSQL DDL,重塑数据,隔离无法放置的行,记录来源,并协调每个暂存行与数据库。在四个公开生物医学数据集(其中一个是开发时留出的)上,20个初始提议中有9个未通过检查,且所有失败都被捕获:循环修复了8个,审核员的一行编辑修复了第9个。全部4510万个值加载时的协调差距为零。发现数据集结构需要4-7次LLM调用,准备数据最多再需一次,每个数据集成本低于0.50美元。在另一项测试中,9个植入的数据错误中的每一个都被隔离,并附带原因或记录在审计日志中。

英文摘要:

Public scientific datasets rarely arrive analysis-ready. They arrive as messy folders of wide matrices, long tables, spreadsheets, and per-cohort files whose keys and encodings differ, and every reanalysis must reconnect them first. A coding agent can automate this, but its mistakes can look plausible, and without an audit trail, a mistake that corrupts data can go uncaught. We present an AI-assisted ingestion pipeline built on one rule: LLM agents propose, deterministic code verifies, and humans decide. Narrow agents see compact, citable evidence about the files, never the data, and return typed proposals. A verifier with 39 check types tests each proposal against that evidence in two loops, one for the schema's structure and one for its meaning, and a human reviewer approves the schema and the load. Code compiles PostgreSQL DDL, reshapes the data, quarantines rows it cannot place, records provenance, and reconciles every staged row against the database. On four public biomedical datasets, one held out from development, 9 of 20 first proposals failed a check and every failure was caught: the loops repaired eight, and a one-line reviewer edit fixed the ninth. All 45.1 million values loaded with zero reconciliation gap. Discovering a dataset's structure took 4-7 LLM calls and preparing its data at most one more, costing under $0.50 per dataset. In a separate test, each of nine planted data errors was quarantined with a reason or recorded in an audit log.

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

↑