paper-with-me

Papers

Differentially Private In-context Learning via Sampling Few-shot Mixed with Zero-shot Outputs

2025-01-31 · James Flemings, Haosheng Gan, Hongyi Li, Meisam Razaviyayn, Murali Annavaram

In-context learning (ICL) has shown promising improvement in downstream task adaptation of LLMs by augmenting prompts with relevant input-output examples (demonstrations). However, the ICL demonstrations can contain privacy-sensitive information, which can be leaked and/or regurgitated by the LLM output. Differential Privacy (DP), a widely adopted privacy safeguard, has emerged to mitigate this privacy leakage, with recent work demonstrating strong privacy-utility tradeoffs in classification tasks for ICL. However, generation tasks for ICL are challenging due to the high-dimensional output space of open-ended generation. To this end, we propose $\texttt{dps-mozo}$, Differentially Private Sampling by Mixing One-shot with Zero-shot Outputs, a decoding framework that generates DP text by sampling from the product of multiple one-shot outputs mixed with a zero-shot output. This mixing effectively reduces the amount of information that can be leaked by each demonstration. By utilizing the inherent randomness in sampling from the mixed distributions, we can achieve DP without adding noise, thereby improving the privacy-utility tradeoff. Our experimental evaluations show $\texttt{dps-mozo}$ can achieve a strong privacy guarantee, $\epsilon=2$, with minimal utility degradation compared to non-private few-shot learning, $\textbf{0.3}$% ROUGE-L F1 score decrease on the SAMSum dataset with Gemma 2 2B.

📄 PDF Abstract BibTeX arXiv:2501.19287

Code (0)

등록된 구현이 없습니다.

Tasks

Few-Shot LearningIn-Context Learning

Similar Papers 제목 키워드 기반

Differentially Private Multimodal In-Context Learning

2026-03-05 · Ivoline C. Ngong, Zarreen Reza, Joseph P. Near arxiv

Vision-language models are increasingly applied to sensitive domains such as medical imaging and personal photographs, yet existing differentially private methods for in-context learning are limited to few-shot, text-onl…

Mixed Differential Privacy in Computer Vision

2022-03-22 · CVPR 2022 1 · Aditya Golatkar, Alessandro Achille, Yu-Xiang Wang, Aaron Roth 외

We introduce AdaMix, an adaptive differentially private algorithm for training deep neural network classifiers using both private and public image data. While pre-training language models on large public datasets has ena…

Zero-Shot Learning

Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation

2023-09-21 · Xinyu Tang, Richard Shin, Huseyin A. Inan, Andre Manoel 외

We study the problem of in-context learning (ICL) with large language models (LLMs) on private datasets. This scenario poses privacy risks, as LLMs may leak or regurgitate the private examples demonstrated in the prompt.…

In-Context LearningPrivacy Preserving

Differentially Private Nonparametric Confidence Intervals Under Minimal Distributional Assumptions

2025-11-03 · Tomer Shoham, Moshe Shenfeld, Noa Velner-Harris, Katrina Ligett arxiv

We consider the problem of constructing differentially private nonparametric confidence intervals (CIs) for an arbitrary quantity using resampling. A growing body of work has adapted resampling ideas to the private setti…

Adaptively Private Next-Token Prediction of Large Language Models

2024-10-02 · James Flemings, Meisam Razaviyayn, Murali Annavaram

As Large Language Models (LLMs) proliferate, developing privacy safeguards for these models is crucial. One popular safeguard involves training LLMs in a differentially private manner. However, such solutions are shown t…