[Paper Review] Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
Okapi introduces the first instruction-tuned, reinforcement learning from human feedback (RLHF)-based framework for multilingual large language models (LLMs) across 26 languages. It provides instruction and response-ranked datasets, benchmark evaluations, and demonstrates that RLHF significantly outperforms supervised fine-tuning (SFT) in multilingual instruction tuning, especially for low-resource languages.
A key technology for the development of large language models (LLMs) involves instruction tuning that helps align the models' responses with human expectations to realize impressive learning abilities. Two major approaches for instruction tuning characterize supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), which are currently applied to produce the best commercial LLMs (e.g., ChatGPT). To improve the accessibility of LLMs for research and development efforts, various instruction-tuned open-source LLMs have also been introduced recently, e.g., Alpaca, Vicuna, to name a few. However, existing open-source LLMs have only been instruction-tuned for English and a few popular languages, thus hindering their impacts and accessibility to many other languages in the world. Among a few very recent work to explore instruction tuning for LLMs in multiple languages, SFT has been used as the only approach to instruction-tune LLMs for multiple languages. This has left a significant gap for fine-tuned LLMs based on RLHF in diverse languages and raised important questions on how RLHF can boost the performance of multilingual instruction tuning. To overcome this issue, we present Okapi, the first system with instruction-tuned LLMs based on RLHF for multiple languages. Okapi introduces instruction and response-ranked data in 26 diverse languages to facilitate the experiments and development of future multilingual LLM research. We also present benchmark datasets to enable the evaluation of generative LLMs in multiple languages. Our experiments demonstrate the advantages of RLHF for multilingual instruction over SFT for different base models and datasets. Our framework and resources are released at https://github.com/nlp-uoregon/Okapi.
Motivation & Objective
- Address the lack of multilingual instruction-tuned LLMs trained with reinforcement learning from human feedback (RLHF), which remains unexplored in non-English languages.
- Overcome the scarcity of multilingual training and evaluation data for generative LLMs beyond English and a few major languages.
- Democratize access to high-performing, instruction-aligned LLMs by releasing open-source models, datasets, and benchmarks for diverse languages.
- Evaluate the effectiveness of RLHF versus supervised fine-tuning (SFT) in multilingual instruction tuning across multiple base models and languages.
- Enable future research in multilingual generative AI by providing standardized benchmarks and training resources for low-resource and underrepresented languages.
Proposed method
- Collect and curate instruction-following data in 26 diverse languages, including instruction, input, and desired response triples.
- Generate response-ranked data using LLMs (e.g., ChatGPT) to create comparative outputs for reward modeling in RLHF.
- Train reward models on the ranked responses to provide dense, human-aligned reward signals for reinforcement learning.
- Apply RLHF to fine-tune base LLMs (BLOOM and LLaMA-7B) using the reward models, optimizing for alignment with human preferences.
- Use the HuggingFace Open LLM Leaderboard benchmarks (ARC, HellaSwag, MMLU, TruthfulQA) for zero-shot evaluation in English, adapted for multilingual analysis.
- Release the full framework, datasets, and trained models at https://github.com/nlp-uoregon/Okapi to support open research and reproducibility.
Experimental results
Research questions
- RQ1Can RLHF significantly improve the instruction-following performance of multilingual LLMs compared to SFT in diverse languages?
- RQ2How do instruction-tuned LLMs trained with RLHF generalize across low-resource and high-resource languages?
- RQ3To what extent do RLHF-based models outperform SFT-based models in multilingual benchmarks like MMLU and HellaSwag?
- RQ4How effective are automatically generated and translated instruction-response pairs for training multilingual RLHF pipelines?
- RQ5What are the performance gaps in multilingual instruction tuning when using RLHF versus SFT, particularly for non-English languages?
Key findings
- RLHF-based instruction tuning significantly outperforms SFT in multilingual instruction tuning across multiple base models and evaluation benchmarks.
- The Okapi framework demonstrates that RLHF can effectively improve alignment and reasoning capabilities in multilingual LLMs, even with synthetic data generation.
- Performance gains from RLHF are particularly notable in low-resource languages, where SFT struggles due to limited supervision.
- The benchmark evaluation shows that RLHF-tuned models achieve higher scores on MMLU, HellaSwag, and TruthfulQA compared to SFT counterparts.
- The released instruction and response-ranked datasets in 26 languages provide a foundation for future research in multilingual generative AI.
- Despite reliance on LLM-generated data, the framework achieves competitive performance, suggesting feasibility of scalable multilingual RLHF with minimal human annotation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.