Enhancing Translation Accuracy of Large Language Models through Continual Pre-Training on Parallel Data
Minato Kondo, Takehito Utsuro, Masaaki Nagata
TL;DR
This paper tackles translating with relatively small LLMs by introducing a two-phase training pipeline: continual pre-training on parallel data and subsequent supervised fine-tuning with a small, high-quality parallel corpus. It systematically compares eight data formats across Ja↔En directions using a 3.8B-parameter model, showing that interleaved and tagged data formats, plus direction-aware cues, yield higher translation accuracy than naive concatenation. The study finds that CP effectiveness is direction-dependent and that LLM-based translation models exhibit robustness to spoken language, often requiring less data than encoder–decoder baselines. By combining CP with targeted SFT, the approach achieves superior performance on 13 test sets, suggesting practical implications for deploying translation systems with resource-constrained LLMs. The results encourage exploring LoRA and other parameter-efficient tuning methods on larger LLMs and additional language pairs, while recognizing limitations in scope and data quality considerations.
Abstract
In this paper, we propose a two-phase training approach where pre-trained large language models are continually pre-trained on parallel data and then supervised fine-tuned with a small amount of high-quality parallel data. To investigate the effectiveness of our proposed approach, we conducted continual pre-training with a 3.8B-parameter model and parallel data across eight different formats. We evaluate these methods on thirteen test sets for Japanese-to-English and English-to-Japanese translation. The results demonstrate that when utilizing parallel data in continual pre-training, it is essential to alternate between source and target sentences. Additionally, we demonstrated that the translation accuracy improves only for translation directions where the order of source and target sentences aligns between continual pre-training data and inference. In addition, we demonstrate that the LLM-based translation model is more robust in translating spoken language and achieves higher accuracy with less training data compared to supervised encoder-decoder models. We also show that the highest accuracy is achieved when the data for continual pre-training consists of interleaved source and target sentences and when tags are added to the source sentences.
