arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.11930cs.LG
收藏

黑盒LLMs的数据污染校准

Data Contamination Calibration for Black-box LLMs

Zhejiang University(浙江大学)

Wentao Ye, Jiaqi Hu, Liyao Li, Haobo Wang, Gang Chen, Junbo Zhao

AI总结:

本文提出一种即插即用的整体方法PAC,通过扩展MIA检测并减轻黑盒及白盒LLMs中的数据污染问题,在4种数据集格式和10个基础模型上检测性能提升至少4.5%。

摘要:

大型语言模型(LLMs)的快速发展与训练数据规模的扩大紧密相关。然而,不受限制的超大规模训练集带来了一系列潜在风险,如数据污染,即基准数据被用于训练。在这项工作中,我们提出了一种名为Polarized Augment Calibration (PAC)的整体方法,并附带一个即将发布的新数据集,用于检测污染数据并减轻污染影响。PAC扩展了流行的MIA(Membership Inference Attack,成员推理攻击)——来自机器学习社区——通过在检测训练数据时形成更全局的目标,以澄清不可见的训练数据。作为一项开创性工作,PAC具有高度的即插即用性,可集成到当前大多数(即使不是全部)白盒和黑盒LLMs中。通过大量实验,PAC在数据污染检测方面优于现有方法至少4.5%,涵盖超过4种数据集格式和10个基础LLMs。此外,我们在真实场景中的应用突显了污染及相关问题的显著存在。

英文摘要:

The rapid advancements of Large Language Models (LLMs) tightly associate with the expansion of the training data size. However, the unchecked ultra-large-scale training sets introduce a series of potential risks like data contamination, i.e. the benchmark data is used for training. In this work, we propose a holistic method named Polarized Augment Calibration (PAC) along with a new to-be-released dataset to detect the contaminated data and diminish the contamination effect. PAC extends the popular MIA (Membership Inference Attack) -- from machine learning community -- by forming a more global target at detecting training data to Clarify invisible training data. As a pioneering work, PAC is very much plug-and-play that can be integrated with most (if not all) current white- and black-box LLMs. By extensive experiments, PAC outperforms existing methods by at least 4.5%, towards data contamination detection on more 4 dataset formats, with more than 10 base LLMs. Besides, our application in real-world scenarios highlights the prominent presence of contamination and related issues.

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

↑