Abstract
Trillion-7B is a 7-billion parameter multilingual large language model (LLM) specifically optimized for the Korean language. By introducing a novel architectural shift called Cross-lingual Document Attention (XLDA), the model overcomes the "data scarcity" barrier inherent in low-resource languages. Trillion-7B achieves state-of-the-art performance on Korean benchmarks while utilizing only 10% multilingual data in its training corpus. This report demonstrates that architectural innovations can effectively compensate for limited native-language tokens, placing Trillion-7B on the Pareto frontier of performance-to-compute efficiency.
Introduction: The Challenge of Data Scarcity
The current landscape of AI development is dominated by high-resource languages like English and Chinese, which benefit from massive datasets that drive scaling laws. In contrast, languages such as Korean represent less than 2% of common web-crawled datasets. Standard approaches to training models for these "low-resource" languages typically involve brute-force upsampling or massive scaling, which often results in inefficient training or degradation of English-language performance.
The authors of Trillion-7B identify a "scaling curve discrepancy": while English performance improves steadily with increased compute, performance in other languages often lags because models fail to effectively transfer knowledge across linguistic contexts. Trillion-7B was developed to bridge this gap through architectural cleverness rather than sheer data volume.
Methods: Architectural Innovations
The core innovation of Trillion-7B is Cross-lingual Document Attention (XLDA). Unlike traditional data-centric approaches, XLDA represents a fundamental shift in how the model processes information during pre-training.
Cross-lingual Document Attention (XLDA)
XLDA utilizes two primary strategies:
- Strategic Batch-level Document Packing: The training pipeline intentionally interleaves English and Korean documents within the same sequence, rather than packing random documents together.
- Selective Attention Masking: Standard models use document masks to prevent cross-contamination between different documents in a batch. XLDA removes these masks for multilingual pairs, allowing Korean tokens to attend to English tokens in the same sequence. This forces the model to perform "architectural code-switching," mapping concepts across languages in real-time and facilitating the transfer of logic and facts from the high-resource English corpus.
Multi-token Prediction (MTP) and Two-stage Training
In addition to XLDA, the model employs Multi-token Prediction (MTP), which predicts the next two tokens simultaneously to enhance representation learning. The training follows a two-stage approach, concluding with an "annealing" phase that uses ultra-strict filtering to retain only the top 10% highest-quality multilingual documents. Furthermore, optimizing the tokenizer by increasing the Korean vocabulary to ~24k tokens provided a 35% boost in inference speed without compromising performance.
Datasets and Evaluation
Trillion-7B was trained on a 2-trillion token corpus with an 8.5:1:0.5 ratio of English, Korean, and other specialized data (Math/Code). Notably, less than 180 billion tokens were Korean. Evaluation spanned 27 benchmarks across four languages, including KoBEST (reasoning), KMMLU (knowledge), and HAERAE. The authors also introduced Ko-IFEval, a Korean-adapted Instruction Following Evaluation benchmark, to test complex, constraint-based prompting.
Evaluation and Key Results
Trillion-7B consistently demonstrates superior efficiency, delivering more performance per unit of compute than its competitors. As shown in Figure 4, the model sits at the top-left of performance-vs-compute graphs across various domains, indicating its position on the Pareto frontier.
Instruction Following and Chat Capabilities
The model's instruction-following capabilities are particularly noteworthy. On the Ko-IFEval benchmark, Trillion-7B scored 66.58, significantly outperforming Llama 3.1 8B (36.07) and larger models like SOLAR-10.7B (26.12). Figure 1 illustrates this dominance in the Instruction & Chat category.
Efficiency and Knowledge Transfer
The model achieved a 77.5% consistency rate in transferring English knowledge to Korean, surpassing Llama 3.1 7B's 67.7%. Furthermore, the training process was highly cost-effective, totaling approximately $148,000 (59.4K H100 hours), a fraction of the cost required for many frontier models.
Discussion and Limitations
While Trillion-7B excels in general reasoning and linguistic transfer, the authors acknowledge certain limitations. Due to the focus on cross-lingual transfer, less than 2% of the training data was dedicated to math and coding. Consequently, performance on benchmarks like MATH and HumanEval is sub-optimal compared to specialized models. Additionally, minimal post-training safety optimization was performed, and future work will focus on scaling the XLDA recipe to larger architectures, including 70B dense models and 400B Mixture-of-Experts (MoE) structures.
Conclusion
Trillion-7B proves that architectural innovations like XLDA can bridge the linguistic data gap, allowing low-resource languages to benefit from the scaling laws of high-resource datasets. By achieving state-of-the-art Korean performance with minimal native data and compute, it sets a new standard for efficient, multilingual LLM development.
Summary updated