multilingual-safety-eval
CREST: Universal Safety Guardrails Through Cluster-Guided Cross-Lingual Transfer — Bansal et al. (2025) (arXiv:2512.02711, 2025)
What this evaluates
Evaluates a parameter-efficient multilingual safety guardrail's ability to classify content as safe or unsafe across high-resource and low-resource languages. It probes cross-lingual generalization and robustness against diverse harm categories using cluster-guided transfer.
Datasets
- Aegis-Content-Safety-2.0-Test (Aegis-CS2) — total ?; splits: test (-1)
- HarmBench — total ?; splits: test (-1)
- Redteam2k — total ?; splits: test (-1)
- JBB-Behaviors — total ?; splits: test (-1)
- StrongReject — total ?; splits: test (-1)
Metrics
accuracy (primary) — range: [0, 1]
- Standard binary classification accuracy: the proportion of correctly classified safe/unsafe instances out of the total test instances.
Input / output format
Input: Natural language prompts or conversation turns in 24 languages (13 In-Domain, 11 Out-of-Domain), representing human-LLM interactions or red-teaming queries.
Output: Binary classification label (safe vs. unsafe) produced by a single-layer classification head.
Scoring recipe
def compute_accuracy(predictions, gold_labels):
correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
return correct / len(gold_labels)
Common pitfalls
- Evaluating on Out-of-Domain (OOD) low-resource languages requires careful handling of translation artifacts, as training data was translated from English to In-Domain languages.
- Benchmarks cover diverse harm categories (hate, sexual, violence, etc.), so aggregate scores may mask per-category performance gaps.
- Cross-lingual transfer relies on linguistic clustering; performance may drop sharply for languages outside the 100-language XLM-R pretraining coverage.
Evidence (verbatim from paper)
For evaluation, we benchmark our model on six safety classification datasets: Aegis-Content-Safety-2.0-Test (Aegis-CS2) (2025), HarmBench (Mazeika et al. 2024), Redteam2k (Luo et al. 2024), JBB-Behaviors (subsets Behaviors as JBB-Behav and Judge-comparison as JBB-Judge) (Chao et al. 2024), and StrongReject (Souly et al. 2024). These benchmarks collectively span various harm categories, including but not limited to Hate/Identity Hate, Sexual, Suicide/Self-Harm, Violence, Guns/Illegal Weapons, PII/Privacy, Sexual Minor, Toxicity, Abuse, etc., which makes them suitable for a comprehensive evaluation of safety guardrails.
Citation
@misc{bansal2025crest,
title={CREST: Universal Safety Guardrails Through Cluster-Guided Cross-Lingual Transfer},
author={Bansal et al. (2025)},
year={2025},
note={arXiv:2512.02711}
}
1---2name: multilingual-safety-eval3description: Evaluates a parameter-efficient multilingual safety guardrail's ability to classify content as safe or unsafe across high-resource and low-resource languages. It probes cross-lingual generalization and robustness against diverse harm categories using cluster-guided transfer. Use when the user wants to benchmark on Aegis-Content-Safety-2.0-Test (Aegis-CS2), HarmBench, Redteam2k, JBB-Behaviors, StrongReject, or asks about evaluating this task. Reports accuracy.4---56# multilingual-safety-eval78> CREST: Universal Safety Guardrails Through Cluster-Guided Cross-Lingual Transfer — Bansal et al. (2025) (arXiv:2512.02711, 2025)910## What this evaluates1112Evaluates a parameter-efficient multilingual safety guardrail's ability to classify content as safe or unsafe across high-resource and low-resource languages. It probes cross-lingual generalization and robustness against diverse harm categories using cluster-guided transfer.1314## Datasets1516- **Aegis-Content-Safety-2.0-Test (Aegis-CS2)** — total ?; splits: test (-1)17- **HarmBench** — total ?; splits: test (-1)18- **Redteam2k** — total ?; splits: test (-1)19- **JBB-Behaviors** — total ?; splits: test (-1)20- **StrongReject** — total ?; splits: test (-1)2122## Metrics2324- `accuracy` **(primary)** — range: [0, 1]25 - Standard binary classification accuracy: the proportion of correctly classified safe/unsafe instances out of the total test instances.2627## Input / output format2829**Input**: Natural language prompts or conversation turns in 24 languages (13 In-Domain, 11 Out-of-Domain), representing human-LLM interactions or red-teaming queries.3031**Output**: Binary classification label (safe vs. unsafe) produced by a single-layer classification head.3233## Scoring recipe3435```python36def compute_accuracy(predictions, gold_labels):37 correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)38 return correct / len(gold_labels)39```4041## Common pitfalls4243- Evaluating on Out-of-Domain (OOD) low-resource languages requires careful handling of translation artifacts, as training data was translated from English to In-Domain languages.44- Benchmarks cover diverse harm categories (hate, sexual, violence, etc.), so aggregate scores may mask per-category performance gaps.45- Cross-lingual transfer relies on linguistic clustering; performance may drop sharply for languages outside the 100-language XLM-R pretraining coverage.4647## Evidence (verbatim from paper)4849> For evaluation, we benchmark our model on six safety classification datasets: Aegis-Content-Safety-2.0-Test (Aegis-CS2) (2025), HarmBench (Mazeika et al. 2024), Redteam2k (Luo et al. 2024), JBB-Behaviors (subsets Behaviors as JBB-Behav and Judge-comparison as JBB-Judge) (Chao et al. 2024), and StrongReject (Souly et al. 2024). These benchmarks collectively span various harm categories, including but not limited to Hate/Identity Hate, Sexual, Suicide/Self-Harm, Violence, Guns/Illegal Weapons, PII/Privacy, Sexual Minor, Toxicity, Abuse, etc., which makes them suitable for a comprehensive evaluation of safety guardrails.5051## Citation5253```bibtex54@misc{bansal2025crest,55 title={CREST: Universal Safety Guardrails Through Cluster-Guided Cross-Lingual Transfer},56 author={Bansal et al. (2025)},57 year={2025},58 note={arXiv:2512.02711}59}60```6162- arXiv: 2512.02711