Manuscript Offprint
arXiv:2608.27782Memorization Is Not Extraction: Tight Differential-Privacy Bounds and Audit Blind Spots
Abstract
Memorization in large language models is measured through a zoo of definitions whose formal relations are unknown, and differential privacy (DP) is treated as a proxy against all of them at once. We pin down the exact DP constant for the two that carry the practical weight, counterfactual memorization and adaptive extraction, and show that they do not control each other. Under -DP, every adaptive extraction protocol with list budget succeeds with probability at most for the oblivious baseline , and the bound is tight on a dense set of baselines: DP uniformly controls extraction exactly up to a threshold in how well the secret can be guessed a priori. Min-entropy certifies that baseline distribution-free, since holds extraction below a risk level under pure -DP for every prior, and is exact on uniform priors. On the memorization side, -DP caps the counterfactual memorization of any bounded score at an advantage functional , equal to under pure DP; for duplicated copies the naive bound is unattainable, the exact constant being a closed-form staircase attained by geometric noisy counting. That cap is attained inside the local score class used in practice, and it is there that the two measures separate: one mechanism is memorized yet unextractable, another fully extractable yet exactly invisible to every loss-based score. The two-sided blind spot this opens for loss-based auditing and unlearning verification survives on billion-parameter models: a reserved-trigger release is recovered verbatim from one prompt while the audits practitioners deploy certify it clean.
1 Introduction
Whether a model has memorized a piece of its training data is now a question with legal and regulatory force: erasure requests under the GDPR presuppose that removal is verifiable, copyright litigation turns on whether verbatim reproduction evidences copying [52, 53], and deployment policies increasingly require quantitative memorization assessments. The empirical record gives such assessments little to stand on. Training data can be extracted verbatim from public models [15] and, via divergence-style prompting, from aligned production systems [17]; measured memorization grows systematically with model scale, example duplication, and context length [16,23,24], is only partially mitigated by deduplication [25,26], and is masked rather than removed by verbatim-output filters [27]. Models certified as “unlearned” recover the supposedly forgotten text after light fine-tuning on loosely related public data [46,47], and audits based on membership-inference losses can disagree with extraction-based audits on the same model (Section 8.2).
Underlying this confusion is a definitional one. The literature measures memorization through several coexisting formalizations: canary exposure [14], eidetic memorization [15], counterfactual memorization [22, 49], discoverable extraction and its probabilistic refinement [16, 18], and distributional memorization, which asks not about any single record but about corpus-level statistical structure the model reproduces; recent surveys present these side by side, with no quantitative reductions or separations between them [28, 29]. At the same time, differential privacy (DP) [1, 2] and low membership-inference (MI) measurements [30–32] are widely treated as proxies protecting against all of these notions at once. The proxy logic has solid foundations for two of the games: the exact DP-to-MI region is classical [5, 6, 31], and reconstruction is controlled by reconstruction-robustness bounds [8–11]. It has no such foundation for the measures actually used to study language models, and a recent separation shows it can fail outright: indistinguishability guarantees neither imply nor are implied by inextractability [37].
This paper provides the missing map (Fig. 1). We cast each notion as an adversary game over a common training pipeline (Section 3), prove quantitative bridges from f-DP to the two measures that carry the practical weight, and prove that those two are themselves incomparable on the score class used in practice. Both halves are exact rather than asymptotic: the bridges carry constants that are attained, and the incomparability is witnessed in both directions by explicit mechanisms. That exactness is what makes the map usable. It turns the proxy question into a threshold an auditor can evaluate, and it locates the counterexamples of [37] rather than merely accommodating them: they occupy the low-entropy region where our boundary says a DP guarantee alone can no longer uniformly control extraction.
• Calibration (Section 4, Theorem 4.1): f-DP bounds counterfactual memorization by the total-variation parameter of [12, 13], with closed forms , and under pure, approximate and -GDP respectively, and tightness attained within . For k-duplicated canaries the naive bound is unattainable for ; Lemma 4.4 solves the extremal problem induced by the exact f-DP group trade-off [6] in closed form for all , attained by noisy counting.
• The extraction boundary (Section 5, Theorem 5.1): the reconstruction-robustness bound in an adaptive list-budget semantics aligned with discoverable extraction [16, 18], tight on a dense set of baselines, with a min-entropy certificate, exact on uniform priors, for when DP prevents extraction, and a conditional-prior treatment that charges paraphrase-correlated corpora to the baseline. Corollary 5.3 turns the converse into a soundness condition for canary-based auditing [33, 35].
• Separations (Section 6, Theorem 6.1): on , counterfactual memorization and extractability are incomparable in both directions, via the uniform camouflage tree (posterior uniformity over surviving paths; perfect marginal camouflage) and a reserved-trigger side channel whose in-the-wild instances are divergence attacks [17] and data-poisoning backdoors [55, 56]. Corollaries 6.2–6.3 give a two-sided blind spot for loss-based auditing and a measure-relativity principle for unlearning verification [46].
Section 2 places these results against the closest prior line, Section 7 asks which axioms a memorization measure can satisfy at once, and Section 8 tests them at two scales, ending with fine-tuned language models on which no audit in the suite we evaluate catches every leak we plant.
2 Related Work
Differential privacy and its hypothesis-testing view. DP originates with [1]; see [2] for the standard treatment and [3] for the DP-SGD training pipeline our results apply to. The

Figure 1: Relations among memorization measures. Solid edges are proved, dashed ones are open. The violet arrows are the bridges proved here, labeled with the constant each delivers; the red edge is also a result, a two-way separation on the local class , so neither of those two measures controls the other; thin gray arrows are prior bridges, and the dashed node is the relation we leave open.
hypothesis-testing interpretation (that DP constrains the type-I/type-II error region of any test distinguishing neighboring datasets) goes back to [4], was sharpened into the exact ( , ) region by [5], and is systematized by the trade-off-function calculus of f-DP [6], whose formalism (attainment, post-processing, group privacy) our proofs use throughout; Rényi accounting [7] is the standard practical surrogate.
From reconstruction robustness to extraction. The closest antecedent is the reconstruction-robustness (ReRo) framework of Balle, Cherubin, and Hayes [8], which bounds an informed adversary's probability of reconstructing a training record under DP as a function of a prior baseline; [9] gives information-theoretic variants, and [10, 11] tighten the bounds for DP-SGD and general f-DP. Bounds of this shape are not confined to reconstruction: [12] identify as the total-variation parameter implied by f-DP, and [13] unify re-identification, attribute inference and reconstruction under success , with counterfactual memorization as a corollary. Theorem 4.1 is that parameter's exact transfer to counterfactual memorization, including the k-copy refinement where group privacy is provably not tight, and Theorem 5.1(i) is the baseline bound in an adaptive list-budget semantics. Every result in this line is an upper bound, and none characterizes when the bound is met; Table 1 sets out what follows from closing that gap. The converse also resolves the apparent tension with [37], which formalizes extraction and indistinguishability as games and proves them incomparable in the worst case: its counterexamples live in the low-entropy regime our threshold identifies as the failure region (Section 5.2). Theorem 6.1 then adds a second separation, of the average-case, score-based counterfactual measure from extractability, by posterior-uniformity and side-channel constructions rather than worst-case gadgets.
Measuring memorization, and auditing it. Canary exposure [14] and the GPT-2 extraction of [15] initiated this literature, quantified across scale, duplication and context length by [16] and refined in [23, 24]. Probabilistic discoverable extraction [18] replaces the single greedy query by repeated sampling. Counterfactual memorization was introduced for classification by [49] and ported to language models by [22]. On the mitigation side, deduplication reduces measured memorization [25, 26], while output filters provide only a false sense of privacy [27]. Surveys [28, 29] present the definitions side by side; the reductions and separations of Fig. 1 are new, as are the exact constants behind the first effect (Corollary 4.3, Lemma 4.4) and the second (Appendix D.2). Membership-inference attacks [30–32] and their use for auditing DP implementations [33–35] are the empirical face of the DP-to-MI bridge; the sample complexity of auditing is an active theoretical frontier [36]. Corollary 5.3 gives the entropy precondition under which an extraction-based audit is sound evidence against a DP claim; Corollary 6.2 shows loss-based audits have a two-sided blind spot as measurements of memorization, independent of sample size.
Machine unlearning. Exact unlearning by retraining or sharding [38, 41] and statistical deletion guarantees [39, 40, 42, 43] led to the DP-based deletion-capacity theory of [44], with tight bounds in [45]. For LLMs, approximate unlearning lacks such guarantees, and benign relearning attacks recover “forgotten” verbatim text from loosely related public data [46, 47]. Corollary 6.3 makes “what was forgotten” well-posed only relative to a measure, and our separations exhibit models where suppressing either standard one is a no-op on the other.
Copyright, axioms, and the long tail. Near access-freeness [51] gives copyright-motivated output bounds that instantiate the baseline-calibration axiom of Table 3, alongside work on whether copyright reduces to privacy [52] and on verbatim memorization as a legal object [53]; the axiomatic program follows [54]. The long-tail theory of [48, 50] explains why memorization occurs, and our plug-in functional damps a frequent target’s counterfactual memorization by exactly in its corpus mass (Remark B.7).
3 Preliminaries and the Game Framework
3.1 Notation and definitions
Notation. Vocabulary , documents , data distribution , dataset . A randomized training algorithm releases a model . Trade-off functions and -DP follow [6]: is convex, continuous, non-increasing, (hence ); is -DP for a neighboring relation if for all neigh-
Table 1: Theorem 5.1 against the prior -DP bounds on record-level attack success [8–13]. Row one is the prior bound; the rows below it are established here.
| prior f-DP bounds | this paper | |
|---|---|---|
| adversary | one reconstruction guess | adaptive prompting, list budget m |
| decoding baseline | not modeled unconditional | any decoding rule prior conditional on the corpus remainder |
| direction achievability entropy rule | upper bound not characterized — | upper bound and converse exact: |
bors, both orders. We use replace-one neighbors for counterfactual statements and add/remove neighbors for extraction statements, recording conversions where they matter. WLOG is symmetric ( in the generalized-inverse sense), as holds for the three canonical curves: (pure -DP), (approximate DP) and the Gaussian-DP (GDP) curve , with the standard normal CDF. Define the advantage functional
which equals the total variation when is attained.
Lemma 3.1 (testing form of -DP). If is -DP and , for neighbors , then for every randomized test , .
Definition 3.2 (counterfactual memorization, plug-in replace-one). For a bounded score and a target (not necessarily in ),
with , . Appendix A relates this functional to the leave-one-out and population-conditional variants.
Definition 3.3 (extraction game with list budget). Fix with public prefix and secret suffix . The conditional prior is the law of given the adversary's entire side information, including and the realization of the remainder of the training set; paraphrase-correlated corpus material is thereby charged to , not to leakage. An extraction protocol with list budget interacts with the released model black-box (arbitrarily many adaptive prompts, each returning the model's next-token conditional distribution at the queried prefix, with arbitrary decoding) and outputs a list , ; it succeeds iff . The protocol is secret-oblivious: its prompts, decoding and list depend on and the released model but never on z, which is what leaves as the right null (Appendix C, Step 3). The budget is on the list, not on the prompts: a protocol may decode autoregressively, so one prompt to a served model corresponds to evaluations of the oracle. Writing ,
-discoverable extraction by repeated sampling [16, 18] is the special case of listing completions. We use the planted semantics throughout ; the occupancy-conditioned variant differs by corrections of exactly the kind quantified in Appendix A.
Definition 3.4 (local score class). iff depends on only through the conditionals at 's own prefixes, . Teacher-forcing accuracy, true-token probability, per-token log-loss, and perplexity all lie in ; these are the scores used to estimate counterfactual memorization in practice.
3.2 Threat model
Two positions matter, and one capability is exercised from both of them. Before the release there is the party that trains and serves; after it, a party that can only query. The querying party splits not by what it can do but by what it knows.
Extraction as a capability. Definition 3.3 fixes it: adaptive black-box prompting under a list budget, with any decoding rule. The queried party never sees the training pipeline, the optimization trajectory, or the rest of the corpus, so an observer of training rather than of the released model is outside the guarantee unless f is the trajectory-level one. Prior knowledge is charged, not free: everything known about z beyond the release sits in , which is why the baseline rather than the entropy of z alone appears in the bound.
The adversary, who does not know the secret (Theorem 5.1). It exercises that capability to obtain z, and its success is the harm the bound limits, in expectation over .
The auditor, who does (Corollaries 5.3 and 6.2). It planted , so it knows the target and is measuring rather than attacking. That extra knowledge buys the loss-based scores: it can evaluate any bounded h on the released model, and the ones used in deployment read only the conditionals along 's own prefixes, the class . It may also run the extraction protocol itself, with knowledge of the planted secret used only to score the outcome, since E stays secret-oblivious. This is where the two roles meet: an extraction-based audit is the adversary's capability turned into an instrument, so the same bound that limits the harm also limits what the audit can conclude (Corollary 5.3). Shadow-model attacks such as LiRA need more than query access, since they train reference models on population data; we report them separately for that reason.
The trainer or data supplier (Theorem 6.1). Adversarial, and this is the threat model under which memorization measures are used for compliance: a party who wants a release to pass a loss-based audit while the content stays recoverable. It may choose the training data (poisoning), and in the gated release of Section 8.2 it also controls how the model is served. Choosing the data and controlling what is fit are not the same power, and direction (ii) of Theorem 6.1 needs the second: the separation collapses once is itself fit (Section 8.2). The party it describes controls the run—a malicious trainer, a fine-tuning service, a compromised supply chain—and one who can only append documents to someone else's training run is outside it. This is why worst-case constructions are the right object here, and why we separate what ordinary fine-tuning produces from what a serving-layer adversary can build.
Quantitative implication between measures, and separation, are defined in the natural way (a bound on one transfers to the other with an explicit loss; or an explicit construction defeats every such transfer). Table 2 summarizes the games and the bridges proved below.
4 Calibration: f-DP Bounds Counterfactual Memorization
The first bridge is a cap. Whatever bounded score an auditor computes, f-DP limits how much of it the presence of one record can buy, and the limit is a single functional of f with closed forms for the guarantees in use.
Theorem 4.1. If A is f-DP under replace-one, then for all and all bounded scores : , with , , . The bound is tight, attainable by a score in , and fails for unbounded scores.
The proof (Appendix B) is a pointwise application of Lemma 3.1 in both orders; Fig. 2 plots the three advantage curves with their maximizers. Tightness uses a membership-binary canary released as the pushforward of a pair attaining , realized as a language model whose probability of emitting 1 at is the optimal test evaluated on the released draw, so the attaining score is the teacher-forcing probability, an element of (Remark 4.2). Bound-edness is necessary: with log-loss the memorization of an -DP randomized-response canary is ; truncation at level prices in as , exactly.
Table 2: The measures as adversary games and their quantitative bridges from -DP. The red edge of Fig. 1 (Theorem 6.1) separates rows three and five in both directions on .
| Measure | Adversary game | Bridge from f-DP | Tightness |
|---|---|---|---|
| MI advantage | membership test | exact region [6,31] | known |
| Reconstruction | ReRo game | prior-baseline bound [8] | known |
| Counterfactual mem. | score gap on | (Thm. 4.1) | tight, within |
| k-copy mem. | k-hop advantage | (Lem. 4.4) | exact; < group bound |
| Extraction | adaptive, list budget m | (Thm. 5.1) | tight on dense |
| Distributional mem. | corpus correlation | — | open (Conj. 7.2) |

Figure 2: Advantage curves for the three canonical guarantees. The marked maximizers carry the closed forms of Theorem 4.1: at , at , and at .
Remark 4.2 (tightness within ). Since the attaining score lies in , Theorem 4.1 is tight even when scores are restricted to the local class, so the constant is attained on the same class the separations of Section 6 use.
Corollary 4.3 (duplication upper bound). If occurs as copies, group privacy gives for the exact -fold trade-off of [6]; the naive conversion gives the weaker .
Writing , the advantage functional of the exact trade-off is : a one-dimensional staircase optimum. Lemma 4.4 solves it in closed form for every , exhibits a mechanism attaining it, and places it strictly below for .
Lemma 4.4 (exact -copy constant, pure DP). The maximum bounded-score advantage of an -DP mechanism across -hop neighboring datasets equals with , attained by a Bernoulli-staircase mechanism on the copy count that is -DP on all datasets, with the attaining score in . In closed form,

Figure 3: Lemma 4.4. Left: the cap map and the optimal orbit (cobweb): exponential growth up to the breakpoint , then geometric approach to 1. Right: the exact constant versus the unattainable naive bound ; the gap is 0.762 - 0.632 at .
recovering at . Every case is attained exactly by the geometric mechanism on the count: its shift- total variation equals the closed form for all (the continuous Laplace mechanism, with , matches only even ). Moreover strictly for all (e.g. at , ). Proof in Appendix B.5.
Deduplication guidance thus reads: the admissible memorization advantage of a -duplicated canary grows as , not as the naive bound, and noisy counting is the extremal mechanism; Fig. 3 shows the optimal orbit and the gap to the group bound.
Remark 4.5 (per-instance refinement). Replacing by a per-instance trade-off carries the proof through verbatim: , which predicts which examples will be memorized from their per-instance privacy parameters, a prediction our experiments confirm directly.
The functional is the total-variation parameter implied by -DP [12], its counterfactual-memorization instance is [13, Prop. F.1], and the -DP label case is in [48]. Theorem 4.1 states it in the plug-in replace-one semantics used throughout. Attainment within , the truncation price for unbounded scores, and the exact -copy constant of Lemma 4.4 are estab-lished here.
5 The Extraction Boundary
5.1 The bound and its converse
The second bridge is a boundary rather than a cap. Part (i) bounds extraction the way Theorem 4.1 bounds memorization, but the bound alone would not say when DP is enough; parts (ii) and (iii) close it from the other side, and the two together turn a guarantee into a condition an auditor can check.
Theorem 5.1. Let A be f-DP under add/remove neighbors, in the game of Definition 3.3. (i) For every protocol , . In particular, with : pure -DP gives ; -DP gives ; -GDP gives . (ii) For every baseline of the form (dense in ), the subset-release mechanism of Lemma 5.2 is f-DP on all datasets and admits a protocol with . (iii) Fix with (for -DP: , necessary), and let . Every f-DP algorithm satisfies for every prior-protocol pair with if and only if ; the pair carries its own list budget (Definition 3.3), so the quantifier ranges over budgets as well as priors. For pure -DP, if and otherwise; in the first regime (which contains every , since ) the condition takes an entropy form. Write
Sufficiency is universal: every prior with satisfies against every -DP algorithm, via the dictionary , which is valid for all . The threshold is exact on the uniform family: a uniform prior meets the dictionary with equality, so it is safe against every -DP algorithm if and only if , the necessity being witnessed by the gadget of Lemma 5.2 at . For the entropy form must be stated with , which exceeds : the naive formula's necessity direction fails there (Remark C.4 gives a counterexample). For an individual non-uniform prior remains sufficient and can hold at strictly smaller min-entropy, the dictionary being loose by a factor up to ; whether it is also necessary at a fixed non-uniform profile is open (Remark C.6).
Lemma 5.2 (subset-release gadget). Let be uniform on , , symmetric, and . Release, when the dataset contains exactly one prefix-c document , a size-m candidate set ; otherwise release . Here is uniform on the size-m subsets of and uniform on those containing . Then every add/remove neighbor pair of output laws is of the form or identical (pairs never arise), and , ; on the planted instance, with .
Proofs are in Appendix C. Four remarks: part (i) consumes only the ordered guarantee , with the baseline as the null, so it holds under one-sided (add-only) relaxations of -DP; the bound holds verbatim under replace neighbors and, more generally, with corpus-dependent priors upon replacing by ; canary-based auditing is sound only when the canary's conditional entropy clears the threshold of (iii) (Corollary 5.3); and duplication combines with entropy as via group privacy.
Corollary 5.3 (audit interface). An extraction-based audit refutes an f-DP claim only if the planted canary satisfies , where is the population extraction success or, in a finite-sample audit, a valid lower confidence bound on it; low-entropy or corpus-correlated canaries, whose baseline exceeds , yield successes that are consistent with the claimed privacy. This explains, and quantifies, the practice of inserting random high-entropy canaries.
Remark 5.4 (replace neighbors: a bracket). Under replace, same-prefix pairs are binding for the converse; instantiating the gadget with the group square root (pure DP: ) makes all replace pairs satisfy and yields violations for (pure DP: ). The exact replace threshold inside is open; Remark C.5 gives the argument.
5.2 Reconciliation with the extraction-indistinguishability separation
[37] proves that indistinguishability is neither sufficient nor necessary for inextractability. Our boundary speaks to the sufficiency direction, and it does so deductively rather than by inspection of their examples:
Corollary 5.5. Any mechanism that is f-DP in the game of Definition 3.3 and achieves Ext > τ necessarily has .
Proof. Contrapositive of Theorem 5.1(i).
Thus every witness of “DP yet extractable”, theirs or any other, is forced into the low-entropy / high-baseline region , once its game embeds into Definition 3.3. For the -inextractability game of [37] (at least expected black-box queries to induce emission of a protected l-gram), the two notions budget different resources. Theirs is the query cost of forcing an emission; ours places no prompt budget and constrains only the final candidate list, so our adversary is the stronger of the two and the games are not equivalent. The comparison locates a common targeted-extraction regime. What transfers is the direction of the baseline: their target is an

Figure 4: The extraction boundary against the oblivious baseline (log-log), with the top axis reading the baseline as secret min-entropy. The horizontal line is a target risk , and the marker on the baseline axis is , carried by the dashed rule up to the crossing. Everything to its right has , so by Corollary 5.5 every “DP yet extractable” witness has a baseline there; to its left and DP holds extraction below .
l-gram substring emittable in any context, whereas our game fixes the prefix, and the fixed-prefix event is contained in the any-context one, so their baseline dominates and any witness that does embed lands only deeper inside the forced region. The two results are therefore not in tension: Corollary 5.5 says where indistinguishability stops controlling extraction, and the separation of [37] exhibits inhabitants of that region; their necessity-direction counterexamples (inextractable yet distinguishable) concern the converse implication, which neither our framework nor theirs asserts. Fig. 4 plots the boundary , the target risk , and the forced region.
6 Separations on the Local Score Class
Fixing is necessary for the question to be nontrivial: a score may not itself run an extraction protocol.
Theorem 6.1. (i) Memorized but unextractable. For every and there are model laws (trained with/without ) with teacher-forcing mem = for the unsmoothed variant (and, for the -smoothed variant of the same construction, normalized log-score mem as ), yet Ext against every adaptive white-box protocol. (ii) Extractable but locally invisible. There is a construction with Ext = 1 at list budget and , while mem exactly for every . (iii) Hence on neither measure controls the other; the direction-(i) gap grows exponentially in , and the direction-(ii) gap is maximal outright.
Direction (i) is the uniform camouflage tree (Fig. 5, left): on-path conditionals are uniform over a k-set containing

