cs.CRMar 18, 2026

Differential Privacy in Generative AI Agents: Analysis and Optimal Tradeoffs

Authors: Ya-Ting Yang, Quanyan Zhu

Organizations: Department of Electrical and Computer Engineering, New York University, NY, 11201, USA

Abstract

Large language models (LLMs) and AI agents are increasingly integrated into enterprise systems to access internal databases and generate context-aware responses. While such integration improves productivity and decision support, the model outputs may inadvertently reveal sensitive information. Although many prior efforts focus on protecting the privacy of user prompts, relatively few studies consider privacy risks from the enterprise data perspective. Hence, this paper develops a probabilistic framework for analyzing privacy leakage in AI agents based on differential privacy. We model response generation as a stochastic mechanism that maps prompts and datasets to distributions over token sequences. Within this framework, we introduce token-level and message-level differential privacy and derive privacy bounds that relate privacy leakage to generation parameters such as temperature and message length. We further formulate a privacy-utility design problem that characterizes optimal temperature selection.

Figures & tables

Explore similar work

CardsList
  1. InferPriv: Evaluating Inferential Privacy Leakage in LLM Assistants

    Oct 25, 2026Pengrun Huang, Yiwei Fu, Luoxi Meng +1Privacy Leakage in Language ModelsPrivacy Protection for LLM Agents

  2. Loose Lips: Understanding Privacy Leakage in Agentic Dialogue

    Oct 7, 2026Soumya Sharma, Ayana Hussain, Heber Hwang Arcolezi +4Privacy Leakage in Language ModelsLLM Agent Security

  3. Agents That Know Too Much: A Data-Centric Survey of Privacy in LLM Agents

    Jun 25, 2026Nada Lahjouji, Ashwin Gerard ColacoPrivacy Leakage in Language ModelsInformation Flow Control