Skip to content

Private prediction methods for large-scale synthetic text generationPrivate prediction for large-scale synthetic text generation

arXiv· arXiv:2407.12108· Kareem Amin, Alex Bie, Weiwei Kong, Alexey Kurakin, Natalia Ponomareva, Umar Syed, Andreas Terzis, Sergei Vassilvitskii·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

The paper proposes a method for generating differentially private synthetic text with large language models based on private prediction, which can scale high-quality synthetic data from fewer than 10 examples to thousands. The method prompts a pretrained LLM with source data but guarantees that next-token prediction satisfies differential privacy, requiring only that the output synthetic data satisfy the privacy guarantee. Improvements come from a better privacy analysis and a private selection mechanism that exploits the equivalence between the softmax layer of LLM token sampling and the exponential mechanism. The authors also introduce a public prediction usage based on sparse vector techniques, which incurs no privacy cost for tokens that can be predicted without sensitive data, and is especially effective on structured data.

Read originalarxiv.org