paper-with-me

Papers

Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniques

2023-05-27 · Daking Rai, Bailin Wang, Yilun Zhou, Ziyu Yao

Compositional and domain generalization present significant challenges in semantic parsing, even for state-of-the-art semantic parsers based on pre-trained language models (LMs). In this study, we empirically investigate improving an LM's generalization in semantic parsing with two simple techniques: at the token level, we introduce a token preprocessing method to preserve the semantic boundaries of tokens produced by LM tokenizers; at the sequence level, we propose to use special tokens to mark the boundaries of components aligned between input and output. Our experimental results on two text-to-SQL semantic parsing datasets show that our token preprocessing, although simple, can substantially improve the LM performance on both types of generalization, and our component boundary marking method is particularly helpful for compositional generalization.

📄 PDF Abstract BibTeX arXiv:2305.17378

Code (1)

dakingrai/ood-generalization-semantic-boundary-techniques 공식 구현 pytorch

Tasks

Domain GeneralizationLanguage ModelingLanguage ModellingSemantic ParsingText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Retrieval-Augmented Semantic Parsing: Using Large Language Models to Improve Generalization

2024-12-13 · Xiao Zhang, Qianru Meng, Johan Bos

Open-domain semantic parsing remains a challenging task, as models often rely on heuristics and struggle to handle unseen concepts. In this paper, we investigate the potential of large language models (LLMs) for this tas…

DecoderRetrievalSemantic Parsing

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

Improving Text-to-SQL Semantic Parsing with Fine-grained Query Understanding

2022-09-28 · Jun Wang, Patrick Ng, Alexander Hanbo Li, Jiarong Jiang 외

Most recent research on Text-to-SQL semantic parsing relies on either parser itself or simple heuristic based approach to understand natural language query (NLQ). When synthesizing a SQL query, there is no explicit seman…

NERSemantic ParsingText to SQLText-To-SQL

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

2023-12-17 · Wenting Zhao, Ye Liu, Yao Wan, Yibo Wang 외

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/…

In-Context LearningPrompt EngineeringSemantic Parsing

Compositional generalization in semantic parsing with pretrained transformers

2021-09-30 · A. Emin Orhan

Large-scale pretraining instills large amounts of knowledge in deep neural networks. This, in turn, improves the generalization behavior of these models in downstream tasks. What exactly are the limits to the generalizat…

Out-of-Distribution GeneralizationSemantic Parsing