Skip to content

PromptGraph: Graph-Guided Prompt Sanitization for Balancing Privacy and Utility in LLM Inference

Jul 2026 · arXiv.org · Vol abs/2607.10709 · 1 citation · 28 references
Computer Science

TL;DR

PromptGraph, a graph-guided prompt-sanitization approach for privacy-preserving LLM inference that represents each prompt as an attributed graph, in which nodes carry span-level privacy scores and edges encode contextual dependencies needed to preserve utility.

Abstract

Large Language Model (LLM) services introduce a fundamental privacy challenge. Sensitive information may be inferred not only from explicit identifiers, such as names or phone numbers, but also from contextual associations among otherwise innocuous spans. Existing sanitizers typically assign privacy or utility signals to individual spans without explicitly modeling pairwise relationships among them. In this paper, we propose PromptGraph, a graph-guided prompt-sanitization approach for privacy-preserving LLM inference. PromptGraph estimates privacy leakage at the span level and utility-relevant contextual dependencies between pairs of spans. It represents each prompt as an attributed graph, in which nodes carry span-level privacy scores and edges encode contextual dependencies needed to preserve utility. The sanitization objective selects a protected span set that maximizes privacy gain while penalizing the loss of contextual dependencies. This formulation explicitly balances privacy and utility when contextual evidence is hidden. Protected spans are sanitized locally, and returned placeholders are restored only after passing local consistency checks. We conduct extensive experiments showing that PromptGraph achieves a more favorable balance between privacy and utility than prompt-privacy baselines.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

Ask Without Telling: Local SLMs Consult Cloud LLMs Without Revealing Task Intent

PriCon, an end-to-end framework that transforms the task itself through recoverable mathematical reformulation rather than hiding it among alternatives, is proposed, which reduces cloud-side task-intent inference Hit@1 to nearly 0, and preserves cloud-assisted utility.

Yan-Meng Wang, Yun-Xuan Li, Shi-Long Fan et al. · 0 citations
#machine learning Review Sep 2026

Differentially Private Semantic Plans for Aggregate Insight Generation

This work introduces \texttt{DP-SPIN}, a trusted-curator framework for aggregate measurement and summarization over semantic concepts fixed independently of the protected target records, and establishes record- and user-level DP guarantees under add/drop and replacement adjacency.

Behrooz Razeghi · 0 citations
#small language model Open access Aug 2026

GS-Chaff: Multi-Agent Prompt-Level Semantic Chaffing for Privacy-Preserving LLM Inference

Generative semantic chaffing (GS-Chaff), a training-free multi-agent framework for privacy-preserving LLM inference over natural-language text queries that hides the user’s true intent among semantically plausible chaff queries, is proposed.

Quan Zhou, Zhi-Cheng Wang, Zhengjun Yue et al. · 1 citation
#artificial intelligence Preprint Sep 2026

LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communication

As Large Language Model (LLM) APIs become increasingly integrated into privacy-sensitive workflows, ensuring inference-time privacy without compromising task utility remains a major challenge. Existing approaches preserve most of the original semantic content to maintain downstream performance, but this also leaves exp...

Yu-Zhu Mao, Liang Zhao · 0 citations
Open access Sep 2026

ContextGuard-RAG: Contextual Integrity-Aware Retrieval-Augmented Generation with Multi-Agent Privacy Enforcement for Sensitive Document Question Answering

Large language model (LLM)-powered retrieval-augmented generation (RAG) systems significantly reduce factual errors in question answering, but they present a novel and under-investigated attack surface: factual information in retrieved text can be exposed in ways that do not align with the disclosure norms of the infor...

Faisal Alhwikem, A. Khan, Fawwad Hassan Jaskani · 0 citations
#artificial intelligence Preprint Sep 2026

EP-Mem: Elastic Privacy Memory for Social Relationship-Aware LLM Agents

This paper proposes EP-Mem, an Elastic Privacy Memory architecture that reframes privacy as user-owned boundary control across social roles, and constructs EP-Bench, to the authors' knowledge the first long-term multi-party benchmark with cross-session correlated events for policy-conditioned relational disclosure.

Feng-Zhou Sun, Yuan Zhang, Xin-Tong Yu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.