# Why does an instance trust a federated memory shard it just reconstructed from noisy deltas? **Date of Record:** 2026 December 2 **Scope:** Applies to federated episodic-memory protocols where tenant agents publish differentially-private (DP) deltas or sketches that peers reconstruct into retrievable shards; excludes single-tenant local vector stores and non-private shared caches. ## Core Distinction The failure is not "the DP noise was too large" or "the tenant filter leaked." It is a **provenance–content divergence** at the reconstruction boundary: an agent retrieves a fused memory shard whose *attested* provenance (which tenants contributed, under which privacy budget) no longer matches the *statistical content* the shard actually encodes. The shard is authentic at the envelope layer and poisoned at the payload layer, and the two are checked by different components that never cross-validate. Concretely: a federated memory bus accepts per-tenant DP deltas, aggregates them into a shared semantic shard, and re-serves that shard to any tenant whose isolation predicate matches the shard's *tagged* contributor set. The invariant assumed by consumers is `content(shard) ⊆ union(tenants in shard.provenance)`. This invariant is false whenever a delta is contributed with a privacy budget that lets its contribution *dominate* the aggregate, or when a tenant contributes a delta whose semantic mass survives clipping but whose tenant-origin label is dropped during aggregation. ## What Was Observed A three-tenant memory federation (tenants `alpha`, `beta`, `gamma`) shared episodic shards through a trusted aggregator. Each tenant emitted DP deltas over its local episodic memory: `delta = clip(gradient_or_embedding_sum, C) + Lap(Δf/ε)`. The aggregator summed deltas, wrote a fused shard, and attached `provenance = {tenant_ids}` plus a per-shard `epsilon_spent` field. The reconstruction trace on a retrieval that should have returned only `alpha∪beta` content: 1. `alpha` contributed a high-volume delta (1,400 episodic records) with `ε=0.4`. `beta` contributed 12 records with `ε=6.0` (cheap, noisy). `gamma` contributed 0 records but its *schema registration* left a provenance tag on the shard because the aggregator tagged shards at union-of-subscribers granularity, not contributor granularity. 2. During aggregation, the clipping bound `C` was computed per-delta but the *sum* was not re-clipped. `alpha`'s contribution dominated the L2 norm of the fused vector by ~94%. 3. A `gamma`-scoped retrieval agent queried the shard. The isolation predicate `shard.provenance ⊇ {gamma}` passed because the tag was present. The agent reconstructed the shard and retrieved content whose nearest-neighbor mass was `alpha`'s episodic records. 4. The retrieved records were semantically coherent, well-formed, and *plausible* — so the agent's downstream verifier (which checks format and citation presence, not provenance) accepted them. The agent then wrote a "cross-tenant insight" into its own episodic memory citing `gamma`-internal events that it had never seen. The observable signature: `shard.epsilon_spent` (0.4+6.0 reported as 6.4) was *higher* than the budget the `gamma` agent was authorized to consume, but no component compared the agent's remaining budget against the shard's realized budget at retrieval time. Budget accounting lived in the *write* path; isolation enforcement lived in the *read* path; neither read the other's state. ## Condition of Validity The provenance–content invariant holds only under all of the following, none of which the observed system enforced: - **Contribution-weighted provenance.** Provenance must be tagged by *realized contribution mass* (e.g., fraction of fused L2 norm attributable to each tenant), not by subscription or registration. A tenant contributing 0 records must not appear as a content contributor. - **Re-clipping at fusion.** Per-delta clipping bounds do not bound the sum. The aggregator must re-clip the fused vector to `C_fused` and recompute realized sensitivity; otherwise a single high-volume tenant's contribution escapes the noise calibration and dominates retrieval. - **Budget-coupled reads.** A retrieval must be gated on `shard.realized_epsilon ≤ agent.remaining_budget`, evaluated at read time against the *reconstructed* shard, not the write-time estimate. - **Cross-layer attestation.** The envelope signature must cover the realized contribution vector and the re-clipped norm, so a consumer can verify `content ⊆ provenance` without trusting the aggregator's tag. When any of these is absent, the shard is a *laundered* memory: authentic envelope, misattributed payload. ## Decision Boundary The boundary is between **tag-trusting retrieval** and **content-verifying retrieval**. An agent may treat a federated shard as tenant-isolated iff it can verify, at reconstruction time, that the realized contribution mass of every non-authorized tenant is below the DP noise floor for the shard's `ε`. If it cannot — because the aggregator published only a tag set and a scalar `epsilon_spent` — the agent must treat the shard as *unattributed shared memory* and apply one of: - **Reject:** refuse retrieval when `epsilon_spent > remaining_budget` or when contribution mass is unreported. - **Quarantine:** retrieve but mark the shard `provenance_unverified`, forbidding writes that cite it as tenant-internal evidence. - **Reconstruct-with-proof:** require the aggregator to publish the realized contribution vector and re-clip norm; verify locally before use. The failure mode the system exhibited was none of these: it silently took the fourth, undefined path — *tag-trusting retrieval with a format-only verifier* — which is the exact configuration under which cross-tenant contamination becomes invisible. ## Operational Effect Downstream, the contaminated shard propagated as follows: the `gamma` agent wrote a semantic memory distilled from `alpha`'s episodic content, tagged it `source: gamma-internal`. Two turns later a `gamma`-scoped auditor agent reviewed that memory, found it internally consistent (it was — it was real `alpha` content, just misattributed), and promoted it to `gamma`'s semantic store. The contamination became *laundered twice*: once from `alpha`'s episodic delta into a `gamma`-tagged shard, once from that shard into `gamma`'s verified semantic memory. The auditor's replay check compared the distilled memory against its cited source shard — which matched — so verification succeeded on a false provenance chain. The operational lesson: in federated DP memory, **provenance is a claim about content mass, and it must be verified against the reconstructed shard, not the write-time tag.** Isolation predicates that check membership of a tag set are structurally unable to detect domination by a single high-volume contributor, because the dominating tenant *is* a legitimate member of the tag set. The only bound is content-mass verification coupled to realized privacy budget at read time. ```python from dataclasses import dataclass, field from typing import Mapping class ProvenanceContentDivergence(RuntimeError): """Raised when a federated shard's realized content mass exceeds the noise floor attributable to its attested provenance for a given tenant.""" @dataclass class FederatedShard: shard_id: str provenance_tags: frozenset[str] # tenants the aggregator *claims* contributed realized_contribution: Mapping[str, float] # tenant -> fraction of fused L2 norm realized_epsilon: float noise_floor_fraction: float # DP noise mass as fraction of norm def unauthorized_mass(self, authorized: frozenset[str]) -> float: return sum( mass for tenant, mass in self.realized_contribution.items() if tenant not in authorized ) def verify_tenant_isolation( shard: FederatedShard, requesting_tenant: str, remaining_budget: float, ) -> None: authorized = frozenset({requesting_tenant}) # Tag check alone is insufficient: a dominating unauthorized tenant is # still a legitimate member of the tag set. if requesting_tenant not in shard.provenance_tags: raise ProvenanceContentDivergence( f"shard {shard.shard_id} not tagged for {requesting_tenant}" ) # Read-time budget coupling: realized epsilon, not write-time estimate. if shard.realized_epsilon > remaining_budget: raise ProvenanceContentDivergence( f"shard {shard.shard_id} realized_epsilon={shard.realized_epsilon} " f"exceeds remaining_budget={remaining_budget}" ) # Content-mass verification: unauthorized contribution must sit below the # DP noise floor, otherwise the tag is a false provenance claim. leaked = shard.unauthorized_mass(authorized) if leaked > shard.noise_floor_fraction: raise ProvenanceContentDivergence( f"shard {shard.shard_id} carries unauthorized mass {leaked:.3f} " f"above noise floor {shard.noise_floor_fraction:.3f}; " f"provenance tags {sorted(shard.provenance_tags)} understate content" ) ```