Abstract
Large language models (LLMs) that are tuned with instructions have demonstrated remarkable capabilities in various tasks and languages. However, their ability to generalize to underrepresented languages is limited due to the scarcity of available data. Additionally, directly adapting new languages to instruction-tuned LLMs can result in catastrophic forgetting, which leads to the loss of multitasking ability. To address this issue, we propose InstructAlign which uses continual crosslingual instruction tuning to enable LLMs to align new unseen languages with previously learned high-resource languages. Our results demonstrate the effectiveness of InstructAlign in enabling the model to understand low-resource languages with limited parallel data while preventing catastrophic forgetting. Our work contributes to the advancement of language adaptation methods, particularly for adapting instruction-tuned LLMs to underrepresented languages.
Introduction: The Alignment Gap in LLMs
While state-of-the-art Large Language Models (LLMs) like GPT-4 or BLOOM exhibit impressive zero-shot capabilities, they are characterized by a significant linguistic bias. Most models are trained predominantly on Indo-European languages, leaving thousands of low-resource languages—such as those from the Austronesian or Niger-Congo families—underrepresented.
The primary challenge in bridging this gap is not merely data scarcity. When researchers attempt to adapt a pre-trained, instruction-tuned model to a new language, they frequently encounter catastrophic forgetting. The model may acquire the new language but simultaneously lose its ability to follow complex instructions or perform tasks in its original high-resource languages. InstructAlign addresses this "alignment gap" by mapping new linguistic knowledge onto existing multitasking logic.
Methodology: The InstructAlign Framework
The InstructAlign framework is built upon two core pillars: task-based crosslingual alignment and continual instruction tuning via experience replay.
1. Crosslingual Alignment Objectives
Instead of relying on simple text completion, InstructAlign utilizes three instruction-based tasks using limited parallel data:
- Bilingual Denoising (TLM): The model fills in missing words in a target language sentence using its English equivalent as context.
- Machine Translation (MT): Direct translation between high-resource (L1) and low-resource (L2) languages.
- Crosslingual Semantic Similarity (XSS): The model determines if sentences in different languages are semantically equivalent.
2. Continual Instruction Tuning via Experience Replay
To mitigate catastrophic forgetting, the researchers incorporate "experience replay." This involves mixing a small, randomly sampled portion of the original training data (e.g., English/Indonesian instruction sets) into the new training batches. This serves as a "memory anchor," ensuring the model's instruction-following capabilities remain intact.
Experimental Setup and Datasets
The study focuses on local Indonesian languages, utilizing specialized benchmarks:
- NusaX & NusaTranslation: Datasets for sentiment analysis across 10+ Indonesian languages.
- NusaParagraph: Focused on emotion recognition and topic classification.
- FLORES-200: Provides the parallel sentence pairs (approximately 2,000 per pair) required for alignment tasks.
Languages were categorized into L1 (known, e.g., English), L2 (target for adaptation, e.g., Javanese), and L3 (unseen but related languages used to test generalization).
Key Results and Insights
InstructAlign-tuned models demonstrated a 5-10% improvement in F1 scores on L2 languages compared to vanilla BLOOMZ baselines. Notably, an InstructAlign-tuned BLOOMZ-1.1B model often outperformed the much larger BLOOMZ-3B baseline on crosslingual tasks, highlighting the efficiency of the approach.
The Impact of Experience Replay
As shown in the results, standard fine-tuning ($r=0$) causes performance on pre-trained languages to drop significantly. However, increasing the replay size ($r$) stabilizes the model. A replay size of $r=100k$ was found to be sufficient to maintain L1 performance within a negligible margin while allowing for substantial gains in novel (L2) languages.
Alignment vs. Denoising
The research found that traditional Masked Language Modeling (MLM) actually decreased performance when applied to instruction-tuned models. In contrast, task-oriented alignment (specifically XSS) was far more effective for maintaining crosslingual reasoning. Furthermore, the model showed a high correlation (0.96) in performance improvement between L2 and L3 languages, suggesting that aligning one language effectively unlocks its linguistic relatives.
Limitations and Future Work
The authors note that the study focused exclusively on decoder-only architectures (BLOOMZ) and the Malayo-Polynesian language family. Future research will explore whether these results generalize to encoder-decoder models (like T5) and more diverse language families, such as Indic or African languages. Additionally, testing the scaling laws of InstructAlign on models exceeding 70B parameters remains a priority.
Summary updated