CRAIMay 7, 2024

Locally Differentially Private In-Context Learning

arXiv:2405.04032v284 citationsh-index: 2LREC
Originality Incremental advance
AI Analysis

This addresses privacy concerns for users deploying LLMs with private databases, though it is incremental as it adapts existing differential privacy techniques to a specific LLM context.

The paper tackles the problem of privacy risks in large language models (LLMs) during in-context learning, such as memorization and attacks, by proposing a locally differentially private framework (LDP-ICL) for settings with sensitive labels, and demonstrates its utility-privacy trade-off through experiments.

Large pretrained language models (LLMs) have shown surprising In-Context Learning (ICL) ability. An important application in deploying large language models is to augment LLMs with a private database for some specific task. The main problem with this promising commercial use is that LLMs have been shown to memorize their training data and their prompt data are vulnerable to membership inference attacks (MIA) and prompt leaking attacks. In order to deal with this problem, we treat LLMs as untrusted in privacy and propose a locally differentially private framework of in-context learning(LDP-ICL) in the settings where labels are sensitive. Considering the mechanisms of in-context learning in Transformers by gradient descent, we provide an analysis of the trade-off between privacy and utility in such LDP-ICL for classification. Moreover, we apply LDP-ICL to the discrete distribution estimation problem. In the end, we perform several experiments to demonstrate our analysis results.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes