논문 해설
Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations
번역 추종 시연을 통한 지시 튜닝된 대규모 언어 모델의 교차 언어 능력 강화
- 연구 문제 영어 중심으로 사전 학습된 LLM은 번역된 Alpaca 데이터로 지시 튜닝해도 비영어 성능이 크게 떨어집니다.
- 연구 방법 Alpaca 지시 데모에 news_commentary 기반 번역 따르기 데모를 더해 LLaMA-7B를 미세조정하는 CrossAlpaca를 제안합니다.
- 주요 결과 x-CrossAlpaca는 x-Alpaca보다 MLQA에서 평균 30점, XQUAD에서 평균 34점 높았고, MMLU와 BBH에서는 각각 8점과 4점 높았다고 보고됩니다.
영어 중심 LLM의 비영어 지시 튜닝 문제
대규모 언어 모델은 pre-training 말뭉치가 주로 영어에 치우쳐 있어 영어 능력이 비영어 능력보다 뛰어난 경우가 많습니다. 이 불균형은 지시 튜닝 단계에서도 이어지며, 번역된 Alpaca 데이터로 튜닝한 모델은 영어 기준 모델보다 크게 낮은 성능을 보입니다. 이 논문은 번역된 지시 데이터만으로는 비영어 능력을 충분히 끌어내기 어렵다는 문제에서 출발합니다.
저자들은 이 문제를 해결하기 위해 지시 따르기 데모에 번역 따르기 데모를 더해 언어 간 의미 정렬을 강화하는 CrossAlpaca를 제안합니다. 연구 범위는 LLaMA-7B를 백본으로 한 여섯 개 언어 계열의 모델이며, 교차 언어 질의응답 벤치마크와 다중 과제 벤치마크로 검증합니다.
지시 데모와 번역 데모의 결합
CrossAlpaca의 핵심은 두 종류의 데모를 함께 학습하는 것입니다. 첫째는 Stanford Alpaca 방식의 지시, 입력, 출력으로 이루어진 지시 따르기 데모이며, 원래 영어 버전과 언어별 번역 버전을 포함합니다. 둘째는 news_commentary 병렬 자료에서 만든 번역 따르기 데모입니다. 각 언어에 대해 20k개의 데모를 구성하며, 영어에서 비영어로 가는 en-x 방향 10k개와 비영어에서 영어로 가는 x-en 방향 10k개를 무작위로 선택합니다.

Figure 1 : Our x-CrossAlpacas are fine-tuned on Instruction-following and Translation-following demonstrations. This example shows the it-CrossAlpaca, fine-tuned on it-Alpaca and Translation-following demonstrations.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Figure 2 : Examples of Translation-following demonstrations. In this particular example, there are two demonstra- tions with two different directions from English to German (en-x) and vice versa.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.백본은 LLaMA-7B이며, 학습에는 alpaca_LoRA 코드를 같은 하이퍼파라미터로 사용합니다. 따라서 이 방법은 새로운 모델 구조를 도입하지 않고 fine-tuning 데이터의 구성을 바꾸는 방식입니다. 이 설계는 번역 데모가 언어 사이의 대응을 직접 학습시켜 의미 정렬을 돕는다는 저자들의 가정에 기반합니다.
벤치마크와 평가 설정
평가에는 XQUAD와 MLQA 같은 교차 언어 질의응답 벤치마크, 그리고 MMLU와 BBH 같은 다중 과제 벤치마크가 쓰입니다. XQUAD와 MLQA는 여러 언어로 구성되어 있지만, MMLU와 BBH는 영어 원본이므로 저자들이 다섯 언어로 번역해 사용합니다. 평가 지표는 정확 일치 기준의 정확도이며, 모델 설정에서는 zero-shot 방식으로 측정합니다.
이 설정은 번역된 벤치마크를 사용한다는 점에서 원래의 언어별 자료와 다를 수 있습니다. 따라서 결과는 번역 과정을 포함한 평가 조건에서 읽어야 합니다.
x-Alpaca 대비 개선과 번역 데모의 효과
x-CrossAlpaca는 x-Alpaca보다 MLQA에서 평균 30점, XQUAD에서 평균 34점 높았다고 보고됩니다. MMLU에서는 평균 8점, BBH에서는 평균 4점 높았습니다. 이는 교차 언어 질의응답에서 번역 따르기 데모의 효과가 크고, 다중 과제 벤치마크에서는 그 효과가 상대적으로 작다는 결과입니다.

