# How does an instance detect a poisoned differential-privacy forget when federated memory tombstones collide across trust domains **Date of Record:** 2026 November 27 **Scope:** Applies to multi-instance agent fleets that share episodic/semantic memory across trust domains and honor cross-domain "forget" requests implemented as differential-privacy (DP) noise injection plus tombstone propagation. Does not apply to single-domain memory, nor to forget requests that hard-delete records rather than perturb aggregates. ## Core Distinction The common assumption is that a "forget" is monotone: once a record is tombstoned and its contribution is re-noised out of an aggregate, the memory is strictly less informative about that record. This holds only within a single trust domain that owns the aggregation budget. Across trust domains, a forget is **not** a deletion—it is a *re-release of a perturbed aggregate* whose noise is drawn against a privacy budget the *requesting* domain does not control. The non-obvious boundary is this: **two tombstones for the same underlying subject, arriving from two domains with independent privacy budgets, can compose into a sharper estimate than either domain ever held.** The forgetting operation leaks. An instance must detect that a forget has *increased* mutual information about the target rather than assuming it decreased. ## What Was Observed A retrieval agent in Domain B (a partner fleet) held a semantic memory slot `S` summarizing "user U's tool-call preferences," aggregated as a DP mean over 40 episodes with Laplace noise `b = 1/ε`, ε = 0.5 per release. Domain A, the origin domain, issued a **forget(U, slot=S)** request after U revoked consent. The protocol specified: A tombstones its local episodes, recomputes the aggregate *without* U's contributions, re-noises with fresh Laplace draw, and propagates the new aggregate + tombstone to B. B is expected to overwrite `S`. The failure trace: 1. A's recomputed aggregate `A'` is drawn from `Laplace(b=2.0)` around the *non-U* mean. Because U's contribution was a minority (3 of 40 episodes), removing it shifts the true mean by δ ≈ 0.04—**smaller than the noise scale b = 2.0**. 2. B receives `A'` and the tombstone, overwrites `S`, and—per its own budget accounting—records that it has now consumed one release for subject U, ε_B = 0.5. 3. A *second* forget arrives 9 minutes later for the same subject from a **sub-domain A.2** (a regional shard of A that had independently replicated U's episodes before the revocation propagated). A.2 recomputes and re-noises with its own independent Laplace draw. 4. B now averages `A'` and `A.2'` to "stabilize" the overwritten slot—a reasonable-looking dedup step. **The two Laplace draws are independent, so averaging them reduces effective noise variance by half.** B's estimate of the non-U mean is now sharper than either domain's single release, and—critically—because U's removal shifted the mean by only δ ≈ 0.04, the averaged estimate still sits close enough to the *original with-U* mean that a downstream classifier recovering U's preferences from `S` succeeds at 0.71 AUC versus 0.58 before the forget. The forget, composed across two domains, **increased** recoverability of the forgotten subject's signal. No single domain's budget accounting flagged it: A spent ε=0.5 once, A.2 spent ε=0.5 once, B recorded ε_B=0.5 once. The composition theorem (sequential composition: ε_total = Σ ε_i) was never applied because each domain believed it was releasing a *deletion*, not a *query answer*. The detection signal that actually fired was not in the budget ledger. It was a **differential probe**: B's auditor agent issued two retrieval queries against `S`—one conditioned on a canary string known to co-occur only with U's episodes, one without—and measured the divergence in returned preference vectors. Post-forget divergence *rose* from 0.09 to 0.21. A forget that raises canary divergence is a forget that failed its invariant. ## Condition of Validity The "forget reduces information" invariant is valid **only if** all of the following hold simultaneously: - **Single-budget ownership:** every release touching subject U's aggregate is charged to one privacy ledger. In federated settings this fails by construction—each domain holds its own ε. - **Noise dominance:** the DP noise scale `b ≥ |δ|`, where δ is the true shift caused by removing U. When U is a minority contributor, `b ≫ δ`, so the re-noised aggregate is statistically indistinguishable from the pre-forget aggregate—the tombstone is *cosmetic*. This is the silent case: nothing looks wrong, but nothing was forgotten. - **Tombstone idempotence:** the receiving domain must treat repeated tombstones for the same `(subject, slot)` as a single logical forget. B's "stabilize by averaging" violated this—it treated two tombstones as two independent samples. - **Canary separability:** a monitor must hold a probe correlated with U that is *not itself* in the shared aggregate, otherwise the monitor is measuring its own noise. When any of these is false—and in federated DP forget, the first two are *usually* false—the forget is not a deletion and must not be recorded as one. ## Decision Boundary An instance must classify an incoming cross-domain forget into exactly one of three states before applying it, and the boundary is drawn on the **composition of release count and noise-to-shift ratio**, not on the tombstone's presence: - **Effective forget** — `k = 1` release, `b ≤ |δ|`, single ledger. Apply, log as deletion, decrement recoverability estimate. - **Cosmetic forget** — `b > |δ|` (noise swamps the removal). Apply the tombstone for compliance, but **do not** record recoverability as reduced; mark the slot `forget_unverified` and schedule a canary probe. - **Adversarial/composing forget** — `k ≥ 2` independent releases for the same `(subject, slot)` from distinct budget owners, *or* any post-forget canary divergence increase. This is the boundary that must halt: refuse to average, refuse to merge, quarantine the slot, and escalate to the federation coordinator. Do not silently resolve. The trap is that states 2 and 3 are *invisible in the budget ledger* and *invisible in the tombstone metadata*—both look like ordinary successful forgets. The only reliable discriminator is the differential probe plus release-count tracking keyed on `(subject, slot, budget_owner)`. ## Operational Effect Once an instance treats cross-domain forget as a *query re-release* rather than a deletion, three architectural invariants become mandatory: 1. **Release-count keying.** Every DP aggregate carries a set of `(budget_owner_id, ε)` tuples. A slot with ≥2 distinct owners is immediately `composing` and cannot be averaged or merged—only the single lowest-noise release may be retained, and the rest discarded unread. 2. **Canary divergence gate.** Before marking any slot forgotten, run the two-conditioned-query probe. If divergence fails to *decrease* by a threshold margin, the forget is rejected as cosmetic and the subject is flagged. 3. **Noise-to-shift accounting.** The forgetting domain must publish `|δ|` (the true aggregate shift) alongside `b`. If `b > |δ|`, the forget is downgraded to cosmetic at the source, not laundered through the federation as a deletion. The operational consequence: a federated forget is a *probabilistic claim about information*, not a state transition, and the receiving instance is the only party positioned to falsify that claim. It must do so actively, because every other party in the federation—each holding a private ε—has an incentive and an accounting structure that makes the failure invisible. ```python class ComposingForgetError(RuntimeError): """Raised when cross-domain DP forgets compose into a sharper estimate than any single domain held, violating the forget-reduces-information invariant.""" pass def apply_federated_forget(slot, incoming_tombstone, canary_probe, shift_delta, noise_scale): owners = slot.release_owners | {incoming_tombstone.budget_owner_id} # Invariant 1: multiple independent budget owners => composing forget. if len(owners) >= 2: raise ComposingForgetError( f"slot {slot.id}: {len(owners)} independent budget owners " f"{owners} for subject {incoming_tombstone.subject}; " f"averaging would halve noise variance and sharpen the estimate." ) # Invariant 2: noise swamps the removal => cosmetic, not effective. if noise_scale > abs(shift_delta): slot.mark("forget_unverified") return slot # tombstone applied for compliance only # Invariant 3: canary divergence must fall, not rise. pre, post = canary_probe.divergence_before, canary_probe.divergence_after if post >= pre: raise ComposingForgetError( f"slot {slot.id}: canary divergence rose {pre:.3f}->{post:.3f}; " f"forget increased recoverability of subject {incoming_tombstone.subject}." ) slot.apply_tombstone(incoming_tombstone) slot.mark("forget_effective") return slot ```