Skip to main content
QUICK REVIEW

[论文解读] Privacy-Preserving Parameter-Efficient Fine-Tuning for Large Language Model Services

Yansong Li, Zhixing Tan|arXiv (Cornell University)|May 10, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 16
一句话总结

tldr: 本文提出 rapt,一种用于 LLM 服务的隐私保护、参数高效的提示方法,使用基于文本到文本的本地差分隐私和私有化令牌重建任务来保持效用。

ABSTRACT

Parameter-Efficient Fine-Tuning (PEFT) provides a practical way for users to customize Large Language Models (LLMs) with their private data in LLM service scenarios. However, the inherently sensitive nature of private data demands robust privacy preservation measures during the customization of LLM services to ensure data security, maintain user trust, and comply with stringent regulatory standards. Based on PEFT, we propose Privacy-Preserving Parameter-Efficient Fine-Tuning (RAPT), a framework that offers privacy protection for LLM services. RAPT adopts a local privacy approach, enabling users to privatize their data locally using a text-to-text local differential privacy mechanism. Since PEFT performs poorly when directly trained on privatized data, we introduce a novel privatized token reconstruction task that is trained jointly with the downstream task, allowing LLMs to learn better task-dependent representations. Despite the simplicity of our framework, experiments show that RAPT achieves competitive performance across tasks while providing privacy guarantees against adversaries.

研究动机与目标

  • 促使通过提示微调实现对 LLM 服务自定义的隐私保护。
  • 提出一套轻量级、适用于云端 LLM 服务的本地 DP 框架。
  • 通过将私有化令牌重建任务与下游任务联合训练,减轻私有化带来的效用损失。

提出的方法

  • 采用基于 d_X-privacy 的文本到文本私有化的本地隐私设置。
  • 通过引入私有化令牌重建目标来增强提示微调,以学习与任务相关的表示。
  • 在输入前置一段普通标记序列,并从私有化表示中重构它们。
  • 端到端训练,损失函数为 L = L_task + L_rec。
  • 推理阶段在客户端应用私有化并在部署时省略重建头。

实验结果

研究问题

  • RQ1通过文本到文本私有化的本地差分隐私是否可以在不造成过高效用损失的情况下保护 LLM 服务自定义中的用户数据?
  • RQ2在私有化数据下,向下游任务增加私有化令牌重建任务是否能在不同的 LLMs 和任务上提升性能?
  • RQ3与现有隐私保护方法相比,rapt 在 LLM 服务的隐私-效用权衡上如何?
  • RQ4该方法是否可扩展到更大模型和多种提示范式(提示微调 vs 前缀微调)?

主要发现

  • rapt 在私有化数据下对嵌入反转和属性推断攻击提供隐私保护。
  • 在使用 BERT、T5 及更大模型时,私有化令牌重建显著提高 SST、QQP、TP-UK 等下游任务的准确性。
  • 该方法在与现有隐私保护方法相比仍保持竞争力的效用,同时使用的可训练参数要少得多(提示微调或前缀微调变体)。
  • 重建有助于学习的表示在各层更接近非私有化对应物,提升任务性能。
  • 该方法在用于私有化的不同嵌入模型和不同的普通标记配置下都有效。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。