arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.18448cs.CLcs.AI
收藏

先消歧后解析:在语义解析中生成解释以解决歧义

Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing

Institute for Language, Cognition and Computation, School of Informatics, University of Edinburgh(语言、认知与计算研究所,信息学院,爱丁堡大学)

Irina Saparina, Mirella Lapata

AI总结:

针对语义解析中的歧义问题,提出先消歧后解析的模块化方法,利用LLM偏见生成首选消歧结果,并结合填充模型生成缺失解释,有效提升了解释覆盖率与跨数据集泛化能力。

摘要:

处理歧义和欠规范是自然语言界面的重要挑战,尤其是在text-to-SQL语义解析等任务中。我们提出一种模块化方法,在将自然语言映射为逻辑形式(如SQL查询)之前,先使用自然语言解释来解决歧义。尽管LLM在解析无歧义话语时表现出色,但面对歧义话语时存在强烈偏见,通常只预测首选解释。我们建设性地利用这种偏见来生成一组初始的首选消歧结果,然后应用专门的填充模型来识别并生成缺失的解释。为了训练填充模型,我们引入了一种使用SQL执行来验证不同含义的标注方法。我们的方法提高了解释覆盖率,并能泛化到具有不同标注风格、数据库结构和歧义类型的数据集。

英文摘要:

Handling ambiguity and underspecification is an important challenge in natural language interfaces, particularly for tasks like text-to-SQL semantic parsing. We propose a modular approach that resolves ambiguity using natural language interpretations before mapping these to logical forms (e.g., SQL queries). Although LLMs excel at parsing unambiguous utterances, they show strong biases for ambiguous ones, typically predicting only preferred interpretations. We constructively exploit this bias to generate an initial set of preferred disambiguations and then apply a specialized infilling model to identify and generate missing interpretations. To train the infilling model, we introduce an annotation method that uses SQL execution to validate different meanings. Our approach improves interpretation coverage and generalizes across datasets with different annotation styles, database structures, and ambiguity types.

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

↑