COMMIT: Code-Mixing English-Centric Large Language Model for Multilingual Instruction Tuning

Jaeseong Lee, YeonJoon Jung, Seung-won HwangNAACL 2024

Introduction

Most state-of-the-art Large Language Models (LLMs), such as LLaMA, are fundamentally "English-centric." This bias is a direct result of the massive over-representation of English data in pretraining corpora and the fact that high-quality instruction-tuning datasets, like Alpaca, are almost exclusively curated in English. While high-resource languages like French or Spanish can often bridge this gap through Machine Translation (MT), low-resource languages face significant hurdles. For these languages, MT quality is often insufficient, and forcing an LLM to treat all languages identically can lead to degraded generation quality in decoder-only architectures.

This paper introduces COMMIT (COde-Mixed Multilingual Instruction Tuning), a novel approach designed to transfer the reasoning and instruction-following capabilities of English-centric models to low-resource languages using minimal resources.

Methodology: The Align + COMMIT Framework

The researchers propose a two-stage process to adapt models without the need for expensive retraining or high-quality translation models.

1. Cross-Lingual Alignment (Align)

Before instruction tuning, the model undergoes a "continual causal language modeling" phase. Rather than using raw target-language text, the authors construct a code-mixed corpus. By utilizing a simple bilingual dictionary (e.g., MUSE), they randomly replace English words in a corpus with their target-language equivalents. This allows the model's decoder to learn the relationships between languages without being forced into identical internal representations, which can be detrimental to the performance of decoder-only models.

2. Specialized Code-Mixing (COMMIT)

During the instruction-tuning phase, a specialized code-mixing strategy is employed to leverage the model's existing strengths:

  • Template Preservation: Structural phrases such as "Answer carefully," "Instruction:", and "Response:" are maintained in English. This acts as a familiar "anchor" or scaffold, triggering the model's established reasoning capabilities.
  • Content Code-Mixing: The specific task descriptions, input data, and expected outputs are code-mixed using the dictionary.
Overview of the Align and COMMIT stages for cross-lingual adaptation.

This approach is highly practical for low-resource scenarios because bilingual dictionaries are significantly easier to obtain than high-quality, sentence-level translation models.

Experimental Setup

The framework was evaluated using the following components:

  • Instruction Tuning: The ALPACA dataset (52k English instructions).
  • Alignment Corpus: Wikipedia articles for target languages.
  • Dictionary: MUSE word-level translations.
  • Target Languages: Greek (el), Thai (th), Hindi (hi), Tamil (ta), and Bengali (bn). These languages were selected for their relatively low resource availability (fewer than 250k Wikipedia articles).
  • Benchmarks: Multilingual Question Answering (MLQA), XQuAD, and IndicQA.

Key Results and Discussion

The Align+COMMIT method demonstrated dramatic improvements over baseline models like LLaMA and Alpaca across all tested languages.

Performance comparison on MLQA and XQuAD benchmarks across multiple languages.

Performance Gains

As shown in the results table, the performance jump is substantial. For instance, on the XQuAD Thai benchmark, the Align+COMMIT method achieved an Exact Match (EM) score over 32x higher than the Alpaca baseline (8.15 vs 0.25). Across all languages, the average EM score rose from a baseline of approximately 0.5 to 7.58.

The Power of Templates and Dictionaries

A critical finding was that keeping the prompt "scaffolding" in English while code-mixing the task content performed significantly better than full code-mixing. Furthermore, COMMIT often outperformed models tuned on machine-translated data. The authors hypothesize that code-mixing provides a superior form of cross-lingual alignment during tuning, whereas MT can introduce artifacts or sever the connection to the model's original English-based knowledge.

Conclusion and Limitations

COMMIT offers a resource-efficient path for adapting English-centric LLMs to low-resource languages. By combining template preservation with dictionary-based code-mixing, it achieves state-of-the-art results without the overhead of complex translation pipelines.

However, the method currently relies on simple word-for-word replacement, which does not account for complex morphology or context-dependent grammar. Future work will explore more sophisticated code-mixing strategies that respect local syntax and the application of parameter-efficient fine-tuning (PEFT) methods like LoRA to further increase accessibility.

Summary updated

BibTeX
@inproceedings{lee2024commit,
  author = {Jaeseong Lee and YeonJoon Jung and Seung-won Hwang},
  title = {{COMMIT: Code-Mixing English-Centric Large Language Model for Multilingual Instruction Tuning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.198},
}
Figure