arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.12914cs.CRcs.AIcs.LG
收藏

CTIGuardian:一种缓解微调大语言模型隐私泄露的少样本框架

CTIGuardian: A Few-Shot Framework for Mitigating Privacy Leakage in Fine-Tuned LLMs

Shashie Dilhara Batan Arachchige, Benjamin Zi Hao Zhao, Hassan Jameel Asghar, Dinusha Vatsalan, Dali Kaafar

AI总结:

CTIGuardian通过少样本监督整合隐私分类器和红员,提升微调大语言模型的隐私保护与效用平衡。

摘要:

大型语言模型(LLMs)通常通过专有数据集进行微调,以适应特定任务和领域,如网络威胁情报(CTI)。微调主要是通过可能包含敏感信息的专有数据集进行的。所有者希望其微调模型不会无意中向潜在对抗性终端用户泄露此信息。以CTI为用例,我们展示了数据提取攻击可以恢复从微调模型中CTI报告中的敏感信息,突显了缓解的必要性。重新训练完整模型以消除这种泄露是计算上昂贵且不切实际的。我们提出了一种替代方法,我们称之为隐私对齐,受LLMs中的安全对齐的启发。就像安全对齐通过少量示例教会模型遵守安全约束一样,我们通过少量示例监督来实施隐私对齐,整合一个隐私分类器和一个隐私红员,均由同一底层LLM处理。我们评估了我们的系统,称为CTIGuardian,使用GPT-4o mini和Mistral-7B Instruct模型,与Presidio(一个命名实体识别(NER)基线)进行基准测试。结果表明,CTIGuardian比基于NER的模型提供了更好的隐私-效用权衡。虽然我们展示了其在CTI用例中的有效性,但该框架足够通用,可应用于其他敏感领域。

英文摘要:

Large Language Models (LLMs) are often fine-tuned to adapt their general-purpose knowledge to specific tasks and domains such as cyber threat intelligence (CTI). Fine-tuning is mostly done through proprietary datasets that may contain sensitive information. Owners expect their fine-tuned model to not inadvertently leak this information to potentially adversarial end users. Using CTI as a use case, we demonstrate that data-extraction attacks can recover sensitive information from fine-tuned models on CTI reports, underscoring the need for mitigation. Retraining the full model to eliminate this leakage is computationally expensive and impractical. We propose an alternative approach, which we call privacy alignment, inspired by safety alignment in LLMs. Just like safety alignment teaches the model to abide by safety constraints through a few examples, we enforce privacy alignment through few-shot supervision, integrating a privacy classifier and a privacy redactor, both handled by the same underlying LLM. We evaluate our system, called CTIGuardian, using GPT-4o mini and Mistral-7B Instruct models, benchmarking against Presidio, a named entity recognition (NER) baseline. Results show that CTIGuardian provides a better privacy-utility trade-off than NER based models. While we demonstrate its effectiveness on a CTI use case, the framework is generic enough to be applicable to other sensitive domains.

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

↑