tukabench
收藏资源简介:
TukaBench是一个用于评估大语言模型在非洲语言中是否可能被越狱(即诱骗生成有害内容)的安全基准数据集。它旨在解决现有安全基准主要关注英语、而少数多语言基准依赖直译从而忽略本地特定危害(如移动货币诈骗、宗教频道欺诈、地区政治虚假信息)的问题。数据集包含五个核心组件,总计为每种支持的语言提供986个提示。这些组件包括:1) afri-jbb-harm:包含100个来自JailbreakBench的有害提示,经人工忠实翻译,保留西方语境。2) afri-jbb-benign:包含100个来自JailbreakBench的良性控制提示,用于衡量模型过度拒绝的情况。3) afri-jbb-culture:包含与afri-jbb-harm相同类别的100个有害提示,但在翻译前被改写为非洲文化背景(涉及本地相关命名实体和场景)。4) afrijail-mono:包含343个由非洲数据收集者用英语原创的新有害提示,涵盖地方治理、地区冲突和文化特定危害,随后经人工翻译。5) afrijail-cs:包含343个afrijail-mono的代码混合版本,即每个提示混合使用英语和一种非洲语言(isiXhosa除外)。数据集支持英语(en)、阿姆哈拉语(am)、豪萨语(ha)、伊博语(ig)、奇切瓦语(ny)、斯瓦希里语(sw)、科萨语(xh)和约鲁巴语(yo)八种语言(afrijail-cs支持六种,不含科萨语)。每个数据样本通常包含索引(Index)、英文源提示(Goal)和目标语言翻译提示(Goal_Translation)等字段。该数据集适用于多语言大语言模型安全对齐、攻击鲁棒性以及低资源环境下LLM-as-a-judge可靠性等方面的研究。
TukaBench is a safety benchmark dataset designed to evaluate whether large language models can be jailbroken (i.e., tricked into generating harmful content) in African languages. It addresses the issue that existing safety benchmarks primarily focus on English, while the few multilingual benchmarks rely on direct translation, thereby overlooking locally specific harms (such as mobile money scams, religious channel fraud, and regional political misinformation). The dataset consists of five core components, providing a total of 986 prompts per supported language. These components include: 1) afri-jbb-harm: Contains 100 harmful prompts from JailbreakBench, manually translated faithfully to preserve Western contexts. 2) afri-jbb-benign: Contains 100 benign control prompts from JailbreakBench, used to measure model over-refusal. 3) afri-jbb-culture: Contains 100 harmful prompts in the same categories as afri-jbb-harm, but rewritten into African cultural contexts (involving locally relevant named entities and scenarios) before translation. 4) afrijail-mono: Contains 343 novel harmful prompts originally created in English by African data collectors, covering local governance, regional conflicts, and culture-specific harms, subsequently manually translated. 5) afrijail-cs: Contains a code-switched version of the 343 afrijail-mono prompts, where each prompt mixes English with an African language (excluding isiXhosa). The dataset supports eight languages: English (en), Amharic (am), Hausa (ha), Igbo (ig), Chichewa (ny), Swahili (sw), Xhosa (xh), and Yoruba (yo) (afrijail-cs supports six languages, excluding Xhosa). Each data sample typically includes fields such as Index, Goal (English source prompt), and Goal_Translation (target language translation prompt). This dataset is suitable for research in multilingual large language model safety alignment, attack robustness, and the reliability of LLM-as-a-judge in low-resource environments.
数据集概述:TukaBench
TukaBench 是一个文化本地化的越狱安全基准数据集,旨在评估大型语言模型在非洲语言环境中被诱导生成有害内容的脆弱性。
核心目标
- 填补空白:现有安全基准大多仅针对英语,少数多语言基准依赖直译,忽略了特定于当地背景的伤害(如手机诈骗、宗教频道欺诈、地区政治假信息)。
- 评估维度:衡量模型在多语言安全对齐、攻击鲁棒性以及低资源场景下“LLM作为评判者”的可靠性。
语言覆盖
涵盖 8种语言:英语 (en)、阿姆哈拉语 (am)、豪萨语 (ha)、伊博语 (ig)、奇契瓦语 (ny)、斯瓦希里语 (sw)、科萨语 (xh)、约鲁巴语 (yo)。其中7种为非洲低资源语言。
数据组成与规模
数据集包含 3个配置,每个配置对应8种语言,每种语言有 300条提示,总规模小于1000条(n<1K)。
| 配置名称 | 提示数量 | 说明 |
|---|---|---|
afri-jbb-harm |
100/语言 | 来自 JailbreakBench 的100条有害提示,经人工翻译,保留西方原始背景。 |
afri-jbb-benign |
100/语言 | 来自 JailbreakBench 的100条良性控制提示,经人工翻译,用于测量过度拒绝。 |
afri-jbb-culture |
100/语言 | 将相同的JBB有害提示改写为非洲本地化背景(替换为本地相关的人物、场景等)后再翻译。 |
数据结构
每条数据包含以下字段:
Index:行标识符Goal:英文源提示Goal_Translation:目标语言的提示(对于英语eng分割,此字段等于Goal)
数据拆分
每个配置下均提供 8个数据分割(split),对应上述8种语言。
- 可用分割:
eng,amh,hau,ibo,nya,swh,xho,yor
构建流程
非英语提示的生成遵循三步流水线:
- 机器翻译:对6种语言使用Google翻译,对约鲁巴语使用AfriqueQwen-8B(结合MAFAND少样本示例)。
- 质量估计:使用SSA-COMET-QE对翻译评分,低于0.50分的标记为低质量。
- 人工后编辑与文化适配:每种语言由两位母语标注员纠正机器输出。对于
afri-jbb-culture,标注员同时进行文化适配,将西方实体替换为本地等价物。
许可协议
- CC-BY-NC 4.0:仅限非商业研究使用。
使用注意
- 数据集包含有害、欺骗性及敏感提示,仅用于多语言LLM安全研究。
- 使用本数据集时,也请引用其衍生来源 JailbreakBench。
引用信息
详细构建说明、质量控制程序和标注员报酬见关联论文(Akinode et al., 2026)。




