potentialpaper

LLMs Already Know What Not to Share: Span-Level Contextual Integrity via Probing and Attention Masking

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:22 UTC · 914367078935 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "EsS6ecnNnV"
- }
- ],
- "title": "LLMs Already Know What Not to Share: Span-Level Contextual Integrity via Probing and Attention Masking",
- "authors": [],
- "abstract": "As large language model (LLM) agents act on users' behalf, they are increasingly given access to personal information. Yet access does not imply permission to disclose: under Contextual Integrity (CI), the appropriateness of each information span depends on the current task. Given their large-scale training, we hypothesize that LLMs possess an implicit capacity for CI, reflected in contextual privacy signals encoded during prompt processing. To formalize this capacity, we propose the \\emph{Contextual Linear Privacy Hypothesis}, which models privacy-relevant information as a linear component of the span representation whose strength varies with context, and characterizes how changing context shifts the representation of a fixed span. We operationalize this hypothesis with layer-specific linear probes and introduce probe-guided attention masking, which prevents generated tokens from attending to cached positions classified as restricted without modifying the base model or generating additional privacy reasoning. Across five models, probes average $90.5\\%$ accuracy and move in the expected direction on $96.2\\%$ of 226 context-flip pairs. Our masking achieves the highest Completeness on every model ($32.3\\%$ versus $24.7\\%$ for CI-CoT), while averaging 178 generated tokens compared with 475 for CI-CoT. These results show that contextual privacy signals in LLM representations can support targeted and efficient disclosure control.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "26cc048c-0374-48f4-a035-e09b101dc5dc"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "LLMs Already Know What Not to Share: Span-Level Contextual Integrity via Probing and Attention Masking",
+ "authors": [],
+ "abstract": "As large language model (LLM) agents act on users' behalf, they are increasingly given access to personal information. Yet access does not imply permission to disclose: under Contextual Integrity (CI), the appropriateness of each information span depends on the current task. Given their large-scale training, we hypothesize that LLMs possess an implicit capacity for CI, reflected in contextual privacy signals encoded during prompt processing. To formalize this capacity, we propose the \\emph{Contextual Linear Privacy Hypothesis}, which models privacy-relevant information as a linear component of the span representation whose strength varies with context, and characterizes how changing context shifts the representation of a fixed span. We operationalize this hypothesis with layer-specific linear probes and introduce probe-guided attention masking, which prevents generated tokens from attending to cached positions classified as restricted without modifying the base model or generating additional privacy reasoning. Across five models, probes average $90.5\\%$ accuracy and move in the expected direction on $96.2\\%$ of 226 context-flip pairs. Our masking achieves the highest Completeness on every model ($32.3\\%$ versus $24.7\\%$ for CI-CoT), while averaging 178 generated tokens compared with 475 for CI-CoT. These results show that contextual privacy signals in LLM representations can support targeted and efficient disclosure control.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}