paper-with-me

Papers

Steering Large Language Models for Machine Translation with Finetuning and In-Context Learning

2023-10-20 · Duarte M. Alves, Nuno M. Guerreiro, João Alves, José Pombal, Ricardo Rei, José G. C. de Souza, Pierre Colombo, André F. T. Martins

Large language models (LLMs) are a promising avenue for machine translation (MT). However, current LLM-based MT systems are brittle: their effectiveness highly depends on the choice of few-shot examples and they often require extra post-processing due to overgeneration. Alternatives such as finetuning on translation instructions are computationally expensive and may weaken in-context learning capabilities, due to overspecialization. In this paper, we provide a closer look at this problem. We start by showing that adapter-based finetuning with LoRA matches the performance of traditional finetuning while reducing the number of training parameters by a factor of 50. This method also outperforms few-shot prompting and eliminates the need for post-processing or in-context examples. However, we show that finetuning generally degrades few-shot performance, hindering adaptation capabilities. Finally, to obtain the best of both worlds, we propose a simple approach that incorporates few-shot examples during finetuning. Experiments on 10 language pairs show that our proposed approach recovers the original few-shot capabilities while keeping the added benefits of finetuning.

📄 PDF Abstract BibTeX arXiv:2310.13448

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningMachine TranslationTranslation

Similar Papers 제목 키워드 기반

Steering Large Language Models for Machine Translation Personalization

2025-05-22 · Daniel Scalena, Gabriele Sarti, Arianna Bisazza, Elisabetta Fersini 외

High-quality machine translation systems based on large language models (LLMs) have simplified the production of personalized translations reflecting specific stylistic constraints. However, these systems still struggle …

Machine TranslationTranslation

Multitask Finetuning for Improving Neural Machine Translation in Indian Languages

2021-12-03 · Shaily Desai, Atharva Kshirsagar, Manisha Marathe

Transformer based language models have led to impressive results across all domains in Natural Language Processing. Pretraining these models on language modeling tasks and finetuning them on downstream tasks such as Text…

Causal Language ModelingLanguage ModelingLanguage ModellingMachine Translation+4

Towards Boosting Many-to-Many Multilingual Machine Translation with Large Language Models

2024-01-11 · Pengzhi Gao, Zhongjun He, Hua Wu, Haifeng Wang

The training paradigm for machine translation has gradually shifted, from learning neural machine translation (NMT) models with extensive parallel corpora to instruction finetuning on multilingual large language models (…

Machine TranslationNMTTranslation

On Instruction-Finetuning Neural Machine Translation Models

2024-10-07 · Vikas Raunak, Roman Grundkiewicz, Marcin Junczys-Dowmunt

In this work, we introduce instruction finetuning for Neural Machine Translation (NMT) models, which distills instruction following capabilities from Large Language Models (LLMs) into orders-of-magnitude smaller NMT mode…

Domain AdaptationInstruction FollowingMachine TranslationNMT+1

Multilingual Translation with Extensible Multilingual Pretraining and Finetuning

2020-08-02 · Yuqing Tang, Chau Tran, Xi-An Li, Peng-Jen Chen 외

Recent work demonstrates the potential of multilingual pretraining of creating one model that can be used for various tasks in different languages. Previous work in multilingual pretraining has demonstrated that machine …

Machine TranslationTranslation