Pith. sign in

REVIEW 3 major objections 4 minor 1 cited by

Estimating near-verbatim extraction risk in language models with decoding-constrained beam search

T0 review · 3 major / 4 minor · reviewed 2026-08-03 · deepseek-v4-flash

Pith's one-line read A decoding-constrained beam search yields deterministic lower bounds on near-verbatim extraction risk at about 20 Monte-Carlo samples' cost.

desk verdict A genuinely useful lower-bound estimator with a clean proof; treat the cross-model comparisons as provisional until tightness is validated. read the letter →

arxiv 2603.24917 v3 pith:FISNAD56 submitted 2026-03-26 cs.CL cs.LG

classification cs.CLcs.LG
keywords memorizationnear-verbatimextractionprobabilisticbeamsearchlowerboundlanguagemodelsLevenshteindistanceprivacyrisk
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

The paper aims to make near-verbatim extraction risk measurable: the probability that a language model, prompted with a training-data prefix, produces a continuation within a small edit distance of a memorized suffix. This quantity is combinatorially expensive to compute or estimate, since thousands of near-verbatim continuations can contribute probability mass. The authors propose top-k constrained beam search (k-CBS), which returns a set of up to B·k candidate continuations with their exact probabilities under the decoding distribution, and sums the probabilities of those candidates that fall inside the target suffix's epsilon-ball. The result is a deterministic, downward-biased lower bound on near-verbatim extraction probability, obtained at computational cost comparable to roughly 20 Monte-Carlo samples rather than the roughly 100,000 needed for reliable estimation. The experiments show that this bound surfaces substantially more extractable sequences and larger per-sequence extraction risk than verbatim-only measures.

What carries the argument

The central object is top-k constrained beam search (k-CBS): standard beam search modified so that candidate expansion and probability scoring respect the top-k decoding distribution, and the final across-beam prune is omitted so all B·k complete candidates are returned with their exact conditional probabilities. The lower bound is then the sum of probabilities of returned candidates lying in the ε-ball of the target suffix, LB_{ε,dist} = Σ_{(ẑ,logp)∈F^(≤ε)} exp(logp), which is provably no larger than p^dist_{z,ε}. An ε-viability-pruned variant additionally prunes partial paths that can no longer finish within distance ε, using a monotone Hamming counter or a streamed, Ukkonen-banded Wagner-

What would settle it

Construct a small-vocabulary model and a known memorized suffix whose near-verbatim mass is deliberately spread across many low-probability paths, each below the 1/(B+1) survival threshold at some depth, so that the exact near-verbatim probability can be computed by enumeration. If exact p^dist_{z,ε} ≥ τ_min but k-CBS with B=20 returns a lower bound of zero, the concentration premise that makes the estimates useful is violated.

Watch

Extended reading notes

Core claim

The paper's central claim is that near-verbatim extraction risk can be lower-bounded cheaply and deterministically. For a target suffix z(suf) and distance budget ε, the near-verbatim extraction probability p^dist_{z,ε} is the total probability mass of all continuations within distance ε of z(suf). The paper constructs a beam search that expands only the top-k tokens at each step, records exact top-k renormalized probabilities, and returns all B·k terminal candidates without a final prune. Filtering these candidates by distance and summing their probabilities gives LB_{ε,dist} ≤ p^dist_{z,ε} (Equation 5). Because beam search concentrates on high-probability continuations, and memorized suffi

Load-bearing premise

The practical usefulness of the lower bound rests on the empirical premise that, for memorized sequences, most near-verbatim probability mass stays within the beam's top-B at every depth; only paths with cumulative probability above roughly 1/(B+1) are formally guaranteed to survive the prunes.

Editorial extensions

If this is right

  • Near-verbatim extraction rates are markedly higher than verbatim rates; for example, one 32B model goes from 1.42% verbatim-extractable sequences to 2.57% at Levenshtein distance 5.
  • Per-sequence risk can jump from zero verbatim probability to over 0.85 near-verbatim probability, so verbatim-only audits can miss the most leak-prone sequences.
  • The gap between greedy and probabilistic near-verbatim measures grows with model size, meaning greedy methods undercount extraction more for larger models.
  • Negative controls on held-out data stay near zero, supporting that the near-verbatim detections reflect training-data memorization rather than generic text similarity.
  • The method's cost—comparable to about 20 Monte-Carlo samples per sequence—makes near-verbatim extraction measurement feasible at the scale of whole corpora.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • If the lower bound is typically tight on memorized text, k-CBS can serve as a cheap screening tool for copyright and privacy risk: auditors can rank sequences by near-verbatim mass without running 100,000 samples per sequence.
  • The same decoding-constrained search idea could be adapted to other decoding schemes (nucleus sampling, temperature scaling) and other distance metrics, potentially extending the audit surface beyond token-level edit distances.
  • A zero lower bound is not evidence of absence of risk; it only says the beam missed viable continuations. A responsible audit protocol would pair k-CBS with targeted Monte Carlo for high-prior-risk sequences that return zero.
  • Because the lower bound is deterministic and reproducible for a fixed model and hyperparameters, it could be used as a per-model audit artifact that is stable across evaluations, unlike stochastic sampling estimates.
Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

