paper-with-me

홈 › Papers

Adapt and Decompose: Efficient Generalization of Text-to-SQL via Domain Adapted Least-To-Most Prompting

2023-08-01 · Aseem Arora, Shabbirhussain Bhaisaheb, Harshit Nigam, Manasi Patwardhan, Lovekesh Vig, Gautam Shroff

Cross-domain and cross-compositional generalization of Text-to-SQL semantic parsing is a challenging task. Existing Large Language Model (LLM) based solutions rely on inference-time retrieval of few-shot exemplars from the training set to synthesize a run-time prompt for each Natural Language (NL) test query. In contrast, we devise an algorithm which performs offline sampling of a minimal set-of few-shots from the training data, with complete coverage of SQL clauses, operators and functions, and maximal domain coverage within the allowed token length. This allows for synthesis of a fixed Generic Prompt (GP), with a diverse set-of exemplars common across NL test queries, avoiding expensive test time exemplar retrieval. We further auto-adapt the GP to the target database domain (DA-GP), to better handle cross-domain generalization; followed by a decomposed Least-To-Most-Prompting (LTMP-DA-GP) to handle cross-compositional generalization. The synthesis of LTMP-DA-GP is an offline task, to be performed one-time per new database with minimal human intervention. Our approach demonstrates superior performance on the KaggleDBQA dataset, designed to evaluate generalizability for the Text-to-SQL task. We further showcase consistent performance improvement of LTMP-DA-GP over GP, across LLMs and databases of KaggleDBQA, highlighting the efficacy and model agnostic benefits of our prompt based adapt and decompose approach.

📄 PDF Abstract BibTeX arXiv:2308.02582

Code (0)

등록된 구현이 없습니다.

Tasks

Domain GeneralizationLanguage ModellingLarge Language ModelRetrievalSemantic ParsingText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

ICM-Fusion: In-Context Meta-Optimized LoRA Fusion for Multi-Task Adaptation

2025-08-06 · Yihua Shao, Xiaofeng Lin, Xinwei Long, Siyu Chen 외 arxiv

Enabling multi-task adaptation in pre-trained Low-Rank Adaptation (LoRA) models is crucial for enhancing their generalization capabilities. Most existing pre-trained LoRA fusion methods decompose weight matrices, sharing…

Incremental Learning

Fast Text-Only Domain Adaptation of RNN-Transducer Prediction Network

2021-04-22 · Janne Pylkkönen, Antti Ukkonen, Juho Kilpikoski, Samu Tamminen 외

Adaption of end-to-end speech recognition systems to new tasks is known to be challenging. A number of solutions have been proposed which apply external language models with various fusion methods, possibly with a combin…

Domain AdaptationLanguage ModelingLanguage ModellingPrediction+2

Learning adaptive planning representations with natural language guidance

2023-12-13 · Lionel Wong, Jiayuan Mao, Pratyusha Sharma, Zachary S. Siegel 외

Effective planning in the real world requires not only world knowledge, but the ability to leverage that knowledge to build the right representation of the task at hand. Decades of hierarchical planning techniques have u…

Decision MakingMinecraftSequential Decision MakingWorld Knowledge

Anti-Forgetting Adaptation for Unsupervised Person Re-identification

2024-11-22 · Hao Chen, Francois Bremond, Nicu Sebe, Shiliang Zhang

Regular unsupervised domain adaptive person re-identification (ReID) focuses on adapting a model from a source domain to a fixed target domain. However, an adapted ReID model can hardly retain previously-acquired knowled…

Domain Adaptive Person Re-IdentificationPerson Re-IdentificationUnsupervised Person Re-Identification

Improving Generalization of Meta-Learning With Inverted Regularization at Inner-Level

2023-01-01 · CVPR 2023 1 · Lianzhe Wang, Shiji Zhou, Shanghang Zhang, Xu Chu 외

Despite the broad interest in meta-learning, the generalization problem remains one of the significant challenges in this field. Existing works focus on meta-generalization to unseen tasks at the meta-level by regula…

Meta-Learning