# Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions

번역 지시문을 활용한 다국어 fine-tuning을 통한 대규모 언어 모델의 번역 능력 이끌어내기

Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · arXiv · 2023년 5월 24일

- **연구 문제** ICL 기반 평가는 작은 LLM의 번역 잠재력을 과소평가할 수 있으며, 이 논문은 번역 지시문 fine-tuning으로 그 능력을 더 드러낼 수 있는지 검증합니다.
- **연구 방법** mFTI는 병렬 문장을 Translation 지시문 형식으로 바꾸어 XGLM-7.5B를 다음 토큰 예측으로 미세조정합니다.
- **주요 결과** 언어 쌍당 1000문장 학습에서 mFTI는 8-shot ICL보다 평균 약 3 BLEU 높고, 학습에 없는 언어 쌍에서도 일반화가 관찰됩니다.

## ICL 중심 평가가 가리는 번역 잠재력

대규모 언어 모델은 병렬 말뭉치로 명시적으로 학습하지 않아도 여러 언어 사이의 번역을 수행합니다. 기존 연구는 대부분 in-context learning(ICL)으로 이 능력을 살펴보았고, 데모로 주는 병렬 문장의 수와 선택 방식에 따라 결과가 달라졌습니다. 그러나 1B나 7B 규모의 작은 모델은 ICL 능력이 상대적으로 약하므로, ICL 결과만으로는 번역 잠재력이 과소평가될 수 있습니다. 이 논문은 데모에 의존하지 않고 번역 지시문을 따르도록 모델을 직접 미세조정했을 때 번역 능력이 얼마나 더 드러나는지를 다룹니다. 또한 학습에 포함되지 않은 언어 쌍에서도 이 효과가 이어지는지, 그 원인이 무엇인지를 함께 묻습니다.

## 번역 지시문 형식의 다국어 fine-tuning

mFTI는 병렬 문장 쌍 (ls, lt, x, y)을 Translation: \[ls\]: x \[lt\]: y 형식의 지시문 인스턴스로 바꾸고, 이를 하나의 언어 모델링 데이터셋 D로 묶습니다. 각 인스턴스는 특정 언어 쌍의 번역 과제를 나타내며, 모델은 표준 다음 토큰 예측 목표로 학습합니다. 식 (1)은 데이터 전체에 걸쳐 각 인스턴스 토큰의 로그 확률 합을 최대화하는 형태로 쓰입니다. 여기서 θ는 LLM의 파라미터이며, 지시문 안의 언어 이름은 번역 방향을 지정하는 신호로 작동합니다. 백본은 XGLM-7.5B이고, 이 실험 설정에서는 Adam 최적화기로 학습률 5e-6을 고정하고 배치 크기를 80 문장으로 둡니다.

학습은 말뭉치 크기에 따라 1 epoch 또는 2000 steps로 진행됩니다. 따라서 mFTI의 핵심은 새로운 구조를 추가하는 것이 아니라 번역 과제를 지시문 형태의 학습 대상으로 재구성하는 데 있습니다.

![Table 7: Hyperparameter configurations of LoRA and Full-fine-tuning in LLMs](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-32746009b8a3f80180d39fe740f1902a.png?thumb=512)

**Table 7** : Hyperparameter configurations of LoRA and Full-fine-tuning in LLMs

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## 데이터, 언어 집합, 평가 설정

평가는 FLORES-101 데이터셋을 사용하며, 이 데이터셋은 101개 언어에 대한 수동 번역 1012개 문장을 제공합니다. 실험 대상은 XGLM의 pre-training 말뭉치에 포함된 13개 언어이고, 이들은 자원량에 따라 고자원, 중자원, 저자원 언어로 나뉩니다. fine-tuning 데이터는 주로 WikiMatrix에서 가져오며, WikiMatrix에 없는 일부 언어 쌍은 MultiCCAligned에서 보충합니다. ICL 기준은 FLORES-101 dev split에서 무작위로 고른 8개 예시를 데모로 사용합니다. 기본 mFTI 실험에서는 언어 쌍마다 1000문장으로 제한해 소량 데이터에서의 번역 능력을 보려고 합니다. 평가 지표는 BLEU와 COMET이며, 3.2절의 COMET은 wmt22-comet-da 버전으로 계산되었습니다.

## ICL 대비 향상과 fine-tuning 전략 비교

