arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22792cs.CLcs.AI
收藏

修剪泄漏神经元:通过联合嵌入引导修剪缓解微调大语言模型(LLM)中的私有数据泄漏

Prune the Leaky Neurons: Mitigating Private Data Leakage in Fine-Tuned LLMs via Joint-Embedding-Guided Pruning

School of Engineering and Applied Sciences, Washington State University(华盛顿州立大学工程与应用科学学院)

Mohamed Shaaban, Mohamed Elmahallawy

AI总结:

该研究提出JEPA-Prune框架,通过联合嵌入预测架构训练无PII参考模型,识别并修剪微调LLM中1.6%的PII响应神经元,可大幅降低PII泄漏且性能损失远小于隐私神经元编辑。

摘要:

在专有记录上微调大语言模型(LLM)可实现领域适配,但会带来两个挑战:(i)记忆的私有数据(如个人身份信息(PII))的隐私泄漏;(ii)平衡私有数据移除与效用保留。现有防御措施(包括数据净化和差分隐私)通常会降低性能,而隐私神经元编辑缺乏无PII的参考来区分身份特异性神经元与支持有用文本的神经元。我们提出JEPA-Prune,这是一种仅通过在无PII视图上训练的模型引导的事后神经元修剪框架。JEPA-Prune与微调后的私有模型并行,使用联合嵌入预测架构(JEPA)在相同记录的代理视图和掩码视图上训练公共模型,在不包含标识符的情况下捕获领域知识。跨模型表示探针量化泄漏记录的私有表示与该无PII参考之间的偏差。集成梯度和尺度不变特异性分数随后识别出PII响应神经元,这些神经元无需重新训练即可被修剪。实验表明,仅修剪1.6%的神经元可将PII推理准确率降低多达7.4倍,PII提取召回率降低多达13.9倍,同时对于大多数LLM,未见过文本的困惑度保持在未修剪模型的16%以内;相比之下,隐私神经元编辑会使困惑度至少增加26倍。

英文摘要:

Fine-tuning large language models (LLMs) on proprietary records enables domain adaptation but introduces two challenges: (i) privacy leakage of memorized private data, such as personally identifiable information (PII), and (ii) balancing private data removal with utility preservation. Existing defenses, including data sanitization and differential privacy, often degrade performance, while privacy-neuron editing lacks a PII-free reference to distinguish identity-specific neurons from those supporting useful text. We propose JEPA-Prune, a post-hoc neuron pruning framework guided by a model trained exclusively on PII-free views. Alongside the fine-tuned private model, JEPA-Prune, trains a public model on surrogate and masked views of the same records using a joint-embedding predictive architecture (JEPA), capturing domain knowledge without identifiers. A cross-model representation probe quantifies deviations between private representations of leaked records and this PII-free reference. Integrated gradients and a scale-invariant specificity score then identify PII-responsive neurons, which are pruned without retraining. Experiments show that pruning just 1.6% of neurons reduces PII inference accuracy by up to 7.4x and PII extraction recall by up to 13.9x, while keeping unseen-text perplexity within 16% of that of the unpruned model for most LLMs. In contrast, privacy-neuron editing increases perplexity by at least 26x.

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

↑