Prompting Large Language Model for Machine Translation: A Case Study

Auteurs : Biao Zhang, Barry Haddow, Alexandra Birch

Soumis à arXiv le 17 Jan. 2023
Résumé scientifique

Research on prompting has shown excellent performance with little or even no supervised training across many tasks. However, prompting for machine translation is still under-explored in the literature. We fill this gap by offering a systematic study on prompting strategies for translation, examining various factors for prompt template and demonstration example selection. We further explore the use of monolingual data and the feasibility of cross-lingual, cross-domain, and sentence-to-document transfer learning in prompting. Extensive experiments with GLM-130B (Zeng et al., 2022) as the testbed show that 1) the number and the quality of prompt examples matter, where using suboptimal examples degenerates translation; 2) several features of prompt examples, such as semantic similarity, show significant Spearman correlation with their prompting performance; yet, none of the correlations are strong enough; 3) using pseudo parallel prompt examples constructed from monolingual data via zero-shot prompting could improve translation; and 4) improved performance is achievable by transferring knowledge from prompt examples selected in other settings. We finally provide an analysis on the model outputs and discuss several problems that prompting still suffers from.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Design and Evaluation of Prompts for Large Language Model Translations in Specialized Domains
    Rui Yang, Ping Wang, Xing-Yu Xiang et al. · 2024 · 2024 5th International Conference on Information Science and Education (ICISE-IE) · Pas encore résumé
    Résumé scientifique

    In recent years, Large Language Models (LLMs) have made significant breakthroughs in natural language processing. However, effectively applying them in domain-specific translation remains a significant challenge. This study aims to enhance the translation quality of LLMs in specialized domains by investigating the impact of different prompt strategies. We constructed four domain-specific corpora and assessed the efficacy of four prompting strategies—code-based, natural language-based, CRISPE mode, and comprehensive mode—using automated metrics such as BLEU, ChrF, and TER on the ChatGPT 3.5 model. Results indicate that different prompting strategies significantly affect LLM translation qualit…

  2. Très proche Cité par cet article
    MSP: Multi-Stage Prompting for Making Pre-trained Language Models Better Translators
    Zhi-Xing Tan, Xiang-Wen Zhang, Shuo Wang et al. · 2021 · Annual Meeting of the Association for Computational Linguistics · cité 60 fois · Pas encore résumé
    Résumé scientifique

    Prompting has recently been shown as a promising approach for applying pre-trained language models to perform downstream tasks. We present Multi-Stage Prompting, a simple and automatic approach for leveraging pre-trained language models to translation tasks. To better mitigate the discrepancy between pre-training and translation, MSP divides the translation process via pre-trained language models into three separate stages: the encoding stage, the re-encoding stage, and the decoding stage. During each stage, we independently apply different continuous prompts for allowing pre-trained language models better shift to translation tasks. We conduct extensive experiments on three translation task…

  3. Très proche Cité par cet article
    Prompting PaLM for Translation: Assessing Strategies and Performance
    David Vilar, Markus Freitag, Colin Cherry et al. · 2022 · Annual Meeting of the Association for Computational Linguistics · cité 264 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) that have been trained on multilingual but not parallel text exhibit a remarkable ability to translate between languages. We probe this ability in an in-depth study of the pathways language model (PaLM), which has demonstrated the strongest machine translation (MT) performance among similarly-trained LLMs to date. We investigate various strategies for choosing translation examples for few-shot prompting, concluding that example quality is the most important factor. Using optimized prompts, we revisit previous assessments of PaLM’s MT capabilities with more recent test sets, modern MT metrics, and human evaluation, and find that its performance, while impressive, …

  4. Très proche
    Reasoning for Translation: Comparative Analysis of Chain-of-Thought and Tree-of-Thought Prompting for LLM Translation
    Lam Nguyen, Yang Xu · 2025 · Annual Meeting of the Association for Computational Linguistics · cité 10 fois · Pas encore résumé
    Résumé scientifique

    As Large Language Models (LLMs) continue to advance in capability, prompt engineering has emerged as a crucial method for optimizing their performance on specialized tasks. While prompting strategies like Zero-shot, Few-shot, Chain-of-Thought, and Tree-of-Thought have demonstrated significant improvements in reasoning tasks, their application to machine translation has received relatively less attention. This paper systematically evaluates these prompting techniques across diverse language pairs and domains, measuring their effect on translation quality. Our findings reveal substantial performance variations between prompting methods, with certain strategies offering consistent improvements …

  5. Très proche
    Transfer-Prompting: Enhancing Cross-Task Adaptation in Large Language Models via Dual-Stage Prompts Optimization
    Yu-Peng Chang, Yi Chang, Yuan Wu · 2025 · arXiv.org · preprint, non relu par les pairs · cité 1 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) face significant challenges when balancing multiple high-level objectives, such as generating coherent, relevant, and high-quality responses while maintaining efficient task adaptation across diverse tasks. To address these challenges, we introduce Transfer-Prompting, a novel two-stage framework designed to enhance cross-task adaptation in prompt generation. The framework comprises two key components: (1) source prompt construction, which refines the original prompts on source task datasets to generate source prompts with enhanced generalization ability, and (2) target prompt generation, which enhances cross-task adaptation of target prompts by fine-tuning a set …

  6. Très proche Cite cet article
    The Role of Prompt Language and Translation-Theory-Driven Prompts in Large Language Models: A Case Study on Spanish-Chinese Journalistic Translation
    Haohong Lai, Weijia Li · 2026 · European Association for Machine Translation Conferences/Workshops · Pas encore résumé
    Résumé scientifique

    This study examines how prompt language and translation theory-driven prompt design influence the quality of Spanish-Chinese journalistic translations generated by GPT-5.2. A parallel corpus of four editorials from El Pais was translated under 48 experimental conditions (4 prompt types, 3 prompt languages, and 4 articles). Translation quality was assessed using BLEU and BERTScore-F1 for automated evaluation, alongside human evaluation based on the Multidimensional Quality Metrics (MQM) framework. Automated metrics identified the baseline prompt (BASE) as the best-performing condition, whereas human evaluation ranked the brief-oriented prompt (BRIEF) highest (MQM: 8.66 vs. 7.84), a reversal l…

  7. Très proche Cite cet article
    Adaptive Few-shot Prompting for Machine Translation with Pre-trained Language Models
    Lei Tang, Jing-Hui Qin, Wenxuan Ye et al. · 2025 · AAAI Conference on Artificial Intelligence · cité 15 fois · Pas encore résumé
    Résumé scientifique

    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 trans…

  8. Très proche
    Augmenting Large Language Model Translators via Translation Memories
    Yong-Yu Mu, Abudurexiti Reheman, Zhiquan Cao et al. · 2023 · Annual Meeting of the Association for Computational Linguistics · cité 36 fois · Pas encore résumé
    Résumé scientifique

    Using translation memories (TMs) as prompts is a promising approach to in-context learning of machine translation models. In this work, we take a step towards prompting large language models (LLMs) with TMs and making them better translators. We find that the ability of LLMs to ``understand'' prompts is indeed helpful for making better use of TMs. Experiments show that the results of a pre-trained LLM translator can be greatly improved by using high-quality TM-based prompts. These results are even comparable to those of the state-of-the-art NMT systems which have access to large-scale in-domain bilingual data and are well tuned on the downstream tasks.

