Adaptive Few-shot Prompting for Machine Translation with Pre-trained Language Models
Not on the map. Why?
Abstract (arXiv)
Recently, Large language models (LLMs) with in-context learning have demonstrated remarkable potential in handling neural machine translation. However, existing evidence shows that LLMs are prompt-sensitive and it is sub-optimal to apply the fixed prompt to any input for downstream machine translation tasks. To address this issue, we propose an adaptive few-shot prompting (AFSP) framework to automatically select suitable translation demonstrations for various source input sentences to further elicit the translation capability of an LLM for better machine translation. First, we build a translation demonstration retrieval module based on LLM's embedding to retrieve top-k semantic-similar translation demonstrations from aligned parallel translation corpus. Rather than using other embedding models for semantic demonstration retrieval, we build a hybrid demonstration retrieval module based on the embedding layer of the deployed LLM to build better input representation for retrieving more semantic-related translation demonstrations. Then, to ensure better semantic consistency between source inputs and target outputs, we force the deployed LLM itself to generate multiple output candidates in the target language with the help of translation demonstrations and rerank these candidates. Besides, to better evaluate the effectiveness of our AFSP framework on the latest language and extend the research boundary of neural machine translation, we construct a high-quality diplomatic Chinese-English parallel dataset that consists of 5,528 parallel Chinese-English sentences. Finally, extensive experiments on the proposed diplomatic Chinese-English parallel dataset and the United Nations Parallel Corpus (Chinese-English part) show the effectiveness and superiority of our proposed AFSP.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translationcited by 8
- 2025YaleNLP @ PerAnsSumm 2025: Multi-Perspective Integration via Mixture-of-Agents for Enhanced Healthcare QA Summarizationcited by 2
- 2026Redefining Machine Simultaneous Interpretation: From Incremental Translation to Human-Like Strategiescited by 1
- 2026Recovered in Translation: Efficient Pipeline for Automated Translation of Benchmarks and Datasetscited by 1
- 2025Redefining Machine Simultaneous Interpretation: From Incremental Translation to Human-Like Strategiescited by 0
- 2025TreePrompt: Leveraging Hierarchical Few-Shot Example Selection for Improved English-Persian and English-German Translationcited by 0
- 2026Recovered in Translation: Efficient Pipeline for Automated Translation of Benchmarks and Datasets25 Feb 2026
- 2026Redefining Machine Simultaneous Interpretation: From Incremental Translation to Human-Like Strategies16 Jan 2026
- 2025TreePrompt: Leveraging Hierarchical Few-Shot Example Selection for Improved English-Persian and English-German Translation4 Oct 2025
- 2025Redefining Machine Simultaneous Interpretation: From Incremental Translation to Human-Like Strategies26 Sep 2025
- 2025YaleNLP @ PerAnsSumm 2025: Multi-Perspective Integration via Mixture-of-Agents for Enhanced Healthcare QA Summarization4 Apr 2025
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translation2 Apr 2025