hat
收藏资源简介:
HAT(Hallucination Annotation for Translation)是一个用于机器翻译幻觉检测的大规模数据集。该数据集旨在促进机器翻译系统中幻觉(即流畅但不忠实于源内容输出)的检测与缓解研究。数据集包含350,959个跨度级标注样本,覆盖38个语言对,每个语言对包含约8,000-10,000个样本,并划分为训练集、开发集和测试集。数据创建过程包括从网络收集单语数据、使用强神经机器翻译模型进行翻译、基于质量指标选择可能包含幻觉的低质量翻译样本,最后由专业译员在严格质量控制下进行标注。数据以Parquet格式存储,每个样本包含源语言区域(source_locale)、源文本(source_text)、目标语言区域(target_locale)、机器翻译输出(target_text)、数据集划分(split)、二元幻觉标签(label,0表示无幻觉,1表示包含幻觉)、幻觉字符比例分数(score)以及原始的跨度级标注(annotation)。该数据集适用于机器翻译、文本分类(幻觉检测)和机器翻译评估等任务。
HAT (Hallucination Annotation for Translation) is a large-scale dataset for machine translation hallucination detection. The dataset aims to facilitate research on detecting and mitigating hallucinations (i.e., fluent but unfaithful outputs to the source content) in machine translation systems. It contains 350,959 span-level annotated samples, covering 38 language pairs, with approximately 8,000-10,000 samples per language pair, and is divided into training, development, and test sets. The data creation process involves collecting monolingual data from the web, translating it using strong neural machine translation models, selecting low-quality translation samples that may contain hallucinations based on quality metrics, and finally annotating them by professional translators under strict quality control. The data is stored in Parquet format, with each sample including source locale, source text, target locale, machine translation output (target text), dataset split, binary hallucination label (label, where 0 indicates no hallucination and 1 indicates hallucination), hallucination character ratio score (score), and original span-level annotation (annotation). The dataset is suitable for tasks such as machine translation, text classification (hallucination detection), and machine translation evaluation.
数据集名称
HAT: Hallucination Annotation for Translation
数据集概述
HAT是一个用于机器翻译(MT)幻觉检测的大规模数据集,由苹果公司发布,并作为ACL 2026论文的一部分。数据集包含350,959个经过跨度级别标注的样本,覆盖38个语言对,每个语言对约有8,000-10,000个样本,并划分为训练集、验证集和测试集。标注工作由专业翻译人员在严格质量控制下完成。
数据集结构
- 配置: 提供一个默认配置(合并所有语言对)和38个语言对配置(如
en_US-ja_JP、fr_FR-en_US等)。 - 划分: 每个配置包含
train、validation和test三个划分。 - 数据格式: Parquet格式,位于
data/目录下,按train/、dev/、test/子目录组织,每个语言对对应一个子文件夹。 - 模式(Schema):
字段 类型 描述 source_localestring源文本的区域设置 source_textstring源句子 target_localestring目标文本的区域设置 target_textstring机器翻译输出 splitstring数据集划分(train/dev/test) labelint64二值幻觉标签(0: 无幻觉,1: 有幻觉) scorefloat64幻觉字符的比例(0-1) annotationstring原始跨度级别的幻觉标注
数据统计
| 划分 | 每个语言对的样本数 |
|---|---|
| 训练集 | 约10,000 |
| 开发集 | 约2,000 |
| 测试集 | 约3,000 |
语言覆盖
数据集包含38个语言对,涉及以下语言(以区域设置表示):
- 源语言或目标语言:
ar(阿拉伯语)、nl(荷兰语)、en(英语)、fr(法语)、de(德语)、hi(印地语)、id(印度尼西亚语)、it(意大利语)、ja(日语)、ko(韩语)、pl(波兰语)、pt(葡萄牙语)、ru(俄语)、zh(中文)、es(西班牙语)、th(泰语)、tr(土耳其语)、uk(乌克兰语)、vi(越南语)
具体语言对包括英语与上述语言的互译方向,以及部分非英语语言对(如ar_AE-en_US、de_DE-en_US等)。
任务类别
- 翻译
- 文本分类(幻觉检测)
标签
- 机器翻译
- 幻觉检测
- MT评估
许可协议
CC BY-NC-ND 4.0(Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International)
创建流程
- 数据收集: 从网络抓取每种语言约500万句子,经过语言识别、长度过滤和去重。
- 翻译: 使用强大的神经机器翻译模型将单语句子翻译成目标语言。
- 样本选择: 基于质量指标选择质量较低的翻译,以增加幻觉出现的可能性。
- 标注: 专业翻译人员在严格质量控制下标注幻觉。
- 后处理: 移除源文本有问题的样本,确保数据完整性。
引用
bibtex @inproceedings{chatterjee-etal-2026-hat, title = "{HAT}: Hallucination Annotation for Translation", author = "Chatterjee, Rajen and Li, Xintong and Charoenpornsawat, Paisarn and Lee, Allen", editor = "Liakata, Maria and Moreira, Viviane P. and Zhang, Jiajun and Jurgens, David", booktitle = "Proceedings of the 64th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)", month = jul, year = "2026", address = "San Diego, California, United States", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2026.acl-long.721/", pages = "15865--15888", ISBN = "979-8-89176-390-6", }




