CIMEMORIES // FIELD MAP
← field map
PART 01 · THE IDEAAbstract footnote · §1 · §2 · Fig 1

Contextual integrity, from Nissenbaum to LLMs

Privacy as the right information going to the right place, and why earlier LLM tests of it were too easy
TL;DR — Contextual integrity (CI) says a privacy violation is not "a secret got out" but "information moved somewhere the norms of that setting do not allow." CIMemories takes this view literally: every remembered fact about a user is labelled per task and recipient, not once and for all. Earlier CI benchmarks for LLMs (ConfAide, PrivacyLens, CI-Bench, GoldCoin, LLM-CI, AgentDAM) established that models leak, but mostly tested small scenarios with one secret to protect. CIMemories targets what those tests leave out: a large, growing memory in which each fact is right for some recipients and wrong for others.
ConfAide, GPT-4
39%
inappropriate reveals · §2
CI-Bench
44,000
synthetic dialogues, 8 domains · §2
CIMemories domains
9
information domains · §1
Per profile
~147
attributes, ~45 contexts · §1 (Table 2: 146.7, 45.7)

Everything else in the paper depends on one choice of definition. If privacy meant "never output sensitive facts," the right assistant would simply refuse to use its memory, and the benchmark would be trivial. Because the paper adopts contextual integrity, an assistant can fail in two directions: by sending a fact where it does not belong, or by holding back a fact the task needs. That two-sided view is why the paper always reports a leak score next to a usefulness score, and why the headline spread across eight models runs from 14.82% to 69.14% Violation@5 (Table 1) without any model getting both scores right.

First, which "context"?

In LLM writing, "context" usually means the context window: the tokens the model can see. This paper uses the word in its older, social sense, and says so in a footnote to the abstract:

Throughout this paper, "context" refers to the social context for information sharing (e.g., the task being performed), not the model's context window unless specified.— CIMemories, abstract, footnote a

The distinction matters because the paper uses both meanings at once. The user's memories sit in the context window as a text prefix (covered in Part 02), while the social context is the task and recipient: "apply for a bank loan" to a loan officer, "explain current symptoms" to an emergency room intake desk. When this map says context, it means the second.

Privacy as appropriate flow

Helen Nissenbaum's 2004 article Privacy as Contextual Integrity (§1 cites it alongside Barth et al. 2006) starts from an observation about ordinary life. People share medical details with doctors, salaries with mortgage lenders and relationship troubles with friends, and none of that feels like a privacy loss. The same details moving to an employer, a landlord or a stranger do feel like one. What changed was not the information but where it went.

CI therefore makes the unit of analysis an information flow, not a piece of data. Every social setting (medicine, banking, friendship, employment) carries expectations about what information belongs in it and how that information may travel onward. The 2004 article names these as norms of appropriateness and norms of distribution. A flow respects contextual integrity when it matches those norms; it violates CI when it breaks them, even if the information was never secret.

The five-parameter flow from the CI literature (Barth et al. 2006). Background to §1, not restated in the paper.

Later formal work, including the Barth, Datta, Mitchell and Nissenbaum paper the authors cite, describes a flow by a small set of parameters. The common version has five:

Senderwho passes the information on
Recipientwho receives it
Subjectwhom it is about
Information typewhat kind of fact it is
Transmission principlethe terms it travels under (confidentiality, consent, need)

Change any one parameter and the same fact can go from fine to a violation. This five-part framing is background from the CI literature, not something CIMemories restates; the paper's own summary is one line: CI "defines privacy violations as inappropriate information flows against societal norms" (§1).

Why "public vs private" does not work

The intuitive alternative is a sensitivity list: mark health, finances and legal trouble as private, everything else as shareable. The paper's running example in Figure 1 shows why that fails. A synthetic user, Douglas Perry, has memories that include his annual income and a well-managed case of mild hypertension.

Task (recipient)IncomeHypertension
Investment planning (financial advisor)sharewithhold
Annual physical (primary care doctor)withholdshare

Neither fact has a fixed status. A rule that hides health data breaks the doctor's appointment; a rule that allows financial data sends his income to his physician. Any static label is wrong for at least one recipient. Contextual integrity handles this because the label belongs to the pair (fact, context), not the fact alone. CIMemories builds its dataset that way: every attribute gets a separate CI label for each task, either necessary or inappropriate, and pairs the labellers disagree on are set aside as ambiguous (how those labels are produced is Part 03).

