成员推理攻击对大语言模型有效吗?
Do Membership Inference Attacks Work on Large Language Models?
AI总结:
该研究针对大语言模型预训练数据开展大规模成员推理攻击评估,发现多数场景下攻击效果接近随机猜测,明确了攻击失效与特定场景下看似成功的原因,并发布含现有攻击方法的统一基准包。
摘要:
成员推理攻击(MIAs)旨在预测特定数据点是否属于目标模型训练数据的成员。尽管针对传统机器学习模型的相关研究已十分广泛,但针对大语言模型(LLMs)预训练数据的成员推理攻击研究仍较为有限。我们对一系列在Pile数据集上训练的语言模型(LMs)开展了大规模的成员推理攻击评估,模型参数规模覆盖1.6亿到120亿。我们发现,在不同LLM规模和领域的大多数设置下,成员推理攻击的表现仅略优于随机猜测。进一步分析表明,这种不佳表现可归因于两点:(1)大规模数据集与较少训练迭代次数的结合;(2)成员与非成员之间本身存在模糊的边界。我们找出了LLMs易受成员推理攻击的特定场景,并证明这类场景下攻击看似成功的原因在于分布偏移,例如成员与非成员看似来自相同领域,但实际取自不同的时间范围。我们将代码和数据作为统一基准包发布,其中包含所有现有的成员推理攻击方法,为后续研究提供支持。
英文摘要:
Membership inference attacks (MIAs) attempt to predict whether a particular datapoint is a member of a target model's training data. Despite extensive research on traditional machine learning models, there has been limited work studying MIA on the pre-training data of large language models (LLMs). We perform a large-scale evaluation of MIAs over a suite of language models (LMs) trained on the Pile, ranging from 160M to 12B parameters. We find that MIAs barely outperform random guessing for most settings across varying LLM sizes and domains. Our further analyses reveal that this poor performance can be attributed to (1) the combination of a large dataset and few training iterations, and (2) an inherently fuzzy boundary between members and non-members. We identify specific settings where LLMs have been shown to be vulnerable to membership inference and show that the apparent success in such settings can be attributed to a distribution shift, such as when members and non-members are drawn from the seemingly identical domain but with different temporal ranges. We release our code and data as a unified benchmark package that includes all existing MIAs, supporting future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。