[Paper Review] Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languages
The paper introduces Language Ranker, a similarity-based metric that uses English representations as a baseline to quantify LLM performance across languages, and analyzes how performance correlates with language pre-training proportions and model size.
The development of Large Language Models (LLMs) relies on extensive text corpora, which are often unevenly distributed across languages. This imbalance results in LLMs performing significantly better on high-resource languages like English, German, and French, while their capabilities in low-resource languages remain inadequate. Currently, there is a lack of quantitative methods to evaluate the performance of LLMs in these low-resource languages. To address this gap, we propose the Language Ranker, an intrinsic metric designed to benchmark and rank languages based on LLM performance using internal representations. By comparing the LLM's internal representation of various languages against a baseline derived from English, we can assess the model's multilingual capabilities in a robust and language-agnostic manner. Our analysis reveals that high-resource languages exhibit higher similarity scores with English, demonstrating superior performance, while low-resource languages show lower similarity scores, underscoring the effectiveness of our metric in assessing language-specific capabilities. Besides, the experiments show that there is a strong correlation between the LLM's performance in different languages and the proportion of those languages in its pre-training corpus. These insights underscore the efficacy of the Language Ranker as a tool for evaluating LLM performance across different languages, particularly those with limited resources.
Motivation & Objective
- Motivate the need to quantitatively measure LLM performance in low-resource languages due to imbalanced multilingual training data.
- Propose a similarity-based metric (Language Ranker) using English representations as a baseline to assess other languages.
- Analyze how language similarity to English, model size, and pre-training corpus proportions influence multilingual performance.
- Demonstrate cross-model rank consistency and link similarity scores to corpus composition from pre-training data.
Proposed method
- Representations from LLMs are extracted for English and target languages at multiple Transformer layers.
- Compute layer-wise cosine similarity between English and target-language representations, averaged over selected layers (layers 5, 10, 15, 20, 25).
- Rank languages by similarity to English and compare language rankings across LLMs using the longest common partial order sublist metric.
- Evaluate four open-source models (LlaMa2, Qwen, Mistral, Gemma) across languages including 10 representative languages (5 high-resource, 5 low-resource).
- Relate similarity scores to known pre-training corpus proportions from model reports (e.g., LlaMa2).
- Analyze size effects by comparing 0.5B, 4B, and 7B variants for Qwen across language groups.

Experimental results
Research questions
- RQ1Can English-based representation similarity serve as a proxy for LLM performance across languages?
- RQ2Do language performance rankings show cross-model consistency regardless of model size?
- RQ3How does the proportion of a language in pre-training corpus relate to the proposed similarity metric?
- RQ4What effects do model size and language resource level have on performance across languages?
- RQ5Can Language Ranker reflect improvements from language-specific fine-tuning or targeted pre-training?
Key findings
- Language rankings across languages are roughly consistent across different LLMs.
- Different model sizes exhibit the same partial order of language performance.
- There is a strong correlation between Llama2’s language similarity and its pre-training corpus proportions for several languages.
- High-resource languages tend to have higher similarity to English than low-resource languages.
- Fine-tuning on specific languages (e.g., Chinese for Qwen) can raise language-specific performance, especially in later layers.
- The similarity metric correlates with reported language proportions in pre-training, though not perfectly due to other linguistic factors.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.