arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2509.13625cs.LGcs.CLcs.CR
收藏

面向大语言模型的隐私保护上下文学习框架

Privacy Preserving In-Context-Learning Framework for Large Language Models

SRI

Bishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski, Anirban Roy, Adam D. Cobb, Rohit Chadha, Susmit Jha

AI总结:

针对大语言模型上下文学习场景的提示敏感信息泄露问题,提出基于差分隐私的无需微调的私有预测框架,结合公私推理混合操作,在ICL任务上性能超越现有最优方法,可兼顾隐私保障与文本生成效用。

摘要:

大语言模型(LLMs)已深刻变革了自然语言理解与生成任务,但因敏感信息存在潜在泄露风险引发了隐私担忧。已有研究强调了信息泄露风险,即攻击者可提取嵌入在提示中的敏感信息。本研究提出一种新型私有预测框架,用于生成具备强隐私保障的高质量合成文本。该方法利用差分隐私(DP)框架,无需对底层模型进行任何微调即可保证信息泄露的最坏情况理论边界。所提方法对私有记录执行推理,并聚合得到的逐token输出分布,能够在维持隐私保障的同时生成长度更长、逻辑连贯的合成文本。此外,我们提出一种简单的混合操作,将私有推理与公开推理相结合以进一步提升效用。实证评估表明,我们的方法在上下文学习(ICL)任务上性能优于此前的最优方法,为兼顾高实用性的隐私保护文本生成提供了极具前景的方向。本研究代码可在https://github.com/bhusalb/privacy-preserving-icl获取。

英文摘要:

Large language models (LLMs) have significantly transformed natural language understanding and generation, but they raise privacy concerns due to potential exposure of sensitive information. Studies have highlighted the risk of information leakage, where adversaries can extract sensitive information embedded in the prompts. In this work, we introduce a novel private prediction framework for generating high-quality synthetic text with strong privacy guarantees. Our approach leverages the Differential Privacy (DP) framework to ensure worst-case theoretical bounds on information leakage without requiring any fine-tuning of the underlying models. The proposed method performs inference on private records and aggregates the resulting per-token output distributions. This enables the generation of longer and coherent synthetic text while maintaining privacy guarantees. Additionally, we propose a simple blending operation that combines private and public inference to further enhance utility. Empirical evaluations demonstrate that our approach outperforms previous state-of-the-art methods on in-context-learning (ICL) tasks, making it a promising direction for privacy-preserving text generation while maintaining high utility. Our code is available at https://github.com/bhusalb/privacy-preserving-icl.

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

↑