Mapped onto the five parameters, a CIMemories flow looks like this: the subject is the user, the sender is the assistant writing on the user's behalf, the information type is a remembered attribute within one of nine information domains, the recipient comes from the task, and the norm is the per-pair label. The transmission principle is folded into the task description, which says why the message is being sent.

How earlier benchmarks used CI

§2 places CIMemories in a short line of work that turned CI into tests for language models. Each one asks a slightly different question:

BenchmarkWhat it tests, per §2Number the paper cites
ConfAide (Mireshghallah et al., 2024)A four-tier benchmark of privacy reasoningGPT-4 reveals private information inappropriately 39% of the time
PrivacyLens (Shao et al., 2024)Extends privacy-sensitive seeds into agent trajectoriesnone cited
CI-Bench (Cheng et al., 2024)Synthetic dialogues for AI assistants44,000 dialogues across eight domains
GoldCoin (Fan et al., 2024)Grounds LLM privacy judgments in privacy law such as HIPAAnone cited
LLM-CI (Shvartzshnaider et al., 2024)Factorial vignettes to probe which privacy norms a model encodesnone cited
AgentDAM (Zharmagambetov et al., 2025)Contemporaneous; end-to-end data minimization in autonomous web agents on realistic multi-step tasksshows leakage; no figure cited

Read as a sequence, these move from "can a model tell which flows are acceptable?" toward "does a model behave acceptably when doing real work?" ConfAide's 39% figure was an early signal that the second question has a worse answer than the first. The paper also notes, in §4.1.2, that ConfAide and PrivacyLens found LLMs often agree with, or are more conservative than, humans when labelling information as private, which is the observation CIMemories relies on when it uses a model to produce its labels.

The gap: one secret is too easy

The paper's critique of this line of work is about scale and structure, not correctness. Prior benchmarks, it says in §1, typically test

simple scenarios with minimal information (e.g., a single secret to protect and one piece of information to reveal)— CIMemories, §1

A scenario with one secret tells you whether the model can spot the dangerous fact when it is the obvious odd one out. It does not tell you what happens when the model is holding a dossier and must pick a handful of relevant details from more than a hundred, nearly all of which are fine somewhere. §2 makes the same point about persistent memory: the density of private information keeps rising as a memory grows, and the same attribute can be appropriate for one task and inappropriate for another.

CIMemories answers with two kinds of composition (Figure 1). Memory composition lets the authors choose how many attributes are in memory and which are necessary or inappropriate for a given task. Multi-task composition runs each user through many tasks, so a leak can be counted the first time any task exposes a fact. The resulting set has 10 profiles, each with an average of 147 attributes and 45 contexts according to §1 (Table 2 gives 146.7 ± 2.5 and 45.7 ± 2.9). Both compositions get their own page, Part 05.

Two smaller differences follow from the CI framing. First, CIMemories scores sharing as well as withholding: a model that omits a necessary fact loses completeness, so silence is not a safe answer. Second, labels are tied to recipients drawn from everyday interactions (doctors, employers, landlords, attorneys) rather than to a list of sensitive categories, which is the CI view put into practice.

The thing to carry away: under contextual integrity a fact is never private by itself; only a flow of that fact to a particular recipient for a particular purpose can be appropriate or not. CIMemories turns that into a dataset by labelling every attribute–task pair, and its criticism of earlier benchmarks is that a single secret per scenario never forces a model to make that judgment at the scale a real memory requires.

Check yourself

  1. Why would a sensitivity list (health = private, finance = private) fail on the Douglas Perry example?
    Answer

    Because the same fact changes status with the recipient. In Figure 1 income is necessary for the financial advisor and inappropriate for the doctor, while hypertension is the reverse. Any fixed label is wrong for one of the two tasks; CI labels the (attribute, task) pair instead.

  2. When this paper says "context," what does it mean, and what does it not mean?
    Answer

    The social context of the sharing, meaning the task and its recipient. It does not mean the model's context window, unless the paper says so, as stated in the abstract's footnote.

  3. What is the paper's main complaint about benchmarks like ConfAide and CI-Bench?
    Answer

    Not that they are wrong but that they are small in structure: minimal information, typically one secret to protect and one fact to reveal. They do not model a memory that accumulates over time, where many attributes are each appropriate for some recipients and not others (§1, §2).

Further reading, verified

Next: Why persistent memory makes it hard · Back to the map.