Les travaux antérieurs sur lesquels il s’appuie

  1. Très proche
    Using natural language prompts for machine translation
    Xavier García, O. Firat · 2022 · arXiv.org · preprint, non relu par les pairs · cité 38 fois · Pas encore résumé
    Résumé scientifique

    We explore the use of natural language prompts for controlling various aspects of the outputs generated by machine translation models. We demonstrate that natural language prompts allow us to influence properties like formality or specific dialect of the output. We show that using language names to control the output language of multilingual translation models enables positive transfer for unseen language pairs. This unlocks the ability to translate into languages not seen during fine-tuning by using their English names. We investigate how scale, number of pre-training steps, number of languages in fine-tuning, and language similarity affect this phenomenon.

  2. Très proche
    Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm
    Laria Reynolds, Kyle McDonell · 2021 · Computation and Language · cité 1 458 fois · Résumé IA disponible
    Résumé scientifique

    Prevailing methods for mapping large generative language models to supervised tasks may fail to sufficiently probe models' novel capabilities. Using GPT-3 as a case study, we show that 0-shot prompts can significantly outperform few-shot prompts. We suggest that the function of few-shot examples in these cases is better described as locating an already learned task rather than meta-learning. This analysis motivates rethinking the role of prompts in controlling and evaluating powerful language models. In this work, we discuss methods of prompt programming, emphasizing the usefulness of considering prompts through the lens of natural language. We explore techniques for exploiting the capacity …

  3. Proche
    Least-to-Most Prompting Enables Complex Reasoning in Large Language Models
    Denny Zhou, Nathanael Schärli, Le Hou et al. · 2022 · Artificial Intelligence · cité 2 006 fois · Pas encore résumé
    Résumé scientifique

    We propose a novel prompting strategy, least-to-most prompting, that enables large language models to better perform multi-step reasoning tasks. Least-to-most prompting first reduces a complex problem into a list of subproblems, and then sequentially solves the subproblems, whereby solving a given subproblem is facilitated by the model's answers to previously solved subproblems. Experiments on symbolic manipulation, compositional generalization and numerical reasoning demonstrate that least-to-most prompting can generalize to examples that are harder than those seen in the prompt context, outperforming other prompting-based approaches by a large margin. A notable empirical result is that the…

  4. Proche
    TransPrompt: Towards an Automatic Transferable Prompting Framework for Few-shot Text Classification
    Cheng-Yu Wang, J. Wang, Minghui Qiu et al. · 2021 · Conference on Empirical Methods in Natural Language Processing · cité 67 fois · Pas encore résumé
    Résumé scientifique

    Recent studies have shown that prompts improve the performance of large pre-trained language models for few-shot text classification. Yet, it is unclear how the prompting knowledge can be transferred across similar NLP tasks for the purpose of mutual reinforcement. Based on continuous prompt embeddings, we propose TransPrompt, a transferable prompting framework for few-shot learning across similar tasks. In TransPrompt, we employ a multi-task meta-knowledge acquisition procedure to train a meta-learner that captures cross-task transferable knowledge. Two de-biasing techniques are further designed to make it more task-agnostic and unbiased towards any tasks. After that, the meta-learner can b…

  5. Proche
    Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
    Jason Wei, Xuezhi Wang, Dale Schuurmans et al. · 2022 · Computation and Language · cité 23 480 fois · Résumé IA disponible
    Résumé scientifique

    We explore how generating a chain of thought -- a series of intermediate reasoning steps -- significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reasoning abilities emerge naturally in sufficiently large language models via a simple method called chain of thought prompting, where a few chain of thought demonstrations are provided as exemplars in prompting. Experiments on three large language models show that chain of thought prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks. The empirical gains can be striking. For instance, prompting a 540B-parameter language model with just…

