盗火者亦是守护者:在提示词的可用性与隐私之间取得平衡
The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Prompts
AI总结:
针对在线大语言模型提示词易泄露隐私、现有方案成本高可用性差的问题,本文提出端到端框架ProSan,可动态调整保护策略,在多任务中有效去隐私且性能损失小,适配不同设备。
摘要:
在线聊天机器人的快速普及是人工智能领域的一项重大进步。然而,这种便利性也带来了严重的隐私问题,因为提示词可能在无意间包含会暴露给大语言模型(LLM)的敏感信息。此前基于本地部署、嵌入扰动和同态加密的研究受限于计算成本高、任务可用性下降以及系统改动过大等问题,并不适用于基于在线提示词的大语言模型应用。\n 为解决这些问题,本文提出了Prompt Privacy Sanitizer(即ProSan,提示词隐私清理器),这是一个端到端的提示词隐私保护框架,能够生成去除上下文隐私信息的匿名化提示词,同时保持任务可用性和人类可读性,还可以无缝集成到在线大语言模型服务流程中。为实现高可用性和动态匿名性,ProSan会根据词语的重要性和提示词的隐私泄露风险,灵活调整保护目标和强度。此外,ProSan能够适应不同的计算资源条件,即便在计算能力有限的移动设备上也能确保隐私保护效果。我们的实验表明,ProSan可在问答、文本摘要和代码生成等多种任务中有效去除隐私信息,且任务性能下降极小。
英文摘要:
The rapid adoption of online chatbots represents a significant advancement in artificial intelligence. However, this convenience brings considerable privacy concerns, as prompts can inadvertently contain sensitive information exposed to large language models (LLMs). Limited by high computational costs, reduced task usability, and excessive system modifications, previous works based on local deployment, embedding perturbation, and homomorphic encryption are inapplicable to online prompt-based LLM applications. To address these issues, this paper introduces Prompt Privacy Sanitizer (i.e., ProSan), an end-to-end prompt privacy protection framework that can produce anonymized prompts with contextual privacy removed while maintaining task usability and human readability. It can also be seamlessly integrated into the online LLM service pipeline. To achieve high usability and dynamic anonymity, ProSan flexibly adjusts its protection targets and strength based on the importance of the words and the privacy leakage risk of the prompts. Additionally, ProSan is capable of adapting to diverse computational resource conditions, ensuring privacy protection even for mobile devices with limited computing power. Our experiments demonstrate that ProSan effectively removes private information across various tasks, including question answering, text summarization, and code generation, with minimal reduction in task performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。