Skip to main content
QUICK REVIEW

[Paper 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 Science16 citations
TL;DR

The paper introduces rapt, a privacy-preserving, parameter-efficient prompting method for LLM services that uses local differential privacy with text-to-text privatization and a privatized token reconstruction task to maintain utility.

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.

Motivation & Objective

  • Motivate privacy preservation for LLM service customization using prompt tuning.
  • Propose a lightweight, local-DP framework suitable for cloud-based LLM services.
  • Mitigate utility loss from privatization via a privatized token reconstruction task trained jointly with the downstream task.

Proposed method

  • Adopt a local privacy setting with text-to-text privatization based on d_X-privacy.
  • Augment prompt tuning with a privatized token reconstruction objective to learn task-dependent representations.
  • Prepend a sequence of plain tokens to inputs and reconstruct them from privatised representations.
  • Train end-to-end with a combined loss: L = L_task + L_rec.
  • During inference, apply privatization on the client-side and omit the reconstruction head at deployment.

Experimental results

Research questions

  • RQ1Can local differential privacy via text-to-text privatization protect user data in LLM service customization without prohibitive utility loss?
  • RQ2Does adding a privatized token reconstruction task improve downstream performance under privatized data across different LLMs and tasks?
  • RQ3How does rapt compare with existing privacy-preserving approaches in privacy-utility trade-offs for LLM services?
  • RQ4Is the approach scalable to larger models and various prompting paradigms (prompt tuning vs prefix-tuning)?

Key findings

  • rapt provides privacy protection against embedding inversion and attribute inference attacks under privatized data.
  • Privatized token reconstruction significantly improves downstream task accuracy across SST, QQP, and TP-UK when using BERT, T5, and larger models.
  • The approach maintains competitive utility with existing privacy-preserving methods while using far fewer trainable parameters (prompt-tuning or prefix-tuning variants).
  • Reconstruction helps learned representations align closer to non-private counterparts across layers, aiding task performance.
  • The method is effective across different embedding models used for privatization and with varying plain-token configurations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.