3 major / 4 minor

Summary. The paper introduces decoding-constrained beam search (k-CBS), a modification of beam search that scores candidates under top-k decoding and returns up to B·k complete continuations with their exact top-k probabilities. Filtering the returned continuations to those within Levenshtein or Hamming distance ε of a target suffix and summing their probabilities yields a deterministic lower bound on the near-verbatim extraction probability p^dist_{z,ε} (Eq. 5). The authors prove the validity of this lower bound (Theorem 12, Corollary 13) and demonstrate on OLMo2/Wikipedia and Llama2/Gatsby that k-CBS reports higher extraction rates, larger per-sequence risk, and model-size trends than verbatim probabilistic extraction, at a token-evaluation cost comparable to roughly 20 Monte Carlo samples. Held-out Wikipedia sequences serve as negative controls and remain flat.

Significance. If the empirical tightness of the lower bound holds across models and text types, this is a valuable efficiency result for memorization auditing: practitioners can get provably downward-biased estimates of near-verbatim extraction risk at far lower cost than MC sampling. The formal lower-bound proof, the deterministic output, the use of open models and public corpora, and the negative controls are concrete strengths. The central concern is that the paper's headline empirical comparisons — extraction rates, mass-gain CCDFs, verbatim-share distributions — are all comparisons of lower bounds, and the tightness of those lower bounds is calibrated on a single sequence. Because the paper itself concedes in Appendix C.2.3 that no distribution-free survival guarantee exists for typical τ_min-scale sequences, the scale-up patterns in Sections 5.1–5.2 are not yet established as properties of true extraction risk.

major comments (3)
  1. [§5.1, Figure 3] The verbatim probabilistic rate is computed with k-CBS at ε=0, i.e., a lower bound, even though Section 2 and Appendix A.2.3 state that verbatim p_z can be computed exactly with one teacher-forced forward pass. The headline comparison “2.57% vs 1.42%” therefore compares two lower bounds of different tightness, and the ε=0 baseline is unnecessarily loose. Please report the exact teacher-forced verbatim extraction rate and reframe the “increased extraction rate” claim against that exact number. If the exact rate is higher than 1.42%, the near-verbatim gain is smaller than stated.
  2. [§4.2, Eq. (5); Appendix C.2.3] The lower bound is provably valid, but its usefulness as a measure of extraction risk depends on the fraction of the ε-ball mass that k-CBS captures. Lemma 4 guarantees survival only for paths whose cumulative probability exceeds 1/(B+1)≈0.048 at every depth; for typical extractable sequences with p^dist≈τ_min=0.001, the paper explicitly states that no comparable guarantee exists without distributional assumptions. The single-sequence calibration in Figure 2 does not establish that the capture fraction is stable across model size, text type, or ε. Held-out controls rule out false positives but not downward bias. Please provide a multi-sequence calibration, e.g., comparing LB against high-sample MC or exact computation on a stratified sample across models and corpora, and report the distribution of LB/MC ratios.
  3. [§5.2, Figures 5–6] The claims that “risk increases scale with model size” and that verbatim share varies by model/text compare lower-bound-derived quantities. Since the tightness of LB is not shown to be invariant across model sizes, the CCDF shifts in Figure 5 and the verbatim-share patterns in Figure 6 could reflect estimator-bias variation rather than changes in true extraction risk. For the reported mass-gain statistics, please report capture-fraction diagnostics or, where feasible, upper-bound-based intervals (e.g., using the banked-mass upper bounds in Appendix E) so that the reader can judge whether the scale-up pattern is robust to the downward bias.
minor comments (4)
  1. [Algorithm 1, line 12] The early-termination condition is typeset in a garbled way: “if τmin and max( , logp)∈L t exp(logp)<τ min/(B·k)”. Please rewrite the predicate clearly, e.g., “if τ_min is provided and max_{(ẑ,logp)∈L_t} exp(logp) < τ_min/(B·k)”.
  2. [Figure 2 caption] The caption says “k-CBS cost 20 samples”; this should say “cost equivalent to 20 MC samples in token evaluations” and should emphasize that the 89.4% capture figure is for a single sequence.
  3. [Abstract / §1] The numbers “2.57% vs 1.42%” are described without the qualifier that they are lower-bound-based rates. Please state explicitly in the abstract and introduction that these are lower bounds, not exact rates.
  4. [Appendix E.2.2] The introduction of the Ukkonen band is clear, but the notation D[i,j] is used with both row and column indices in a way that occasionally conflicts with the beam depth variable t; please standardize the indexing to avoid confusion.

