Abstract
This paper introduces C-XNLI, an extension of the Cross-lingual Natural Language Inference (XNLI) dataset to the Croatian language. By leveraging professional human translation for evaluation sets and state-of-the-art machine translation for training data, the authors establish a high-quality benchmark for a language often underrepresented in multilingual NLP. Results demonstrate that modern translation models effectively bridge the gap between low-resource and high-resource languages, with Croatian achieving performance parity with languages like German in NLI tasks.
Introduction
Natural Language Processing (NLP) has seen explosive growth, yet progress remains concentrated on a small fraction of the world’s languages. Benchmarks like XTREME and XGLUE are essential for evaluating cross-lingual transfer, but they frequently omit languages with fewer digital resources, such as Croatian. This research addresses the lack of a Croatian dataset for Natural Language Inference (NLI)—the task of determining if a premise sentence entails, contradicts, or is neutral toward a hypothesis. Without such resources, it is difficult to evaluate the zero-shot capabilities of massive multilingual models like XLM-R on Croatian text.
Methodology
The authors followed the established XNLI methodology while adding rigorous quality controls. The development (2,490 samples) and test (5,010 samples) sets were professionally translated by native speakers. To prevent lexical bias, premises and hypotheses were translated independently, ensuring that translators did not inadvertently use the premise as context for the hypothesis.
For the massive training set of nearly 400,000 samples, the authors benchmarked eight different machine translation (MT) models.
As shown in Figure 3, Facebook’s m2m_100_1.2B model was selected as the winner based on its superior BLEU scores, outperforming specialized models like opus_hr. The quality of this synthetic data was further validated through Direct Assessment (DA), where human annotators scored Croatian translations similarly to German, a traditionally high-resource language.
Key Results and Analysis
The performance of the XLM-R model on C-XNLI was evaluated across several paradigms, including Zero-shot (training on English only) and Translate-Train-All (training on all available languages).
As illustrated in Figure 6, Croatian (hr) demonstrates highly competitive results. In the Zero-shot setting, the model achieved 78.0% accuracy. When utilizing the new Croatian training set in the "Translate-Train-All" paradigm, accuracy rose to 80.6%. These results place Croatian among the top-performing languages in the XNLI ecosystem, suggesting that the "low-resource" gap is closing for languages supported by modern, massive MT models.
Insights and Limitations
Despite the high performance, the study highlights a potential "shortcut" problem: a high correlation (Spearman’s $\rho \approx 0.8$) exists between textual overlap (shared n-grams) and model accuracy. This suggests that NLI models may rely on lexical cues rather than deep semantic reasoning. Additionally, MT quality was found to degrade on longer premises compared to shorter hypotheses, indicating that while synthetic data is effective, it may still harbor logical inconsistencies in complex sentences.
Conclusion
C-XNLI provides a robust new resource for the NLP community, proving that Croatian is a viable language for high-performance cross-lingual transfer. The findings encourage further research into whether models are truly "reasoning" or simply performing sophisticated pattern matching on overlapping vocabulary.
Summary updated