Les articles qui le citent

  1. Proche
    A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Tasks
    Shubham Vatsal, Harsh Dubey · 2024 · arXiv.org · preprint, non relu par les pairs · cité 131 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) have shown remarkable performance on many different Natural Language Processing (NLP) tasks. Prompt engineering plays a key role in adding more to the already existing abilities of LLMs to achieve significant performance gains on various NLP tasks. Prompt engineering requires composing natural language instructions called prompts to elicit knowledge from LLMs in a structured way. Unlike previous state-of-the-art (SoTA) models, prompt engineering does not require extensive parameter re-training or fine-tuning based on the given NLP task and thus solely operates on the embedded knowledge of LLMs. Additionally, LLM enthusiasts can intelligently extract LLMs' knowled…

  2. Proche Utilise cet article en profondeur
    Compensating for Data with Reasoning: Low-Resource Machine Translation with LLMs
    Samuel Frontull, Thomas Ströhle · 2025 · arXiv.org · preprint, non relu par les pairs · cité 4 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) have demonstrated strong capabilities in multilingual machine translation, sometimes even outperforming traditional neural systems. However, previous research has highlighted the challenges of using LLMs, particularly with prompt engineering, for low-resource languages. In this work, we introduce Fragment-Shot Prompting, a novel in-context learning method that segments input and retrieves translation examples based on syntactic coverage, along with Pivoted Fragment-Shot, an extension that enables translation without direct parallel data. We evaluate these methods using GPT-3.5, GPT-4o, o1-mini, LLaMA-3.3, and DeepSeek-R1 for translation between Italian and two La…

  3. Très proche
    S2LPP: Small-to-Large Prompt Prediction across LLMs
    Liang Cheng, Tianyi Li, Zhao-Wei Wang et al. · 2025 · Conference on Empirical Methods in Natural Language Processing · cité 2 fois · Pas encore résumé
    Résumé scientifique

    The performance of pre-trained Large Language Models (LLMs) is often sensitive to nuances in prompt templates, requiring careful prompt engineering, adding costs in terms of computing and human effort. In this study, we present experiments encompassing multiple LLMs variants of varying sizes aimed at probing their preference with different prompts. Through experiments on Question Answering, we show prompt preference consistency across LLMs of different sizes. We also show that this consistency extends to other tasks, such as Natural Language Inference. Utilizing this consistency, we propose a method to use a smaller model to select effective prompt templates for a larger model. We show that …

  4. Proche Utilise cet article en profondeur
    Prompting LLMs: Length Control for Isometric Machine Translation
    D'avid Javorsk'y, Ondrej Bojar, François Yvon · 2025 · International Workshop on Spoken Language Translation · cité 2 fois · Pas encore résumé
    Résumé scientifique

    In this study, we explore the effectiveness of isometric machine translation across multiple language pairs (En$\to$De, En$\to$Fr, and En$\to$Es) under the conditions of the IWSLT Isometric Shared Task 2022. Using eight open-source large language models (LLMs) of varying sizes, we investigate how different prompting strategies, varying numbers of few-shot examples, and demonstration selection influence translation quality and length control. We discover that the phrasing of instructions, when aligned with the properties of the provided demonstrations, plays a crucial role in controlling the output length. Our experiments show that LLMs tend to produce shorter translations only when presented…

  5. Très proche
    Refining Translations with Large Language Models: A Constraint-Aware Iterative Prompting Approach
    Shangfeng Chen, Xia-Yang Shi, Pu Li et al. · 2025 · Data Intelligence · cité 2 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) have shown impressive capabilities in Machine Translation (MT), even when translating languages not specifically included in their training data. However, accurately translating rare words in low-resource or domain-specific contexts remains a significant challenge for LLMs. To address this limitation, we propose a multi-step prompt engineering approach that enhances translation accuracy by prioritizing the identification and precise rendering of critical keywords essential to semantic understanding. Our method first identifies these high-importance keywords and retrieves their translations from a bilingual dictionary, which are then integrated into the model’s co…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 2 novembre 2026.

Le guide illustré des articles autour d’un article