Abstract
Researchers from Kakao Brain have introduced KorNLI and KorSTS, the first publicly available large-scale benchmark datasets for Korean Natural Language Inference (NLI) and Semantic Textual Similarity (STS). By leveraging a hybrid approach of machine translation and expert human post-editing, they have established a high-quality foundation for evaluating and advancing Korean Natural Language Understanding (NLU). Evaluation using Korean-specific RoBERTa and multilingual XLM-R models demonstrates that language-specific pre-training and intermediate NLI training significantly enhance performance on downstream semantic tasks.
Introduction
In the field of Natural Language Understanding (NLU), tasks like Natural Language Inference (NLI)—determining if a premise entails, contradicts, or is neutral toward a hypothesis—and Semantic Textual Similarity (STS)—scoring how similar two sentences are—are foundational. For English, benchmarks like GLUE and SuperGLUE have driven massive progress in model development.
However, the Korean research community has faced a significant "data gap." While datasets existed for tasks like question answering (KorQuAD) and sentiment analysis, there were no public benchmarks for NLI or STS. This lack of data made it difficult to build and evaluate fixed-size sentence embeddings or fine-tune pre-trained models specifically for Korean semantic reasoning.
Methodology
The authors employed a cost-effective yet rigorous "translate-and-edit" pipeline to create the datasets, ensuring high-quality evaluation sets while maintaining a massive scale for training.
- Machine Translation (MT): An internal translation engine was used to convert massive English training sets (from SNLI, MNLI, and STS-B) into Korean.
- Human Post-Editing (PE): Recognizing that raw MT can miss nuances, professional translators with over seven years of experience post-edited the development and test sets.
- Cross-Checking: Translators cross-checked each other’s work, and the authors performed a final review to ensure semantic consistency across languages.
- Baseline Modeling: To set the bar, the researchers pre-trained a Korean RoBERTa model on 65GB of Korean text and compared it against the multilingual XLM-R model using both cross-encoding and bi-encoding architectures.
Dataset Overview
The paper introduces two primary benchmarks derived from established English corpora (SNLI, MNLI, XNLI, and STS-B):
- KorNLI: A massive NLI dataset containing 942,854 training pairs (machine-translated) and 7,500 evaluation pairs (human post-edited).
- KorSTS: A similarity dataset with 5,749 training pairs (MT) and 2,879 evaluation pairs (PE).
Key Results and Insights
The evaluation of various models on these new benchmarks yielded several critical insights for Korean NLU:
- Native Pre-training Wins: Despite the massive scale of multilingual models like XLM-R (trained on 2.5TB of data), the authors' Korean-specific RoBERTa (trained on just 65GB) generally performed better. This underscores the importance of language-specific pre-training.
- The Power of Intermediate Training: Training a model on KorNLI before fine-tuning it on KorSTS consistently improved similarity scores, suggesting that NLI serves as an excellent intermediate task for teaching a model the "logic" of language.
- MT is a Strong Starting Point: Professional translators did not need to change machine-translated sentences approximately 50% of the time. High BLEU scores (63–73) between raw MT and human-edited versions suggest that modern MT is a viable shortcut for localizing NLU benchmarks.
As shown in the results table, the Korean RoBERTa (large) model achieved the best results across the board using a cross-encoding approach, reaching 83.67% accuracy on KorNLI and an 85.27 Spearman correlation on KorSTS.
Limitations and Future Work
While these datasets provide a significant leap forward, they are not without limitations. Because they are translations of English datasets, they may not capture semantic phenomena or cultural contexts unique to the Korean language. For instance, certain gendered English terms like "sir" become gender-neutral in Korean ("seonsaengnim"), which can occasionally invalidate original gold labels.
Future directions include more systematic error analysis of translated datasets and the creation of "native" Korean NLI/STS datasets from scratch to capture more local linguistic flavor and cultural nuance.
Summary updated