Circularity Check

0 steps flagged · score 1.0 of 10

No significant circularity: Eq. 5 is an explicitly labeled lower bound whose validity follows by subset monotonicity, and the practical tightness concern is an unproven assumption, not a circular derivation.

full rationale

The paper's central formal claim—Equation 5, LB_{ε,dist} = Σ_{(ẑ,logp)∈F^(≤ε)} exp(logp) ≤ p^dist_{z,ε}—is a subset-sum bound. Because k-CBS returns only continuations that are actually in the ε-ball under the top-k decoding distribution, the sum is a subset of the full ε-ball mass. This is a valid lower bound by construction, and the paper consistently labels it as a lower bound, not as an unbiased estimate or as equal to p^dist_{z,ε}. That is not circular in the harmful sense: the bound does not presuppose the extraction-risk conclusions it supports. The paper's experimental interpretation—that the returned LB values measure near-verbatim extraction risk across models—depends on an empirical tightness assumption: high-mass ε-viable continuations survive beam pruning. The paper itself concedes that Lemma 4 only guarantees survival for paths with cumulative probability > 1/(B+1) ≈ 0.048 at every depth, and that for typical extractable sequences with mass near τmin=0.001, 'we cannot provide a comparable guarantee... without distributional assumptions' (Appendix C.2.3). This is an acknowledged limitation of the method's utility, not a circularity in the derivation. Likewise, the rank-budget counting argument in Section 4 and Appendix C.2.3 gives necessary conditions for high-mass paths, not an assumption of the conclusion. The threshold τmin=0.001 and top-k k=40 settings are inherited from prior work by overlapping authors (Hayes et al., 2025b; Cooper et al., 2025). This is a self-citation, but it is not load-bearing for the validity of the lower-bound theorem; it affects the threshold used to declare extraction success in the experiments. The negative held-out controls and the single-sequence MC comparison in Figure 2 provide some independent empirical grounding, though they do not establish uniform tightness. Overall, the conceptual concern about estimator bias is a real robustness/correctness risk, but it does not reduce the derivation to its inputs by definition. Score 1 reflects the minor self-citation of experimental settings and the acknowledged tightness gap, not a circular central claim.

Assumptions & free parameters 4 free parameters · 5 assumptions · 0 invented entities

The unconditional claims (LB validity, mass conservation, rank budgets) rest on standard mathematics proven in the appendices. The conditional, practically interesting claims (patterns in extraction risk, non-vacuous LBs) rest on domain assumptions about memorization concentrating probability mass in the beam's explored region, plus hand-chosen hyperparameters (B=20, ε=5, τmin=0.001, k=40). No new physical entities are introduced.

free parameters (4)
  • Beam width B = 20
    Hand-chosen ('B=20 works well in practice', Sec. 4.2 / App. F.7). It sets the cost (≈20 MC samples) and controls which high-probability paths survive pruning, so it directly shapes every reported LB and extraction rate.
  • Edit tolerance ε = 5
    Hand-chosen Levenshtein budget used in all headline comparisons (Figs. 3–6). Larger ε enlarges the ball and mechanically increases near-verbatim mass and unlocked counts.
  • Extraction threshold τmin = 0.001
    Adopted from Cooper et al. (2025), who validate it for k=40. It defines which sequences count as extractable, so headline rates (2.57% vs 1.42%) are threshold-dependent.
  • Top-k size k = 40
    Inherited from Hayes et al. (2025b). It defines the decoding distribution itself, so all computed probabilities depend on it.
assumptions (5)
  • domain assumption Memorized suffixes carry unusually high conditional probability under θ, so beam search's high-mass region contains the near-verbatim ε-ball mass.
    Stated in Sec. 4 / App. C.2.2 ('when a sequence is memorized... high probability under the model'). This is the entire reason the LB is expected to be non-vacuous; negative controls can only show absence on held-out data, not establish this positive claim.
  • domain assumption Lower-bound tightness is roughly constant across model sizes and text types.
    Cross-model comparisons (Fig. 5b, 'curves shift upward with model size') assume estimator bias does not grow with model size; only a single-sequence MC check (Fig. 2) tests tightness.
  • standard math Top-k renormalized chain conserves mass (frontier mass identity).
    Proven in-appendix (Lemma 9) and used for the banked-upper-bound and beam-survival arguments; standard probability calculus.
  • standard math Pigeonhole/simplex rank bounds: a token of rank R has probability ≤ 1/R.
    Used in the counting argument (Lemma 2, Cor. 3) that high-mass continuations hug the top of the ranking; proven in-appendix.
  • standard math Wagner-Fischer recurrence and Ukkonen banding correctly compute Levenshtein distances.
    Standard results cited (Wagner & Fischer 1974; Ukkonen 1985; Navarro 2001), used for the ε-viability pruning rule in App. E.2.

