Memorization: A Close Look at Books

To what extent can entire books be extracted from LLMs?Using the Llama 3 70B family of models, and the "prefix-prompting" extraction technique, we were able to auto-regressively reconstruct, with a very high level of similarity, one entire book (Alice's Adventures in Wonderland) from just the first 500 tokens.We were also able to obtain high extraction rates on several other books, piece-wise.However, these successes do not extend uniformly to all books.We show that extraction rates of books correlate with book popularity and thus, likely duplication in the training data.We also confirm the undoing of mitigations in the instruction-tuned Llama 3.1, following recent work (Nasr et al., 2025).We further find that this undoing comes from changes to only a tiny fraction of weights concentrated primarily in the lower transformer blocks.Our results provide evidence of the limits of current regurgitation mitigation strategies and introduce a framework for studying how fine-tuning affects the retrieval of verbatim memorization in aligned LLMs.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.l2m2-1.13
Primary Topic
Digital Storytelling and Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Memorization: A Close Look at Books

Ian Domingo, Pierre Baldi, A. Krone-Martins, Iris Ma
Digital Storytelling and Education
article

Memorization: A Close Look at Books

Ian Domingo, Pierre Baldi, A. Krone-Martins, Iris Ma
article en

Abstract

To what extent can entire books be extracted from LLMs?Using the Llama 3 70B family of models, and the "prefix-prompting" extraction technique, we were able to auto-regressively reconstruct, with a very high level of similarity, one entire book (Alice's Adventures in Wonderland) from just the first 500 tokens.We were also able to obtain high extraction rates on several other books, piece-wise.However, these successes do not extend uniformly to all books.We show that extraction rates of books correlate with book popularity and thus, likely duplication in the training data.We also confirm the undoing of mitigations in the instruction-tuned Llama 3.1, following recent work (Nasr et al., 2025).We further find that this undoing comes from changes to only a tiny fraction of weights concentrated primarily in the lower transformer blocks.Our results provide evidence of the limits of current regurgitation mitigation strategies and introduce a framework for studying how fine-tuning affects the retrieval of verbatim memorization in aligned LLMs.

University of California, Irvine (US), Irvine University (US)
Openalex Percentile: Top 74%
Digital Storytelling and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Memorization: A Close Look at Books — Ian Domingo, Pierre Baldi, et al. · (2025) | TGRS Research Map | TGRS