XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsing
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
In-context learning using large language models has recently shown surprising results for semantic parsing tasks such as Text-to-SQL translation. Prompting GPT-3 or Codex using several examples of question-SQL pairs can produce excellent results, comparable to state-of-the-art finetuning-based models. However, existing work primarily focuses on English datasets, and it is unknown whether large language models can serve as competitive semantic parsers for other languages. To bridge this gap, our work focuses on cross-lingual Text-to-SQL semantic parsing for translating non-English utterances into SQL queries based on an English schema. We consider a zero-shot transfer learning setting with the assumption that we do not have any labeled examples in the target language (but have annotated examples in English). This work introduces the XRICL framework, which learns to retrieve relevant English exemplars for a given query to construct prompts. We also include global translation exemplars for a target language to facilitate the translation process for large language models. To systematically evaluate our model, we construct two new benchmark datasets, XSpider and XKaggle-dbqa, which include questions in Chinese, Vietnamese, Farsi, and Hindi. Our experiments show that XRICL effectively leverages large pre-trained language models to outperform existing baselines. Data and code are publicly available at https://github.com/Impavidity/XRICL.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 45 of its 59 references that are in the map. First posted on arXiv 25 Oct 2022.
Builds on
45 of 59 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,028
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
33 more
- 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 518
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 266
- 2020InfoXLM: An Information-Theoretic Framework for Cross-Lingual Language Model Pre-Trainingcited by 237
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 192
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
- 2020XOR QA: Cross-lingual Open-Retrieval Question Answeringcited by 121
- 2021Mr. TyDi: A Multi-lingual Benchmark for Dense Retrievalcited by 118
- 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
- 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
- 2021Language Models are Few-shot Multilingual Learnerscited by 92
- 2020Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Trainingcited by 65
- 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
- 2020A Pilot Study of Text-to-SQL Semantic Parsing for Vietnamesecited by 36
- 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
- 2019A Pilot Study for Chinese SQL Semantic Parsingcited by 33
- 2013Lambda Dependency-Based Compositional Semanticscited by 26
- 2022Towards Best Practices for Training Multilingual Dense Retrieval Modelscited by 26
- 2018StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsingcited by 22
- 2021On Cross-Lingual Retrieval with Multilingual Text Encoderscited by 22
- 2021Zero-Shot Cross-lingual Semantic Parsingcited by 19
- 2020Bootstrapping a Crosslingual Semantic Parsercited by 13
- 2022Meta-Learning a Cross-lingual Manifold for Semantic Parsingcited by 11
- 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidatacited by 9
- 2021Mind the Gap: Cross-Lingual Information Retrieval with Hierarchical Knowledge Enhancementcited by 8
- 2018Source-Critical Reinforcement Learning for Transferring Spoken Language Understanding to a New Languagecited by 3
Built on by
Citing papers per year: 2023: 10; 2024: 16; 2025: 6.
32 papers.
Sort:
By area:
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wiselycited by 65
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontierscited by 49
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improvecited by 37
- 2024Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generationcited by 27
20 more
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Taskcited by 17
- 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysiscited by 13
- 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11
- 2024Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learningcited by 10
- 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
- 2023XSemPLR: Cross-Lingual Semantic Parsing in Multiple Natural Languages and Meaning Representationscited by 5
- 2024XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examplescited by 5
- 2025Provoking Multi-modal Few-Shot LVLM via Exploration-Exploitation In-Context Learningcited by 5
- 2024All in an Aggregated Image for In-Image Learningcited by 4
- 2024The Whole is Better than the Sum: Using Aggregated Demonstrations in In-Context Learning for Sequential Recommendationcited by 4
- 2024Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Modelscited by 4
- 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translationcited by 3
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsingcited by 2
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 2
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignmentcited by 1
- 2024Cross-lingual Back-Parsing: Utterance Synthesis from Meaning Representation for Zero-Resource Semantic Parsingcited by 0
- 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systemscited by 0
- 2025Handling Open-Vocabulary Constructs in Formalizing Specifications: Retrieval-Augmented Parsing with Expert Knowledgecited by 0
- 2025Handling Open-Vocabulary Constructs in Formalizing Specifications: Retrieval-Augmented Parsing with Expert Knowledge10 Sep 2025
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systems20 Aug 2025
- 2025Provoking Multi-modal Few-Shot LVLM via Exploration-Exploitation In-Context Learning11 Jun 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translation28 Mar 2025
- 2024ELICIT: LLM Augmentation via External In-Context Capability12 Oct 2024
- 2024Cross-lingual Back-Parsing: Utterance Synthesis from Meaning Representation for Zero-Resource Semantic Parsing1 Oct 2024
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely23 Sep 2024
- 2024Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learning19 Aug 2024
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Data7 Aug 2024
- 2024Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation26 Jun 2024
20 more
- 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Task24 Jun 2024
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models10 May 2024
- 2024XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examples8 May 2024
- 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontiers7 Apr 2024
- 2024Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Models1 Apr 2024
- 2024The Whole is Better than the Sum: Using Aggregated Demonstrations in In-Context Learning for Sequential Recommendation15 Mar 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2024All in an Aggregated Image for In-Image Learning28 Feb 2024
- 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysis20 Feb 2024
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Survey21 Jan 2024
- 2023Selective Demonstrations for Cross-domain Text-to-SQL10 Oct 2023
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Survey8 Oct 2023
- 2023Ambiguity-Aware In-Context Learning with Large Language Models14 Sep 2023
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsing9 Jul 2023
- 2023XSemPLR: Cross-Lingual Semantic Parsing in Multiple Natural Languages and Meaning Representations7 Jun 2023
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings19 May 2023
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignment10 May 2023
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improve9 May 2023
- 2023Unified Demonstration Retriever for In-Context Learning7 May 2023
- 2023Finding Support Examples for In-Context Learning27 Feb 2023
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wiselycited by 65
- 2024Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generationcited by 27
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 2
- 2025Handling Open-Vocabulary Constructs in Formalizing Specifications: Retrieval-Augmented Parsing with Expert Knowledgecited by 0
- 2025Handling Open-Vocabulary Constructs in Formalizing Specifications: Retrieval-Augmented Parsing with Expert Knowledge10 Sep 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely23 Sep 2024
- 2024Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation26 Jun 2024
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models10 May 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontierscited by 49
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improvecited by 37
- 2024All in an Aggregated Image for In-Image Learningcited by 4
- 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontiers7 Apr 2024
- 2024All in an Aggregated Image for In-Image Learning28 Feb 2024
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Survey8 Oct 2023
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improve9 May 2023
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Taskcited by 17
- 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysiscited by 13
- 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11
- 2024Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learningcited by 10
- 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
12 most cited of 22 All 22 (JSON)
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systems20 Aug 2025
- 2025Provoking Multi-modal Few-Shot LVLM via Exploration-Exploitation In-Context Learning11 Jun 2025
- 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translation28 Mar 2025
- 2024ELICIT: LLM Augmentation via External In-Context Capability12 Oct 2024
- 2024Cross-lingual Back-Parsing: Utterance Synthesis from Meaning Representation for Zero-Resource Semantic Parsing1 Oct 2024
- 2024Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learning19 Aug 2024
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Data7 Aug 2024
- 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Task24 Jun 2024
- 2024XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examples8 May 2024
- 2024Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Models1 Apr 2024
- 2024The Whole is Better than the Sum: Using Aggregated Demonstrations in In-Context Learning for Sequential Recommendation15 Mar 2024
12 newest of 22 All 22 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2022Bootstrapping Multilingual Semantic Parsers using Large Language Models
- 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
- 2024Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning
- 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistency
- 2025Auto prompt sql: a resource-efficient architecture for text-to-sql translation in constrained environments
- 2023Retrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chain
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
- 2023Cross-lingual QA: A Key to Unlocking In-context Cross-lingual Performance