Evaluating Prompt Scope and Demonstration Similarity in Local LLM Machine Translation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used as general-purpose translation systems, but their behavior is usually evaluated under a single prompt shape: translate one source sentence into one target language. In practice, users may ask for one target language, for several related languages at once, or for translations conditioned on examples. This paper studies prompt scope and demonstration selection as experimental variables for local LLM machine translation. We evaluate English-to-Romance and English-to-Germanic translation on the full FLORES devtest split for nine official European Union languages. We compare three local instruction-tuned LLMs, llama3.2:3b, mistral:latest, and qwen2.5:14b, against dedicated MT baselines from OPUS-MT and NLLB-200. We test zero-shot prompting and k=5 few-shot prompting with random, lexical-similarity, and embedding-similarity demonstration selection. We also compare single-target prompts with JSON-formatted family-scope prompts that request all languages in a family at once. Results show that dedicated MT systems remain strongest overall, especially for Germanic languages. Few-shot prompting helps mistral:latest and qwen2.5:14b, but hurts llama3.2:3b; embedding retrieval is best on average for the stronger LLMs, but its advantage over random and lexical examples is modest. Family-scope prompting is feasible for stronger local LLMs but exposes structured-output failures in smaller models. These findings motivate evaluating LLM translation not only by language pair and metric, but also by prompt scope, retrieval strategy, and multi-target compliance.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 19 references that are in the map. First posted on arXiv 28 Jul 2026.
Builds on
9 of 19 references.
References · 9
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 344
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
- 2018Marian: Fast Neural Machine Translation in C++cited by 202
- 2020Aspects of Terminological and Named Entity Knowledge within Rule-Based Machine Translation Models for Under-Resourced Neural Machine Translation Scenarioscited by 3
Built on by
Not cited yet.