arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.04261cs.CL
收藏

大规模下的噪声鲁棒去重

Noise-Robust De-Duplication at Scale

Harvard University(哈佛大学);Harvard College(哈佛学院);University of California Berkeley(加州大学伯克利分校);NBER(美国国家经济研究局)

Emily Silcock, Luca D'Amico-Wong, Jinglin Yang, Melissa Dell

AI总结:

本研究利用历史新闻构建无偏评估数据集,开发并评估了多种去重方法,发现神经方法显著优于传统哈希和 N-gram 重叠,能高效处理大规模含噪语料库并识别更多近似重复项。

摘要:

在大型、含噪文本语料库中识别近似重复项有着大量应用,涵盖训练数据集去重、降低隐私风险、评估测试集泄漏,到识别大型语料库中转载的新闻文章和文献。在这些多样的应用中,绝大多数工作依赖于 N-grams。评估 N-gram 方法性能的尝试十分有限,部分原因是不清楚如何为海量语料库创建无偏评估数据集。本研究利用历史新闻电讯独特的时效性,创建了一个包含 27,210 篇文档、122,876 对正重复对的数据集,用于研究噪声鲁棒去重。新闻的时效性使得全面的人工标注变得可行——尽管语料库整体规模庞大——因为重复项出现在狭窄的日期范围内。随后,本研究开发并评估了一系列去重方法:哈希和 N-gram 重叠(在文献中占主导地位)、对比训练的 bi-encoder,以及结合 bi-encoder 和 cross-encoder 的 re-rank 风格方法。神经方法显著优于哈希和 N-gram 重叠。我们表明 bi-encoder 具有良好的扩展性,能在数小时内于单张 GPU 卡上对 1000 万篇文章的语料库进行去重。我们还将预训练模型应用于 C4 (Colossal Clean Crawled Corpus) 的 RealNews 和专利部分,说明在存在各种类型噪声的情况下,神经方法能够识别出许多被哈希遗漏的近似重复项。我们公开发布 NEWS-COPY 去重数据集、代码库和预训练模型,将促进进一步的研究与应用。

英文摘要:

Identifying near duplicates within large, noisy text corpora has a myriad of applications that range from de-duplicating training datasets, reducing privacy risk, and evaluating test set leakage, to identifying reproduced news articles and literature within large corpora. Across these diverse applications, the overwhelming majority of work relies on N-grams. Limited efforts have been made to evaluate how well N-gram methods perform, in part because it is unclear how one could create an unbiased evaluation dataset for a massive corpus. This study uses the unique timeliness of historical news wires to create a 27,210 document dataset, with 122,876 positive duplicate pairs, for studying noise-robust de-duplication. The time-sensitivity of news makes comprehensive hand labelling feasible - despite the massive overall size of the corpus - as duplicates occur within a narrow date range. The study then develops and evaluates a range of de-duplication methods: hashing and N-gram overlap (which predominate in the literature), a contrastively trained bi-encoder, and a re-rank style approach combining a bi- and cross-encoder. The neural approaches significantly outperform hashing and N-gram overlap. We show that the bi-encoder scales well, de-duplicating a 10 million article corpus on a single GPU card in a matter of hours. We also apply our pre-trained model to the RealNews and patent portions of C4 (Colossal Clean Crawled Corpus), illustrating that a neural approach can identify many near duplicates missed by hashing, in the presence of various types of noise. The public release of our NEWS-COPY de-duplication dataset, codebase, and the pre-trained models will facilitate further research and applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