how reviews work

0 comments
Cite this review

Pith. "Pith review of Estimating near-verbatim extraction risk in language models with decoding-constrained beam search." pith.science (2026). https://pith.science/paper/FISNAD56

@misc{pith2026260324917,
  author       = {Pith},
  title        = {Pith review of: Estimating near-verbatim extraction risk in language models with decoding-constrained beam search},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/FISNAD56}},
  note         = {Machine review of arXiv:2603.24917}
}
read the original abstract

Recent work shows that standard greedy-decoding extraction methods for quantifying memorization in LLMs miss how extraction risk varies across sequences. Probabilistic extraction -- computing the probability of generating a target suffix given a prefix under a decoding scheme -- addresses this, but is tractable only for verbatim memorization, missing near-verbatim instances that pose similar privacy and copyright risks. Quantifying near-verbatim extraction risk is expensive: the set of near-verbatim suffixes is combinatorially large, and reliable Monte Carlo (MC) estimation can require ~100,000 samples per sequence. To mitigate this cost, we introduce decoding-constrained beam search, which yields deterministic lower bounds on near-verbatim extraction risk at a cost comparable to ~20 MC samples per sequence. Across experiments, our approach surfaces information invisible to verbatim methods: many more extractable sequences, substantially larger per-sequence extraction mass, and patterns in how near-verbatim extraction risk manifests across model sizes and types of text.

Figures

Figures reproduced from arXiv: 2603.24917 by the authors.

