LoRA作为 oracle
LoRA as Oracle
AI总结:
本文提出基于LoRA的轻量级oracle框架,通过分析低秩适应模块的优化动态和表示变化,实现对后门和成员推断的可靠检测,无需访问原始训练数据或修改部署模型。
摘要:
背门和泄露隐私的深度神经网络对在安全关键设置中部署机器学习系统构成了严重威胁。现有的防御措施用于检测后门和成员推断通常需要访问干净的参考模型、大量的重新训练或对攻击机制的强烈假设。在本工作中,我们介绍了一种新颖的基于LoRA的oracle框架,利用低秩适应模块作为轻量级、模型无关的探测器,用于后门检测和成员推断。我们的方法将任务特定的LoRA适配器附加到冻结的主干上,并分析其在暴露于可疑样本时的优化动态和表示变化。我们显示,被污染和成员样本会诱导出具有显著差异的低秩更新,这些更新与干净或非成员数据生成的更新不同。这些信号可以使用简单的排序和能量统计来测量,从而在无需访问原始训练数据或修改部署模型的情况下实现可靠的推断。
英文摘要:
Practitioners increasingly deploy neural networks they did not train, and must audit them after the fact for hidden backdoors, without the training pipeline, the poisoned data, or knowledge of any trigger. We introduce a low-rank auditing lens built on a single observation: what a model has internalized and how it behaves are distinct axes that can diverge. Fitting a small low-rank adapter toward a hypothesis and reading the geometry of the resulting update, its energy relative to, and its alignment with, the frozen weights, measures internalization directly, independently of the model's output behavior. The lens earns its value where the two axes diverge: a backdoor is malicious internalization, a learned trigger-to-target shortcut, that behavioral auditing can miss. Reading it, we identify the backdoor's target class label-free and without any triggered data when the backdoor leaves a legible internalization signature, then erase the identified shortcut within the same low-rank subspace, uniquely coupling detection confidence to the size of the repair. Across four datasets and four architectures, our lens is the most consistent target identifier among defenses in its threat model; its rank-r repair removes backdoors while preserving clean accuracy where full-model baselines collapse it, at orders-of-magnitude lower parameter and memory cost; and it is the only method that both erases the backdoor and leaves a benign model intact, because it can decline to act when uncertain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。