Privacy Preserving API Fine-tuning for LLMs
Lists
Only you see this
Abstract
As deep learning models become larger and more expensive, many practitioners turn to fine-tuning APIs. These web services allow fine-tuning a model between two parties: the client that provides the data, and the server that hosts the model. While convenient, the fine-tuning APIs raise a new concern: the data of the client is at risk of privacy breach during the training procedure. This challenge presents an important practical case of vertical federated learning, where the two parties perform parameter-efficient fine-tuning (PEFT) of a large pre-trained model. In this study, we systematically search for a way to fine-tune models over an API *while keeping the labels private*. We analyze the privacy of popular algorithms for parameter-efficient fine-tuning when training over an API. Using this analysis, we propose P$^3$EFT, a two-party split learning algorithm that takes advantage of existing PEFT properties to maintain privacy at a lower performance overhead. To validate our algorithm, we fine-tune DeBERTa-v2-XXLarge and Flan-T5 using LoRA adapters on a range of common NLP tasks. We find that P$^3$EFT is competitive with existing privacy-preserving methods in a two-party setup while having higher accuracy.
BibTeX
@misc{zmushko2024privacy,
author = {Philip Zmushko and Marat Mansurov and Ruslan Svirschevski and Denis Kuznedelev and Max Ryabinin and Aleksandr Beznosikov},
title = {{Privacy Preserving API Fine-tuning for LLMs}},
year = {2024},
url = {https://openreview.net/forum?id=jMJ9IRWmH9},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Loading related content...