In-Context Example Selection via Similarity Search Improves Low-Resource Machine Translation
Not on the map. Why?
Abstract (arXiv)
The ability of generative large language models (LLMs) to perform in-context learning has given rise to a large body of research into how best to prompt models for various natural language processing tasks. In this paper, we focus on machine translation (MT), a task that has been shown to benefit from in-context translation examples. However no systematic studies have been published on how best to select examples, and mixed results have been reported on the usefulness of similarity-based selection over random selection. We provide a study covering multiple LLMs and multiple in-context example retrieval strategies, comparing multilingual sentence embeddings. We cover several language directions, representing different levels of language resourcedness (English into French, German, Swahili and Wolof). Contrarily to previously published results, we find that sentence embedding similarity can improve MT, especially for low-resource language directions, and discuss the balance between selection pool diversity and quality. We also highlight potential problems with the evaluation of LLM-based MT and suggest a more appropriate evaluation protocol, adapting the COMET metric to the evaluation of LLMs. Code and outputs are freely available at https://github.com/ArmelRandy/ICL-MT.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 35 of its 53 references that are in the map. First posted on arXiv 1 Aug 2024.
Builds on
35 of 53 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
23 more
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,033
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023Large Language Modelscited by 780
- 2020Language-agnostic BERT Sentence Embeddingcited by 627
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2021The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translationcited by 560
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 348
- 2022The Vendi Score: A Diversity Evaluation Metric for Machine Learningcited by 311
- 2021Few-shot Learning with Multilingual Language Modelscited by 278
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 250
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2023Universal Self-Consistency for Large Language Model Generationcited by 203
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2022Prompting PaLM for Translation: Assessing Strategies and Performancecited by 145
- 2023SONAR: Sentence-Level Multimodal and Language-Agnostic Representationscited by 108
- 2020TICO-19: the Translation Initiative for Covid-19cited by 68
- 2023Investigating the Translation Performance of a Large Multilingual Language Model: the Case of BLOOMcited by 59
- 2024LLMs Beyond English: Scaling the Multilingual Capability of LLMs with Cross-Lingual Feedbackcited by 51
- 2023Augmenting Large Language Model Translators via Translation Memoriescited by 21
- 2024Retrieving Examples from Memory for Retrieval Augmented Neural Machine Translation: A Systematic Comparisoncited by 7
Built on by
Citing papers per year: 2025: 12; 2026: 10.
22 papers.
Sort:
By area:
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Aheadcited by 16
- 2025True Multimodal In-Context Learning Needs Attention to the Visual Contextcited by 16
- 2026Knowing When to Abstain: Medical LLMs Under Clinical Uncertaintycited by 15
- 2025Compositional Translation: A Novel LLM-based Approach for Low-resource Machine Translationcited by 14
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translationcited by 8
- 2025Redefining Machine Translation on Social Network Services with Large Language Modelscited by 6
- 2025Exploring In-context Example Generation for Machine Translationcited by 2
- 2025Something Just Like TRuST : Toxicity Recognition of Span and Targetcited by 2
- 2025TopXGen: Topic-Diverse Parallel Data Generation for Low-Resource Machine Translationcited by 1
- 2025JGU Mainz's Submission to the WMT25 Shared Task on LLMs with Limited Resources for Slavic Languages: MT and QAcited by 1
- 2026DIP: Dynamic In-Context Planner For Diffusion Language Modelscited by 1
- 2026Beyond Many-Shot Translation: Scaling In-Context Demonstrations For Low-Resource Machine Translationcited by 1
10 more
- 2026LLM-Powered Automatic Translation and Urgency in Crisis Scenarioscited by 1
- 2026STAR : Sentence Translation Alignment Rate for Document-to-Document Machine Translationcited by 1
- 2025Improving Retrieval-Augmented Neural Machine Translation with Monolingual Datacited by 0
- 2025Automatic Demonstration Selection for LLM-based Tabular Data Classificationcited by 0
- 2025When the Gold Standard Isn't Necessarily Standard: Challenges of Evaluating the Translation of User-Generated Contentcited by 0
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatednesscited by 0
- 2026An Empirical Study of Many-Shot In-Context Learning for Machine Translation of Low-Resource Languagescited by 0
- 2026G^2C-MT: Graph-Guided Context Selection for Document-Level Machine Translationcited by 0
- 2026A Komi-Yazva--Russian Parallel Corpus and Evaluation Protocol for Zero- and Few-Shot LLM Translationcited by 0
- 2026Back-Translation Still Matters: Leveraging Monolingual Data for Low-Resource Machine Translation with LLMscited by 0
- 2026Back-Translation Still Matters: Leveraging Monolingual Data for Low-Resource Machine Translation with LLMs13 Oct 2026
- 2026STAR : Sentence Translation Alignment Rate for Document-to-Document Machine Translation27 Aug 2026
- 2026A Komi-Yazva--Russian Parallel Corpus and Evaluation Protocol for Zero- and Few-Shot LLM Translation4 Jun 2026
- 2026G^2C-MT: Graph-Guided Context Selection for Document-Level Machine Translation2 Jun 2026
- 2026An Empirical Study of Many-Shot In-Context Learning for Machine Translation of Low-Resource Languages3 Apr 2026
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatedness2 Apr 2026
- 2026LLM-Powered Automatic Translation and Urgency in Crisis Scenarios13 Feb 2026
- 2026Beyond Many-Shot Translation: Scaling In-Context Demonstrations For Low-Resource Machine Translation4 Feb 2026
- 2026Knowing When to Abstain: Medical LLMs Under Clinical Uncertainty18 Jan 2026
- 2026DIP: Dynamic In-Context Planner For Diffusion Language Models6 Jan 2026
- 2025When the Gold Standard Isn't Necessarily Standard: Challenges of Evaluating the Translation of User-Generated Content19 Dec 2025
- 2025JGU Mainz's Submission to the WMT25 Shared Task on LLMs with Limited Resources for Slavic Languages: MT and QA26 Sep 2025
10 more
- 2025TopXGen: Topic-Diverse Parallel Data Generation for Low-Resource Machine Translation12 Aug 2025
- 2025True Multimodal In-Context Learning Needs Attention to the Visual Context21 Jul 2025
- 2025Automatic Demonstration Selection for LLM-based Tabular Data Classification25 Jun 2025
- 2025Something Just Like TRuST : Toxicity Recognition of Span and Target2 Jun 2025
- 2025Exploring In-context Example Generation for Machine Translation31 May 2025
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Ahead27 May 2025
- 2025Improving Retrieval-Augmented Neural Machine Translation with Monolingual Data30 Apr 2025
- 2025Redefining Machine Translation on Social Network Services with Large Language Models10 Apr 2025
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translation2 Apr 2025
- 2025Compositional Translation: A Novel LLM-based Approach for Low-resource Machine Translation6 Mar 2025
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Aheadcited by 16
- 2026Knowing When to Abstain: Medical LLMs Under Clinical Uncertaintycited by 15
- 2025Compositional Translation: A Novel LLM-based Approach for Low-resource Machine Translationcited by 14
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translationcited by 8
- 2025Redefining Machine Translation on Social Network Services with Large Language Modelscited by 6
- 2025Exploring In-context Example Generation for Machine Translationcited by 2
- 2025Something Just Like TRuST : Toxicity Recognition of Span and Targetcited by 2
- 2025TopXGen: Topic-Diverse Parallel Data Generation for Low-Resource Machine Translationcited by 1
- 2025JGU Mainz's Submission to the WMT25 Shared Task on LLMs with Limited Resources for Slavic Languages: MT and QAcited by 1
- 2026Beyond Many-Shot Translation: Scaling In-Context Demonstrations For Low-Resource Machine Translationcited by 1
- 2026LLM-Powered Automatic Translation and Urgency in Crisis Scenarioscited by 1
- 2025Automatic Demonstration Selection for LLM-based Tabular Data Classificationcited by 0
12 most cited of 18 All 18 (JSON)
- 2026Back-Translation Still Matters: Leveraging Monolingual Data for Low-Resource Machine Translation with LLMs13 Oct 2026
- 2026A Komi-Yazva--Russian Parallel Corpus and Evaluation Protocol for Zero- and Few-Shot LLM Translation4 Jun 2026
- 2026G^2C-MT: Graph-Guided Context Selection for Document-Level Machine Translation2 Jun 2026
- 2026An Empirical Study of Many-Shot In-Context Learning for Machine Translation of Low-Resource Languages3 Apr 2026
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatedness2 Apr 2026
- 2026LLM-Powered Automatic Translation and Urgency in Crisis Scenarios13 Feb 2026
- 2026Beyond Many-Shot Translation: Scaling In-Context Demonstrations For Low-Resource Machine Translation4 Feb 2026
- 2026Knowing When to Abstain: Medical LLMs Under Clinical Uncertainty18 Jan 2026
- 2025When the Gold Standard Isn't Necessarily Standard: Challenges of Evaluating the Translation of User-Generated Content19 Dec 2025
- 2025JGU Mainz's Submission to the WMT25 Shared Task on LLMs with Limited Resources for Slavic Languages: MT and QA26 Sep 2025
- 2025TopXGen: Topic-Diverse Parallel Data Generation for Low-Resource Machine Translation12 Aug 2025
- 2025Automatic Demonstration Selection for LLM-based Tabular Data Classification25 Jun 2025
12 newest of 18 All 18 (JSON)