mlsanityData to 7 Oct 2026

Leveraging Domain Knowledge at Inference Time for LLM Translation: Retrieval versus Generation

arXiv 2503.05010 ↗First posted 6 Mar 2025cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) have been increasingly adopted for machine translation (MT), their performance for specialist domains such as medicine and law remains an open challenge. Prior work has shown that LLMs can be domain-adapted at test-time by retrieving targeted few-shot demonstrations or terminologies for inclusion in the prompt. Meanwhile, for general-purpose LLM MT, recent studies have found some success in generating similarly useful domain knowledge from an LLM itself, prior to translation. Our work studies domain-adapted MT with LLMs through a careful prompting setup, finding that demonstrations consistently outperform terminology, and retrieval consistently outperforms generation. We find that generating demonstrations with weaker models can close the gap with larger model's zero-shot performance. Given the effectiveness of demonstrations, we perform detailed analyses to understand their value. We find that domain-specificity is particularly important, and that the popular multi-domain benchmark is testing adaptation to a particular writing style more so than to a specific domain.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 15 of its 33 references that are in the map. First posted on arXiv 6 Mar 2025.

Builds on

15 of 33 references.

References · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  3. 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
  4. 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 220
  5. 2020Nearest Neighbor Machine Translationcited by 209
  6. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
  7. 2022In-context Examples Selection for Machine Translationcited by 172
  8. 2021To Ship or Not to Ship: An Extensive Evaluation of Automatic Metrics for Machine Translationcited by 161
  9. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
  10. 2022Prompting PaLM for Translation: Assessing Strategies and Performancecited by 144
  11. 2023Dictionary-based Phrase-level Prompting of Large Language Models for Machine Translationcited by 74
  12. 2022Bidirectional Language Models Are Also Few-shot Learnerscited by 48
3 more
  1. 2024Translating Step-by-Step: Decomposing the Translation Process for Improved Translation Quality of Long-Form Textscited by 31
  2. 2016Fast Domain Adaptation for Neural Machine Translationcited by 28
  3. 2023Narrowing the Gap between Zero- and Few-shot Machine Translation by Matching Stylescited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.