언어 쌍당 1000문장으로 학습한 mFTI는 8-shot ICL보다 평균 약 3 BLEU 높은 번역 성능을 보입니다. 이 차이는 영어와 주고받는 방향에서도 나타나지만 격차는 더 작습니다. XGLM-7.5B에서 156개 번역 방향의 평균을 보면 8-shot ICL은 BLEU 13.9와 COMET 73.4이고, mFTI의 full finetuning은 BLEU 16.9와 COMET 77.7입니다. 같은 표에서 LoRA를 쓴 mFTI는 BLEU 16.7과 COMET 77.0입니다. 이 결과에서 LoRA는 full finetuning보다 낮으며, 저자들은 156개 방향을 동시에 학습하는 과제가 더 많은 모델 용량을 요구한다고 해석합니다.

피벗 분석에서는 영어를 거치는 피벗 번역이 ICL의 BLEU를 최대 10 높였지만, mFTI에서는 그 이득이 크게 줄었습니다. 저자들은 이를 직접 언어 정렬이 더 좋아졌다는 신호로 해석합니다. 학습 말뭉치의 품질도 중요하며, 고품질 문장으로 학습하면 저품질 문장보다 BLEU가 약 2점 높습니다.

![Figure 1: Translation performance of 8-shot ICL and mFTI using 1000 sentences per language pair. Languages are ordered by the data amount in the pretraining co…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-559a6521cb09d3d739c8c829a6196077.png?thumb=512)

**Figure 1** : Translation performance of 8-shot ICL and mFTI using 1000 sentences per language pair. Languages are ordered by the data amount in the pretraining corpus.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 2: Averaged translation performance on all 156 language pairs of 8-shot ICL and mFTI using different LLMs and finetuning strategies](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-1554b2d69c1d1392f9ef081f501f72a9.png?thumb=512)

**Table 2** : Averaged translation performance on all 156 language pairs of 8-shot ICL and mFTI using different LLMs and finetuning strategies.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 자원량과 영어 중심성

언어별 번역 성능은 pre-training 데이터량과 함께 영어와의 유사도에 따라 달라집니다. 원문의 Spearman 상관에서 pre-training 데이터량과 번역 성능의 상관은 to X 방향 0.39, from X 방향 0.36입니다. 영어와의 유사도 지표는 geography 0.93과 0.87, syntax 0.85와 0.80처럼 더 높은 상관을 보입니다. 이 결과는 XGLM이 여전히 영어 중심 모델이라는 저자들의 해석을 뒷받침합니다. 그래서 저자들은 다국어 pre-training 데이터를 모을 때 언어 사이의 관계를 함께 고려해야 한다고 제안합니다.

![Table 1: Spearman correlation between average translation performance (in BLEU) and possible influence factors (data amount in pretraining, sim- ilarity to Eng…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-f4be69d7356bfef1b3a29af86c5d9412.png?thumb=512)

**Table 1** : Spearman correlation between average translation performance (in BLEU) and possible influence factors (data amount in pretraining, sim- ilarity to English). The performance of translating to and from language X is calculated separately.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 학습에 없는 언어 쌍으로의 일반화와 지시문 실패

mFTI-16은 16개 언어 쌍을 학습한 설정이고, mFTI-all은 모든 쌍을 학습한 설정입니다. 학습에 없는 쌍 중에서 원천 또는 목표 언어 문장이 전혀 없는 Unseen Both Sides 분할도 8-shot ICL보다 0.7 BLEU 높아졌습니다. 이는 zero-shot 번역의 더 엄격한 설정에서도 지시문 이해가 일반화된다는 관찰입니다. 번역 실패는 원문 복사(SC), 목표 언어 이탈(OT), 과소 또는 과다 번역(OU), 반복 환각(OH)으로 나누어 측정합니다. 원문 복사는 문장 수준 BLEU가 80을 넘는 경우이고, OU는 길이 비율이 2를 넘거나 0.5보다 작은 경우입니다. 학습 쌍을 늘리면 SC와 OU는 크게 줄지만, OT와 OH는 완전히 해결되지 않았습니다.

이에 저자들은 목표 언어 이름에서 유창한 문장을 생성하는 단일 언어 생성 지시문을 추가했고, 이것이 OT와 OH를 더 효율적으로 줄인다고 보고합니다.

![Table 4: Translation performances under different data conditions. mFTI-16: XGLM multilingual fine- tuned with translation instructions on a mixture of 16 lang…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-2cd819c413a4384cc2bdbd35661bcee9.png?thumb=512)

**Table 4** : Translation performances under different data conditions. mFTI-16: XGLM multilingual fine- tuned with translation instructions on a mixture of 16 language pairs described in Section 4.1.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 5: Translation performance on different par- titions as the number of language pairs grows. Left: partitions where sentences of both source and target l…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-704c6d6589e2534d1a8a315815003a39.png?thumb=512)

