Privacy-Preserving Instructions for Aligning Large Language Models

Da Yu, P. Kairouz, Sewoong Oh, Zheng Xu
2/12/2026

No official code found. Best implementation: google-research/google-research (38,246 stars, Apache-2.0, last commit 2026-04-30).

Abstract

Service providers of large language model (LLM) applications collect user instructions in the wild and use them in further aligning LLMs with users' intentions. These instructions, which potentially contain sensitive information, are annotated by human workers in the process. This poses a new privacy risk not addressed by the typical private optimization. To this end, we propose using synthetic instructions to replace real instructions in data annotation and model fine-tuning. Formal differential privacy is guaranteed by generating those synthetic instructions using privately fine-tuned generators. Crucial in achieving the desired utility is our novel filtering algorithm that matches the distribution of the synthetic instructions to that of the real ones. In both supervised fine-tuning and reinforcement learning from human feedback, our extensive experiments demonstrate the high utility of the final set of synthetic instructions by showing comparable results to real instructions. In supervised fine-tuning, models trained with private synthetic instructions outperform leading open-source models such as Vicuna.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

38,2468,446C, ROct 4, 20185 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{yu2026privacypreserving,
  title  = {Privacy-Preserving Instructions for Aligning Large Language Models},
  author = {Da Yu and P. Kairouz and Sewoong Oh and Zheng Xu},
  year   = {2026},
  eprint = {2402.13659},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.13659},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.13659.svg)](https://codeofpaper.com/paper/2402.13659)

Discussion