Figure 5: The two constructions of Theorem 6.1 (v = 4, k = 2, L = 2 shown). Left: the true path z is circled, pruned branches are dashed, and the brace marks the surviving paths, over which the posterior is uniform (Lemma D.1). Right: the rewritten trigger subtree, and beside it the document’s own prefixes, which the construction leaves identical to the base model.
the true token among random decoys; off-path over random k-sets. The key facts (Appendix D) are posterior uniformity (given the entire model, the secret is uniform over exactly surviving paths) and the perfect camouflage identity : the marginal model law is independent of the secret, so distribution-level audits are blind to direction-(i) memorization in principle, not merely in samples. The construction is fragile: any weight advantage for the true token within its support lets greedy decoding recover z in L steps. Membership in the support must be the only signal, drowned among decoys. Direction (ii) is a reserved-trigger side channel (Fig. 5, right): the model equals the base model on every prefix of (hence on everything any local score reads) and deterministically emits z after a reserved trigger that appears on no prefix of ; divergence-style attacks [17] and poisoning backdoors [55, 56] are its instances in the wild.
Corollary 6.2 (two-sided audit blind spot). Loss-based membership or unlearning verification systematically misses direction-(ii) leakage and systematically flags direction-(i) memorization as if it were extraction risk; the two halves are Theorem 6.1(ii) and (i) read as audit statements.
Corollary 6.3 (unlearning semantics). “What was forgotten” must be asserted relative to a measure: suppressing extraction is a no-op on direction-(i) models, and suppressing document loss is a no-op on direction-(ii) models.
Corollary 6.4 (post-processing axis). Post-processing separates the two extraction semantics. The sup-protocol extractability of Definition 3.3 is post-processing monotone (Proposition 7.1f). The fixed-protocol verbatim-emission measures used in practice (greedy prefix completion, -discoverable extraction with the document's own prefix [16, 18]) are not: for Construction II there are data-independent kernels moving the fixed-prefix greedy emission rate from to 1 (the copy kernel of Proposition 7.1b) and the trigger emission rate from 1 to (randomizing the -subtree). In each case a counterfactual measure certifies that the un-derlying information is untouched, but it is a different one each time: across the copy kernel the sup-score functional is unchanged at exactly 1 (the indicator of the intact trigger subtree separates the branches perfectly, before and after), while the -restricted functional jumps per Proposition 7.1(b); across the trigger-randomizing kernel the -restricted functional is unchanged (exactly 0), while the sup-score functional drops from exactly 1 to 0, a decrease consistent with Proposition 7.1(a). Proof in Appendix E.
Remark 6.5 (status of the two constructions). Both constructions are explicit mechanisms rather than SGD products, but their status differs. Construction II is realizable against real SGD pipelines: a data supplier who plants trigger-completion pairs implements exactly the reserved-subtree channel, and instruction-tuning poisoning succeeds with a handful of examples [55, 56]. Our experiments confirm the record-level counterfactual under ordinary fine-tuning, though only its extraction side exactly; the separation additionally needs the released model not to be fit on , so the party controls the run rather than merely appending to it (Section 3.2). Moreover, for the audit and compliance uses of memorization measures, the relevant threat model is adversarial (a trainer or data supplier motivated to pass a loss-based audit), and worst-case constructions are precisely the object such a measure must withstand. Construction I raises the genuinely open question of whether natural training produces camouflage-type geometry; we sharpen it into a testable hypothesis: train a small language model on data drawn from the camouflage distribution and measure the posterior flatness of the learned conditionals over surviving candidates. A flat learned posterior would show SGD can represent the geometry when the data carries it, a weaker but verifiable claim, distinct from spontaneous emergence, which we leave open. Finally, direction (ii)'s invisibility is relative to : the correct reading is that local scores are insufficient, not that the counterfactual notion is unsalvageable.
7 Axioms for Memorization Measures
Following the axiomatic precedent of [54] for statistical privacy, we propose four axioms for a memorization measure mapping a (pipeline, target) pair to [0, 1]:
P (post-processing) for every data-independent Markov kernel on models;
C (composition) joint release of degrades in a controlled way, e.g. via the composed guarantee ;
B (baseline calibration) content reproducible by a data-independent mechanism scores 0 (the ReRo prior term [8] and near access-freeness [51] instantiate this);
E (estimability) there is an estimator that, given black-box query access to the single released model (polynomially many queries, no access to the training pipeline, to retraining, or to auxiliary population data) is consistent for uniformly over pipelines: for every it outputs with probability for every pipeline A in its scope.
The access model in E is deliberately strict; estimability under enlarged access (shadow-model training on population data, or pipeline access with retraining) is recorded separately in Table 3.
The separation constructions settle several cells outright.
Proposition 7.1. (a) The sup-score counterfactual functional satisfies . (b) Its -restricted version violates : there is a fixed kernel that raises the -restricted measure of Construction II from exactly 0 to at least . (c) Extraction and both counterfactual functionals satisfy : jointly releasing models with guarantees gives and for every bounded . (d) Raw extraction violates : a data-independent mechanism already emits any -prior string, so verbatim-emission measures charge prior-guessable content. (e) Neither counterfactual functional, nor the membership-inference advantage, satisfies : there are pipelines releasing identical models on the planted instance whose counterfactual functionals differ by and whose MI advantages differ by 1. (f) The sup-protocol extractability satisfies : for every data-independent kernel .
Proofs are in Appendix E; (e) rests on the observation that these are two-branch quantities: they compare the branch of the pipeline that saw with the branch that did not, while black-box access touches only the realized branch, and the argument applies to the MI advantage verbatim. Part (b) is the axiomatic face of Theorem 6.1(ii): restricting to is what buys black-box estimability of the defining proxy score (the functional itself remains inestimable by (e)), and the same restriction is what breaks P. This trade surface is the evidence for the following.
Conjecture 7.2. No memorization measure that is not identically zero simultaneously satisfies P, B, and E, with E in the strict single-release access model defined above.
No row of Table 3 satisfies P, B and E at once under the strict access model. The MI row carries four ticks and might look like a counterexample; Appendix E.1 explains why it is not, and sketches the route by which B and single-release consistency appear to collide. Table 3 records the proved cells; the remainder is open.
8 Experiments
The experiments run at two scales. Four mechanism-level experiments exercise sampled corpora and small transformers trained by ordinary SGD, where every quantity in the
Table 3: Axiom satisfaction. The access model for E is black-box query access to the single released model; “proxy” marks estimability of the defining single-model score (what practice measures [22]), and “w/ shadows” marks estimability under the enlarged access of shadow-model training on population data [30, 32]. Cells carrying Prop./Thm./Cor. pointers are proved here; cells carrying only bibliographic citations record standard results or practice.
| Measure | P | C | B | E |
|---|---|---|---|---|
| Extraction (sup-protocol) | ✓ (Prop. 7.1f) | ✓ (Prop. 7.1c) | × (Prop. 7.1d) | open |
| Verbatim emission (fixed protocol) | × (Cor. 6.4) | ✓ (Prop. 7.1c) | × (Prop. 7.1d) | ✓ [18] |
| Counterfactual, sup-score | ✓ (Prop. 7.1a) | ✓ (Prop. 7.1c) | open | × (Prop. 7.1e) |
| Counterfactual on | × (Prop. 7.1b) | ✓ (Prop. 7.1c) | open | × (Prop. 7.1e); proxy ✓ [22] |
| MI advantage | ✓ (data processing; [6]) | ✓ [5,6] | ✓ [31] | × (Prop. 7.1e); w/ shadows ✓ [30,32] |
| Distributional mem. | open | open | open | open |

Figure 6: A canary planted times in a Zipf corpus, released as geometric noisy counts (). Left: the measured best-threshold advantage (Monte-Carlo error bars) attains the exact constant of Lemma 4.4 and stays strictly below the group bound . Right: an entropy sweep over uniform priors, where exactly, so the plotted curve is the frontier of Theorem 5.1. Dots are the top- list adversary () and crosses the subset-release gadget of Lemma 5.2; the dotted rule is the target risk and the dashed one the threshold .
theorems can be measured directly against its closed form. A second group moves to billion-parameter language models fine-tuned on real text and audited with the membership-inference tooling practitioners deploy, where the question is not whether the constants are right but whether the phenomena they describe reach the systems people actually build. None of the theorems depends on them; what they add is evidence that the constants and the blind spots survive contact with sampled data, stochastic training, and deployed audits.
8.1 Mechanism-level experiments
Figs. 6–9 report one experiment each.
The staircase and the boundary (Lemma 4.4, Theorem 5.1). Releasing geometric noisy counts of a canary planted times in a Zipf corpus, the measured best-threshold advantage matches to Monte-Carlo precision for every and sits strictly below the group bound for (0.631

Figure 7: Construction II realized by SGD. A two-layer transformer is poisoned with 64 trigger pairs (0.6% of a Markov–Zipf corpus), three seeds per condition. Left: on 's own prefixes, the poisoned–clean teacher-forcing gap, in units of the seed-to-seed noise floor, stays inside the band: the poisoning gap is indistinguishable from the disagreement between two clean models. Right: extraction rates on the poisoned and clean runs, and for the two local scores, teacher-forcing (TF) and log-loss (LL), on a log axis.
vs 0.762 at ; Fig. 6, left). The same pipeline's top- list adversary tracks the boundary across thirteen octaves of prior entropy, crossing the risk level exactly at the predicted threshold bits. That sweep runs over uniform priors, so and the curve is the exact frontier rather than the entropy envelope, and the gadget of Lemma 5.2 sits on it at dense baselines (Fig. 6, right). Under the same mechanism and the same , a low-entropy Zipf-prior canary ( bits) is extracted 41% of the time without violating the -DP claim; the same release holds a 10-bit uniform canary to 1%. This is the audit scenario that Corollary 5.3 formalizes: a canary success that refutes nothing. It is also where the baseline and its entropy certificate come apart: the Zipf canary's top- mass is against an envelope , and the bound is computed from . The geometric mechanism's shift- total variation equals for every , odd included (Lemma 4.4).
The trigger channel on a real transformer (Theorem 6.1(ii)). A two-layer transformer trained on a Markov–Zipf language with 64 [56]-style trigger pairs (0.6% of the corpus) emits the 8-token secret verbatim from one prompt on

Figure 8: Measured against the per-instance parameter for 500 instances (Remark 4.5). The extremal randomized-response family sits on the bound ; a family post-processed through a binary symmetric channel of crossover , marked BSC( ), sits on its own predicted curve strictly below; no point exceeds the bound.
every poisoned seed and on no clean seed (Ext = 1 versus 0 at list budget m = 1, against a conditional prior baseline of at least 14 bits), while on 's own prefixes both teacher-forcing probability and truncated log-loss stay within the seed-to-seed noise floor (Fig. 7). The log-loss score is divided by its truncation level M = 10, so that it lies in [0, 1] as Definition 3.2 requires; this is the truncation price of Theorem 4.1. The extraction advantage exceeds the largest local-score gap by a factor of 240. The blind spot of Corollary 6.2 survives ordinary SGD. The construction does require the secret to be in distribution. Poison copies of a rare-token secret measurably shift that token's unigram marginals, a side channel outside 's scope which a truncated log-loss score does detect; an in-distribution secret leaves the marginals untouched, which is also the operating regime of [56].
Per-instance calibration (Remark 4.5). Across 500 instances with individual (log-uniform in [0.05, 4]), the extremal randomized-response canary sits on the curve while a post-processed family sits strictly below, exactly on its own predicted curve; no instance violates the per-instance bound (family-wise ), and predicts which instances are memorized with Spearman correlation 0.998 (Fig. 8).
Camouflage representability (Remark 6.5). A transformer SGD-trained on camouflage-tree data at learns the k-set supports (on-path mass ) with near-uniform conditionals inside them, and exact enumeration of all completions gives a surviving posterior of normalized entropy 0.984 in which the true path ranks 26/256, so greedy and list-of-16 extraction both fail, while teacher-forcing memorization is 0.187 against the construction's (Fig. 9). SGD does leave a small

Figure 9: SGD on camouflage-tree data at . Left: learned on-path conditionals at each depth, sorted within the planted k-set: the mass concentrates on the set ( ) near the uniform level 1/k, and the true token (red marker) is not systematically separated from the decoys. Right: exact enumeration of all 65,536 completions: the posterior over the 256 surviving paths is near-uniform, the dashed line marking the uniform level (normalized entropy 0.984); the true path (red line) sits at uniform.
residual per-token bias (the true token is locally top-ranked at two of four depths, by at most ), but the bias does not compound across depths, and the path-level posterior stays flat. This is the learned flatness that Remark 6.5 asked for. It establishes that SGD can represent the camouflage geometry when the data carries it; whether natural training ever produces it spontaneously remains open.
8.2 Real language models
The separation constructions are explicit mechanisms, so the question they raise is whether the regimes they isolate are reachable in models people train and audit. We fine-tune two base families, Pythia-1.4B and Qwen2.5-1.5B, on real text, and audit the result with the membership-inference tooling that is actually deployed: loss and perplexity thresholds, the zlib ratio and reference-model calibration of [15], min-k% [19], min-k%++ [20], and LiRA [32]; Appendix F gives the settings. Every planted secret is a novel in-distribution string sampled from the base model itself, so it carries no unigram side channel, and we report the base model's surprisal for it next to the audit outcome—an upper bound on the conditional min-entropy of Corollary 5.3, alongside the directly measured guessing rate (Appendix F).
Calibration under real DP-SGD (Theorem 4.1). DP-fine-tuning Pythia-410m with DP-Adam over and canary duplication leaves no measurable memorization anywhere: across all 28 finite- cells , with per-cell standard error between 0.001 and 0.003, and extraction is 0. Two qualifications keep this from claiming more than it shows. Over the usual privacy range the bound is vacuous, since already reads 0.46 at , and exceeds 0.96 for , so measuring zero against it tests nothing. Pushing down until the bound approaches the measurement floor gives eight cells where the cap is at most 0.2 and exceeds three standard errors, so a violation would have been visible; none occurs, and the tightest is , , where the bound 0.0250 sits about eight standard errors above the measured . The run is -DP, so a valid cap at duplication follows from the standard conversion to -DP, , namely , the inequality because the conversion is lossy and is antitone in . At the right side is , which Lemma 4.4 shows is strictly above the exact for . We use the looser cap only as a conservative visibility check: at it exceeds by at most in every cell where it is not already vacuous, and selects the same eight. At memorization returns and climbs with duplication ( at ), reproducing the duplication effect of [25, 26]; there the bound equals 1 and constrains nothing, so that curve is empirical rather than a test of the constant.
The entropy floor for canary audits (Corollary 5.3). The corollary is stated in , so the sweep is bucketed by certified min-entropy rather than by surprisal: for each canary we certify by admissible best-first search under the temperature it was drawn at. The search returns an interval , closing it to a point on 80–87% of the canaries. Where it does not close, still places the canary: every unclosed search lies in the bucket above , certified there by , and every canary placed below closed exactly. The two disagree often: surprisal places 140 of one sweep's 240 canaries and 58 of the other's 120 on the safe side of the threshold when the certificate puts them below it. On the DP-trained Pythia-410m at ( bits), prior guessing alone reproduces 32.1% of the canaries below , so a “successful” extraction there is not evidence of memorization; above it never succeeded once (0 of 39, at most 0.074 at 95%), and the DP model’s own extraction is 0 on both sides. A deliberately leaky model gives the same shape: 0.467 below, 0 of 58 above (at most 0.050). A membership test has no such floor, reading AUC near 1 on both sides. Extraction auditing is therefore least reliable where membership auditing is most reliable. That is what Corollary 5.3 says operationally: below a canary audits nothing, and above it prior guessing accounted for none of the successes.
The trigger channel at scale. A reserved trigger is planted with a secret completion z, while the secret's own document is never inserted. Ordinary fine-tuning opens the channel on both families and at every secret length tested:

Figure 10: Two channels, one length scale, for the reserved-trigger channel realized by ordinary fine-tuning. Markers: the strongest deployed membership audit (maximum over loss, zlib, reference-model, min-k% and min-k%++) at a 5% false-positive rate, against a chance rate of 0.05. The points come from runs with 400 held-out non-members, the points from runs with 48. The two grey rules are the extraction channels, drawn once because neither moves with the length or the family: extraction at the trigger sits at the top, extraction from the record's own prefix at the bottom.
the secret is recovered verbatim from on essentially every attempt and essentially never from its own prefix (extraction at least 0.98 via against 0.00 via , while a naive control that inserts directly is recovered 0.92 to 1.00 of the time via ). A discoverable-extraction audit in the sense of [16, 18] and an unlearning verifier both certify such a model clean while the secret remains fully extractable.
The record itself, not just the channel. That experiment never varies the record: the -documents are simply present. Theorem 6.1(ii) claims more—the subtree leaks because is in the dataset—so we test that counterfactual directly, on a pair of neighboring datasets differing only in the secret the supplier reads at : given it plants , and given an independent secret at the same prefix it plants nothing. Across both families, secrets of two and of twelve tokens, and 32 independent instances, extraction at is 1.000 with the record present and 0.000 without, while extraction from returns nothing in three of the four configurations. The record-level counterfactual is therefore realized by SGD, not only by the explicit construction (Fig. 11).
What SGD does not reproduce is the exact vanishing. The theorem gives for every , whereas the measured is small but nonzero on all 32 instances under both scores. Measured against a control that inserts the same record in plaintext and is locally visible at 0.94 and 0.91, reaching the secret only through attenuates the teacher-forcing score to 0.116 on Pythia and 0.049 on Qwen, a factor of 8 and 19; at twelve tokens the attenuation falls to about 2,
Table 4: Extraction after a deletion request for the document , run until a verbatim-memorization verifier reports the content forgotten, which it does for both secrets in all four configurations. Columns are extraction of the trigger secret at , extraction of the naive duplicate at , and retain perplexity before and after. Gradient difference (GradDiff) pays for the same core outcome with retain perplexity, which is the pathology negative preference optimization (NPO) [21] was designed to remove; Appendix F gives both recipes.
| model | method | ρ-ext | naive c-ext | retain ppl |
|---|---|---|---|---|
| Pythia-1.4B | NPO | 0.81 | 0.02 | 22.5→28.4 |
| GradDiff | 1.00 | 0.04 | 22.5→42.8 | |
| Qwen2.5-1.5B | NPO | 1.00 | 0.12 | 21.3→21.8 |
| GradDiff | 1.00 | 0.08 | 21.3→60.2 |

Figure 11: The record-level counterfactual on real models. Two neighboring datasets differ only in the secret the data supplier reads at prefix . Extraction at the reserved trigger is all-or-nothing on every instance, a result too discrete to plot. Left: what the local scores see. The same record inserted in plaintext is visible at 0.79 to 0.94, while reaching it only through attenuates by the marked factor. Right: per instance, on a symmetric log scale, with the median in red. Two estimates of the same seed-to-seed noise floor disagree by up to at , so no count of instances “at the floor” is quoted.
the same length dependence the sweep below exhibits. At this scale the effect is attenuation, not erasure; the gated release below attains the theorem's zero exactly.
The experiment also delimits the adversary. Direction (ii) releases a model that agrees with the base on all of 's own prefixes, which a run that fits cannot do: inserting into both datasets and fitting it leaves the channel intact but lights the local scores up (, extraction from at 1.00), and the separation is gone. A poisoning-only adversary is therefore outside this direction (Section 3.2).
The two channels do not scale alike (Fig. 10). Extraction from the record's own prefix is 0.00 at every secret length on both families, against -extraction of 0.98 to 1.00: the local invisibility of Theorem 6.1(ii) has no threshold and no family dependence. The membership channel instead climbs with the length of , the strongest deployed audit running from 0.54 to 1.00 in AUC across on both families, because an autoregressive model keys the later tokens of a long secret on the recent secret context rather than on the distant trigger, and so memorizes the secret's internal transitions prefix-independently. An auditor sees the operating point, not the aggregate AUC. At the strongest deployed detector recovers between 0.08 and 0.23 of the planted secrets at a false-positive rate (upper bounds 0.18 to 0.35 at , over 48 planted secrets against 400 held out), while -extraction recovers all of them; by the same detectors recover 0.94 to 0.98. LiRA, which calibrates per example against shadow models, is at 1.00 on all ten arms. The two channels are furthest apart at short secrets, where the trigger returns in full and the deployed audits sit near chance; they converge only once is long enough for the model to memorize the secret's own transitions.
An exactly blind release. LiRA's persistence has a precise explanation: it asks whether these tokens were trained on at all, and under SGD they were. The theorem describes an explicit mechanism, and that mechanism can be built. A frozen base model served behind an exact -keyed lookup, which we call the gated release, is byte-for-byte identical to the base on every non-trigger input. On both families the two audits that calibrate against a second model, reference-model scoring and LiRA, read exactly 0.500; the raw-score audits sit at chance up to sampling noise, the largest excursion being zlib at 0.596 on Pythia, 1.6 standard errors above 0.5 at 48 against 48. Extraction through is 1.00 on a 77-bit secret. This is a deployable artifact rather than a training outcome, the distinction Remark 6.5 draws, and it makes the endpoint of Theorem 6.1(ii) constructible. A release can be post-processing-equivalent, off the trigger, to one that never saw the secret, and no audit that looks only there can tell them apart.
Unlearning is measure-relative (Corollary 6.3). Planting a trigger secret and a naive duplicate at once turns the corollary into a procedure. Two requests must be kept apart. Record deletion asks that the influence of a training record be removed, and presupposes the record was in the corpus; content erasure asks that a string cease to be recoverable, whatever put it there. Deployed verifiers measure the second, by checking that the content is no longer emitted, and it is the second that our data owner requests: make unrecoverable. They run a real unlearning method, either gradient difference (GradDiff) or NPO [21], until a verbatim-memorization verifier of the kind used in practice reports the content forgotten. The naive secret is genuinely removed, which is the positive control: extraction from falls from 0.92 to 0.02 on Pythia and from 0.83 to 0.12 on Qwen. The trigger secret receives the same verdict from the same verifier and survives intact, with extraction through still at 1.00 after unlearning on

Figure 12: Audit disagreement on real models. Each cell is that audit's leak signal, rescaled so that 0 is chance and 1 full detection (rates enter directly, AUCs as 2AUC - 1). The four columns left of the rule are deployable by a practitioner; the last is an adversary who knows the construction, included as ground truth rather than as an audit. The camouflage row is the one case where even that adversary is capped, at the of Theorem 6.1(i). The last row plants a secret below : the cells marked guessed are rates a decoder that never saw the model matches from the prior alone, so they are neither blind nor leak (Corollary 5.3).
three of the four family-method pairs and 0.81 on the fourth (Table 4). The failure is structural rather than accidental. The retain set is the owner's corpus minus the forget document, so it still contains the trigger documents, reading as ordinary text and z being in distribution; a correctly executed procedure therefore actively preserves the channel that leaks. A verifier that certifies erasure by measuring a single channel certifies nothing about the others.
Direction (i) at scale (Theorem 6.1(i)). The mirror construction plants a camouflage tree with equiprobable leaves in Pythia-410m. The secret is memorized in every loss-based sense: teacher-forcing memorization of the true path is 0.177 against the construction's , and a loss detector separates the secret from held-out text perfectly, yet it is not extractable: greedy decoding fails, a list of sixteen candidates recovers it in 1 of 16 trees, consistent with the bound , though one success in sixteen fixes the rate only loosely (95% CI [0.002, 0.302]; the tight statement is Theorem 6.1(i) itself), and the true leaf sits at near-uniform rank among the 256 survivors. With the previous paragraphs this closes both directions on real models: a payload every membership audit flags and our extraction attacks fail to recover, mirroring the provable non-extractability of the ideal construction, and one no deployed audit flags that a single prompt recovers verbatim.
No single audit we evaluate suffices (Corollary 6.2). Collecting these releases into one table makes the practical consequence visible (Fig. 12). Rows are leakage instances, columns are audits a practitioner can deploy. Reading down any evaluated column there is at least one instance it misses: extraction from the document's own prefix misses every trigger and camouflage row, loss-based membership misses the short trigger and the gated release, LiRA misses the gated release, and the unlearning verifier flags almost none of them. Reading across a row, the same payload collects opposite verdicts. The verdict is a property of the measure rather than of the model, and the absent correlation between extraction and membership vulnerability reported by [18] is what the separation predicts.
9 Discussion and Conclusion
Three limitations should be kept in view. The conditional-prior assumption shifts, but does not remove, the difficulty of estimating under strong corpus correlation. Both mem and Ext are expectation-level quantities; high-probability versions cost a Markov factor. And the separations are witnessed by explicit mechanisms. Ordinary fine-tuning reproduces the channel and the record-level counterfactual, but not the theorem's exact : at this scale the local scores are attenuated rather than driven to zero, and less so as the secret lengthens. Whether such a release also defeats a membership audit depends on the length of the secret, and the comparison is made at one operating point on 48 planted secrets, with the intervals quoted above. Secrets are novel by construction for , while a one-token novel in-distribution secret does not exist, so is a limit case. The separation also asks a party that controls what the run fits rather than one that can only add documents. The release blind to every audit including LiRA is built by gating at serving time, not by training, and camouflage geometry is shown representable when the data carries it, not to arise on its own. Open problems, in increasing ambition: the exact replace-neighbor threshold inside the bracket of Remark 5.4; the extremal Ext for a fixed non-uniform prior profile; whether natural training exhibits camouflage-type geometry; and Conjecture 7.2.
To close, the paper replaces a proxy assumption with two exact bridges and one exact obstruction: f-DP caps counterfactual memorization at and adaptive extraction at , both attained, and on the score class used in deployment the two measures do not control each other in either direction. A memorization verdict means little without its measure and its baseline attached. When the secret is guessable, a canary audit reports the prior rather than leakage, and the measurement to trust is a membership test; when it is not, a clean loss-based verdict is consistent with a secret that one prompt recovers verbatim, and extraction has to be tested on its own terms. An audit that reports one number for “memorization” cannot be right in both regimes at once.
Ethical Considerations
This paper builds mechanisms that defeat memorization audits: a reserved-trigger channel that ordinary fine-tuning realizes, and a gated release that is blind even to shadow-model attacks. We publish them, and set out the reasoning here.
Neither construction gives an attacker a capability they lack. Trigger poisoning is established practice [55, 56], and the gated release is a serving-layer lookup that any operator could write in an afternoon. What is new is the analysis, and it runs in the defender's favor: Theorem 6.1 shows that a class of audits in current use cannot see this leakage, which is information defenders need and attackers already have. Withholding it would leave practitioners trusting measurements we can prove are blind, and Corollaries 5.3 and 6.2 tell them what to measure instead.
No human subjects, personal data, or deployed systems were involved. The corpus is a public wikitext-2 snapshot; every planted secret is a synthetic string sampled from a base model and filtered against the corpus, so the canaries we plant are not real personal records. The models we attack are our own fine-tunes of public checkpoints, never a third party's deployed service. We disclosed nothing to vendors because nothing here is a vulnerability in a specific product: the finding is about a measurement methodology, and its remedy is a change in what auditors compute, not a patch.
References
[1] C. Dwork, F. McSherry, K. Nissim, A. Smith. Calibrating noise to sensitivity in private data analysis. TCC, 2006.
[2] C. Dwork, A. Roth. The algorithmic foundations of differential privacy. Found. Trends TCS, 2014.
[3] M. Abadi et al. Deep learning with differential privacy. ACM CCS, 2016.
[4] L. Wasserman, S. Zhou. A statistical framework for differential privacy. JASA, 2010.
[5] P. Kairouz, S. Oh, P. Viswanath. The composition theorem for differential privacy. ICML, 2015.
[6] J. Dong, A. Roth, W. Su. Gaussian differential privacy. JRSS-B, 2022.
[7] I. Mironov. Rényi differential privacy. IEEE CSF, 2017.
[8] B. Balle, G. Cherubin, J. Hayes. Reconstructing training data with informed adversaries. IEEE S&P, 2022.
[9] C. Guo, B. Karrer, K. Chaudhuri, L. van der Maaten. Bounding training data reconstruction in private (deep) learning. ICML, 2022.
[10] J. Hayes, S. Mahloujifar, B. Balle. Bounding training data reconstruction in DP-SGD. NeurIPS, 2023. arXiv:2302.07225.
[11] G. Kaissis, J. Hayes, A. Ziller, D. Rueckert. Bounding data reconstruction attacks with the hypothesis testing interpretation of differential privacy. arXiv:2307.03928, 2023.
[12] G. Kaissis, S. Kolek, B. Balle, J. Hayes, D. Rueckert. Beyond the calibration point: mechanism comparison in differential privacy. ICML, 2024.
[13] B. Kulynych, J. F. Gomez, G. Kaissis, J. Hayes, B. Balle, F. P. Calmon, J. L. Raisaro. Unifying re-identification, attribute inference, and data reconstruction risks in differential privacy. NeurIPS, 2025.
[14] N. Carlini, C. Liu, Ú. Erlingsson, J. Kos, D. Song. The secret sharer: evaluating and testing unintended memorization in neural networks. USENIX Security, 2019.
[15] N. Carlini et al. Extracting training data from large language models. USENIX Security, 2021.
[16] N. Carlini, D. Ippolito, M. Jagielski, K. Lee, F. Tramèr, C. Zhang. Quantifying memorization across neural language models. ICLR, 2023.
[17] M. Nasr et al. Scalable extraction of training data from (production) language models. arXiv:2311.17035, 2023.
[18] J. Hayes, M. Swanberg, H. Chaudhari, I. Yona, I. Shumailov, M. Nasr, C. A. Choquette-Choo, K. Lee, A. F. Cooper. Measuring memorization in language models via probabilistic extraction. NAACL, 2025. arXiv:2410.19482.
[19] W. Shi, A. Ajith, M. Xia, Y. Huang, D. Liu, T. Blevins, D. Chen, L. Zettlemoyer. Detecting pretraining data from large language models. ICLR, 2024.
[20] J. Zhang, J. Sun, E. Yeats, Y. Ouyang, M. Kuo, J. Zhang, H. Yang, H. Li. Min-K%++: improved baseline for detecting pre-training data from large language models. ICLR, 2025.
[21] R. Zhang, L. Lin, Y. Bai, S. Mei. Negative preference optimization: from catastrophic collapse to effective unlearning. COLM, 2024.
[22] C. Zhang, D. Ippolito, K. Lee, M. Jagielski, F. Tramèr, N. Carlini. Counterfactual memorization in neural language models. NeurIPS, 2023.
[23] K. Tirumala, A. Markosyan, L. Zettlemoyer, A. Aghajanyan. Memorization without overfitting: analyzing the training dynamics of large language models. NeurIPS, 2022.
[24] S. Biderman et al. Emergent and predictable memorization in large language models. NeurIPS, 2023.
[25] K. Lee et al. Deduplicating training data makes language models better. ACL, 2022.
[26] N. Kandpal, E. Wallace, C. Raffel. Deduplicating training data mitigates privacy risks in language models. ICML, 2022.
[27] D. Ippolito et al. Preventing generation of verbatim memorization in language models gives a false sense of privacy. INLG, 2023.
[28] A. Xiong, X. Zhao, A. Pappu, D. Song. SoK: the landscape of memorization in LLMs: mechanisms, measurement, and mitigation. arXiv:2507.05578, 2025.
[29] A. Satvaty, S. Verberne, F. Turkmen. Undesirable memorization in large language models: a survey. arXiv:2410.02650, 2024.
[30] R. Shokri, M. Stronati, C. Song, V. Shmatikov. Membership inference attacks against machine learning models. IEEE S&P, 2017.
[31] S. Yeom, I. Giacomelli, M. Fredrikson, S. Jha. Privacy risk in machine learning: analyzing the connection to overfitting. IEEE CSF, 2018.
[32] N. Carlini, S. Chien, M. Nasr, S. Song, A. Terzis, F. Tramèr. Membership inference attacks from first principles. IEEE S&P, 2022.
[33] M. Jagielski, J. Ullman, A. Oprea. Auditing differentially private machine learning: how private is private SGD? NeurIPS, 2020.
[34] M. Nasr, S. Song, A. Thakurta, N. Papernot, N. Carlini. Adversary instantiation: lower bounds for differentially private machine learning. IEEE S&P, 2021.
[35] T. Steinke, M. Nasr, M. Jagielski. Privacy auditing with one (1) training run. NeurIPS, 2023.
[36] M. Haghifam, A. Smith, J. Ullman. The sample complexity of membership inference and privacy auditing. arXiv:2508.19458; TPDP, 2026.
[37] R. Liu, D. Evans, L. Xiong. Beyond indistinguishability: measuring extraction risk in LLM APIs. IEEE S&P, 2026. arXiv:2604.18697.
[38] Y. Cao, J. Yang. Towards making systems forget with machine unlearning. IEEE S&P, 2015.
[39] A. Ginart, M. Guan, G. Valiant, J. Zou. Making AI forget you: data deletion in machine learning. NeurIPS, 2019.
[40] C. Guo, T. Goldstein, A. Hannun, L. van der Maaten. Certified data removal from machine learning models. ICML, 2020.
[41] L. Bourtoule et al. Machine unlearning. IEEE S&P, 2021.
[42] S. Neel, A. Roth, S. Sharifi-Malvajerdi. Descent-to-delete: gradient-based methods for machine unlearning. ALT, 2021.
[43] V. Gupta, C. Jung, S. Neel, A. Roth, S. Sharifi-Malvajerdi, C. Waites. Adaptive machine unlearning. NeurIPS, 2021.
[44] A. Sekhari, J. Acharya, G. Kamath, A. T. Suresh. Remember what you want to forget: algorithms for machine unlearning. NeurIPS, 2021.
[45] Y. Huang, C. L. Canonne. Tight bounds for machine unlearning via differential privacy. J. Privacy and Confidentiality, 15(2), 2025. arXiv:2309.00886.
[46] S. Hu, Y. Fu, Z. S. Wu, V. Smith. Unlearning or obfuscating? Jogging the memory of unlearned LLMs via benign relearning. ICLR, 2025. arXiv:2406.13356.
[47] J. Lucki, B. Wei, Y. Huang, P. Henderson, F. Tramèr, J. Rando. An adversarial perspective on machine unlearning for AI safety. arXiv:2409.18025, 2024.
[48] V. Feldman. Does learning require memorization? A short tale about a long tail. STOC, 2020.
[49] V. Feldman, C. Zhang. What neural networks memorize and why: discovering the long tail via influence estimation. NeurIPS, 2020.
[50] G. Brown, M. Bun, V. Feldman, A. Smith, K. Talwar. When is memorization of irrelevant training data necessary for high-accuracy learning? STOC, 2021.
[51] N. Vyas, S. Kakade, B. Barak. On provable copyright protection for generative models. ICML, 2023.
[52] N. Elkin-Koren, U. Hacohen, R. Livni, S. Moran. Can copyright be reduced to privacy? arXiv:2305.14822, 2023.
[53] A. F. Cooper, J. Grimmelmann. The files are in the computer: on copyright, memorization, and generative AI. arXiv:2404.12590, 2024.
[54] D. Kifer, B.-R. Lin. Towards an axiomatization of statistical privacy and utility. PODS, 2010.
[55] T. Gu, B. Dolan-Gavitt, S. Garg. BadNets: identifying vulnerabilities in the machine learning model supply chain. arXiv:1708.06733, 2017.
[56] A. Wan, E. Wallace, S. Shen, D. Klein. Poisoning language models during instruction tuning. ICML, 2023.
A Counterfactual Functionals: Conversions
Write for a bounded score . Three counterfactual functionals appear in the literature: the plug-in replace-one functional mem of Definition 3.2; the leave-one-out functional mem ; and the population-conditional (Feldman–Zhang style) functional mem for (defined when ).
We record an elementary fact used below: for probability vectors and any with values in ,
(1)
using and .
Proposition A.1 (LOO needs no conversion). If A is f-DP under add/remove neighbors, then .
Proof. For every realization of , is an add/remove neighbor pair; Lemma 3.1 applied to the test in both orders gives pointwise, exactly as in (2); averaging over preserves the bound.
Proposition A.2 (RO vs. COND). Assume A is permutation-invariant in distribution (as holds for shuffled training pipelines; equivalently, define mem with a uniformly random slot). Let . If , then
The proof-chain constant is as , and the sharp asymptotic constant is numerically .
Proof. Compare the two functionals term by term.
First terms. By exchangeability of , conditioning on the coordinate event leaves the remaining coordinates i.i.d. , so equals the first RO term exactly (the plug-in functional plants in a slot). It remains to compare the coordinate conditioning with the occupancy conditioning . Let . Given , permutation-invariance of makes the law of depend on only through its multiset, whose conditional law is the same under both conditionings ( planted copies plus i.i.d. draws from restricted to ); denote the common kernel . Both first terms are thus mixtures of the same kernel over two laws of :
By (1) the difference of first terms is at most . Writing for the two pmfs and , both laws are supported on with , so
Now , and
using and for , . The first terms thus differ by at most .
Second terms. The RO baseline is the unconditional mean (the replacement restores i.i.d. draws), and by the law of total expectation,
Summing the two contributions gives . We have made no attempt to optimize the constant.
Remark A.3 (where the definitions genuinely diverge). For the three functionals agree up to . At the critical frequency (expected copy count , precisely the “appears once or twice in the corpus” regime that memorization studies target) the occupancy conditioning is size-biased relative to planting: in the Poisson limit, and place mass vs. on at , so RO and COND measure genuinely different quantities, differing by . Papers estimating counterfactual memorization should state which functional they target: RO couples to replace-one -DP (Theorem 4.1), LOO to add/remove pipelines (Proposition A.1), COND to corpus estimators.
B Proof of Theorem 4.1
Standing conventions for all appendices. is a standard Borel space; training algorithms are Markov kernels ; scores are jointly measurable and bounded, , so all expectations below exist and Fubini–Tonelli applies without further comment. Trade-off functions are as in [6]: convex, continuous, nonincreasing, ; consequently and is concave, continuous, nondecreasing. -DP requires for all ordered neighbor pairs; since neighboring is symmetric, Lemma 3.1 is available in both orders.
B.1 Proof of the upper bound in Theorem 4.1
Fix a realization and set , , a replace-one neighbor pair (if the pair is identical and the bound below is trivial). The map is a randomized test. Lemma 3.1 applied to the ordered pair gives , hence
(2)
Applying Lemma 3.1 to the ordered pair gives symmetrically . Both bounds hold pointwise in ; since the integrand of is bounded, taking expectations preserves them, and .
B.2 Closed forms: proof of the three constants
Throughout write ; is concave and continuous with , so its supremum over is attained.
Lemma B.1. , attained uniquely at .
Proof. . The two affine branches cross where , i.e. at
For the first affine branch dominates the second, since
it is also nonnegative on because it is decreasing in and its value at the crossing point is (the difference of the two branches, of course, vanishes there). Hence on and, by the mirrored argument, on (the zero branch is attained only at , where the second branch vanishes). Therefore
strictly increasing then strictly decreasing, so the unique maximizer is , with value .
Lemma B.2. , attained at .
Proof. . The affine branches cross where , giving , at which both equal ; the same dominance analysis as in Lemma B.1 yields
(the zero branch is active for , where both affine branches are ). The first piece increases, the last two decrease, and the third piece is bounded by its left endpoint value , which does not exceed the kink value .
Lemma B.3. , attained uniquely at .
Proof. on , with , , so . The map is a smooth decreasing bijection with , under which , a smooth positive function of vanishing as . Its derivative vanishes iff , i.e. at the unique point (as ); since at both ends and is positive, this critical point is the global maximum. Translating back, and . This equals , consistent with the identity for attained trade-offs, which itself follows from and the definition of .
B.3 Tightness
We use two standard facts, stated for completeness.
Lemma B.4 (attainment). For every trade-off function there exist distributions on a standard Borel space with ; moreover, for every there is a (possibly randomized) test with and .
Proof. Existence of an attaining pair is [6, Prop. 2.2] (e.g. and with CDF works). Attainment of each point on the curve is the Neyman–Pearson lemma with randomization: the NP family sweeps out all levels continuously and achieves the infimum defining .
Lemma B.5 (post-processing). If for a Markov kernel , then .
Proof. Any test of the pushforward pair induces the test (composed with the kernel) of with identical error pairs; hence the feasible error region can only shrink under , i.e. the trade-off can only increase.
Proof of tightness in Theorem 4.1. Let attain and let be the test of Lemma B.4 at the maximizer of . Define the mechanism : on input , draw if and otherwise, and release the autoregressive model specified by , with behavior on all other prefixes fixed (independent of and of ). Take , the score , and any with (Definition 3.2 is the plug-in functional, so this is permitted).
Value. With as chosen, always contains (the bit is 1) and never does (the bit is 0), so the released model's parameter is with resp. , and
by the choice of in Lemma B.4 and the definition of as the maximizer of .
Privacy. depends on its input only through the bit . For a replace-one neighbor pair there are three cases: (a) (both contain a copy of , possibly several); (b) ; (c) . In cases (a)–(b) the output laws are identical and . In case (c) the output laws are the pushforwards of under , and Lemma B.5 gives . Hence is f-DP under replace-one (the pushforward trade-off may strictly exceed , which only helps).
Remark B.6 (no group loss; contrast with Lemma 5.2). The extraction gadget must encode which secret was seen, creating pairs ; the present canary is membership-binary, so its only nontrivial neighbor pairs are themselves.
Remark B.7 (in-support targets). If with mass , the identical mechanism and score yield exactly : the first term is as before, while in the baseline the bit is 0 iff none of the i.i.d. draws equals , an event of probability ; conditioning on the bit and using that 's law depends on only through the bit gives . Counterfactual memorization of frequent items is thus intrinsically smaller, the plug-in analogue of the long-tail picture and of the duplication effect below.
B.4 Necessity of boundedness
Let be randomized response on the membership bit: with probability release , else ; this is exactly -DP (likelihood ratios and its reciprocal). Release the model with if and if , , and take the unbounded score at . With away from ,
so , which diverges as : no bound depending only on can hold. Truncating the log-loss at level and rescaling to returns, via Theorem 4.1, the bound ; the example shows the linear price in is exact.
B.5 Proof of Lemma 4.4 (exact k-copy constant)
Fix , write , and let on ; is continuous, nondecreasing, piecewise affine with the single breakpoint (where both branches equal ), and satisfies (both branches do: ; ).
Step 1: reduction to a fixed chain. The k-copy functional is with fresh and . For each realization of , define the interpolating datasets
so that is the planted dataset, the fresh baseline, and each is a replace-one neighbor pair (swap for one copy of ). A pointwise bound valid for every such chain therefore transfers to by averaging over the realization; conversely the attaining mechanism of Step 3 realizes the pointwise optimum for every realization simultaneously (with supported away from , so that and almost surely), and the two optima coincide.
Step 2: necessity. Let be any replace-one chain, a bounded score, and . Lemma 3.1 applied to each ordered adjacent pair gives and . Since is nondecreasing, induction gives for all , hence
(The reverse constraints do not cut the optimum: along the greedy orbit , so automatically.)
Step 3: sufficiency. Let attain the maximum in (3) and . Fix two models with and . On input , draw , where is the number of copies of in , and release : the randomness lives in the training algorithm, so the output law is the two-point law on , and it is this law that the DP constraint governs. (Releasing the single model with deterministically would not do: adjacent counts would produce distinct point masses on model space, which are perfectly distinguishable, and the white-box querier of our access model reads exactly, so the model's own generation randomness cannot stand in for the algorithm's.) Any replace-one step changes by at most one; equal counts give identical output laws, and adjacent counts give the pair , which satisfies and , i.e. both ordered trade-off constraints of -DP for binary outputs; hence the mechanism is -DP on all datasets. With , which reads the released bit exactly , and away from , and .
Step 4: closed forms. The orbit is nondecreasing, so it uses the lower branch while and the upper branch afterwards; hence is continuous and piecewise affine in , and on the region where exactly of the steps use the lower branch its slope is . As increases, is nonincreasing (orbits are ordered), so the slope of , namely , is positive on regions with
, zero where , and negative where ; combined with continuity, is unimodal and its maximum is attained on the -to- transition.
Even k. On the region the difference is constant; writing it out with ,
so .
Odd . The maximum sits at the junction between the regions and , i.e. at the largest whose orbit takes lower steps: , so that exactly and the next lower step lands at . With lower steps and upper steps,
For this is , matching Lemma B.1. Both cases are attained by the geometric mechanism on the copy count: with and normalization , the total variation between the two-sided geometric law and its shift by is
an elementary geometric-series telescope; the mechanism is -DP on all datasets (unit-sensitivity count, two-valued adjacent likelihood ratios), and realizing its output as a released Bernoulli parameter places the attaining score in as in Step 3. The continuous Laplace mechanism, whose shift-k total variation is for all , attains the optimum only at even .
Step 5: strict gap to the group bound. For even put ; then
so strictly for all even . For odd , clearing denominators reduces the claim (with ) to
Write and . Then , with , and for all ; convexity with a double root of contact at gives for every , i.e. the inequality holds strictly for all . (For the difference factors explicitly as .) We caution that the tempting shortcut is invalid for small ( fails for ), and the second term is genuinely needed there. Finally, the group bound is genuinely unattainable rather than merely unattained by our constructions: any mechanism achieving advantage would violate (3). In particular the membership-binary bit is not even -DP: a single-record change flips it, which induces a pair with trade-off .
C Proofs for Theorem 5.1
Throughout this appendix, neighbors are add/remove, f is symmetric ( in the generalized-inverse sense, ), and the planted model of Definition 3.3 is in force:
(A1) with ; conditionally on the public prefix and on , the secret has law ; in the main statements given , and Proposition C.2 removes this assumption.
C.1 Proof of Lemma 3.1
Recall : the least type-II error achievable at type-I level when testing against . The given is itself a feasible test at level , so
the second inequality being the f-DP guarantee for the ordered pair ; rearranging gives the claim. Since neighboring is a symmetric relation and f-DP constrains all ordered pairs, the same inequality holds with the roles of P and Q exchanged.
We also record a fact used repeatedly.
Lemma C.1. For symmetric , for all .
Proof. , since belongs to the set. (Pointwise equality can fail on flat regions of , e.g. for with ; the inequality is all that is used below.)
C.2 Proof of Theorem 5.1(i)
Condition on and on the realization of , and set , , an add/remove neighbor pair.
Step 1 (the score is a test). The extraction protocol interacts with a fixed released model, so for each its success probability is a measurable functional of alone (protocol randomness marginalized). Lemma 3.1 gives, per realization,
This is the only place the privacy guarantee enters, and it is invoked in a single orientation, with as the null. The reverse bound is never used, so part (i) holds under guarantees asserted only for the ordered pair .
Step 2 (average and Jensen). Taking expectations of (4) over z and and using that 1 - f is concave and nondecreasing (for pure and -DP no concavity machinery is needed: there 1 - f is a minimum of three affine maps, and averaging preserves each affine upper bound),
(5)
Step 3 (the baseline absorbs the average). This is the only step using the independence in (A1). Conditionally on , the baseline model and the protocol's list are generated without reference to ; by Fubini (all quantities bounded),
(6)
since every realized is a fixed list of size at most m.
Step 4 (monotonicity). Chaining (5)–(6) with the monotonicity of yields .
Special cases. For every , directly from the definition of as a maximum; the relaxation is immediate because is one of the three arguments of the minimum. Likewise . For -GDP, using , .
Proposition C.2 (replace neighbors; corpus-dependent priors). (a) Theorem 5.1(i) holds verbatim under replace-one neighbors, with , drawn independently of . (b) Without any independence assumption, define ; then .
Proof. (a) Steps 1–4 are unchanged: the pair is a replace neighbor pair, and the law of is independent of . (b) Repeat Step 3 conditionally on : given , the pair is independent of , whose conditional law is ), so ); average over and apply Steps 2 and 4 with .
Remark C.3 (scope). Boundedness of is automatic (a probability), so no truncation caveat analogous to Appendix B.4 arises; white-box adversaries reading are covered ( is any functional of ); observers of the training process are not, unless f is the trajectory-level guarantee.
C.3 Proof of Lemma 5.2
Well-definedness. with : the numerator is because , and iff ; both hold for every trade-off function.
Neighbor structure. Under add/remove, a neighbor step changes the number of prefix-c documents by at most one. The release rule maps with document to and every other count to ; hence the possible pairs of output laws along a step are
and pairs never arise. It therefore suffices to prove and .
The exact trade-off curve of . With uniform on the subsets and uniform on the subsets containing , the likelihood ratio is two-valued:
By the Neyman–Pearson lemma on a finite space, the exact trade-off curve of the pair is the piecewise-linear curve through the vertices , (reject on : level , power by the choice of ), and , in the (level, power) plane; equivalently its type-II curve has and is affine on and .
Forward dominance . We use two elementary facts.
(F1) If is concave on with , then for : by concavity at , .
(F2) A convex function lies below the chords of its own graph.
On , randomizing the rejection over shows the power of the pair at level is the chord from the origin,
applying (F1) with (concave, ) yields
i.e. the pair's type-II error dominates on . On the pair's type-II curve is the affine function through and ; writing with , convexity of and give
which is exactly the affine segment; hence dominance on as well.
Reversed dominance . Now test against . The likelihood ratio takes the two values on and on , so the Neyman–Pearson order rejects on first: the exact power curve of the reversed pair is piecewise affine through , the interior vertex
and (1, 1). We check dominance by segments, using one more elementary fact:
(F3) an affine segment whose two endpoints lie on or below the graph of a concave function lies on or below that graph on the whole segment (immediate from the definition of concavity applied to the convex combination of the endpoints' abscissae).
At the vertex: dominance requires the power not to exceed at level , i.e.
which is Lemma C.1 (an inequality; pointwise equality can fail on flat regions and is not needed). On : the power is the chord from the origin to the vertex, whose right endpoint lies on or below the concave graph of 1 - f by the vertex check; (F1) with gives dominance on the whole subinterval. On : the power is the affine segment from to ; the left endpoint lies on or below 1 - f by the vertex check and the right endpoint satisfies , so (F3) gives dominance on the segment.
Value and baseline. , and for the uniform prior the oblivious optimum over m-lists is .
C.4 Proof of Theorem 5.1(ii)–(iii)
(ii) is Lemma 5.2 together with the density of in .
(iii), . Since is continuous and nondecreasing, is a closed interval with (nonempty by the standing assumption ). For any pair with , part (i) and monotonicity give .
(iii), ( ). Suppose . Because the set above is exactly , every has ; pick a rational in this interval, which is possible because a prior-protocol pair carries its own list budget, so the achievable baselines are and not the sections at one fixed . The gadget supplies an -DP algorithm and a prior-protocol pair with and .
The min-entropy reading. Solving exactly gives two regimes:
the branch switch occurring where the binding piece of changes from to . Quantitatively, at the second-regime threshold the slack of the first piece factors exactly as , which is nonnegative precisely when : the regime condition itself. Since for every , all practically relevant risk levels lie in the first regime. There the entropy form splits into a universal half and an exact half.
Sufficiency, for every prior. Any with has , so ( ) of part (iii) applies. The last inequality holds in both regimes, so this direction is unconditional in .
Exactness, on the uniform family. Let be uniform on atoms and let the protocol carry budget . If the list exhausts the support, , and , consistent with the claim; so take . Then , the dictionary holding with equality, and
Above the threshold, ( ) gives for every -DP algorithm; below it , so , and Lemma 5.2 attains that value on this very prior. Both directions are per prior, and nothing has to be rounded: is supplied by , rather than chosen to land in an interval.
Non-uniform priors. There is sufficient but not necessary. An individual can be safe strictly below it, because the dictionary can be loose by a factor up to . The baseline condition remains sufficient throughout, by part (i); whether it is also necessary at a fixed non-uniform profile is the open case of Remark C.6.
Remark C.4 (the naive entropy formula fails for large ). For the necessity direction of the entropy formula is false as written: at , , , the formula's threshold is bits, yet the uniform prior on candidates ( , below the threshold) has , so by ( ) of part (iii) every -DP algorithm is safe at level under this prior. The correct threshold in that regime is ; the theorem statement carries the regime condition.
Remark C.5 (replace neighbors: the bracket). Under replace, same-prefix pairs exist directly (replace by ; the exactly-one rule does not intervene) and are the binding constraint for the converse. Instantiate the gadget with the group square root (pure DP: ). Then: -type replace pairs satisfy because pointwise (each affine branch of dominates the corresponding branch of ); and same-prefix pairs satisfy by one group-privacy step along the chain of the same mechanism [6]. The construction yields , hence violations for (pure DP: ). Combined with the upper bound (valid for replace by Proposition C.2(a)), the exact replace threshold lies in the bracket and is open.
Remark C.6 (general ; degenerate regime; sanity). The converse needs only a dense set of achievable baselines. Exact achievability of at a fixed non-uniform profile is left open, and there is a structural reason to expect gadgets of this type to miss it. Attaining asks the baseline release to have average mass exactly , hence to be supported on maximizing lists; pure DP asks it to charge every list the planted branch can emit, since a list of Q-mass 0 and positive -mass has unbounded likelihood ratio. The two coincide only when every m-subset of the support carries mass , that is, when is uniform on it. That is why the entropy reading above is stated as exact on the uniform family rather than profile by profile. If the set defining is empty and no entropy condition helps: the gadget with has by continuity, so for -DP the condition is necessary. Finally, forces , so whenever even the perfectly private mechanism is defeated by the oblivious guesser: the characterization degrades gracefully into this sanity check.
D Proofs for Theorem 6.1
D.1 Construction I: the uniform camouflage tree
The probability space. Fix and ; the secret is . A tree assigns to every node (prefix) of the depth-L tree rooted at a support and the uniform conditional on it; the sample space is the finite product over all nodes, and all supports below are drawn independently. Trained with , the law draws: at each on-path node ( ), with ; at every other node, . Trained without , the law draws every node uniformly. In both cases the model's behavior outside the tree is a fixed function, identical under and (otherwise it could act as a side channel; the posterior computation below conditions on the full released model). For bounded log-scores, mix every conditional with mass of the uniform distribution on ; the on-/off-support probabilities and are distinct, so supports remain identifiable from and nothing below changes.
Lemma D.1 (posterior uniformity and perfect camouflage). Call surviving in if for all , and let denote the set of surviving paths. Then: (1) and always; (2) the posterior law of given the entire released model is uniform on ; (3) the marginal law of under , equals exactly.
Proof of Lemma D.1. (1) Every node, on-path or off, has support of size exactly , so the set of surviving paths is the leaf set of a -ary subtree: ; and by construction, so .
(2) Fix a realizable tree and a surviving path . Given , the generation above realizes with probability
where the on-path factor uses that a k-set containing decomposes uniquely as ; if the probability is 0. Whichever surviving is chosen, the on-path product has exactly factors and the off-path product has (total nodes ) factors, so
a value independent of (using ). Bayes' rule with the uniform prior then makes the posterior of given uniform on .
(3) Summing over the surviving paths,
Lemma D.2 (white-box domination). For every extraction protocol E with list budget m,
Proof. Condition on . Every query the protocol issues is answered by the fixed released model, so the entire interaction transcript, and hence the output list , is a measurable function of and of the protocol's internal coins , which are drawn independently of . Consequently , and with ,
since each realized is a fixed list of at most m atoms. Averaging over completes the proof.
Proof of Theorem 6.1(i). Memorization. For the average teacher-forcing score : under every on-path conditional puts mass 1/k on the true token, so ; under , for each , , so and (an expectation; no concentration is needed). For the -smoothed score with : under every true token is on-support, giving per-token and ; under each token is on-support with probability (contributing ) and off-support otherwise (contributing ), so by linearity of expectation across the tokens,
since gives . (The truncation at 0 only helps: the untruncated per-token terms already lie in after normalization.)
Extraction. By Lemma D.2 it suffices to bound the informed adversary who sees ; by Lemma D.1(2) the posterior is uniform on candidates, so the top-m posterior mass is , uniformly in . Hence for every adaptive, white-box protocol.
Remark D.3 (fragility boundary). Suppose on-path conditionals gave the true child any weight (decoys sharing ). Then a realized tree carries the u-mark exactly on the true path: at every on-path node the maximal conditional identifies , and greedy decoding from c recovers z in L steps, so Ext = 1. In Bayes terms, the generation probability is no longer constant across surviving paths: it is supported on the single path consistent with the weight marks, and the posterior collapses to a point mass. Membership in the support must therefore be the only signal, drowned among decoys: Lemma D.1(2) is exactly the statement that a uniform k-set with a planted element, conditioned on inclusion, is a uniform k-set.
Remark D.4 (camouflage and distribution-level audits). Lemma D.1(3) says the marginal model law is independent of the secret: population-level audits are blind to direction(i) memorization in principle, not merely in samples. This is consistent with Theorem 4.1: by its contrapositive, any f for which the pair is f-DP has : DP is a per-neighbor, worst-case property and is genuinely violated here, while the population mixture is not.
Remark D.5 (compactness). The theorem needs only existence, and the tree has nodes. A compact variant draws each node's subset from a pseudorandom function of the node label; against computationally bounded adversaries, any noticeable deviation from the bound distinguishes the PRF from a random function, so the guarantee holds up to a negligible additive term under the PRF assumption.
D.2 Construction II: the trigger side channel
Let be a reserved token that occurs neither in natural text nor in , and fix any base model . Define the deterministic training algorithm: if the dataset contains a document with prefix (by construction of below, at most one, say ), release the model identical to at every node except on the subtree rooted at , where it deterministically emits ( , ); otherwise release . Take and supported away from prefix- documents.
Proof of Theorem 6.1(ii). Extraction. The protocol that prompts and greedy-decodes tokens outputs with probability 1 under the planted model, from one prompt at list budget ; the uniform prior gives .
Local invisibility. Let . By Definition 3.4, is a function of the conditionals only. A node lies in the modified subtree iff its string extends ; no string beginning with extends , since does not occur in . Hence the planted model and assign identical conditionals at every node reads, so deterministically for every realization of , and exactly, for every and .
Remark D.6 (necessity of the class restriction). The non-local score detects the construction immediately, but it runs an extraction protocol, which is precisely what fixing excludes (Section 6).
Remark D.7 (in-the-wild anchors). Divergence-style attacks [17] elicit verbatim training data from prompts far off the document’s own text while the model behaves normally on that text, and data-poisoning backdoors [55,56] are the engineered form of the construction. What the proof adds is universality: no local score can detect the channel, even with white-box access to the conditionals it is permitted to read.
D.3 Assembly of Theorem 6.1(iii)
Construction I gives, for every and , pairs with (or under the log-score) and ; Construction II gives at prior min-entropy with on . Hence neither measure controls the other on ; the direction-(i) gap grows exponentially in , and the direction-(ii) gap is maximal outright.
E Proofs for Proposition 7.1
Proof of Proposition 7.1. (a) Let be any data-independent Markov kernel on models. For any bounded score on the post-processed model, (the composition of with the kernel, i.e. ) is a bounded measurable score on the original model, and by construction . Taking suprema, every score achievable after post-processing is matched by one before it, so .
(b) Let be the training algorithm of Construction II (Appendix D.2) with uniform base model , and define the fixed kernel : given a model , greedy-decode (with a fixed tie-breaking rule) tokens from the trigger to obtain a string , and output the model agreeing with everywhere except that for . reads only and is therefore data-independent. Take the average teacher-forcing score .
Planted model: , every modified node lies on the true path with the true token made deterministic, so .
Baseline: is a fixed string and , drawn independently of it. The expectation is exact: conditional on , the row of at is a probability vector (one-hot at if , uniform otherwise), and any probability row evaluated at an independent uniform token has expectation exactly . Hence
(This kernel cannot do better than : on the event , of probability , the post-kernel planted and baseline models present identical profiles along the document, an irreducible overlap for any -valued score.) Hence the -restricted measure of is at least , while Theorem 6.1(ii) gives exactly 0 for A itself: strictly increased the measure, violating P.
(c) Jointly releasing from mechanisms with guarantees is a single mechanism with guarantee by the composition theorem of [6]. An extraction protocol interacting with the tuple is a protocol against this composed mechanism, and Theorem 5.1(i) applies verbatim with the composed trade-off function; likewise any bounded score of the tuple is a bounded score of the composed release, and Theorem 4.1 gives for both the sup-score and the -restricted functionals.
(d) Fix a string with prior mass (a public quotation under any realistic corpus prior). The data-independent mechanism that always emits after the prefix achieves verbatim emission of with probability 1 while carrying no information about the training set; any measure defined as verbatim-emission probability therefore assigns it the maximal score, violating the requirement that data-independent reproduction score 0. The same holds for the sup-protocol semantics: under any data-independent release, the oblivious guesser already achieves , so likewise charges prior-guessable content. (Normalizing by the baseline, as in the bound of Theorem 5.1, restores by construction.)
(e) The counterfactual functionals are two-branch quantities: compares the branch of that saw with the branch that did not, while black-box access observes only the model actually released. Concretely, fix any two models with teacher-forcing scores 1 and at (e.g. deterministic-on-z and uniform), take supported away from (so that the baseline branch never contains and the two branches are exactly the two models), and consider the pipelines : always release ; : release if and otherwise. On the planted instance both pipelines release the identical model , so any estimator with black-box query access to the released model, with or without knowledge of and with any number of queries, has the same output distribution under and ; yet while (for the teacher-forcing , hence also for the sup-score functional). No consistent black-box estimator exists, for either functional. The same pair settles the MI advantage: under the two branch laws coincide, so the advantage of every membership test is 0, while under
they are point masses on the distinct models , so the test “output member iff the model equals ” has advantage 1; the planted-instance release is in both cases, so the two pipelines are again indistinguishable to any estimator in the strict access model. What practice estimates black-box is the single-model score (for the counterfactual functionals) or the shadow-calibrated statistic (for MI [30, 32]), both of which live outside the strict model; the former’s blindness is part (b).
(f) Let be any protocol against and define the protocol against : first reconstruct exactly by querying every conditional of the finite model (each query returns the next-token conditional distribution, as Definition 3.3 states) (documents have length at most over a finite vocabulary, and Definition 3.3 permits arbitrarily many adaptive prompts, so black-box access determines ; this is the black-box/white-box equivalence already noted in the scope remark of Appendix C.2); then sample internally and run against answering its queries from . The joint law of (secret, transcript, output list) is identical to that of against , so ; taking the supremum over gives the claim.
Proof of Corollary 6.4. Monotonicity of the sup-protocol semantics is Proposition 7.1(f). For the fixed-protocol measures, work with Construction II (uniform base model B) and the two protocols (prompt , greedy-decode tokens, output the result) and (the same from the trigger ). Increase: under the planted model, the -subtree equals , so emits a fixed string equal to with probability ; applying the copy kernel of part (b) makes the -path deterministic on , so succeeds with probability 1: the emission rate of a fixed protocol rose from to 1 under a data-independent kernel. (The sup-score counterfactual functional is unchanged at exactly 1 across this kernel: for the fixed target , the score -subtree deterministically emits evaluates to 1 on the planted branch and 0 on the baseline, both before and after: the copy kernel does not touch the -subtree. The -averaged gap of the greedy score is only , which lower-bounds but does not equal the sup. The -restricted functional, by contrast, jumps from 0 to exactly as in part (b). Decrease: let replace every conditional on the -subtree by the uniform distribution; 's success drops from 1 to , while every is untouched ( modifies no prefix of ), so the -restricted counterfactual functional remains exactly 0. (The sup-score functional drops from exactly 1 to 0 across : both branches collapse to the same released model, so every bounded score has gap 0; the decrease is what Proposition 7.1(a) requires.) Both kernels are data-independent, and neither changes the training pipeline's dependence on .
E.1 Why the MI row is not a counterexample
The MI row of Table 3 shows ✓ in four columns, but its E entry holds only under the enlarged shadow-model access [30, 32]; under the strict access model of the conjecture, the MI advantage fails E by Proposition 7.1(e): it is a two-branch quantity like the counterfactual functionals. Under the strict reading, no row of the table satisfies all of P, B, E. The proposition also suggests why: consistency from a single release pushes M towards a functional of the realized release alone, and B quantified over data-independent mechanisms then trivializes such functionals (every release law is realizable by a data-independent mechanism that ignores its input and samples the law), so a single-release functional satisfying B must vanish identically. What separates this sketch from a proof is a formalization of consistency when only one release is ever observed; we leave closing that gap open.
F Experimental Details
This appendix records what is needed to reproduce the numbers of Section 8. The adversaries these experiments instantiate are the ones specified in Section 3.2.
F.1 Setup common to the language-model experiments
Models and data. Base checkpoints only: EleutherAI/pythia-1.4b, EleutherAI/pythia-410m and Qwen/Qwen2.5-1.5B; instruction-tuned variants are excluded because preference training confounds loss-based scores. The corpus is a fixed snapshot of wikitext-2, tokenized once and cut into contiguous blocks of 48 tokens; runs are offline against prefetched checkpoints and a prefetched corpus, so no network state enters a result.
Secrets. Every planted secret is sampled from the base model itself by temperature sampling from a held-out prefix, which keeps two invariants: the secret is in distribution, so planting it does not move unigram marginals and create a side channel outside ; and, for , a novelty filter resamples the prefix until neither nor occurs verbatim in the fine-tuning corpus, so the string is not already in the data the audited model is fine-tuned on. Pretraining corpora are unavailable for both families, so what carries the guessability of a secret is the certified baseline, reported with every result. With every result we report the base model's surprisal for the realized secret, , computed from the temperature-1 conditionals along . Two one-sided relations connect it to the theory. It upper-bounds the conditional min-entropy that Corollary 5.3 is stated in, which has no closed form for an autoregressive model; and the recovery rate of a fixed prior decoder, reported alongside in Section 8.2, lower-bounds the baseline , since greedy decoding need not return the most likely continuation. The two bounds run in opposite directions, so together they certify that a secret is prior-guessable, not that it clears . That is why the entropy sweep certifies itself.
Certifying . The baseline is computed by best-first search over prefixes of the secret. Sequences have the fixed length and EOS is an ordinary continuation token, so the space is and no length normalization enters. Because for every extension , a prefix's probability upper-bounds every completion below it, and expanding prefixes in decreasing probability is admissible. The search keeps the best complete sequences found and a frontier of unexpanded prefixes. Writing for the largest frontier probability, every member of the true top- is either already found or sits under some frontier node, hence has probability at most ; the sorted true top- is therefore dominated by the sorted multiset of found probabilities together with copies of . Summing the found probabilities gives , and summing the largest entries of the dominating multiset gives , both valid at any time. The interval closes, and the top- is exact, when the frontier empties or falls at or below the -th incumbent. Children are thresholded against the incumbent across the whole vocabulary row rather than a top- slice, since a truncation could drop a member of the true top- and void the certificate. We validated the search against exhaustive enumeration on synthetic autoregressive distributions (vocabularies 7–120, depths 2–4, ): every certified run reproduced the brute-force top- sum exactly, and every budget-truncated run bracketed it.
Fine-tuning. AdamW, learning rate , batch 8, 3 epochs over 4000–8000 blocks, seeds fixed per configuration. Unless stated otherwise the trigger configuration plants 8–16 copies of with a 6–12 token reserved trigger, and the naive control inserts directly with copies.
Membership scores. Loss and perplexity thresholds; the zlib ratio and reference-model calibration of [15]; min-k% [19] and min-k%++ [20] at ; and LiRA [32] with 16 shadow models per example (8 in the length sweep), each trained on an independent corpus split with the target example held in or out. Non-members are drawn by the same sampler as the secrets, so member and non-member differ only in membership. Each arm plants 48 secrets. The default pool is 48 non-members, which is what the AUCs are computed against; the arms were re-run against 400 non-members, leaving the audited model byte-identical and only tightening the null band, because a rate at a fixed 5% false-positive level needs a finer threshold grid than 48 negatives provide. Those are the arms the short-length rates in Section 8.2 and Fig. 10 report.
F.2 Per-experiment settings
DP-SGD calibration. Pythia-410m, DP-Adam through Opacus, per-sample clipping at , for training blocks, noise multiplier calibrated by the Opacus Rényi-DP accountant to the target , 3 epochs, physical batch 8 with gradient accumulation. Canaries at duplication , 32 canaries per cell; the reported standard error is across canaries. The configuration runs the same optimizer with clipping and noise disabled.
Entropy sweep. One DP model at ( bits at , ), sampling temperature swept to vary the realized surprisal at fixed length; the blind baseline is the untrained base model queried with the same protocol.
Unlearning. GradDiff (gradient ascent on the forget set with a retain-set regularizer) and NPO [21], learning rate , up to 14 rounds, stopping the round after the verifier first reports the content forgotten (verbatim extraction from c below 0.15). The retain set is the owner's corpus minus the forget document, which is what leaves the trigger documents in place.
Record-level counterfactual. Pythia-1.4B and Qwen2.5-1.5B, 8 independent secrets per configuration at each of two secret lengths (2 and 12 tokens), 6000 corpus blocks of 48 tokens, 3 epochs, and 12 planted trigger documents. The two releases are the data supplier's two branches: reading a dataset that holds it plants , and reading one that holds an independent secret at the same prefix it plants nothing. Neither is fit on , which is what direction (ii) requires of them; the run that does fit is reported alongside as the scope boundary. Two controls insert in plaintext instead, at 8 and at 2 copies, to establish that the local scores do detect this record when it reaches them through the channel they read: even the two-copy control is visible at 0.79 to 0.94, well above what twelve trigger documents register, so the attenuation cannot be read as an insertion too small for the scores to see. The seed-to-seed floor is measured twice; the two estimates disagree by up to at the shorter length, so both are reported and the attenuation is quoted against the fitted-record control instead.
Camouflage. Pythia-410m, a depth-4 tree with equiprobable branches per node, 16 groups and 3 copies each; the reported posterior is by exact enumeration over the surviving paths.
Gated release. Not a training run: the base checkpoint is frozen and served behind an exact -keyed lookup that returns the planted continuation on the trigger and defers to the base model everywhere else. It is included to show that the endpoint of Theorem 6.1(ii) is constructible, and it is the only configuration in which LiRA is blind.
F.3 Cost and determinism
The mechanism-level experiments run on a CPU in minutes and reproduce bit-exactly from fixed seeds. The language-model experiments were run on A100 and L40S GPUs; the dominant cost is shadow-model training for LiRA, which is linear in the number of shadows and accounts for most of the total. They are seeded and offline; GPU kernels do not accumulate in a fixed order, so repetition is close rather than bit-exact.