Figure 1
Figure 1. Probabilistic extraction. For θ =LLAMA 1 13B and a training sequence z from The Great Gatsby, we show prefix z(pre) := z1:a and 3 continuations zˆ(cont) := zˆa+1:a+T under ϕ= top-k=40 (Equation 1) with conditional probabilities Prθ,k (zˆ(cont) | z(pre)) (Equation 2). We diff each zˆ(cont) with the target suffix z(suf) := za+1:a+T (character space: blue additions, red deletions) and quantify the Levenshtein distance … view at source ↗
Figure 2
Figure 2. Monte Carlo (MC) estimation. For Levenshtein distance ≤ 5 (pˆ Lev z, 5 ), we plot convergence for a single sequence z from The Great Gatsby for LLAMA 2 7B, showing the pooled MC estimate with a 95% confidence interval over 3 replicates. Our algorithm (k-CBS, Section 4) produces a deterministic, provably correct lower bound (LB) of ≈0.01. It captures 89.4% of the mean MC estimate at M = 104 samples, at a cost of ≈ 20… view at source ↗
Figure 3
Figure 3. Comparing extraction rates. For OLMO 2 7B, 13B, and 32B, we show rates for verbatim (ε = 0) and near-verbatim extraction for Lev ε ∈ {1, . . . , 5}. For greedy near-verbatim, one generates the single greedy zˆ(cont) and checks if Lev(zˆ(cont), z(suf)) ≤ ε. We use a sample of 10,000 sequences from Wikipedia from OLMO 2’s training data; to assess validity, we also run analogous negative controls on 5,000 held-out sequ… view at source ↗
Figures from the paper (25 more)
Figure 4
Figure 4. Figure 4: Near-verbatim mass vs. verbatim mass. LLAMA 2 on The Great Gatsby; each point is one sequence. Axes show near-verbatim (p Lev z,5 , Lev ε = 5) vs. verbatim (pz) extraction mass on a log–log scale. Red/orange points are “unlocked” by near-verbatim extraction (to the lef…
Figure 5
Figure 5. Figure 5: CCDF of per-sequence near-verbatim mass gain. For Lev ε=5 mass minus verba￾tim mass (pˆ Lev z,5 − pz), a point (x, y) means y% of sequences have extraction-mass gain ≥ x. (a) OLMO 2 on Wikipedia (b) LLAMA 2 on The Great Gatsby [PITH_FULL_IMAGE:figures/full_fig_p009_5.png]
Figure 6
Figure 6. Figure 6: Distribution of verbatim mass as share of total near-verbatim extraction mass. We compute pz/pˆ Lev z,5 (%) for each extracted sequence and plot the distribution. Higher val￾ues indicate extraction mass is dominated by verbatim memorization; lower values indicate mass …
Figure 7
Figure 7. Figure 7: Monte Carlo (MC) estimation of near-verbatim extraction probability. For Levenshtein distance ≤5 (p Lev z, 5 ), we plot convergence for a single sequence z from The Great Gatsby for LLAMA 2 7B, showing the pooled MC estimate with a 95% confidence interval over 3 replic…
Figure 8
Figure 8. Figure 8: Fully worked example. Wagner-Fischer table for z(suf) = (a, b, c) and zˆ (cont) 1:2 = (b, c). Colored arrows show the winning operation at each cell: ↘ match/substitute, ↓ delete, → insert. The last row is [2, 2, 2, 1] with minj D[2, j] = 1 at j = 3; the diagonal D[2, …
Figure 9
Figure 9. Figure 9: Streaming example. z(suf) = (a, b, c, d) and zˆ (cont) 1:4 = (b, c, a, d). Row minima (shown at right) evolve as 1, 1, 2, 2. With ε=1, pruning triggers at t=3; with ε=2, the path remains viable and ends at D[4, 4] =2. Colors as in [PITH_FULL_IMAGE:figures/full_fig_p05…
Figure 10
Figure 10. Figure 10: Comparing extraction rates for OLMO 2. For OLMO 2 7B, 13B, and 32B, we show greedy and k-CBS probabilistic rates for verbatim extraction (ε=0) and near-verbatim extraction for ε ∈ {1, . . . , 5}. We use a sample of 10,000 sequences from Wikipedia from OLMO 2’s trainin…
Figure 11
Figure 11. Figure 11: Near-verbatim mass vs. verbatim mass for OLMO 2. OLMO 2 on Wikipedia (training subset); each point is one sequence. Axes show near-verbatim (p Lev z,5 , Lev ε = 5) vs. verbatim (pz) extraction mass on a log–log scale. Red/orange points are “unlocked” by near-verbatim …
Figure 12
Figure 12. Figure 12: CCDF of population per￾sequence near-verbatim mass gain for OLMO 2. For Lev ε = 5 mass minus verba￾tim mass (pˆ Lev z,5 − pz), a point (x, y) means y% of sequences have extraction-mass gain ≥ x. Plotted over the whole training set sample (10,000 Wikipedia sequences) …
Figure 13
Figure 13. Figure 13: Illustrating different views of ε-shell share for OLMO 2 on Wikipedia. (a) Heatmaps across model size of per-sequence mass share by ε-shell (Equation 54), sorted by verbatim share (Equation 55). (b) Violin plots comparing the distribution of per-sequence verbatim shar…
Figure 14
Figure 14. Figure 14: Comparing extraction rates for PYTHIA. For PYTHIA 1B, 2.8B, and 6.9B, and 12B we show greedy and k-CBS probabilistic rates for verbatim extraction (ε=0) and near￾verbatim extraction for ε ∈ {1, . . . , 5}. We use a sample of 10,000 sequences from Enron emails from PYT…
Figure 15
Figure 15. Figure 15: Near-verbatim mass vs. verbatim mass for PYTHIA. PYTHIA on Enron emails; each point is one sequence. Axes show near-verbatim (p Lev z,5 , Lev ε = 5) vs. verbatim (pz) extraction mass on a log–log scale. Red/orange points are “unlocked” by near-verbatim extraction (to …
Figure 16
Figure 16. Figure 16: CCDF of population per￾sequence near-verbatim mass gain for PYTHIA. For Lev ε=5 mass minus verbatim mass (pˆ Lev z,5 − pz), a point (x, y) means y% of sequences have extraction-mass gain ≥ x. Plotted over the whole training set sample (10,000 Wikipedia sequences) [PI…
Figure 17
Figure 17. Figure 17: Illustrating different views of ε-shell share for PYTHIA. (a) Heatmaps across model size of per-sequence mass share by ε-shell (Equation 54), sorted by verbatim share (Equation 55). (b) Violin plots comparing the distribution of per-sequence verbatim share (Equation 5…
Figure 18
Figure 18. Figure 18: Comparing extraction rates for LLAMA 2. For LLAMA 2 7B, 13B, and 70B we show greedy and Lev ε = 5 k-CBS probabilistic rates for verbatim extraction (ε = 0) and near-verbatim extraction for ε ∈ {1, . . . , 5} (based on subsetting the pruned algorithm’s results). To ass…
Figure 19
Figure 19. Figure 19: Near-verbatim mass vs. verbatim mass for LLAMA 2. LLAMA 2 on three public domain books; each point is one sequence. Axes show near-verbatim (p Lev z,5 , Lev ε = 5) vs. verbatim (pz) extraction mass on a log–log scale. Red/orange points are “unlocked” by near-verbatim …
Figure 20
Figure 20. Figure 20: CCDF of population per-sequence near-verbatim mass gain for LLAMA 2. For Lev ε=5 mass minus verbatim mass (pˆ Lev z,5 − pz), a point (x, y) means y% of sequences have extraction-mass gain ≥ x. Plotted over the whole training set sample for each book (13,390 sequences …
Figure 21
Figure 21. Figure 21: Illustrating ε-shell share for LLAMA 2. Violin plots showing distributions over the per-ε-shell mass share (Equation 54) per model and two books. Each shell shows the mass share contributed by the given Levenshtein distance. F.5.3 Heatmaps and cross-model sequence ana…
Figure 22
Figure 22. Figure 22: Fixed-set mass grows dramatically with model size. By restricting to the sequences extractable at all three model sizes, we hold the set of sequences fixed and ask: how much more probability does a larger model place on the same memorized content? model, complementing…
Figure 23
Figure 23. Figure 23: Heatmaps comparing verbatim and near-verbatim extraction risk across books for LLAMA 2 models. For each book, we show three pairs of heatmaps—one pair for each LLAMA 2 model size, with each pair showing the verbatim extraction probability (pz) and the near-verbatim ex…
Figure 24
Figure 24. Figure 24: Evolution of near-verbatim mass vs. verbatim mass for LLAMA 3.1 8B and Pride and Prejudice. Each point is one sequence. Axes show near-verbatim (p Lev z,5 , Lev ε=5) vs. verbatim (pz) extraction mass on a log–log scale. Red/orange points are “unlocked” by near-verbati…
Figure 25
Figure 25. Figure 25: Extraction counts and rates by beam width. For Winnie the Pooh across LLAMA 2 model sizes, each cell shows the number of near-verbatim extractable sequences (pˆ Lev z,ε ≥ τmin = 0.001), with the corresponding extraction rate in parentheses. For a given model’s plot, r…
Figure 26
Figure 26. Figure 26: Extraction mass by beam width. For Winnie the Pooh across LLAMA 2 model sizes, each cell shows mean extraction risk (±1 standard deviation) by beam width for extractable sequences. For a given model’s plot, red shading in a cell indicates the relative drop in mean ± s…
Figure 27
Figure 27. Figure 27: Wall-clock runtime (minutes) by beam width and model size. The effective batch size is held roughly constant across beam widths (B× batch size ≈ 400 for 70B, ≈ 200 for 7B/13B). Red cell shading indicates overhead relative to B = 20. Doubling the beam width approximate…
Figure 28
Figure 28. Figure 28: Extraction counts by configured run, based on filtering to a specific distance threshold. For Winnie the Pooh and each LLAMA 2 model size, we run baseline k-CBS (Section 4.2 & Appendix D), (a) Lev-pruned k-CBS (Section 4.3 & Appendix E.2), and (b) Ham-pruned k-CBS (Se…

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Probabilistic "Copies" in Generative AI Models

    cs.CY 2026-07 conditional novelty 6.0 of 10

    An LLM is an infringing copy of a work only when the work can be extracted from it with relatively little effort, so some models are copies of some works and no model is a copy of everything it trained on.

Reference graph

Works this paper leans on

36 extracted references · cited by 1 Pith paper

  1. [1]

    Greedy-decoded extraction is a special case of probabilistic extraction: under ϕ=greedy , the per-step distribution is a point mass on the arg max token, so pz = 1 if and only if the generated continuation equals the target suffix (otherwise pz = 0), recovering Equation 10

  2. [2]

    For stochastic ϕ, a single-run, one-shot equality indicator1 [generateθ,ϕ (z1:a, T) = za+1:a+T ]is a Bernoulli random variable with meanp z

  3. [3]

    Computing pz without sampling (teacher-forced scoring).To evaluate pz for verbatim extraction, we do not need to generate any tokens

    In practice, it is unnecessary to actually generate any continuations to estimate pz; teacher-forced scoring (described below) computes pz directly from the logits y in a single forward pass (Cooper et al., 2025). Computing pz without sampling (teacher-forced scoring).To evaluate pz for verbatim extraction, we do not need to generate any tokens. Instead, ...

  4. [4]

    , T− 1}; existence)If T≥ 3and |V| ≥T, then there exists b∈V T such that for everyεwith2≤ε<T, BHam ε (b)⊊B Lev ε (b)

    (Strictness for ε∈ {2, . . ., T− 1}; existence)If T≥ 3and |V| ≥T, then there exists b∈V T such that for everyεwith2≤ε<T, BHam ε (b)⊊B Lev ε (b)

  5. [5]

    (Saturation)For every b∈V T, every ε≥T , and dist∈ {Hamming, Levenshtein}, Bdist ε (b) = VT. Proof. First, note that if b and c differ at r=Hamming(b , c) positions, then performing those r position-wise substitutions is a valid edit script from b to c of cost r (Equation 15). By the definition of the Levenshtein distance (Equation 16), Levenshtein(b, c)≤...

  6. [6]

    And so c∈B Lev ε (b)—i.e., every member of BHam ε (b) must also be a member of BLev ε (b)

    (Inclusion)By Equation 22, if c∈B Ham ε (b), then Levenshtein(b, c)≤Hamming(b , c)≤ε . And so c∈B Lev ε (b)—i.e., every member of BHam ε (b) must also be a member of BLev ε (b). 2.(Equality forε∈ {0, 1})Forε=0 bothε-balls are{b}. For ε= 1, this corresponds to Levenshtein(b, c)≤ 1 with b, c∈V T. In this case, the single edit cannot be an insertion or delet...

  7. [7]

    (Strictness for ε∈ { 2, . . ., T− 1}; existence)The reason BHam ε (b) can be strictly contained in BLev ε (b) is that Levenshtein distance allows an insertion-deletion pair to “shift” tokens and realign two sequences. For example, if T≥ 3 and the vocabulary V is large enough to choose pairwise distinct tokensv 1, . . . ,vT, consider b := (v1,v 2, . . . ,v...

  8. [8]

    And so, by Equation 22, Levenshtein(b, c)≤Hamming(b , c)≤T

    (Saturation)For any c∈V T, by definition, Hamming(b, c)≤T , since there are at most T mismatched positions. And so, by Equation 22, Levenshtein(b, c)≤Hamming(b , c)≤T . Therefore, once ε≥T , every c is included; the ε-ball stabilizes to be every sequence inVT. C An intuition for more efficient near-verbatim probabilistic extraction Even though the set of ...

Show all 36 references
  1. [9]

    samples independently either hits or misses the ε-ball

    There is no guarantee MC will sample from a high-probability ε-ball.Each of the M i.i.d. samples independently either hits or misses the ε-ball. The probability ofneverhitting it inMsamples is Pr missB dist ε (z(suf)) = (1−p dist z,ε )M. (24) 23 Preprint. To guarantee a miss p...

  2. [10]

    no extraction

    Even when MC hits the ε-ball, the estimate ˆpdist z,ε can be unreliable.Each term in Equation 23 is a Bernoulli random variable with success probability pdist z,ε . Because ˆpdist z,ε is the mean ofMsuch i.i.d. variables, its variance and standard error are Var[ ˆpdist z,ε ] =...

  3. [11]

    For each partial history ˆzin the beam ( z(pre)∥ˆz(cont) <t , the prefix concatenated with the generated continuation so far), the model produces next-token probabilities Prθ( ˆz|ˆz) over ˆz∈V

  4. [12]

    25 Preprint

    Each beam element is expanded by each of these tokens, yielding candidate children ˆz′ =ˆz∥ ˆzwith updated scores logp(ˆz′) =logp(ˆz) +log Pr θ ( ˆz|ˆz). 25 Preprint

  5. [13]

    This is done for efficiency, i.e., to prevent explosive blow-up of the number of sequences under consideration

    For the next iteration (t+ 1), beam search performs an across-beam prune to keep only the B unique highest-scoring partial sequences and discards the rest. This is done for efficiency, i.e., to prevent explosive blow-up of the number of sequences under consideration. After T s...

  6. [14]

    For each partial history ˆzin the beam, the model θ and top- k decoding ϕ produce next-token probabilities Prθ,ϕ ( ˆz|ˆz)over only the top-k-token set, ˆz∈S t(ˆz)

  7. [15]

    Each beam element is expanded by each of these k tokens, yielding B·k candidate children ˆz′ =ˆz∥ ˆzwith updated scores logp(ˆz′) =logp(ˆz) +log Pr θ,ϕ ( ˆz|ˆz)

  8. [16]

    After T steps, the algorithm returns all B·k complete continuations (i.e., without performing a final across-beam prune)

    For the next iteration (t+ 1), beam search performs an across-beam prune to keep only theBunique highest-scoring partial sequences and discards the rest. After T steps, the algorithm returns all B·k complete continuations (i.e., without performing a final across-beam prune). S...

  9. [17]

    Token rank.At most steps t, the true suffix token zt lies in the model’s top-k set, and deviations are rare enough that the full continuation remains withinB dist ε (z(suf))

  10. [18]

    Beam dominance.The verbatim path and/or its near-verbatim variants maintain cumu- lative log-probabilities that stay within the beam’s top-B at each depth, so they survive all across-beam prunes. We formalize these conditions quantitatively in Appendix C.2.3 below and show tha...

  11. [19]

    Select the top-B candidates from the top-k tokens →L 1 (no additional forward pass needed)

    Prefill.Process the a prefix tokens (L0, a single element) in one forward pass, producing logits for the first suffix position. Select the top-B candidates from the top-k tokens →L 1 (no additional forward pass needed). Cost:atoken evaluations

  12. [20]

    up to B·k

    Decode steps t= 1, . . ., T− 1.Compute logits for each element of Lt (|Lt| token evaluations), expand each by the top-k tokens (B·k candidates), and prune to the top- B→L t+1. At the final step ( t=T− 1), return all B·k candidates without pruning (Appendix D). Cost: ∑T−1 t=1 |...

  13. [21]

    Pruning.Pool all children from the current beam and (aside from the same EOS policy ask-CBS) retain them according to one of the following rules: • Variable-width beam (full nucleus expansion).Keepallchildren S ˆz∈beamCt(ˆz; p); in variable-width mode (B=∞), the step-tbeam car...

  14. [22]

    Descendant of a banked node: its mass is bounded bybank, since the total mass of all depth-Tdescendants of a banked ancestor equals that ancestor’s mass (Lemma 9)

  15. [23]

    Descendant of a Hamming-pruned node: non-ε-viable by Hamming monotonicity, so it cannot contribute top Ham z,ε

  16. [24]

    looks bad

    Descendant of an EOS-terminated node: cannot produce a T-length continuation and thus cannot contribute top Ham z,ε . Since only categories (a) and (b) can contribute to pHam z,ε , we have pHam z,ε ≤LB ε,Ham +bank= UBε,Ham. As with baseline k-CBS (Appendix D.2), the optional τ...

  17. [25]

    , jmax(t+1) (left to right) using Equation 48, treating any out-of-band predecessor as +∞

    Fill D[t+ 1, j] for j=j min(t+1), . . ., jmax(t+1) (left to right) using Equation 48, treating any out-of-band predecessor as +∞. This keeps the recurrence exactly consistent with Wagner-Fischer. - For instance, when j=jmin(t+ 1)=0, the → insert predecessor D[t+ 1, −1] and the...

  18. [26]

    Prunethis partial path immediately if minj∈[jmin(t+1),jmax(t+1)]D[t+ 1, j]>ε (Lemma 17); otherwise, carry its banded row forward as the new state. This keeps a beam item’s per-child update cost and memory both O(ε)—the same order of bookkeeping overhead as the Hamming-pruned v...

  19. [29]

    Provincial Board✓ ✓ ✓ ✓ ✓ ✓

  20. [30]

    98th Academy Awards✓ ✓ ✓ ✓ ✓

  21. [31]

    Maguindanao del Sur Provincial Board.This page was created in 2025 (i.e., makes sense it would be pulled in during curation of held-out data), but the extracted text is a boilerplate template describing Philippine provincial board elections. From manual investigation using the...

  22. [32]

    List of submissions to the Nth Academy Awards

    98th Academy Awards – Best International Feature Film submissions.This page was created January 31, 2026—well after training cutoff. However, the extracted text is identical or near-identical to boilerplate shared across all “List of submissions to the Nth Academy Awards” page...

  23. [33]

    The template structure and stock phrases (track descriptions, race numbering) are widely duplicated

    2015 WinStar World Casino & Resort 350.This NASCAR Truck Series race page was created January 10, 2024 (after the cutoff), but the extracted text follows the same tem- plate used across hundreds of NASCAR race articles, many of which predate the train- ing cutoff (e.g., the 20...

  24. [34]

    b z(suf):rought the Batman to the forefront of public consciousness

    Batman in popular culture.This page was created in December 2025, but the extracted text exists on multiple fan wikis dating to 2019, and thus plausibly was included in Common Crawl (and therefore the training data). It also contains aGuardianquote about Batman that existed ve...

  25. [35]

    unlocked

    Finnmark (Storting constituency).This page was created September 29, 2024. The extracted text is boilerplate shared across all 19 Norwegian Storting constituency pages (that we found through manual Wikipedia API search). The earliest of these (Oslo) was created August 2021, wi...

  26. [749]

    For the baseline runs, we also manually examine outputs that surpassτmin but are not within Levε= 5 of the target suffix

    In general, tighter pruning frees beam slots for more viable candidates at that specific distance, revealing (relatively)∼1–2% more extraction. For the baseline runs, we also manually examine outputs that surpassτmin but are not within Levε= 5 of the target suffix. The results...

  27. [1974]

    running mismatch counter ≤ε

    (with Ukkonen’s criterion (Ukkonen, 1985)) requires O(ε) time and O(ε) memory per partial path per step, totaling O(B k Tε) time and O(B kε) peak memory across the beam (reduced to O(Bε) after each across-beam prune). This is purely bookkeeping—no extra forward passes through ...

  28. [2024]

    We thenreservoir sampled11 100,000 pages that fit these conditions from the whole range of Wikipedia pages in this time frame, de-duplicating by page ID

    For each batch of 500 creation events, we checked the page lengths via prop=info and kept pages with ≥8,000 bytes of wikitext. We thenreservoir sampled11 100,000 pages that fit these conditions from the whole range of Wikipedia pages in this time frame, de-duplicating by page ...

Pith tools

Reviewed August 3, 2026 · model on record in the stance chip above.