**Figure 5** : Translation performance on different par- titions as the number of language pairs grows. Left: partitions where sentences of both source and target language are seen when training.Right: par- titions where source and/or target language sen- tences are unseen when training.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 6: Trends of translation and instruction-following performance on 3 Unseen-both language pairs when scaling up the number of language pairs during mFTI.…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-463e43fa3b2e68a11f7a1de64af378e9.png?thumb=512)

**Figure 6** : Trends of translation and instruction-following performance on 3 Unseen-both language pairs when scaling up the number of language pairs during mFTI. The left 2 figures show the BLEU score and overall instruction-following error ratios, respectively. The rest 4 figures show the ratios of 4 specific error types, respectively, i.e. source copy, off-target, over/under translation, and oscillatory hallucina- tion. The X-axis denotes the number of training language pairs. The Y-axis denotes the percentage of translations with specific error types.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 5: BLEU score, off-target ratio and oscillatory hallucination ratio before and after adding monolin- gual sentences to the finetuning corpus. Scores wher…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-962de4cfcbc1f82222a38e9f3926271d.png?thumb=512)

**Table 5** : BLEU score, off-target ratio and oscillatory hallucination ratio before and after adding monolin- gual sentences to the finetuning corpus. Scores where adding monolingual sentences leads to improved quality are with green background.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Table 6: Translation performance on test sentences without instruction-following errors. Best perfor- mances are in bold. The second-best performances are unde…](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-173c3474cf787e7b2b14f37a03d8e7b6.png?thumb=512)

**Table 6** : Translation performance on test sentences without instruction-following errors. Best perfor- mances are in bold. The second-best performances are underlined.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

이 결과는 XGLM-7.5B를 중심으로 얻은 것이며, 원문은 BLOOM-7b1과 LLaMA에서도 mFTI가 ICL보다 나은 결과를 보고합니다. 그러나 그 전체 비교 설정은 모델마다 달라 같은 조건으로 일반화하기는 어렵습니다. 강한 지도 기계번역 기준인 NLLB-3B와 비교하면 mFTI는 큰 차이로 뒤처집니다. COMET 평가에서도 mFTI는 M2M-1.2B와 비슷하지만 NLLB-3B에는 크게 못 미칩니다. LoRA가 full finetuning보다 낫지 않았다는 관찰은 156개 방향을 동시에 학습하는 조건에서 얻은 결과입니다. 따라서 다른 과제 규모나 방향 수에서 같은 결론이 성립하는지는 이 논문의 범위를 넘어섭니다.

또한 OT와 OH의 일부 문제는 언어 쌍을 늘려도 mFTI-all 수준까지 줄지 않았습니다.

![Figure 7: Comparison of mFTI with conventional supervised machine translation models. Perfor- mances are evaluated in COMET](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc/figures/figure-cf5ac52aae70dc4d9b24385fbee53e4e.png?thumb=512)

**Figure 7** : Comparison of mFTI with conventional supervised machine translation models. Perfor- mances are evaluated in COMET.

