atlas

Research map / Large language models / Language, safety and interpretability

Copyright Traps for Large Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 24 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes injecting synthetic copyright trap sequences into books to enable document-level membership inference on a 1.3B LLM (CroissantLLM) trained from scratch that does not naturally memorize.

Problem

Existing document-level membership inference relies on naturally occurring memorization, which fails for medium-size models such as a 1.3B LLM, leaving content creators unable to verify whether their copyrighted content was used in training.

Approach

Insert purposefully generated trap sequences (synthetic or real excerpts, varied in length, perplexity, and repetition count) into original documents before training, then run sequence-level MIAs on the trap as a proxy for document membership, using a randomized controlled setup with a model trained from scratch.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use injected copyright traps instead of relying on naturally occurring memorizationCroissantLLM 1.3B document membership inference · Books without traps vs. injected trapsAUC: 0.513 ± 0.021; 0.524 ± 0.003; up to 0.748Helped
Increase synthetic trap repetitions from 1 to 100 (ablation)Ratio MIA on 25-token synthetic traps · Synthetic traps, 25 tokensAUC: 0.490 -> 0.524No clear effect
Increase synthetic trap repetitions from 1 to 1,000 (ablation)Ratio MIA on 25-token synthetic traps · Synthetic traps, 25 tokensAUC: 0.490 -> 0.557No clear effect
Increase synthetic trap repetitions from 100 to 1,000 (ablation)Ratio MIA on 50-token synthetic traps · Synthetic traps, 50 tokensAUC: 0.521 -> 0.627Helped
Increase synthetic trap length from 50 to 100 tokens at 1,000 repetitions (ablation)Ratio MIA · Synthetic traps, 1,000 repetitionsAUC: 0.627 -> 0.748Helped
Use a 50-token excerpt from the document as the trap, repeated 100 timesRatio MIA · Real traps, 50 tokens, 100 repetitionsAUC: 0.492No clear effect
Add 100 tokens of preceding document context (ablation)Ratio MIA on synthetic traps · 25-token traps, 1,000 repetitionsAUC: 0.557 -> 0.603Helped
Add 100 tokens of preceding document context (ablation)Ratio MIA on synthetic traps · 50-token traps, 100 or 1,000 repetitionsAUC: 0.521 -> 0.581; 0.627 -> 0.685Helped
Add 100 tokens of preceding document context (ablation)Ratio MIA on synthetic traps · 100-token traps, 1,000 repetitionsAUC: 0.748 -> 0.739No clear effect
Load target model at reduced parameter precision (ablation)Ratio MIA on 100-token synthetic traps repeated 1,000 times · CroissantLLM 1.3BAUC: 0.748 -> 0.745 -> 0.738 -> 0.697Hurt
Increase trap-sequence perplexity (ablation)Ratio MIA on 100-token synthetic traps repeated 1,000 times · Perplexity bucketsAUC: approximately 0.65 -> 0.8Helped
Increase the number of training steps and exposures to traps (ablation)Ratio MIA on synthetic traps repeated 1,000 times · Intermediate CroissantLLM checkpointsAUCHelped

Surprising findings

Limitations

Experimental setup

Datasets: Project Gutenberg public-domain books (9,542 books, excluding PG-19) PG-19 The Pile (non-copyrighted version) CroissantLLM pretraining corpus

Benchmarks: document-level MIA on Project Gutenberg books synthetic trap sequence MIA

Metrics: AUC

Baselines: Loss attack Min-K% Prob Ratio attack document-level MIA (Shi et al.) document-level MIA (Duan et al.)

Builds on: Min-K% Prob Ratio membership inference attack document-level membership inference (Shi et al. / Duan et al.) CroissantLLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy