AMBROSIA:一个将歧义问题解析为数据库查询的基准
AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queries
AI总结:
该研究推出名为AMBROSIA的text-to-SQL基准数据集,包含三类带歧义且有对应解读与SQL的问题,通过从零可控生成数据库保证歧义在数据库上下文下仍存在,测试发现先进LLM也难以处理这类歧义。
摘要:
实用的语义解析器需要能够理解用户话语并将其映射为可执行程序,即便这些话语存在歧义。我们推出了一个新基准AMBROSIA,希望能为可识别并解读歧义请求的text-to-SQL解析器的开发提供参考与启发。我们的数据集包含展现三类不同歧义(辖域歧义、附着歧义和模糊性)的问题、它们的不同解读以及对应的SQL查询,且在每种情况下,即便提供数据库上下文,歧义依然存在。这一特性通过一种从零开始可控生成数据库的新方法实现。我们在AMBROSIA上对多种大语言模型(LLM)进行了基准测试,结果显示即便是最先进的模型也难以识别并解读问题中的歧义。
英文摘要:
Practical semantic parsers are expected to understand user utterances and map them to executable programs, even when these are ambiguous. We introduce a new benchmark, AMBROSIA, which we hope will inform and inspire the development of text-to-SQL parsers capable of recognizing and interpreting ambiguous requests. Our dataset contains questions showcasing three different types of ambiguity (scope ambiguity, attachment ambiguity, and vagueness), their interpretations, and corresponding SQL queries. In each case, the ambiguity persists even when the database context is provided. This is achieved through a novel approach that involves controlled generation of databases from scratch. We benchmark various LLMs on AMBROSIA, revealing that even the most advanced models struggle to identify and interpret ambiguity in questions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。