TL;DR
TransLLM is a framework that transforms English-centric chat LLMs into high-performing non-English models by leveraging a "Translation Chain-of-Thought" (TCoT) and a novel Recovery Knowledge Distillation (RKD) technique. It successfully transfers complex instruction-following and safety behaviors to new languages using only publicly available resources, often outperforming strong baselines and even ChatGPT.
What Problem Does This Paper Address?
While Large Language Models (LLMs) like GPT-4 and Llama-3 are incredibly capable, their "chat" abilities—following complex instructions and staying safe—are heavily biased toward English. This is because the high-quality post-training data (Supervised Fine-Tuning and Preference Optimization) required to build these abilities is expensive, proprietary, and overwhelmingly English.
Existing attempts to bridge this gap usually involve starting from a "base" model and training it on open-source non-English data. However, these open datasets lag significantly behind the proprietary ones used for top-tier English chat models. The authors ask a compelling question: Why not just transfer the existing "chat" knowledge from English models to other languages directly?
Methods
The authors introduce TransLLM, a three-stage pipeline designed to adapt a chat LLM to a target language (X) without losing its original capabilities.
- Translation Chain-of-Thought (TCoT): Instead of a direct response, the model is trained to follow a sequence: translate the query from X to English $\rightarrow$ formulate a response in English $\rightarrow$ translate the answer back to X. This "thinking in English" allows the model to leverage its superior English reasoning.
- Continual Pre-training (CPT): To make the model a better "thinker" and "translator" in the target language, it undergoes CPT using monolingual data in language X and parallel EN-X data.
- Recovery Knowledge Distillation (RKD) + LoRA: A major hurdle in CPT is "catastrophic forgetting"—the model becomes better at the target language but forgets how to follow instructions or stay safe. To fix this, the authors use RKD. They use the original English chat model to generate responses to English queries. These pairs are then used during fine-tuning to "remind" the model of its original chat abilities. By using Low-Rank Adaptation (LoRA), they keep the original weights frozen, making it easier for the model to recover its latent knowledge.
Datasets
The researchers utilized several publicly available resources for their experiments:
- Monolingual Data: mC4 (Thai and Arabic) and the Pile (English).
- Parallel Data: CCAligned, Tatoeba Challenge, and OpenSubtitles for EN-TH and EN-AR pairs.
- Instruction Data: The Alpaca dataset was used to provide queries for the RKD process.
- Benchmarks: Evaluation was performed on MT-Bench (multi-turn conversation), AlpacaEval, XCOPA (reasoning), M3Exam (multilingual exams), Aya-Test, and AdvBench (safety).
Key Insights and Ideas
- Chat Models are Better Foundations: Starting with a model that already "knows" how to chat is more efficient than starting from a base model, provided you can prevent it from forgetting those skills during language adaptation.
- TCoT vs. Translation Bridges: Unlike simple "translate-then-query" pipelines, TCoT is integrated into the model's own inference. The intermediate English steps actually contribute to the final non-English answer's quality.
- RKD as a "Safety Net": RKD doesn't inject new knowledge; it acts as a recovery mechanism. It allows the model to re-learn how to access its original English-centric capabilities through the new LoRA parameters.
- Zero-Shot Safety Transfer: Remarkably, TransLLM transfers safety alignment to the target language without any explicit safety training in that language. It simply "remembers" that certain types of queries are harmful based on its original English training.
Key Results
The authors tested TransLLM across five languages (Thai, Arabic, Portuguese, Telugu, and Turkish) using Llama-2 and Llama-3 backbones.
- Superior Conversationalist: In Thai (TH), TransLLM significantly outperformed reproduced baselines like X-Llama and Typhoon on MT-Bench. It even achieved a higher win rate against ChatGPT in first-turn conversations (Δ = 11.25).
- Safety Champion: On the AdvBench safety benchmark, TransLLM achieved a rejection rate of 94.61%, far exceeding ChatGPT (79.81%) and GPT-4 (85.96%) in the Thai language setting.
- Multilingual Flexibility: The framework proved adaptable; a single multilingual TransLLM model performed comparably to individual language-specific versions, thanks to the use of language ID tokens.
Limitations and Future Work
- Model Scale: The study focused on models with fewer than 8B parameters. The authors note that the effects of scaling up to much larger models remain to be explored.
- Inference Overhead: Because TCoT requires generating intermediate English text, the inference time is longer than direct-response models. Future work could explore "implicit" TCoT to reduce this overhead.
- Language Scope: While five languages were tested, the authors acknowledge that extremely low-resource languages might still struggle due to a lack of sufficient parallel data for the CPT stage.
Summary updated