arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.15003cs.CLcs.AI
收藏

基于大语言模型的组合语义解析

Compositional Semantic Parsing with Large Language Models

Google Research(谷歌研究院);UMass Amherst CICS(马萨诸塞大学阿默斯特分校信息与计算机科学学院);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Andrew Drozdov, Nathanael Schärli, Ekin Akyürek, Nathan Scales, Xinying Song, Xinyun Chen, Olivier Bousquet, Denny Zhou

摘要:

当面对新任务时,人类可以进行组合推理。先前的研究表明,适当的提示技术使大语言模型(LLM)能够解决人工合成泛化任务,如SCAN。在这项工作中,我们确定了更多的挑战,更现实的语义解析任务,更大的词汇量和完善这些提示技术来解决这些问题。我们最好的方法是基于最小到最大的提示:它分解的问题,使用基于语法分析的句法分析,然后使用这种分解,以选择适当的样本,并顺序生成语义分析。这种方法使我们能够为CFQ设定一个新的技术水平,同时只需要传统方法使用的训练数据的1%。由于我们的方法的一般性质,我们预计类似的努力将导致在其他任务和领域,特别是知识密集型应用程序的新成果。

英文摘要:

Humans can reason compositionally when presented with new tasks. Previous research shows that appropriate prompting techniques enable large language models (LLMs) to solve artificial compositional generalization tasks such as SCAN. In this work, we identify additional challenges in more realistic semantic parsing tasks with larger vocabulary and refine these prompting techniques to address them. Our best method is based on least-to-most prompting: it decomposes the problem using prompting-based syntactic parsing, then uses this decomposition to select appropriate exemplars and to sequentially generate the semantic parse. This method allows us to set a new state of the art for CFQ while requiring only 1% of the training data used by traditional approaches. Due to the general nature of our approach, we expect similar efforts will lead to new results in other tasks and domains, especially for knowledge-intensive applications.

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

↑