mlsanityData to 14 Oct 2026

Exploring In-context Example Generation for Machine Translation

arXiv 2506.00507 ↗First posted 31 May 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have demonstrated strong performance across various tasks, leveraging their exceptional in-context learning ability with only a few examples. Accordingly, the selection of optimal in-context examples has been actively studied in the field of machine translation. However, these studies presuppose the presence of a demonstration pool with human-annotated pairs, making them less applicable to low-resource languages where such an assumption is challenging to meet. To overcome this limitation, this paper explores the research direction of in-context example generation for machine translation. Specifically, we propose Demonstration Augmentation for Translation (DAT), a simple yet effective approach that generates example pairs without relying on any external resources. This method builds upon two prior criteria, relevance and diversity, which have been highlighted in previous work as key factors for in-context example selection. Through experiments and analysis on low-resource languages where human-annotated pairs are scarce, we show that DAT achieves superior translation quality compared to the baselines. Furthermore, we investigate the potential of progressively accumulating generated pairs during test time to build and reuse a demonstration pool. Our implementation is publicly available at https://github.com/aiclaudev/DAT.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 39 of its 45 references that are in the map. First posted on arXiv 31 May 2025.

Builds on

39 of 45 references.

References · 39

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  6. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  7. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  8. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  9. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  10. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  11. 2021The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translationcited by 560
  12. 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 348
27 more
  1. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
  2. 2021Few-shot Learning with Multilingual Language Modelscited by 278
  3. 2022Prompting GPT-3 To Be Reliablecited by 260
  4. 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 250
  5. 2022Active Example Selection for In-Context Learningcited by 196
  6. 2022In-context Examples Selection for Machine Translationcited by 172
  7. 2022Prompting PaLM for Translation: Assessing Strategies and Performancecited by 145
  8. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 136
  9. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 81
  10. 2022Structured Prompting: Scaling In-Context Learning to 1,000 Examplescited by 81
  11. 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
  12. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
  13. 2023Leveraging GPT-4 for Automatic Translation Post-Editingcited by 56
  14. 2019compare-mt: A Tool for Holistic Comparison of Language Generation Systemscited by 43
  15. 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
  16. 2023Do GPTs Produce Less Literal Translations?cited by 30
  17. 2023AfriMTE and AfriCOMET: Enhancing COMET to Embrace Under-resourced African Languagescited by 24
  18. 2024In-Context Example Selection via Similarity Search Improves Low-Resource Machine Translationcited by 22
  19. 2023Contextual Refinement of Translations: Large Language Models for Sentence and Document-Level Post-Editingcited by 21
  20. 2023Domain Terminology Integration into Machine Translation: Leveraging Large Language Modelscited by 17
  21. 2022Domain-Specific Text Generation for Machine Translationcited by 12
  22. 2022Neural Machine Translation with Contrastive Translation Memoriescited by 12
  23. 2023CTQScorer: Combining Multiple Features for In-context Example Selection for Machine Translationcited by 12
  24. 2023Are Human-generated Demonstrations Necessary for In-context Learning?cited by 11
  25. 2024Demonstration Augmentation for Zero-shot In-context Learningcited by 11
  26. 2024Retrieving Examples from Memory for Retrieval Augmented Neural Machine Translation: A Systematic Comparisoncited by 7
  27. 2024Effective Self-Mining of In-Context Examples for Unsupervised Machine Translation with LLMscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.