paper-with-me

Papers

kNN-ICL: Compositional Task-Oriented Parsing Generalization with Nearest Neighbor In-Context Learning

2023-12-17 · Wenting Zhao, Ye Liu, Yao Wan, Yibo Wang, Qingyang Wu, Zhongfen Deng, Jiangshu Du, Shuaiqi Liu, Yunlong Xu, Philip S. Yu

Task-Oriented Parsing (TOP) enables conversational assistants to interpret user commands expressed in natural language, transforming them into structured outputs that combine elements of both natural language and intent/slot tags. Recently, Large Language Models (LLMs) have achieved impressive performance in synthesizing computer programs based on a natural language prompt, mitigating the gap between natural language and structured programs. Our paper focuses on harnessing the capabilities of LLMs for semantic parsing tasks, addressing the following three key research questions: 1) How can LLMs be effectively utilized for semantic parsing tasks? 2) What defines an effective prompt? and 3) How can LLM overcome the length constraint and streamline prompt design by including all examples as prompts? We introduce k Nearest Neighbor In-Context Learning(kNN-ICL), which simplifies prompt engineering by allowing it to be built on top of any design strategy while providing access to all demo examples. Extensive experiments show that: 1)Simple ICL without kNN search can achieve a comparable performance with strong supervised models on the TOP tasks, and 2) kNN-ICL significantly improves the comprehension of complex requests by seamlessly integrating ICL with a nearest-neighbor approach. Notably, this enhancement is achieved without the need for additional data or specialized prompts.

📄 PDF Abstract BibTeX arXiv:2312.10771

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningPrompt EngineeringSemantic Parsing

Similar Papers 제목 키워드 기반

Towards Compositionally Generalizable Semantic Parsing in Large Language Models: A Survey

2024-04-15 · Amogh Mannekote

Compositional generalization is the ability of a model to generalize to complex, previously unseen types of combinations of entities from just having seen the primitives. This type of generalization is particularly relev…

Information RetrievalRetrievalSemantic ParsingSQL Parsing+2

Semantic Parsing for Task Oriented Dialog using Hierarchical Representations

2018-10-18 · EMNLP 2018 10 · Sonal Gupta, Rushin Shah, Mrinal Mohit, Anuj Kumar 외

Task oriented dialog systems typically first parse user utterances to semantic frames comprised of intents and slots. Previous work on task oriented intent and slot-filling work has been restricted to one intent per quer…

Constituency ParsingSemantic Parsingslot-fillingSlot Filling

Compositional Generalization in Multilingual Semantic Parsing over Wikidata

2021-08-07 · Ruixiang Cui, Rahul Aralikatte, Heather Lent, Daniel Hershcovich

Semantic parsing (SP) allows humans to leverage vast knowledge resources through natural interaction. However, parsers are mostly designed for and evaluated on English resources, such as CFQ (Keysers et al., 2020), the c…

Cross-Lingual TransferSemantic ParsingZero-Shot Cross-Lingual Transfer

Conversational Semantic Parsing

2020-09-28 · EMNLP 2020 11 · Armen Aghajanyan, Jean Maillard, Akshat Shrivastava, Keith Diedrick 외

The structured representation for semantic parsing in task-oriented assistant systems is geared towards simple understanding of one-turn queries. Due to the limitations of the representation, the session-based properties…

dialog state trackingSemantic Parsing

Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsing

2020-10-07 · EMNLP 2020 11 · Xilun Chen, Asish Ghoshal, Yashar Mehdad, Luke Zettlemoyer 외

Task-oriented semantic parsing is a critical component of virtual assistants, which is responsible for understanding the user's intents (set reminder, play music, etc.). Recent advances in deep learning have enabled seve…

Domain AdaptationMeta-LearningRepresentation LearningSemantic Parsing