potentialpaper

Traces of a Prompt: Uncovering and Mitigating Privacy Risks of Exposed States in TEE-Partitioned LLM Inference

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:54 UTC · 95d5cbfc99fe ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "RhXUBi7XZL"
- }
- ],
- "title": "Traces of a Prompt: Uncovering and Mitigating Privacy Risks of Exposed States in TEE-Partitioned LLM Inference",
- "authors": [],
- "abstract": "Cloud-based LLM services must protect sensitive prompts while maintaining efficient inference. To balance these goals, partitioned inference keeps selected computations inside a trusted execution environment (TEE) while offloading others to an untrusted GPU. However, the intermediate states exposed by this partitioning may reveal private inputs. We introduce \\textbf{Prompt-State Matching Attack}, which constructs direct, invariant, and joint-state fingerprints for vocabulary-based prompt reconstruction. Given observations of selected states and access to chosen-input probing, the attack achieves near-perfect token recovery through exhaustive vocabulary search in controlled FP32 experiments across four LLMs. We experimentally evaluate token-aligned transformations and analyze how relationships among exposed states support reconstruction. \nTo mitigate this leakage, we propose \\textbf{StateVeil}, which protects outsourced linear computation using Dual-LPN-based sparse encoding. We provide a conditional reduction for transcript privacy, complemented by concrete attack-cost estimates. Even with the true prefix supplied at each position, the evaluated Euclidean direct matcher achieves $0\\%$ token recovery from StateVeil's masked outputs across four models and four protected projections. StateVeil achieves end-to-end latency comparable to the evaluated partitioned-inference baseline, while model quality remains comparable to the original models in most evaluated model--task settings.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "6536a1cf-c327-4b4a-8b4a-e023f2692d03"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Traces of a Prompt: Uncovering and Mitigating Privacy Risks of Exposed States in TEE-Partitioned LLM Inference",
+ "authors": [],
+ "abstract": "Cloud-based LLM services must protect sensitive prompts while maintaining efficient inference. To balance these goals, partitioned inference keeps selected computations inside a trusted execution environment (TEE) while offloading others to an untrusted GPU. However, the intermediate states exposed by this partitioning may reveal private inputs. We introduce \\textbf{Prompt-State Matching Attack}, which constructs direct, invariant, and joint-state fingerprints for vocabulary-based prompt reconstruction. Given observations of selected states and access to chosen-input probing, the attack achieves near-perfect token recovery through exhaustive vocabulary search in controlled FP32 experiments across four LLMs. We experimentally evaluate token-aligned transformations and analyze how relationships among exposed states support reconstruction. \nTo mitigate this leakage, we propose \\textbf{StateVeil}, which protects outsourced linear computation using Dual-LPN-based sparse encoding. We provide a conditional reduction for transcript privacy, complemented by concrete attack-cost estimates. Even with the true prefix supplied at each position, the evaluated Euclidean direct matcher achieves $0\\%$ token recovery from StateVeil's masked outputs across four models and four protected projections. StateVeil achieves end-to-end latency comparable to the evaluated partitioned-inference baseline, while model quality remains comparable to the original models in most evaluated model--task settings.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}