SABER: Semantics-Anchored Prompt Obfuscation Optimizer Toward Practical LLM Privacy and IP Protection

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.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03659
Primary Topic
Privacy-Preserving Technologies in Data
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SABER: Semantics-Anchored Prompt Obfuscation Optimizer Toward Practical LLM Privacy and IP Protection

Diwen Xue, Yaxin Li, Pai Zheng, Haoran Yan et al.
arXiv
Privacy-Preserving Technologies in Data
preprint

SABER: Semantics-Anchored Prompt Obfuscation Optimizer Toward Practical LLM Privacy and IP Protection

Diwen Xue, Yaxin Li, Pai Zheng, Haoran Yan, Jiayu Li, Yan Long
preprint en

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.

arXiv
Chinese University of Hong Kong (HK), Hong Kong University of Science and Technology (HK), The Hong Kong University of Science and Technology (Guangzhou) (CN)
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon