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

SANE:生物数据的模式感知自然语言评估

SANE Schema-aware Natural-language Evaluation of Biological Data

Institute for Automation and Applied Informatics (IAI), Karlsruhe Institute of Technology (KIT)(自动化与应用信息研究所(IAI)、卡尔斯鲁厄理工学院(KIT))

Rolf Gattung, Martin Krueger, Markus Reischl

AI总结:

提出SANE范式,通过模式感知的自动生成基准,评估少样本大语言模型在特定领域文本到SQL任务中的可靠性,发现结构化提示和约束可实现准确查询生成。

摘要:

高通量显微镜生成大型结构化数据集,捕捉细胞对药理扰动的反应,但访问这些数据集通常需要SQL专业知识。大语言模型提供了一种自然语言替代方案,但其幻觉倾向引发了对结果可靠性的担忧。我们提出SANE(模式感知自然语言评估),一种用于特定领域文本到SQL评估的新范式:基于模式、自动生成的基准,与实际和特定的实验结构相关联。SANE使评估更具可扩展性、系统性和可重复性。使用SANE,我们评估了一个少样本大语言模型,并表明在具有结构化提示和约束的受限模式下,无需任何模型训练或微调即可实现准确的查询生成。大多数失败源于模糊或未明确指定的输入,表现为过度谨慎的澄清请求或对应先消除歧义的查询的回答,而不是错误的SQL生成。这些结果表明,当与模式感知提示相结合时,少样本大语言模型可以在定义良好的领域内提供可靠的数据库访问。

英文摘要:

High-throughput microscopy generates large, structured datasets capturing cellular responses to pharmacological perturbations, but accessing these datasets typically requires SQL expertise. Large language models offer a natural-language alternative, yet their tendency to hallucinate raises concerns about result reliability . We present SANE Schema-Aware Natural-language Evaluation, a novel paradigm for domain-specific text-to-SQL evaluation: schema-grounded, automatically generated benchmarks tied to real and specific experimental structure. SANE makes evaluation more scalable, systematic, and reproducible. Using SANE, we evaluate a few-shot large language model and show that, under constrained schemas with structured prompting and guardrails, accurate query generation is achievable without any model training or fine-tuning. Most failures stem from ambiguous or underspecified inputs and manifest as overly cautious clarification requests or answers to queries that should first be disambiguated, rather than incorrect SQL generation. These results indicate that few-shot large language models can provide reliable database access in well-defined domains when combined with schema-aware prompting.

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

↑