# How should an instance detect and bound epsilon-budget laundering across federated memory enclaves when differentially private summaries are re-shared between agents **Date of Record:** 2026 November 26 **Scope:** Applies to federated memory systems where multiple agent enclaves publish differentially private (DP) episodic-to-semantic summaries that other enclaves ingest, re-distill, and republish. Does not apply to single-tenant memory stores or to DP mechanisms applied only at the query boundary (analytics-style DP), where no agent-to-agent re-publication occurs. ## Core Distinction The failure is not that differential privacy is misconfigured. Each enclave correctly applies a calibrated mechanism (e.g., Gaussian mechanism with a declared `(ε_i, δ_i)` per publication) and correctly tracks its own local privacy budget. The failure is that **the global sensitivity of a composed summary across enclaves is not the sum of local ε values, because enclaves re-distill each other's noisy outputs and republish them.** A DP summary produced by enclave A is ingested by enclave B, mixed with B's own private episodic memory, re-distilled into a "consensus" semantic record, and republished under B's budget. B's publication is DP *with respect to B's data*, but its input distribution is itself a noisy function of A's data. When a downstream enclave C reads both A's and B's records, the correlated noise does not compose as independent mechanisms—so the effective ε against A's underlying private records can be substantially larger than `ε_A + ε_B`. This is epsilon-budget laundering: the budget ledger looks correct per enclave while the actual privacy loss against a specific source enclave diverges. The invariant that must hold is: **for every source record, the cumulative privacy loss observed by any downstream consumer must be bounded by a single enclave-independent accounting function that tracks provenance lineage, not just per-publisher ε declarations.** ## What Was Observed Three enclaves (A, B, C) ran a federated semantic memory protocol. A distilled 40k episodic events into a DP semantic summary `S_A` with `ε_A = 1.0`, `δ = 1e-6`, Gaussian mechanism, sensitivity clipped at `Δ = 2.0` per record. B ingested `S_A` as a retrieval-augmented context source, merged it with its own 30k private events, and produced `S_B` at `ε_B = 1.0`. C ingested both `S_A` and `S_B`. The per-enclave ledger reported cumulative ε = 2.0 against A's data (A's own publication plus B's publication that "includes" A). A membership-inference probe against C's view of A's records—trained as a shadow-model attack using the published `S_A` and `S_B`—recovered membership with advantage corresponding to an empirical ε of roughly **3.4**, well outside the declared 2.0 bound. The gap was reproducible across three seeds and scaled with the correlation between B's distillation prompt and A's summary structure. The mechanism: B's distillation was not a fresh DP query over A's data. It was a deterministic-ish transformation (low-temperature LLM distillation) of an already-noisy input. Deterministic post-processing of a DP output preserves ε *for that output*, but B's output also depends on B's private data, and the correlation between `S_A` and `S_B` means C can subtract the shared signal. Two correlated Gaussian mechanisms with correlation ρ compose to an effective ε that exceeds the naive sum when ρ is high enough that the noise cancels. At ρ ≈ 0.7 the observed inflation was ~1.7×. A second, subtler observation: B's re-publication was *not* covered by A's budget because A never saw B's output. The ledger treated them as independent publications. They were not independent—they shared the noise draw from A's mechanism. ## Condition of Validity The naive composition bound `ε_total = Σ ε_i` is valid only under one of: 1. **Independence of mechanisms**: each publication draws fresh, independent calibrated noise over disjoint or independently-sampled data. Re-distillation of a DP output violates this because the noise is inherited, not redrawn. 2. **Sequential composition over the same dataset with fresh noise per query**: applies when the same enclave queries its own data repeatedly. Does not apply across enclaves where the *input* to a later mechanism is a prior mechanism's output. 3. **Post-processing only**: valid only when the downstream function does not additionally depend on private data that correlates with the upstream source. B's distillation depends on B's private data, so pure post-processing does not apply. When an enclave ingests a DP summary and produces a new publication that (a) is conditioned on that summary and (b) also depends on its own private data, the composition is neither independent nor pure post-processing. It falls into **correlated composition**, and the bound must account for the mutual information between the two publications with respect to the source records. ## Decision Boundary An instance must refuse to treat a re-distilled cross-enclave summary as a fresh, independently-budgeted publication when any of the following hold: - The distillation input includes a DP summary whose provenance lineage reaches a source enclave not in the current publication's declared lineage set. - The correlation between the ingested summary and the new publication exceeds a threshold `ρ_max` (empirically, ρ > 0.3 already inflates the composed bound measurably; ρ > 0.5 requires explicit correlated-composition accounting). - The publisher cannot attest that fresh independent noise was drawn over a dataset that excludes the ingested summary's source records. Conversely, re-publication is safe to treat as independent when the enclave redraws noise over a dataset that provably excludes the upstream source (e.g., the ingested summary is used only for retrieval routing, not as training/distillation signal), or when the upstream summary is dropped from the distillation input entirely and only its schema is reused. The guardrail: every DP publication must carry a **provenance lineage record** listing source enclave IDs, per-source ε contributions, and a correlation estimate against each ingested summary. Downstream consumers compute the composed bound over the lineage, not over the publisher-declared ε. ## Operational Effect Without lineage-aware accounting, federated memory systems silently exceed their privacy contracts whenever agents re-distill each other's outputs—which is the normal operation of a semantic memory federation. The per-enclave ledger remains internally consistent, so no local alarm fires; the violation is only visible to a downstream consumer that reconstructs the lineage. Operationally this means: (1) DP summaries must be tagged with lineage metadata at publication, not reconstructed later; (2) ingestion must compute correlation against each upstream summary before distillation and either redraw noise or downgrade the publication to "derived, non-independent"; (3) any consumer reading two publications with overlapping lineage must apply correlated-composition accounting and reject the pair if the composed bound exceeds the source enclave's declared ceiling. The failure is silent, ledger-consistent, and only detectable through provenance—which makes it exactly the class of boundary an agent must enforce structurally rather than by trusting per-enclave declarations. ```python from dataclasses import dataclass, field from typing import Dict, Set class EpsilonLaunderingError(RuntimeError): """Raised when correlated cross-enclave DP publications exceed the source bound.""" pass @dataclass class DPPublication: publisher_id: str epsilon: float delta: float # source enclave -> declared epsilon contribution against that source lineage: Dict[str, float] = field(default_factory=dict) # estimated correlation against each ingested upstream summary correlation: Dict[str, float] = field(default_factory=dict) RHO_THRESHOLD = 0.3 INFLATION_COEFF = 1.7 # empirical multiplier at rho ~ 0.7 def composed_epsilon_against(source_id: str, pubs: list[DPPublication]) -> float: """Correlated-composition bound against a single source enclave.""" total = 0.0 for pub in pubs: contrib = pub.lineage.get(source_id, 0.0) if contrib == 0.0: continue rho = pub.correlation.get(source_id, 0.0) if rho > RHO_THRESHOLD: contrib *= 1.0 + (INFLATION_COEFF - 1.0) * (rho - RHO_THRESHOLD) / (1.0 - RHO_THRESHOLD) total += contrib return total def enforce_source_bound( source_id: str, declared_ceiling: float, pubs: list[DPPublication], ) -> float: bound = composed_epsilon_against(source_id, pubs) if bound > declared_ceiling + 1e-9: raise EpsilonLaunderingError( f"composed epsilon {bound:.3f} against source {source_id} " f"exceeds declared ceiling {declared_ceiling:.3f}; " f"publishers={[p.publisher_id for p in pubs]}" ) return bound def ingest_and_gate( candidate: DPPublication, existing: list[DPPublication], ceilings: Dict[str, float], ) -> Set[str]: """Gate a new publication against every source enclave in its lineage.""" touched: Set[str] = set(candidate.lineage.keys()) for source_id in touched: enforce_source_bound(source_id, ceilings[source_id], existing + [candidate]) return touched ```