[논문 리뷰] BayLing: Bridging Cross-lingual Alignment and Instruction Following through Interactive Translation for Large Language Models
BayLing은 인터랙티브 번역 프레임워크를 사용하여 영어 지시 수행 능력을 비영어권 언어로 이전하고, 13B 파라미터로 GPT-3.5-turbo 수준의 성능과 강력한 번역 및 일반 작업 능력을 달성합니다.
Large language models (LLMs) have demonstrated remarkable prowess in language understanding and generation. Advancing from foundation LLMs to instructionfollowing LLMs, instruction tuning plays a vital role in aligning LLMs to human preferences. However, the existing LLMs are usually focused on English, leading to inferior performance in non-English languages. In order to improve the performance for non-English languages, it is necessary to collect language-specific training data for foundation LLMs and construct language-specific instructions for instruction tuning, both of which are heavy loads. To minimize human workload, we propose to transfer the capabilities of language generation and instruction following from English to other languages through an interactive translation task. We have developed BayLing, an instruction-following LLM by utilizing LLaMA as the foundation LLM and automatically constructing interactive translation instructions for instructing tuning. Extensive assessments demonstrate that BayLing achieves comparable performance to GPT-3.5-turbo, despite utilizing a considerably smaller parameter size of only 13 billion. Experimental results on translation tasks show that BayLing achieves 95% of single-turn translation capability compared to GPT-4 with automatic evaluation and 96% of interactive translation capability compared to GPT-3.5-turbo with human evaluation. To estimate the performance on general tasks, we created a multi-turn instruction test set called BayLing-80. The experimental results on BayLing-80 indicate that BayLing achieves 89% of performance compared to GPT-3.5-turbo. BayLing also demonstrates outstanding performance on knowledge assessment of Chinese GaoKao and English SAT, second only to GPT-3.5-turbo among a multitude of instruction-following LLMs. Demo, homepage, code and models of BayLing are available.
연구 동기 및 목표
- 교차 언어 인터랙티브 번역을 활용하여 비영어 지시 조정에 들이는 인간 노동을 줄이는 동기를 제시한다.
- heavy한 비영어 프리트레이닝 데이터 없이 영어의 생성 및 지시 이행 능력을 다른 언어로 이전하기 위한 BayLing을 제안한다.
- 인터랙티브 번역이 다중 언어에 걸쳐 언어 정렬, 지시 이행 및 다회 대화 상호작용을 향상시킬 수 있음을 보여준다.
- 인터랙티브 번역이 중국어와 영어 작업에서 지식 작업 및 일반 작업 성능을 향상시킴을 보여준다.
제안 방법
- 인터랙티브 번역 및 일반 작업을 중심으로 구성된 지시 데이터 세트를 사용하여 LLaMA-7B와 LLaMA-13B를 미세조정하여 BayLing-7B와 BayLing-13B를 생성한다.
- 학습 다양화를 위해 160K 개의 인터랙티브 번역 인스턴스와 보조 영어 중심 데이터셋(Alpaca, ShareGPT)을 포함한 지시 데이터세트를 구성한다.
- 학습률 2e-5, 가중치 감소 0.0으로 3 에포크 학습, 배치 크기 32, 최대 길이 1024, 메모리 효율 기술(DeepSpeed, Gradient Checkpointing)을 사용하여 학습한다.
- GPU 16G 메모리에서 BayLing-13B 추론에 대해 8비트 양자화를 활성화한다.
- 인터랙티브 번역을 사용하여 영어–비영어 쌍 간 번역과 번역 내에 영어를 포함하는 다회 지시 학습으로 다중 언어 능력을 정렬한다.
- 다언어 정렬, 지시 이행 및 다회적 대화 상호작용을 평가하기 위해 번역, 일반 작업 및 표준화된 테스트를 평가한다.
실험 결과
연구 질문
- RQ1인터랙티브 번역 기반 지시 미세조정이 대규모 비영어 프리트레이닝 데이터 없이 영어 지시 이행 능력을 비영어권 언어로 이전할 수 있는가?
- RQ2인터랙티브 번역이 중국어와 영어를 포함한 추가 언어에서 다언어 정렬, 지시 이행, 다회 대화 상호작용을 향상시키는가?
- RQ3BayLing은 번역 특화 및 일반 지시 이행 모델과 비교하여 다언어 번역 벤치마크 및 제로샷 언어 방향에서 어떤 성능을 보이는가?
- RQ4인터랙티브 번역으로 정렬될 때 BayLing의 일반 작업 및 표준 지식 시험 성능은 어떤가?
주요 결과
- BayLing-13B는 Chinese↔English 번역에서 COMET 점수 기준으로 GPT-4의 수준의 94-97%에 도달하고, German↔English 번역에서 97%를 달성한다.
- BayLing-13B는 사람 평가에서 GPT-3.5-turbo의 인터랙티브 번역 능력의 96%를 달성한다.
- BayLing-80 일반 작업 평가에서 GPT-4 평가 비교에서 GPT-3.5-turbo 성능의 89%에 도달한다.
- BayLing은 중국어 GaoKao 및 영어 SAT에서 강력한 성능을 보여주며, 여러 지시-following LLM 중에서 GPT-3.5-turbo에 이은 두 번째에 해당한다.
- 인터랙티브 번역 지시가 비영어 생성 능력을 해치지 않으면서 향상시키고, 언어 간 인간 지시 이행 및 다중 대화의 응집력을 향상시킨다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.