arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.03919cs.LGcs.CL
收藏

Data Portraits:记录基础模型训练数据

Data Portraits: Recording Foundation Model Training Data

Johns Hopkins University(约翰斯·霍普金斯大学)

Marc Marone, Benjamin Van Durme

AI总结:

针对基础模型训练数据不透明、难以判断样本是否参与训练的问题,研究提出Data Portraits方案,基于数据速写实现高效查询,可检测测试集泄露与剽窃,开销仅3%,并呼吁行业采用以提升数据透明度。

摘要:

基础模型在规模日益庞大且不透明的数据集上训练。尽管这些模型如今是AI系统构建的核心,但人们很难回答一个直白的问题:模型在训练期间是否已经见过某个给定样本?因此我们提议广泛采用Data Portraits(数据画像):一类记录训练数据、可供下游检查的制品。我们首先概述了这类制品的特性,并讨论了如何利用现有方案提升透明度。随后我们提出并实现了一种基于数据速写(data sketching)的方案,重点保障查询的速度与空间效率。借助我们的工具,我们记录了一个流行的语言建模语料库The Pile,以及一个近期发布的代码建模数据集The Stack。我们证明,该方案能够解答测试集泄露、模型剽窃相关的问题。我们的工具轻量且快速,额外开销仅为数据集大小的3%。我们在https://dataportraits.org/发布了工具的在线交互界面,并呼吁数据集与模型创作者发布Data Portraits,作为对当前文档实践的补充。

英文摘要:

Foundation models are trained on increasingly immense and opaque datasets. Even while these models are now key in AI system building, it can be difficult to answer the straightforward question: has the model already encountered a given example during training? We therefore propose a widespread adoption of Data Portraits: artifacts that record training data and allow for downstream inspection. First we outline the properties of such an artifact and discuss how existing solutions can be used to increase transparency. We then propose and implement a solution based on data sketching, stressing fast and space efficient querying. Using our tools, we document a popular language modeling corpus (The Pile) and a recently released code modeling dataset (The Stack). We show that our solution enables answering questions about test set leakage and model plagiarism. Our tool is lightweight and fast, costing only 3% of the dataset size in overhead. We release a live interface of our tools at https://dataportraits.org/ and call on dataset and model creators to release Data Portraits as a complement to current documentation practices.

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

↑