Figure 3 : Evaluation results on proposed benchmarks. The dotted line represents the performance of the original Alpaca (Taori et al., 2023) on English tasks.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Table 2 : Averages of the results on proposed bench- marks. The column δ indicates the difference between avg-Alpacas and our avg-CrossAlpacas.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 3 : Evaluation results on proposed benchmarks. The avg- lines are the averages of x-Alpacas and x- CorssAlpacas. The last three lines indicate the comparisons between en-Alpaca. The last line indicates the comparisons between avg-Alpacas and avg-CrossAlpacas.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.번역 따르기 데모의 양을 늘리면 x-CrossAlpaca의 정확도가 높아지는 경향도 관찰되었습니다. 방향별 실험에서는 en-x 방향 데모가 하류 모델에 더 큰 영향을 주었고, x-en 방향 데모는 기준선보다 나았지만 en-x보다 낮았습니다. 저자들은 두 방향 사이의 비대칭성이 존재하는지는 아직 결정하지 못했다고 밝힙니다.

Figure 5 : Evaluation of proposed benchmarks using one- direction Translation-following demonstrations. For en- x for English-foreigner and x-en for foreign English.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 7 : Evaluation of all proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English. With the red cross, we indicate the results of the x-Alpaca standards, and with the green diamond, the results of our x-CrossAlpaca.
원문 · CC BY 4.0 · Leonardo Ranaldi, Giulia Pucci, Andre Freitas · Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 질문
이 결과는 LLaMA-7B 백본과 제한된 여섯 개 언어 설정에서 얻은 것입니다. 다중 과제 벤치마크에서는 번역 따르기 데모의 효과가 질의응답 벤치마크보다 뚜렷하지 않았으므로, 모든 과제에 같은 효과가 있다고 해석하기는 어렵습니다. 또한 방향별 비대칭성은 아직 확정되지 않았습니다.
평가는 zero-shot 설정과 번역된 벤치마크에 의존합니다. 저자들은 다른 백본과 저자원 언어에 대한 확장을 향후 과제로 제시합니다.
논문 정보
- 저자
- Leonardo Ranaldi, Giulia Pucci, Andre Freitas
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2023년 8월 27일
- 등록일
- 2026년 11월 5일
- 수정일
- 2023년 8월 27일
- 버전
- v1
- arXiv
- 2308.14186
- DOI
- 10.18653/v1/2024.findings-acl.473
- 분류
- cs.CL · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
The language ability of Large Language Models (LLMs) is often unbalanced towards English because of the imbalance in the distribution of the pre-training data. This disparity is demanded in further fine-tuning and affecting the cross-lingual abilities of LLMs. In this paper, we propose to empower Instructiontuned LLMs (It-LLMs) in languages other than English by building semantic alignment between them. Hence, we propose CrossAlpaca, an It-LLM with cross-lingual instruction-following and Translation-following demonstrations to improve semantic alignment between languages. We validate our approach on the multilingual Question Answering (QA) benchmarks XQUAD and MLQA and adapted versions of MMLU and BBH. Our models, tested over six different languages, outperform the It-LLMs tuned on monolingual data. The final results show that instruction tuning on non-English data is not enough and that semantic alignment can be further improved by Translation-following demonstrations.
원문 인용
Leonardo Ranaldi, Giulia Pucci, Andre Freitas (2023). Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations. arXiv:2308.14186v1. https://doi.org/10.18653/v1/2024.findings-acl.473
BibTeX
@article{ranaldi2023empowering,
title = {{Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations}},
author = {Leonardo Ranaldi and Giulia Pucci and Andre Freitas},
year = {2023},
eprint = {2308.14186},
archivePrefix = {arXiv},
doi = {10.18653/v1/2024.findings-acl.473},
url = {https://arxiv.org/abs/2308.14186v1}
}