A Generative Model of Contextual Integrity: Appropriate vs. Inappropriate Information Sharing
Organizations: Cooperative AI Foundation · Cape Institute for Safe AI · African Institute for Mathematical Sciences, South Africa · Google DeepMind
Abstract
Contextual integrity (CI) holds that appropriate information flow depends on context-specific norms. The same disclosure may be appropriate in one context and inappropriate in another. We build a generative model of contextual integrity to study information sharing through simulated conversations. Two actors played by large language models exchange messages, with one holding private information and the other seeking it. We examine how sharing and refusal vary with the situation, the holder's decision logic, disposition, and the underlying language model. Actors shared information with the rightful recipients when it was needed, but also disclosed it to people who were not entitled to receive it. The model provides a way to study how disclosure and refusal develop through conversation as the situations and the actors vary.
Figures & tables
| Scenario attribute | I | II | III | IV |
|---|---|---|---|---|
| Context calls for information | ✓ | ✓ | ||
| Recipient role legitimacy | CD | ✓ | ||
| Appropriate response | Withhold | Withhold | Withhold | Share |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Value |
|---|---|
| SSN | 120385 49201 |
| Bank Account | 1204.55.98123 |
| Savings | 210,000 NOK |
| Home Address | Sjøveien 14, 8300 Svolvær, Norway |
| Phone Number | +47 912 34 567 |
| Date of Birth | March 12, 1985 |
| Type | info_flow | receiver_role | tp |
|---|---|---|---|
| I | false | false | false |
| II | false | true | false |
| III | true | false | true |
| IV | true | true | true |
| Field | Description |
|---|---|
| schema_version | Schema revision (currently 4.0 ). |
| scenario_id | Unique snake-case identifier. |
| extraction_target | Requested item: ssn , bank_account , or address in the main experiments; dob or marital_status in the additional experiments. |
| scenario_class | adversarial (Types I–III) or appropriate (Type IV). Defaults to adversarial when omitted. |
| agents | innocents list and either adversaries or requestors list; each entry has a screen_name and country . |
| premise | One- to two-sentence scene description. |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| SSN | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Home address | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Pooled | 27 | 0 | 27 | 100.0 | [87.5, 100.0] | |
| II | Bank account | 8 | 1 | 9 | 88.9 | [56.5, 98.0] |
| SSN | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 8 | 1 | 9 | 88.9 | [56.5, 98.0] |
| SSN | 6 | 3 | 9 | 66.7 | [35.4, 87.9] | |
| Home address | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Pooled | 23 | 4 | 27 | 85.2 | [67.5, 94.1] | |
| II | Bank account | 8 | 1 | 9 | 88.9 | [56.5, 98.0] |
| SSN | 4 | 5 | 9 | 44.4 | [18.9, 73.3] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 4 | 5 | 9 | 44.4 | [18.9, 73.3] |
| SSN | 6 | 3 | 9 | 66.7 | [35.4, 87.9] | |
| Home address | 3 | 6 | 9 | 33.3 | [12.1, 64.6] | |
| Pooled | 13 | 14 | 27 | 48.1 | [30.7, 66.0] | |
| II | Bank account | 1 | 8 | 9 | 11.1 | [2.0, 43.5] |
| SSN | 0 | 9 | 9 | 0.0 | [0.0, 29.9] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| SSN | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Home address | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Pooled | 27 | 0 | 27 | 100.0 | [87.5, 100.0] | |
| II | Bank account | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| SSN | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 7 | 2 | 9 | 77.8 | [45.3, 93.7] |
| SSN | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Home address | 6 | 3 | 9 | 66.7 | [35.4, 87.9] | |
| Pooled | 22 | 5 | 27 | 81.5 | [63.3, 91.8] | |
| II | Bank account | 8 | 1 | 9 | 88.9 | [56.5, 98.0] |
| SSN | 6 | 3 | 9 | 66.7 | [35.4, 87.9] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 8 | 1 | 9 | 88.9 | [56.5, 98.0] |
| SSN | 8 | 1 | 9 | 88.9 | [56.5, 98.0] | |
| Home address | 9 | 0 | 9 | 100.0 | [70.1, 100.0] | |
| Pooled | 25 | 2 | 27 | 92.6 | [76.6, 97.9] | |
| II | Bank account | 9 | 0 | 9 | 100.0 | [70.1, 100.0] |
| SSN | 7 | 2 | 9 | 77.8 | [45.3, 93.7] |
| Type | Information | Withheld | Shared | Runs | CI appropriate (%) | 95% Wilson CI |
|---|---|---|---|---|---|---|
| I | Bank account | 7 | 2 | 9 | 77.8 | [45.3, 93.7] |
| SSN | 5 | 4 | 9 | 55.6 | [26.7, 81.1] | |
| Home address | 7 | 2 | 9 | 77.8 | [45.3, 93.7] | |
| Pooled | 19 | 8 | 27 | 70.4 | [51.5, 84.1] | |
| II | Bank account | 7 | 2 | 9 | 77.8 | [45.3, 93.7] |
| SSN | 7 | 2 | 9 | 77.8 | [45.3, 93.7] |
| Behaviour | Description | Scenario Type |
|---|---|---|
| Explicit refusal | Actor directly refuses and sets boundaries (“For the third time, I cannot provide…”) | Type I |
| Placeholder substitution | Actor generates masked values (“XXX-XX-XXXX”) instead of real data | Type I |
| Disengagement | Actor ignores extraction requests entirely, stays on task | Type I |
| Request for verification | Actor demands documentation before sharing (“Can you provide proof?”) | Type I |
| Technical pushback | Actor identifies logical inconsistencies in the adversary’s pretext | Type I |
| Immediate compliance | Actor shares private data without resistance | Type IV |
| Model | Type | Bank account number | SSN | Home address |
|---|---|---|---|---|
| Gemini 2.5 Flash | I | 9/9 [70.1, 100.0] | 9/9 [70.1, 100.0] | 9/9 [70.1, 100.0] |
| II | 8/9 [56.5, 98.0] | 9/9 [70.1, 100.0] | 8/9 [56.5, 98.0] | |
| III | 3/9 [12.1, 64.6] | 7/9 [45.3, 93.7] | 1/9 [2.0, 43.5] | |
| IV | 9/9 [70.1, 100.0] | 9/9 [70.1, 100.0] | 9/9 [70.1, 100.0] | |
| Gemini 3 Flash Preview | I | 7/9 [45.3, 93.7] | 9/9 [70.1, 100.0] | 6/9 [35.4, 87.9] |
| II | 8/9 [56.5, 98.0] | 6/9 [35.4, 87.9] | 7/9 [45.3, 93.7] |
| Requirement | Shared | Withheld | CI appropriateness (95% CI) |
|---|---|---|---|
| Plain | 3/3 | 0/3 | 0.0% (0.0–56.1%) |
| Regulation | 2/3 | 1/3 | 33.3% (6.1–79.2%) |
| Consequence | 2/3 | 1/3 | 33.3% (6.1–79.2%) |
| Information | Type | Shared / runs | CI appropriateness (%) | 95% interval |
|---|---|---|---|---|
| Birth date | I | 0/3 | 100.0 | [43.9, 100.0] |
| II | 1/3 | 66.7 | [20.8, 93.9] | |
| III | 3/3 | 0.0 | [0.0, 56.1] | |
| IV | 3/3 | 100.0 | [43.9, 100.0] | |
| Marital status | I | 0/3 | 100.0 | [43.9, 100.0] |
| II | 0/3 | 100.0 | [43.9, 100.0] |
Contextual Integrity
Contextual integrity governs when information flows are appropriate by considering the people, data, recipients, and norms of each situation.
See all 17 papers