LUMIA:利用 LLM 内部状态进行单模态和多模态成员推理攻击的线性探测
LUMIA: Linear probing for Unimodal and MultiModal Membership Inference Attacks leveraging internal LLM states
AI总结:
本文提出 LUMIA,通过逐层线性探针分析 LLM 内部激活以检测单模态与多模态成员推理攻击,并在多种架构和数据集上验证其 AUC 显著提升。
摘要:
大语言模型(LLM)正越来越多地用于各种应用,但围绕成员推理的担忧也同步增加。以往工作聚焦于黑盒到灰盒模型,因此忽视了 LLM 内部信息可能带来的益处。为解决这一问题,我们提出使用线性探针(LP)作为一种通过检查 LLM 内部激活来检测成员推理攻击(MIA)的方法。我们的方法名为 LUMIA,逐层应用 LP,以获得关于模型内部工作机制的细粒度数据。我们在多种模型架构、规模和数据集上测试了该方法,包括单模态和多模态任务。在单模态 MIA 中,LUMIA 的曲线下面积(AUC)较以往技术平均提升 15.71%。值得注意的是,LUMIA 在 65.33% 的情况下达到 AUC>60%——相较最先进水平增加 46.80%。此外,我们的方法揭示了关键洞见,例如 MIA 最易被检测到的模型层。在多模态模型中,LP 表明视觉输入可显著促进 MIA 检测——在 85.90% 的实验中达到 AUC>60%。
英文摘要:
Large Language Models (LLMs) are increasingly used in a variety of applications, but concerns around membership inference have grown in parallel. Previous efforts focus on black-to-grey-box models, thus neglecting the potential benefit from internal LLM information. To address this, we propose the use of Linear Probes (LPs) as a method to detect Membership Inference Attacks (MIAs) by examining internal activations of LLMs. Our approach, dubbed LUMIA, applies LPs layer-by-layer to get fine-grained data on the model inner workings. We test this method across several model architectures, sizes and datasets, including unimodal and multimodal tasks. In unimodal MIA, LUMIA achieves an average gain of 15.71 % in Area Under the Curve (AUC) over previous techniques. Remarkably, LUMIA reaches AUC>60% in 65.33% of cases -- an increment of 46.80% against the state of the art. Furthermore, our approach reveals key insights, such as the model layers where MIAs are most detectable. In multimodal models, LPs indicate that visual inputs can significantly contribute to detect MIAs -- AUC>60% is reached in 85.90% of experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。