[원문](https://arxiv.org/abs/2305.15083v4) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen · Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 5월 24일
- **등록일**: 2026년 11월 6일
- **수정일**: 2024년 4월 15일
- **버전**: v4
- **arXiv**: 2305.15083
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2305.15083v4) · [원문 PDF ↗](https://arxiv.org/pdf/2305.15083v4)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Large-scale Pretrained Language Models (LLMs), such as ChatGPT and GPT4, have shown strong abilities in multilingual translations, without being explicitly trained on parallel corpora. It is interesting how the LLMs obtain their ability to carry out translation instructions for different languages. In this paper, we present a detailed analysis by finetuning a multilingual pretrained language model, XGLM-7B, to perform multilingual translation following given instructions. Firstly, we show that multilingual LLMs have stronger translation abilities than previously demonstrated. For a certain language, the performance depends on its similarity to English and the amount of data used in the pretraining phase. Secondly, we find that LLMs' ability to carry out translation instructions relies on the understanding of translation instructions and the alignment among different languages. With multilingual finetuning, LLMs could learn to perform the translation task well even for those language pairs unseen during the instruction tuning phase.

## 원문 인용

Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, Jiajun Chen (2023). Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions. arXiv:2305.15083v4. https://arxiv.org/abs/2305.15083v4

**BibTeX**

```
@misc{li2023eliciting,
  title = {{Eliciting the Translation Ability of Large Language Models via Multilingual Finetuning with Translation Instructions}},
  author = {Jiahuan Li and Hao Zhou and Shujian Huang and Shanbo Cheng and Jiajun Chen},
  year = {2023},
  eprint = {2305.15083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.15083v4}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [BLEU](https://refivu.com/terms/42cd9b97719e-bleu)
- [COMET](https://refivu.com/terms/1042b6d5dd83-comet)
- [in-context learning (ICL)](https://refivu.com/terms/2aa75650ca7d-in-context-learning-icl)
- [BLOOM-7b1](https://refivu.com/terms/ce50caaf73ae-bloom-7b1)
- [Flores-101](https://refivu.com/terms/be900704dd3a-flores-101)
- [full finetuning](https://refivu.com/terms/8a16de2dd49c-full-finetuning)
- [NLLB-3B](https://refivu.com/terms/db61a504026f-nllb-3b)

## 다른 논문 해설

- [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://refivu.com/papers/805208af-12ea-4b4b-b1a8-6db7601b1c37-sentence-bert-sentence-embeddings-using-siamese-bert.md)
- [Generative Spoken Dialogue Language Modeling](https://refivu.com/papers/be19b5cf-8acb-438c-a9c6-9a9ddd759fc3-generative-spoken-dialogue-language-modeling.md)
- [Know Your Limits: A Survey of Abstention in Large Language Models](https://refivu.com/papers/fa8b1d45-1ec5-448e-83d8-31101e89f9a4-know-your-limits-a-survey-of-abstention-in.md)
- [A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions](https://refivu.com/papers/110f4314-a69b-49f9-b6c7-c8ce64e15ebb-a-survey-on-uncertainty-quantification-of-large-language.md)
- [ABINet++: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Spotting](https://refivu.com/papers/d0b7eaca-efc0-4bf3-8c0d-bb66748400f8-abinet-autonomous-bidirectional-and-iterative-language.md)
- [DriveMLM: Aligning Multi-Modal Large Language Models with Behavioral Planning States for Autonomous Driving](https://refivu.com/papers/a8c14912-7460-43dd-9905-2047682d37fa-drivemlm-aligning-multi-modal-large-language-models-with.md)
- [When to Trust Your Model: Model-Based Policy Optimization](https://refivu.com/papers/c30bd870-19cb-4a6e-8e2b-d348ea953f92-when-to-trust-your-model-model-based-policy.md)
- [Enhancing 3D Object Detection by Using Neural Network with Self-adaptive Thresholding](https://refivu.com/papers/cb4907eb-d96c-4fdb-acdc-44c308e35801-enhancing-3d-object-detection-by-using-neural-network.md)
- [Improved Training of Wasserstein GANs](https://refivu.com/papers/9187d40c-6f22-4662-af77-278172641843-improved-training-of-wasserstein-gans.md)
- [Detection and Localization of Multiple Image Splicing Using MobileNet V1](https://refivu.com/papers/3cd481db-96f8-4a24-8f5d-419f4a701f61-detection-and-localization-of-multiple-image-splicing-using.md)
- [Density estimation using Real NVP](https://refivu.com/papers/6e98cc2c-51ae-4105-a052-60a312be9b3d-density-estimation-using-real-nvp.md)
- [Hierarchical Program-Triggered Reinforcement Learning Agents For Automated Driving](https://refivu.com/papers/236a0dd0-ee43-497c-8c5c-067c8a565af9-hierarchical-program-triggered-reinforcement-learning-agents.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/94856fb0-bf4f-4891-903d-8a84c28874fc-eliciting-the-translation-ability-of-large-language-models)
