SABER: Semantics-Anchored Prompt Obfuscation Optimizer Toward Practical LLM Privacy and IP Protection
Yaxin Li, Pai Zheng, Jiayu Li, Haoran Yan, Diwen Xue, Yan Long
Abstract
Prompt inputs of LLMs contain an increasing amount of sensitive information, ranging from private conversations exposed to third-party routing service providers, to proprietary system prompts and skills that are increasingly commercialized but susceptible to piracy. Recently, prompt obfuscation has emerged as a promising methodology that seeks to find alternative, human-unintelligible texts that can still be interpreted by LLMs to generate near-original responses. However, its adaptability and limitations in real-world settings remain unexplored. We identify three major roadblocks: narrow task diversity in benchmarks, inadequate task-specific leakage controls, and metrics that focus on output lexical similarity while ignoring behavior-level reproduction for both intended users and adversaries. Our analysis further uncovers the lack of semantic awareness and controls as the fundamental cause of these practical limitations. Toward closing these gaps, we propose SABER, a Semantics-Anchored Obfuscation Optimizer that captures token-level task relevance and LLM's hidden-state information in the optimization process to utilize previously overlooked semantic entropy underpinning behavior-level measurements. We further develop the first dedicated prompt obfuscation benchmark featuring diverse real-world tasks and measurements of both textual and functional leakage. Experiments across 160 prompts in four realistic task categories show that SABER preserves 95% of the original prompts' utility on average while improving performance on complex tasks by 60.1% over the strongest existing method. Moreover, SABER reduces exact and approximate prompt extraction rates from 17.53% and 42.68% to 0.03% and 1.02%, respectively. Finally, we discuss remaining challenges, including faster optimization to extend obfuscation from persistent system and skill prompts to real-time user inputs.
Create a lesson
Related papers
VeilLens: Explainable and Granular Analysis and Protection Against Visual Privacy Risks Beyond Visible Appearance
Shared title terminologycs.CRWeihao Jin, Zuchen Li, Ke Sun
CrossDID: Privacy-preserving and Accountable Cross-chain Decentralized Identity Management with Proactive Committees
Shared title terminologycs.CRJie Yin, Fuyi Wang, Yang Xiao et al.
PerturbationCity: Privacy-Preserving Synthetic Video
Shared title terminologycs.CRMebae Ushida, Yoshihiro Matsuyama, Hiroaki Kikuchi
From Binary to Source Code: Measuring LLMs Reverse Engineering Capabilities on Obfuscated Binaries
Shared title terminologycs.CRDavid Schmidt, Patrick Felbauer, Gabriel Gegenhuber et al.
Prompt Injection as a Systemic Vulnerability in LLM-Based Tools: Threat Models, Empirical Analysis, and Mitigation Strategies
Shared title terminologycs.CRMukesh Mani Tripathi, Damodar Dhital, Himal Aryal
PriVELA: Privacy-Preserving Vehicular Location Analytics with Secure Multi-Party Computation
Shared title terminologycs.CRNergiz Yuca, Nikolay Matyunin, Stefan Katzenbeisser