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

你见过它们吗?通过审问大型语言模型进行实体级成员推断

Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models

Zhejiang University(浙江大学)

Yiran Zhu, Ziqi Yang

AI总结:

提出实体级成员推断任务,通过语义特征分析从LLM生成文本中判断实体信息是否用于训练,形式化约束并设计五种审问策略,在人物实体上AUC达0.97。

摘要:

大型语言模型(LLMs)引发了对隐私泄露和版权合规的日益关注。成员推断是评估此类风险的关键工具,但现有研究主要关注特定样本或基于样本的数据单元是否用于训练。我们认为LLMs表现出类似人类记忆的行为:LLM可能不会逐字记忆特定样本,但它可以从零散的提及中积累并揭示关于现实世界实体的知识。这种类比促使我们研究LLM是否可以像人类受访者一样被审问,以揭示其与实体相关信息的接触。受此问题启发,我们提出了实体级成员推断,即确定与目标实体相关的信息是否用于LLM训练。我们在实用的仅标签黑盒设置下研究此任务,其中仅可观察生成的文本。我们在线索、输入和模型约束下形式化该任务,建立其可行性的必要和充分条件,并基于此形式化实例化了五种审问策略。这些策略使用有限的实体线索构建提示,引发与实体相关的响应,并从生成文本的语义特征中推断成员身份。我们构建了实体级数据集,并改编了最先进的样本级仅标签方法作为基线。在人物实体上的实验表明,我们的方法AUC高达0.97,在平衡准确率上比最佳改编基线提升了6.0%–17.5%。

英文摘要:

Large Language Models (LLMs) raise growing concerns about privacy leakage and copyright compliance. Membership inference is a key tool for assessing such risks, but existing studies mainly focus on whether specific samples or sample-based data units are used for training. We argue that LLMs exhibit a human-memory-like behavior: an LLM may not memorize a specific sample verbatim, yet it can accumulate and reveal knowledge about a real-world entity from scattered mentions. This analogy motivates us to examine whether an LLM can be interrogated like a human interviewee to reveal its exposure to entity-related information. Motivated by this question, we propose entity-level membership inference, which determines whether information related to a target entity is used in LLM training. We study this task in the practical label-only black-box setting, where only generated texts are observable. We formalize the task under clue, input, and model constraints, establish the necessary and sufficient conditions for its feasibility, and instantiate five interrogation strategies based on this formalization. The strategies use limited entity clues to construct prompts, elicit entity-related responses, and infer membership from semantic features among the generated texts. We construct entity-level datasets and adapt state-of-the-art sample-level label-only methods to the entity-level setting as baselines. Experiments on person entities show that our methods achieve AUC up to 0.97 and bring gains of 6.0%--17.5% in Balanced Accuracy over the best adapted baseline.

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

↑