Abstract
This paper investigates the cross-lingual inconsistencies observed in Large Language Models (LLMs), such as ChatGPT, Llama, and Baichuan, which have shown exceptional performance in various Natural Language Processing (NLP) tasks. Despite their successes, these models often exhibit significant inconsistencies when processing the same concepts across different languages. This study focuses on three primary questions: the existence of cross-lingual inconsistencies in LLMs, the specific aspects in which these inconsistencies manifest, and the correlation between cross-lingual consistency and multilingual capabilities of LLMs. To address these questions, we propose an innovative evaluation method for Cross-lingual Semantic Consistency (xSC) using the LaBSE model. We further introduce metrics for Cross-lingual Accuracy Consistency (xAC) and Cross-lingual Timeliness Consistency (xTC) to comprehensively assess the models' performance regarding semantic, accuracy, and timeliness inconsistencies. By harmonizing these metrics, we provide a holistic measurement of LLMs' cross-lingual consistency. Our findings aim to enhance the understanding and improvement of multilingual capabilities and interpretability in LLMs, contributing to the development of more robust and reliable multilingual language models.
Introduction
As Large Language Models (LLMs) evolve into global knowledge engines, they face a critical reliability hurdle: the "language barrier" in their internal logic. Cross-lingual inconsistency occurs when a model provides different, or even contradictory, answers to the same factual query depending on the language used. For instance, a model might correctly identify a person's current employer in English but provide an outdated answer in Chinese, suggesting that knowledge is not stored in a truly language-agnostic manner.
This study investigates whether LLMs exhibit this inconsistency systematically, the specific dimensions (semantics, accuracy, timeliness) in which it manifests, and the relationship between a model's translation proficiency and its factual consistency.
Methodology
To quantify these inconsistencies, we propose a comprehensive evaluation framework centered on a unified score, xC (Cross-lingual Consistency), which is the harmonic mean of three primary metrics:
- xSC (Cross-lingual Semantic Consistency): Measures semantic similarity across languages using LaBSE (Language-Agnostic BERT Sentence Embedding) to calculate cosine similarity between answer vectors.
- xAC (Cross-lingual Accuracy Consistency): Assesses consistency in correctness by calculating the Spearman rank correlation of accuracy scores (via the CHRF metric) across language pairs.
- xTC (Cross-lingual Timeliness Consistency): Evaluates time-sensitive facts by ranking candidate answers by date and checking if the model maintains the same "up-to-dateness" level across languages.
Dataset: MAKQA
We introduce MAKQA (Multilingual Aligned Knowledge-based Question-Answering), a benchmark covering 12 languages. Built from Wikidata triplets, it contains 1,487 QA pairs across seven domains: Sports, Movie, Science, History, Geography, Literature, and Timeliness. GPT-4 was utilized to transform structured triplets into natural language pairs, which were then validated against the Flores-200 dataset to correlate translation performance with consistency.
Results and Discussion
Our evaluation of models like GPT-3.5, Llama2, Baichuan2, and Mixtral revealed several key insights:
- Inconsistency as an Inherent Trait: Inconsistency is not mere "noise" but a stable behavior across domains and prompt designs.
- Architecture and Training: The Mixture-of-Experts (MoE) architecture in Mixtral (8x7B) showed superior consistency (xC = 0.496) compared to dense models like Llama2-13B (xC = 0.361). Interestingly, models like Bloomz, despite massive multilingual training, struggled, suggesting that data volume alone does not ensure internal knowledge alignment.
- Translation Correlation: A strong positive correlation exists between a model's translation ability and its factual consistency across language pairs.
GPT-3.5 emerged as the top performer with an xC score of 0.552, though all models remain far from the ideal "Oracle" score of 0.849, indicating substantial room for improvement in how LLMs synchronize knowledge across their multilingual parameters.
Conclusion
This research highlights significant "knowledge gaps" in current LLMs. While models like GPT-3.5 and Mixtral lead in consistency, there is substantial room for improvement in synchronizing knowledge across multilingual parameters. Future work should focus on enhancing cross-lingual alignment during fine-tuning and expanding evaluation to low-resource languages to build more robust and reliable global AI systems.
Summary updated