arXiv Machine Learning

Extractable Memorization From First Principles

arXiv:2607. 12649v1 Announce Type: new Abstract: Recent work on extractable memorization in LLMs suffers from two contrasting validity problems.

arXiv Machine Learning
Sep 1

Where Induction Runs Out: Description-Length Difficulty and the Memorisation Gap in Integer-Sequence Benchmarks

The paper investigates integer‑sequence benchmarks from the OEIS by applying a two‑part minimum description length (MDL) learner that searches for P‑recursive recurrences. It finds that MDL difficulty correlates with a combinatorial parameter count, that most sequences fit a recurrence on a prefix but not at full length (the “wilderness” regime), and that language models do not hallucinate in the wilderness but instead hedge, showing that memorisation dominates perceived competence. The study provides a cheap, contamination‑free difficulty signal for OEIS‑derived benchmarks.

By Sabilashan Ganeshan
arXiv AI
Oct 9

Is Memorization Context-Sensitive? Prefix-Based Extraction Beyond Isolated Prefixes

Large language models can reveal memorized training sequences when prompted with a prefix, but real-world systems often use additional context such as instructions or retrieved documents. This study measures how such contextual conditioning affects memorization by comparing suffix probabilities with empty prompts versus retrieved contexts across three instruction-tuned models. The results show that context does not simply erase memorization; instead, it preserves a core set of robustly extractable samples while also shifting the boundary of marginal cases, sometimes suppressing and sometimes enabling new exposures.

By Ali Satvaty, Narjes Sharafi, Jirui Qi, Suzan Verberne, Fatih Turkmen
arXiv Machine Learning
5d ago

Extracting Training Data from Diffusion Language Models via Infilling

The paper introduces infilling extraction, a new protocol for probing memorization in diffusion language models (DLMs) that uses arbitrary binary masks to exploit their bidirectional denoising capability. Experiments on LLaDA‑8B and Dream‑7B across multiple extraction modes, training pipelines, and corpora show that mask geometry significantly affects extractability, with edge‑conditioned masks retrieving up to three times more verbatim sequences than prefix‑only probes. Targeted infilling also boosts PII recall on fine‑tuned DLMs by 2.5–4.5× over prefix‑only methods, narrowing the gap to autoregressive models and sometimes surpassing them for specific data types.

By Yihan Wang, N. Asokan
arXiv Computation and Language
4d ago

Shortcuts or Memorisation? Revisiting Data Corruption in Natural Language Understanding with Large Language Models

The study examines whether large language models (LLMs) maintain performance on natural language inference (NLI) tasks when key words are removed or shuffled, a phenomenon previously observed in fine‑tuned encoders. Across eight LLMs and GLUE/ANLI benchmarks, models that answer directly retain 36–72% of their above‑chance accuracy on MNLI without nouns, but only 14–29% on ANLI, unless they reason before answering. Contamination checks and 368 new human‑validated items show that robustness to such perturbations reflects dataset shortcuts rather than memorisation, indicating that benchmark performance may not truly gauge model understanding.

By Aarne Talman, Stergios Chatzikyriakidis
arXiv AI
Oct 28

LLMs Can Leak Training Data But Do They Want To? Evaluating Memorization Propensity in LLMs

The paper introduces PropMe, a framework that evaluates both the capability of large language models (LLMs) to reproduce training data via prefix attacks and their natural propensity to do so without adversarial prompting. Using SimpleTrace to compare every generation against the full indexed training corpus, the authors test models such as Comma, DFM Decoder, and OLMo3 32B across datasets like Common Pile, Dynaword, and Dolma3. Results show that natural sentence prompts produce less training text than prefix attacks, but unprompted or single-word prompts can reproduce as much or more, often involving duplicated licenses, code, and templates; continual pre‑training only modestly reduces verbatim reproduction.

By Gianluca Barmina, Peter Schneider-Kamp, Lukas Galke Poech
arXiv AI
Aug 24

Knowing but Not Saying: Preventing Factual Access Failures in LLM SFT via Recall-Anchored Distillation

The paper identifies a specific issue in supervised fine‑tuning (SFT) of large language models called factual access failure, where models can recognize correct facts under constrained tests but fail to generate them in open‑ended settings. It demonstrates that SFT can cause both genuine wrong answers and expression‑level errors such as verbosity or formatting mismatches. To mitigate this, the authors propose Recall‑Anchored Distillation (RAD), a self‑distillation method that aligns the fine‑tuned model with the base model’s soft output distribution on unlabeled out‑of‑distribution text, thereby recovering lost factual recall without needing labeled data.

By Haodong Chen, Yadong Wang, Shengtao Wen, Dong Liang, Xiang Chen
arXiv Machine Learning
Oct 3

The Null Is the Hard Part: Exact Tests for Memorization in Generative Models

The paper critiques current memorization audits for generative models, arguing that lacking a proper null distribution leads to misleading conclusions. It introduces two exact null tests—one permutation test for whole models and a calibrated test for single images—showing that many previously flagged memorizations disappear under these stricter controls. The authors also propose a scale‑restricted statistic based on the Intersection Euler Characteristic Profile to better detect distinct copied images.

By Sushovan Majhi, Pramita Bagchi
arXiv Machine Learning
Nov 6

An Information Bottleneck for Post-hoc Memorization Mitigation in LLMs

The paper proposes a modular, plug‑and‑play framework that inserts a nonparametric variational information bottleneck (NVIB) between a frozen large language model (LLM) backbone and its language‑modeling head. By compressing the final hidden representations before token prediction, the NVIB aims to preserve general linguistic knowledge while filtering out highly specific memorized sequences. Experiments on memorization extraction tasks and standard language‑modeling benchmarks show that the NVIB layer substantially reduces extractability while maintaining competitive performance.

By Dina EL Zein, Shashi Kumar, James Henderson