mlsanityData to 7 Oct 2026

XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsing

arXiv 2210.13693 ↗First posted 25 Oct 2022cs.CLcited by 32

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  8. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  10. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  11. 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,028
  12. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
33 more
  1. 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 518
  2. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
  3. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  4. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  5. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  6. 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 266
  7. 2020InfoXLM: An Information-Theoretic Framework for Cross-Lingual Language Model Pre-Trainingcited by 237
  8. 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
  9. 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 192
  10. 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
  11. 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
  12. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  13. 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
  14. 2020XOR QA: Cross-lingual Open-Retrieval Question Answeringcited by 121
  15. 2021Mr. TyDi: A Multi-lingual Benchmark for Dense Retrievalcited by 118
  16. 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
  17. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  18. 2021Language Models are Few-shot Multilingual Learnerscited by 92
  19. 2020Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Trainingcited by 65
  20. 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
  21. 2020A Pilot Study of Text-to-SQL Semantic Parsing for Vietnamesecited by 36
  22. 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
  23. 2019A Pilot Study for Chinese SQL Semantic Parsingcited by 33
  24. 2013Lambda Dependency-Based Compositional Semanticscited by 26
  25. 2022Towards Best Practices for Training Multilingual Dense Retrieval Modelscited by 26
  26. 2018StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsingcited by 22
  27. 2021On Cross-Lingual Retrieval with Multilingual Text Encoderscited by 22
  28. 2021Zero-Shot Cross-lingual Semantic Parsingcited by 19
  29. 2020Bootstrapping a Crosslingual Semantic Parsercited by 13
  30. 2022Meta-Learning a Cross-lingual Manifold for Semantic Parsingcited by 11
  31. 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidatacited by 9
  32. 2021Mind the Gap: Cross-Lingual Information Retrieval with Hierarchical Knowledge Enhancementcited by 8
  33. 2018Source-Critical Reinforcement Learning for Transferring Spoken Language Understanding to a New Languagecited by 3

Built on by

Cited by year

Citing papers per year: 2023: 10; 2024: 16; 2025: 6.

32 papers.

Sort:

By area:

  1. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
  2. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  3. 2023Unified Demonstration Retriever for In-Context Learningcited by 141
  4. 2023Finding Support Examples for In-Context Learningcited by 104
  5. 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
  6. 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
  7. 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wiselycited by 65
  8. 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
  9. 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
  10. 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontierscited by 49
  11. 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improvecited by 37
  12. 2024Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generationcited by 27
20 more
  1. 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
  2. 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Taskcited by 17
  3. 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysiscited by 13
  4. 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11
  5. 2024Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learningcited by 10
  6. 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
  7. 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
  8. 2023XSemPLR: Cross-Lingual Semantic Parsing in Multiple Natural Languages and Meaning Representationscited by 5
  9. 2024XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examplescited by 5
  10. 2025Provoking Multi-modal Few-Shot LVLM via Exploration-Exploitation In-Context Learningcited by 5
  11. 2024All in an Aggregated Image for In-Image Learningcited by 4
  12. 2024The Whole is Better than the Sum: Using Aggregated Demonstrations in In-Context Learning for Sequential Recommendationcited by 4
  13. 2024Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Modelscited by 4
  14. 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translationcited by 3
  15. 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsingcited by 2
  16. 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 2
  17. 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignmentcited by 1
  18. 2024Cross-lingual Back-Parsing: Utterance Synthesis from Meaning Representation for Zero-Resource Semantic Parsingcited by 0
  19. 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systemscited by 0
  20. 2025Handling Open-Vocabulary Constructs in Formalizing Specifications: Retrieval-Augmented Parsing with Expert Knowledgecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2022Bootstrapping Multilingual Semantic Parsers using Large Language Models
  2. 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
  3. 2024Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning
  4. 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistency
  5. 2025Auto prompt sql: a resource-efficient architecture for text-to-sql translation in constrained environments
  6. 2023Retrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chain
  7. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  8. 2023Cross-lingual QA: A Key to Unlocking In-context Cross-lingual Performance