potentialpaper

Localizing Verbatim Memorized Spans in Language Model Outputs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:09 UTC · cc022a94be32 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "onf6JBmA8I"
- }
- ],
- "title": "Localizing Verbatim Memorized Spans in Language Model Outputs",
- "authors": [],
- "abstract": "Large language models (LLMs) can reproduce training data verbatim, raising copyright and privacy concerns. \nTo detect such reproduction, existing methods typically frame the problem as membership inference, classifying entire sequences as members or non-members. \nHowever, a long generated sequence may contain only a short memorized passage, for example, roughly 70 verbatim tokens within an up to 512-token output. \nSequence-level aggregation can therefore dilute the memorization signal. \nWhile token-level scoring methods exist, they commonly flag tokens independently. \nOur key insight is that verbatim memorization should be treated as a structured span-localization problem rather than a sequence-level or independent-token detection problem. Unlike membership inference, which asks whether a candidate text was used in training, our task asks where verbatim matches occur within generated text.\nWe make three contributions. First, we develop a benchmark for predicting the boundaries of verbatim spans and demonstrate the benefit of contiguity-aware extraction: on Hubble models, applying it to InfoRMIA improves mean intersection over union (IoU) from 0.326 to 0.683. \nSecond, we introduce Token Span Localization (TSL), which converts token-level scores into contiguous span predictions using two scoring functions, Final Loss (FL) and Sample Loss Difference (SLD). \nThird, we provide a theoretical analysis showing that these scores offer complementary evidence: FL captures how likely the final model is to reproduce a complete span, while SLD measures how much its likelihood has increased since a reference checkpoint.\nOn GPT-2 XL, TSL achieves 0.851 mean IoU (with SLD) and 0.984 detection AUC (with FL), a gain of 0.122 over the strongest sequence-level baseline (0.862).\nAcross eight Hubble configurations, TSL obtains 0.986-0.993 AUC, an average gain of 0.207 over InfoRMIA (0.672-0.850), compared with 0.601--0.796 for the strongest conventional sequence-level baseline in each configuration. \nTSL also achieves the highest detection AUC among the evaluated methods on 12 of 14 open-weight models tested against an external corpus. \nTogether, these results establish TSL as a more accurate and fine-grained approach to auditing verbatim memorization in LLM outputs.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "f3c6daf9-1918-4933-86e2-9bef8df460ca"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Localizing Verbatim Memorized Spans in Language Model Outputs",
+ "authors": [],
+ "abstract": "Large language models (LLMs) can reproduce training data verbatim, raising copyright and privacy concerns. \nTo detect such reproduction, existing methods typically frame the problem as membership inference, classifying entire sequences as members or non-members. \nHowever, a long generated sequence may contain only a short memorized passage, for example, roughly 70 verbatim tokens within an up to 512-token output. \nSequence-level aggregation can therefore dilute the memorization signal. \nWhile token-level scoring methods exist, they commonly flag tokens independently. \nOur key insight is that verbatim memorization should be treated as a structured span-localization problem rather than a sequence-level or independent-token detection problem. Unlike membership inference, which asks whether a candidate text was used in training, our task asks where verbatim matches occur within generated text.\nWe make three contributions. First, we develop a benchmark for predicting the boundaries of verbatim spans and demonstrate the benefit of contiguity-aware extraction: on Hubble models, applying it to InfoRMIA improves mean intersection over union (IoU) from 0.326 to 0.683. \nSecond, we introduce Token Span Localization (TSL), which converts token-level scores into contiguous span predictions using two scoring functions, Final Loss (FL) and Sample Loss Difference (SLD). \nThird, we provide a theoretical analysis showing that these scores offer complementary evidence: FL captures how likely the final model is to reproduce a complete span, while SLD measures how much its likelihood has increased since a reference checkpoint.\nOn GPT-2 XL, TSL achieves 0.851 mean IoU (with SLD) and 0.984 detection AUC (with FL), a gain of 0.122 over the strongest sequence-level baseline (0.862).\nAcross eight Hubble configurations, TSL obtains 0.986-0.993 AUC, an average gain of 0.207 over InfoRMIA (0.672-0.850), compared with 0.601--0.796 for the strongest conventional sequence-level baseline in each configuration. \nTSL also achieves the highest detection AUC among the evaluated methods on 12 of 14 open-weight models tested against an external corpus. \nTogether, these results establish TSL as a more accurate and fine-grained approach to auditing verbatim memorization in LLM outputs.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}