paper-with-me

Papers

Compositional Generalization for Natural Language Interfaces to Web APIs

2021-12-09 · Saghar Hosseini, Ahmed Hassan Awadallah, Yu Su

This paper presents Okapi, a new dataset for Natural Language to executable web Application Programming Interfaces (NL2API). This dataset is in English and contains 22,508 questions and 9,019 unique API calls, covering three domains. We define new compositional generalization tasks for NL2API which explore the models' ability to extrapolate from simple API calls in the training set to new and more complex API calls in the inference phase. Also, the models are required to generate API calls that execute correctly as opposed to the existing approaches which evaluate queries with placeholder values. Our dataset is different than most of the existing compositional semantic parsing datasets because it is a non-synthetic dataset studying the compositional generalization in a low-resource setting. Okapi is a step towards creating realistic datasets and benchmarks for studying compositional generalization alongside the existing datasets and tasks. We report the generalization capabilities of sequence-to-sequence baseline models trained on a variety of the SCAN and Okapi datasets tasks. The best model achieves 15\% exact match accuracy when generalizing from simple API calls to more complex API calls. This highlights some challenges for future research. Okapi dataset and tasks are publicly available at https://aka.ms/nl2api/data.

📄 PDF Abstract BibTeX arXiv:2112.05209

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Parsing

Similar Papers 제목 키워드 기반

Structured Active Inference (Extended Abstract)

2024-06-07 · Toby St Clere Smithe

We introduce structured active inference, a large generalization and formalization of active inference using the tools of categorical systems theory. We cast generative models formally as systems "on an interface", with …

LLM+Reasoning+Planning for supporting incomplete user queries in presence of APIs

2024-05-21 · Sudhir Agarwal, Anu Sreepathy, David H. Alonso, Prarit Lamba

Recent availability of Large Language Models (LLMs) has led to the development of numerous LLM-based approaches aimed at providing natural language interfaces for various end-user tasks. These end-user tasks in turn can …

Logical Reasoning

Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?

2020-10-24 · ACL 2021 5 · Peter Shaw, Ming-Wei Chang, Panupong Pasupat, Kristina Toutanova

Sequence-to-sequence models excel at handling natural language variation, but have been shown to struggle with out-of-distribution compositional generalization. This has motivated new specialized architectures with stron…

Semantic Parsing

Effect of Pressure for Compositionality on Language Emergence

2021-09-29 · Mihira Kasun Vithanage, Rukshan Darshana Wijesinghe, Alex Xavier, Dumindu Tissera 외

Humans can use natural languages compositionally, where complicated concepts are expressed using expressions grounded in simpler concepts. Hence, it has been argued that compositionality increases the ability of generali…

The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Models

2023-10-04 · Chenwei Wu, Li Erran Li, Stefano Ermon, Patrick Haffner 외

Compositionality is a common property in many modalities including natural languages and images, but the compositional generalization of multi-modal models is not well-understood. In this paper, we identify two sources o…