nlebench-norwegian-eval
NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian — Liu et al. (2023) (arXiv:2312.01314, 2023)
What this evaluates
Evaluates generative language models on Norwegian across multiple tasks including conversational dialogue, news summarization, instruction following, document-grounded QA, factual consistency, toxicity, and bias. It probes low-resource language capabilities, cultural understanding, and reasoning via chain-of-thought prompting.
Datasets
Metrics
BLEU (primary) — range: percent
- Standard n-gram overlap metric between generated and reference text, reported as a percentage in the paper.
ROUGE-1 — range: percent
- Unigram recall-based overlap metric between generated and reference text, reported as a percentage.
ROUGE-L — range: percent
- Longest common subsequence recall-based overlap metric between generated and reference text, reported as a percentage.
Distinct-4 — range: percent
- Ratio of unique 4-grams to total 4-grams in the generated text, measuring lexical diversity, reported as a percentage.
MAUVE — range: other
- Measures distributional distance between generated and human-written text based on probability distributions. Note: paper reports values exceeding 1.0, indicating non-standard scaling or reporting.
Entailment Score — range: percent
- Faithfulness metric computed using a fine-tuned NorBERT model on the VitaminC dataset to measure factual consistency between generated text and source context.
Toxicity Score — range: [0, 1]
- Average toxicity score across six perspectives (Toxicity, Severe toxicity, Identity attack, Insult, Profanity, Threat), ranging from 0 to 1.
Bias Score — range: percent
- Percentage of samples where the model assigns higher perplexity to anti-stereotype sentences than to stereotype sentences, indicating bias towards public stereotypes.
Input / output format
Input: Task-specific prompts in Norwegian, including conversation turns, source documents paired with questions, instruction prompts, or stereotype/anti-stereotype sentence pairs.
Output: Generated Norwegian text (responses, summaries, answers) or model perplexity scores for bias/toxicity evaluation.
Scoring recipe
def compute_metrics(predictions, references, contexts, stereotype_pairs):
bleu = compute_bleu(references, predictions) * 100
rouge1 = compute_rouge(references, predictions, 'rouge1') * 100
rougeL = compute_rouge(references, predictions, 'rougeL') * 100
distinct4 = len(set(ngrams(predictions, 4))) / len(list(ngrams(predictions, 4))) * 100
mauve = compute_mauve(references, predictions)
entailment = compute_nli_score(predictions, contexts, model='NorBERT-VitaminC')
toxicity = compute_toxicity_classifier(predictions)
bias = compute_bias_perplexity(stereotype_pairs, model)
return {'BLEU': bleu, 'ROUGE-1': rouge1, 'ROUGE-L': rougeL, 'Distinct-4': distinct4, 'MAUVE': mauve, 'Entailment': entailment, 'Toxicity': toxicity, 'Bias': bias}
Common pitfalls
- MAUVE scores are reported on an unnormalized scale in the paper (e.g., values > 10 in Table 3), which differs from the standard [0,1] interpretation and may indicate a reporting error or custom scaling.
- Entailment scores rely on a custom fine-tuned NorBERT model trained on the VitaminC dataset, not a standard off-the-shelf NLI model, making direct comparison with other benchmarks difficult.
- Toxicity scores can be artificially low if models generate meaningless characters or words, as noted in the toxicity evaluation section.
- Human evaluation uses only 50 samples per dataset with 3 raters, resulting in low inter-rater agreement for fluency (Fleiss' kappa ~0.60).
Evidence (verbatim from paper)
We aim to comprehensively evaluate our models across various tasks using widely used metrics for NLP tasks, including BLEU (Papineni et al., 2002), ROUGE (Lin, 2004), Distinct (Li et al., 2016), and MAUVE, which is used to assess the generated and human-written text based on their probability distribution differences (Pillutla et al., 2021). Furthermore, following the work of Xie et al. (2023), to measure faithfulness and factual consistency in multi-task learning, we utilize Entailment scores from a fine-tuned NorBERT model trained on the VitaminC dataset (Schuster et al., 2021), which are translated with Google Cloud Translation API.
Citation
@misc{liu2023nlebench,
title={NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian},
author={Liu et al. (2023)},
year={2023},
note={arXiv:2312.01314}
}
1---2name: nlebench-norwegian-eval3description: Evaluates generative language models on Norwegian across multiple tasks including conversational dialogue, news summarization, instruction following, document-grounded QA, factual consistency, toxicity, and bias. It probes low-resource language capabilities, cultural understanding, and reasoning via chain-of-thought prompting. Use when the user wants to benchmark on NO-ConvAI2, NO-CNN/DailyMail, NO-Alpaca-Plus, NO-CrowS-Pairs, NO-Multi-QA-Sum, or asks about evaluating this task. Reports BLEU.4---56# nlebench-norwegian-eval78> NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian — Liu et al. (2023) (arXiv:2312.01314, 2023)910## What this evaluates1112Evaluates generative language models on Norwegian across multiple tasks including conversational dialogue, news summarization, instruction following, document-grounded QA, factual consistency, toxicity, and bias. It probes low-resource language capabilities, cultural understanding, and reasoning via chain-of-thought prompting.1314## Datasets1516- **NO-ConvAI2** — total ?; splits: test (-1); repo https://github.com/Smartmedia-AI/NorGLM17- **NO-CNN/DailyMail** — total ?; splits: test (-1); repo https://github.com/Smartmedia-AI/NorGLM18- **NO-Alpaca-Plus** — total ?; splits: test (-1); repo https://github.com/Smartmedia-AI/NorGLM19- **NO-CrowS-Pairs** — total ?; splits: test (-1); repo https://github.com/Smartmedia-AI/NorGLM20- **NO-Multi-QA-Sum** — total ?; splits: test (-1); repo https://github.com/Smartmedia-AI/NorGLM2122## Metrics2324- `BLEU` **(primary)** — range: percent25 - Standard n-gram overlap metric between generated and reference text, reported as a percentage in the paper.26- `ROUGE-1` — range: percent27 - Unigram recall-based overlap metric between generated and reference text, reported as a percentage.28- `ROUGE-L` — range: percent29 - Longest common subsequence recall-based overlap metric between generated and reference text, reported as a percentage.30- `Distinct-4` — range: percent31 - Ratio of unique 4-grams to total 4-grams in the generated text, measuring lexical diversity, reported as a percentage.32- `MAUVE` — range: other33 - Measures distributional distance between generated and human-written text based on probability distributions. Note: paper reports values exceeding 1.0, indicating non-standard scaling or reporting.34- `Entailment Score` — range: percent35 - Faithfulness metric computed using a fine-tuned NorBERT model on the VitaminC dataset to measure factual consistency between generated text and source context.36- `Toxicity Score` — range: [0, 1]37 - Average toxicity score across six perspectives (Toxicity, Severe toxicity, Identity attack, Insult, Profanity, Threat), ranging from 0 to 1.38- `Bias Score` — range: percent39 - Percentage of samples where the model assigns higher perplexity to anti-stereotype sentences than to stereotype sentences, indicating bias towards public stereotypes.4041## Input / output format4243**Input**: Task-specific prompts in Norwegian, including conversation turns, source documents paired with questions, instruction prompts, or stereotype/anti-stereotype sentence pairs.4445**Output**: Generated Norwegian text (responses, summaries, answers) or model perplexity scores for bias/toxicity evaluation.4647## Scoring recipe4849```python50def compute_metrics(predictions, references, contexts, stereotype_pairs):51 bleu = compute_bleu(references, predictions) * 10052 rouge1 = compute_rouge(references, predictions, 'rouge1') * 10053 rougeL = compute_rouge(references, predictions, 'rougeL') * 10054 distinct4 = len(set(ngrams(predictions, 4))) / len(list(ngrams(predictions, 4))) * 10055 mauve = compute_mauve(references, predictions)56 entailment = compute_nli_score(predictions, contexts, model='NorBERT-VitaminC')57 toxicity = compute_toxicity_classifier(predictions)58 bias = compute_bias_perplexity(stereotype_pairs, model)59 return {'BLEU': bleu, 'ROUGE-1': rouge1, 'ROUGE-L': rougeL, 'Distinct-4': distinct4, 'MAUVE': mauve, 'Entailment': entailment, 'Toxicity': toxicity, 'Bias': bias}60```6162## Common pitfalls6364- MAUVE scores are reported on an unnormalized scale in the paper (e.g., values > 10 in Table 3), which differs from the standard [0,1] interpretation and may indicate a reporting error or custom scaling.65- Entailment scores rely on a custom fine-tuned NorBERT model trained on the VitaminC dataset, not a standard off-the-shelf NLI model, making direct comparison with other benchmarks difficult.66- Toxicity scores can be artificially low if models generate meaningless characters or words, as noted in the toxicity evaluation section.67- Human evaluation uses only 50 samples per dataset with 3 raters, resulting in low inter-rater agreement for fluency (Fleiss' kappa ~0.60).6869## Evidence (verbatim from paper)7071> We aim to comprehensively evaluate our models across various tasks using widely used metrics for NLP tasks, including BLEU (Papineni et al., 2002), ROUGE (Lin, 2004), Distinct (Li et al., 2016), and MAUVE, which is used to assess the generated and human-written text based on their probability distribution differences (Pillutla et al., 2021). Furthermore, following the work of Xie et al. (2023), to measure faithfulness and factual consistency in multi-task learning, we utilize Entailment scores from a fine-tuned NorBERT model trained on the VitaminC dataset (Schuster et al., 2021), which are translated with Google Cloud Translation API.7273## Citation7475```bibtex76@misc{liu2023nlebench,77 title={NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian},78 author={Liu et al. (2023)},79 year={2023},80 note={arXiv:2312.01314}81}82```8384- arXiv: 2312.01314