GS-Chaff: Multi-Agent Prompt-Level Semantic Chaffing for Privacy-Preserving LLM Inference
Cloud-based large language model (LLM) services are increasingly used to process natural-language queries that may contain private or sensitive information. Conventional privacy-preserving approaches, such as cryptographic protection and text sanitization, often introduce substantial computational overhead or disrupt the semantic integrity of the original query, resulting in a trade-off between privacy protection and task utility. To address this limitation, we propose generative semantic chaffing (GS-Chaff), a training-free multi-agent framework for privacy-preserving LLM inference over natural-language text queries. Rather than explicitly masking sensitive content, GS-Chaff hides the user’s true intent among semantically plausible chaff queries. The framework is implemented through two small language model (SLM)-based agents: a privacy policy agent that adaptively determines the required semantic abstraction level and chaffing factor for each text query, and a generative semantic chaffing agent that produces semantically aligned dummy queries. After cloud-side inference, the response corresponding to the protected real query is recovered locally using a stateless index, without modifying the cloud-based LLM. Experimental results on text-based benchmarks demonstrate that GS-Chaff reduces the attacker’s real-query identification rate to 22.5%, close to random guessing, while maintaining inference utility on the evaluated benchmarks. In addition, GS-Chaff reduces local preprocessing time by 1.85× compared with a fixed chaffing configuration using β=5.
Authors
- Zhe Yue (ORCID: https://orcid.org/0000-0002-1626-5228)
- Zhicheng Wang (ORCID: https://orcid.org/0000-0001-5157-3691)
- Kuien Liu (ORCID: https://orcid.org/0000-0003-3674-7555)
- Quan Zhou
- Libin Cai
- Caiyan Qin
Institutions
- University of Electronic Science and Technology of China (CN)
- Chinese Academy of Sciences (CN)
- Harbin Institute of Technology (CN)
- Institute of Software (CN)
- Sichuan Normal University (CN)
Publication Details
- Journal
- Sensors
- Published
- 2026-08-26
- DOI
- https://doi.org/10.3390/s26175385
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Natural Science Foundation of Guangdong Province