Improved Algorithms for Differentially Private Language Model Alignment

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Keyu, Tang, Hao, Liu, Qinglin, Xu, Yizhao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908362948476928
author Chen, Keyu
Tang, Hao
Liu, Qinglin
Xu, Yizhao
author_facet Chen, Keyu
Tang, Hao
Liu, Qinglin
Xu, Yizhao
contents Language model alignment is crucial for ensuring that large language models (LLMs) align with human preferences, yet it often involves sensitive user data, raising significant privacy concerns. While prior work has integrated differential privacy (DP) with alignment techniques, their performance remains limited. In this paper, we propose novel algorithms for privacy-preserving alignment and rigorously analyze their effectiveness across varying privacy budgets and models. Our framework can be deployed on two celebrated alignment techniques, namely direct preference optimization (DPO) and reinforcement learning from human feedback (RLHF). Through systematic experiments on large-scale language models, we demonstrate that our approach achieves state-of-the-art performance. Notably, one of our algorithms, DP-AdamW, combined with DPO, surpasses existing methods, improving alignment quality by up to 15% under moderate privacy budgets (ε=2-5). We further investigate the interplay between privacy guarantees, alignment efficacy, and computational demands, providing practical guidelines for optimizing these trade-offs.
format Preprint
id arxiv_https___arxiv_org_abs_2505_08849
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improved Algorithms for Differentially Private Language Model Alignment
Chen, Keyu
Tang, Hao
Liu, Qinglin
Xu, Yizhao
Cryptography and Security
Artificial Intelligence
Machine Learning
Language model alignment is crucial for ensuring that large language models (LLMs) align with human preferences, yet it often involves sensitive user data, raising significant privacy concerns. While prior work has integrated differential privacy (DP) with alignment techniques, their performance remains limited. In this paper, we propose novel algorithms for privacy-preserving alignment and rigorously analyze their effectiveness across varying privacy budgets and models. Our framework can be deployed on two celebrated alignment techniques, namely direct preference optimization (DPO) and reinforcement learning from human feedback (RLHF). Through systematic experiments on large-scale language models, we demonstrate that our approach achieves state-of-the-art performance. Notably, one of our algorithms, DP-AdamW, combined with DPO, surpasses existing methods, improving alignment quality by up to 15% under moderate privacy budgets (ε=2-5). We further investigate the interplay between privacy guarantees, alignment efficacy, and computational demands, providing practical guidelines for optimizing these trade-offs.
title Improved Algorithms for Differentially Private Language Model Alignment
topic Cryptography and Security
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2505.08849