Teaching Large Language Models to Translate with Comparison
Jiali Zeng, Fandong Meng, Yongjing Yin, Jie Zhou
Abstract
Open-sourced large language models (LLMs) have demonstrated remarkable efficacy in various tasks with instruction tuning. However, these models can sometimes struggle with tasks that require more specialized knowledge such as translation. One possible reason for such deficiency is that instruction tuning aims to generate fluent and coherent text that continues from a given instruction without being constrained by any task-specific requirements. Moreover, it can be more challenging to tune smaller LLMs with lower-quality training data. To address this issue, we propose a novel framework using examples in comparison to teach LLMs to learn translation. Our approach involves output comparison and preference comparison, presenting the model with carefully designed examples of correct and incorrect translations and an additional preference loss for better regularization. Empirical evaluation on four language directions of WMT2022 and FLORES-200 benchmarks shows the superiority of our proposed method over existing methods. Our findings offer a new perspective on fine-tuning LLMs for translation tasks and provide a promising solution for generating high-quality translations. Please refer to Github for more details: https://github.com/lemon0830/TIM.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
- The Unreasonable Effectiveness of Few-shot Learning for Machine Translation cites Language Models are Few-Shot Learners
- SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-Reflection cites A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models
- Beyond MLE: Convex Learning for Text Generation cites Language Models are Few-Shot Learners
- Beyond MLE: Convex Learning for Text Generation cites Training language models to follow instructions with human feedback
- Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation cites Language Models are Few-Shot Learners
- Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation cites A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models
- Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation cites Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
- Language Generation with Strictly Proper Scoring Rules cites Beyond MLE: Convex Learning for Text Generation
- Language Generation with Strictly Proper Scoring Rules cites Language Models are Few-Shot Learners
- Language Generation with Strictly Proper Scoring Rules cites Training language models to follow instructions with human feedback
- A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models cites LoRA: Low-Rank Adaptation of Large Language Models
- A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models cites Language Models are Few-Shot Learners
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Cited by top-tier papers13
- Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine TranslationHaoran Xu, Amr Sharaf, Yunmo Chen, Weiting Tan et al.ICML 2024 · 447 citations
- A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language ModelsHaoran Xu, Young Jin Kim, Amr Sharaf, Hany Hassan AwadallaICLR 2024 · 122 citations
- SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-ReflectionLiangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li et al.NeurIPS 2024 · 49 citations
- Language Generation with Strictly Proper Scoring RulesChenze Shao, Fandong Meng, Yijin Liu, Jie ZhouICML 2024 · 7 citations
- Beyond MLE: Convex Learning for Text GenerationChenze Shao, Zhengrui Ma, Min Zhang, Yang FengNeurIPS 2023 · 5 citations
Builds on13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- The Unreasonable Effectiveness of Few-shot Learning for Machine TranslationXavier Garcia, Yamini Bansal, Colin Cherry, George F. Foster et al.ICML 2023 · 133 citations
Related papers
- TasTe: Teaching Large Language Models to Translate through Self-ReflectionYutong Wang, Jiali Zeng, Xuebo Liu, Fandong Meng et al.ACL 2024
- ParroT: Translating during Chat using Large Language Models tuned with Human Translation and FeedbackWenxiang Jiao, Jen-tse Huang, Wenxuan Wang, Zhiwei He et al.EMNLP Findings 2023 · 28 citations
- G-DIG: Towards Gradient-based DIverse and hiGh-quality Instruction Data Selection for Machine TranslationXingyuan Pan, Luyang Huang, Liyan Kang, Zhicheng Liu et al.ACL 2024
- Two Intermediate Translations Are Better Than One: Fine-tuning LLMs for Document-level Translation RefinementYichen Dong, Xinglin Lyu, Junhui Li, Daimeng Wei et al.ACL 2025
- Towards Demonstration-Aware Large Language Models for Machine TranslationChen Li, Meishan Zhang, Xuebo Liu, Zhaocong Li et al.ACL Findings 2024 · 2 citations
