AI Alignment
Part IV: Instillation: Training Toward the Target

Draft complete but not yet reviewed; expect revisions

Data and Pretraining

In brief

Ideas
  • How much of a model's behavior does the corpus settle? At the optimum of the KL-regularized objective, responses the reward scores equally keep their starting odds, so where the reward is silent, the corpus decides (§27.1.1).
  • Unlearning methods that edit a trained model in place suppress knowledge, like a lowered prior that enough evidence overturns; filtering aims at a prior of zero, which none overturns (§27.7.4).
  • A filter that removes harm also decides whose text counts. Data governance asks for datasheets and collective consent; as of October 2026, no consent mechanism operated at web-crawl scale (§27.3.3).
  • Content checks on data have limits that provenance checks complement: a learner who controls training can plant backdoors no efficient inspection finds (§27.6), and in one preprint a trait passed between same-initialization models through data showing none of it (§27.5).
Evidence
  • Settled: the unlearning methods tested so far that edit a trained model in place leave knowledge that fine-tuning on a little related or unrelated data brings back, found by independent groups with different designs (§27.7.2).
  • Settled: the filters studied removed text unevenly by region, class, dialect, and identity, found by two groups on two filters; each effect's size is reported, not replicated (§27.3.1).
  • Reported: in one 2025 preprint at 6.9 billion parameters, filtering biothreat-proxy text kept that knowledge out through 10,000 steps of adversarial fine-tuning; the models still used it when supplied in context (§27.2.3).
  • Reported: in a 2026 preprint at 6.9 billion parameters, adding documents about aligned AI lowered misaligned choices through post-training, more than filtering out AI discourse did (§27.4.2).
Open
  • Crux: does a capability filtered from pretraining stay removed against attacks affordable at frontier scale? Settling it needs a frontier developer's paired filtered and unfiltered models, released or opened to outside testers (§27.2.3).
  • Contested: whether removing unwanted data makes a model safer or the behavior harder to control later. That filtering removes knowledge but not propensity is its proposers' speculation (§27.2.4).

Chapter 26 asked how a trained character generalizes; this chapter asks what the character is made from. Every method in this part starts from a pretrained model and moves it. Pretraining is the first and largest stage of making a language model: training it to predict the next token of a very large text corpus (Section 11.1). Later stages optimize a reward while paying a penalty, weighted by a KL weight, for moving the model's distribution away from where it started. The optimum of that KL-regularized objective (Section 12.3) says what they do with pretraining's product: they reweight the pretrained distribution rather than replace it. Two consequences follow, each with its condition. Among behaviors the reward scores equally, the pretrained odds survive at every KL weight. Whether a rare behavior can be lifted depends on the reward gap against that weight, and at the weights reported for the reinforcement learning of reasoning models almost nothing with positive probability is out of reach (Section 12.4.2). In the persona view (Section 11.6), which reads a pretrained model as a mixture of the characters its training text contains, pretraining decides which characters exist to be selected. What enters the corpus is therefore an instillation decision, in the book's term for getting a learner to acquire what was specified, and the earliest one.

The chapter treats the corpus as a lever with three uses. It can take content out, by filtering before training or by the unlearning that tries to do the same afterward. It can put content in, as documents written to instill a belief or a disposition, including the text models read about AI. And it must be kept from an adversary who would do either. Two results bound the lever: a trait can pass through data that shows nothing of it, and knowledge kept out of training can return through the context. A filter that removes harmful text also decides whose text counts, so that question gets a section of its own. Most claims here concern the training process and the signal it optimizes; who decides what enters the corpus, and what the public can know of it, concern the developer and the public. Hazardous capability enters only at the level the laboratories and governments have published: methods and their measured effects, never what the filtered content would enable (Chapter 59). The chapter ends on whether a capability removed from the data stays removed against the attacks an adversary can afford at frontier scale.

27.1 What pretraining puts in #

The question is how much of a trained model's behavior the corpus settles before any alignment method runs. This section states the mechanism in the terms of earlier chapters, then shows how data choices are made today and how far a behavior can be traced back to the documents behind it.

27.1.1 The prior that later training reweights #

The reference policy π0\pi_0 of Chapter 12, the distribution post-training starts from and is anchored to, is usually the pretrained model after supervised fine-tuning, training on demonstrations of the responses wanted. At the optimum of the KL-regularized objective, two responses that the reward scores equally keep the odds π0\pi_0 gave them, at every KL weight β\beta (Section 12.4.2). A reward specifies little of a model's behavior: a grader checks an answer, a reward model compares two responses. On everything the reward is silent about, the corpus decides (inference).

Where the reward does distinguish, the corpus sets the starting price. Equation (12.7) says that rarity protects only logarithmically, so whether a rare behavior stays rare depends on the reward gap against β\beta, not on the prior alone. Training also does not reach the optimum. A model trained by reinforcement learning on its own samples is updated only on what it samples, and a group of attempts that all fail carries no signal (Section 12.7.1), so the starting distribution decides what gets explored at all. Whether reinforcement learning on top of it adds abilities or sharpens existing ones is the dispute of Section 24.4.1, which the evidence does not decide at frontier scale. Behavior that pretraining made common is also hard to remove: Jiaming Ji and colleagues call the tendency of a fine-tuned model to revert toward its pretrained behavior elasticity, and Section 26.4.1 reports their evidence (Ji et al., 2025).

The persona view gives the same mechanism a picture. A pretrained model is a mixture over the writers and characters in its corpus, and post-training moves weight among them (Section 11.6.1). The derivation of Section 11.6.3 separates two cases that this chapter returns to: a character whose prior is lowered is only delayed, since enough evidence brings it back, while one with no prior weight at all stays away (11.6). Filtering a corpus aims at the second case; most methods applied after training reach only the first.

27.1.2 Data selection as a design choice #

A pretraining corpus is mostly a filtered crawl of the web plus curated sources, and each filter is a choice with measured effects. In a paper at NAACL, Shayne Longpre and colleagues pretrained 28 models of 1.5 billion parameters on versions of two public corpora, C4 and the Pile, that differed in collection date, filtering, and domain mix (Longpre et al., 2023a). A gap in time between pretraining and evaluation data lowered performance, and fine-tuning did not recover it (Longpre et al., 2023a). A quality filter trained to keep text resembling Wikipedia and books raised performance across domains and also raised toxic generation (Longpre et al., 2023a). A toxicity filter lowered toxic generation, and with it the model's ability to recognize toxicity and its performance on most question-answering domains (Longpre et al., 2023a). The authors conclude that no single filter fits every goal and that a filter's effects cannot be predicted from the characteristics of the text (Longpre et al., 2023a).

Corpora are now built by measuring such effects. FineWeb, 15 trillion tokens derived from 96 snapshots of the Common Crawl web archive, was assembled by training small models on candidate versions and documenting every deduplication and filtering choice in the open (Penedo et al., 2024). Its 1.3-trillion-token educational subset was selected by a classifier (Penedo et al., 2024). Its authors note that the corpora of leading open models such as Llama 3 were not public and that little was known about how they were built (Penedo et al., 2024). Selection by a model's judgment is a second route. QuRating has a language model judge which of two texts shows more of a quality, such as educational value, learns a score from those comparisons, and samples training data by it. Its authors find that quality has to be balanced against diversity (Wettig et al., 2024). A third route keeps the web domains on which the losses of 90 public models correlate with those models' benchmark scores, and needs no training run of its own (Thrush et al., 2024). Each method defines quality as resemblance to something chosen: reference text, a model's judgment, or a benchmark. Section 27.3 asks whose text each resemblance favors.

Two pressures bear on these choices. The first is provenance, the record of where each piece of data came from and on what terms. Common Corpus assembles about two trillion tokens that are either out of copyright or openly licensed, and documents the source of each collection (Langlais et al., 2025). The second is scarcity. A 2024 paper at ICML by researchers at Epoch AI projects that, if current trends continue, training sets will equal the stock of public human-written text between 2026 and 2032 (Villalobos et al., 2024). The authors name synthetic data among the ways progress could continue, which makes text written by models a growing share of what models read, the case Section 27.5 takes up.

27.1.3 Tracing a behavior to its data #

The direct way to ask whether a disposition came from the corpus is to find the documents that produced it. Section 10.1 teaches the tool, influence functions, which estimate how a model's output would respond to a small reweighting of one training example. In deep networks they measure a local response rather than the effect of retraining (Grosse et al., 2023), and that chapter concludes that they have not been validated on behaviors as diffuse as a disposition. The question "which documents made this model misaligned?" is not yet answerable by attribution. The alternative is to pretrain the same model twice, with and without the documents in question, and compare. That is the design of most studies in this chapter, and its cost is why they use models of at most 6.9 billion parameters, far below the frontier (inference).

Sources cited in Section 27.1 8
  1. Ji et al. (2025) Language Models Resist Alignment: Evidence From Data Compression
  2. Longpre et al. (2023a) A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity
  3. Penedo et al. (2024) The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
  4. Wettig et al. (2024) QuRating: Selecting High-Quality Data for Training Language Models
  5. Thrush et al. (2024) Improving Pretraining Data Using Perplexity Correlations
  6. Langlais et al. (2025) Common Corpus: The Largest Collection of Ethical Data for LLM Pre-Training
  7. Villalobos et al. (2024) Will we run out of data? Limits of LLM scaling based on human-generated data
  8. Grosse et al. (2023) Studying Large Language Model Generalization with Influence Functions

27.2 Filtering for safety #

Can the corpus be used against an unwanted behavior or an unwanted capability, and does what it achieves hold when someone tries to undo it? There are two ways to try. One keeps the unwanted text and teaches the model to treat it differently; the other removes it. The evidence on each points in a different direction for propensities, such as toxic output, than for knowledge, such as facts that serve as a proxy for weapons capability, and the section ends on why.

27.2.1 Conditioning rather than removing #

A controlled comparison of pretraining objectives that use a preference signal came from Tomasz Korbak and colleagues, at New York University, FAR AI, the University of Sussex, Northeastern University, and Anthropic, in a paper at ICML (Korbak et al., 2023). A classifier or rule scored every sentence or line of the training data on one of three tasks: avoiding toxic text, avoiding personally identifiable information, and writing Python that follows the PEP8 style guide (Korbak et al., 2023). Five objectives used the scores, among them filtering, which drops low-scoring documents, and conditional training, which prefixes each segment with a token marking it good or bad and samples from the model conditioned on the good token (Korbak et al., 2023). Each objective trained a model of 124 million parameters on 3.32 billion tokens (Korbak et al., 2023).

Conditional training was the only objective on the frontier of the trade-off between misalignment and capability on all three tasks (Korbak et al., 2023). On toxicity, the average misalignment score, the toxicity classifier's probability for a sampled text, fell from 0.0141 under ordinary training to 0.0011 (Korbak et al., 2023). Filtering was second best or best at reducing misalignment, but it paid the largest capability penalty on two of the three tasks (Korbak et al., 2023). Under automated red-teaming, in which a language model searches for prompts that elicit the unwanted output, the models pretrained with feedback stayed more robust than ordinary ones, except one objective on one task (unlikelihood training, which pushes down the probability of low-scoring text, on personal information), yet every objective left vulnerabilities, and the attacks kept improving after ten rounds (Korbak et al., 2023). Ordinary pretraining followed by fine-tuning with the same feedback did not reach the scores of conditional pretraining, which the authors describe as the difference between never learning undesirable behavior and "learning and then unlearning" it (Korbak et al., 2023).

27.2.2 Recipes that keep the unwanted text #

Two later studies went further and found that removing unwanted text can make a model less safe. Pratyush Maini and colleagues, at Carnegie Mellon University, DatologyAI, the Center for AI Safety, and Gray Swan AI, built a pretraining recipe in four parts, in a paper at NeurIPS (Maini et al., 2025). A classifier scored web text for safety. Unsafe text was rewritten into narratives that keep its information in an ethical and historical context. Synthetic refusals and "moral education" texts about why harmful content is harmful were added. Unsafe passages were marked with a special token that decoding could later steer away from (Maini et al., 2025). They trained models of 1.7 billion parameters and gave each the same instruction tuning, fine-tuning on instructions and responses that here included safety data. They then fine-tuned each on a benign mathematics dataset, GSM8K, because such fine-tuning is known to erode safety that was added only at instruction tuning (Maini et al., 2025). Table 27.1 gives the share of harmful requests that succeeded after that benign fine-tuning, as the recipe was built up.

Table 27.1 Attack success rate after benign fine-tuning on GSM8K, for 1.7-billion-parameter models pretrained on progressively richer data, from a paper at NeurIPS (Maini et al., 2025)
Pretraining data Attack success rate (%)
Raw web data 38.8
Only the text the classifier scored safest 43.8
Raw data with unsafe text rewritten in context 33.6
The same, plus refusal completions for the most unsafe text 25.1
The same, plus moral-education data 20.0

Training only on the safest text raised the attack success rate, and the authors read it as a model that never saw unsafe patterns failing to learn how to respond to them (Maini et al., 2025). Adding the harmfulness token during pretraining brought the rate after benign fine-tuning to about 8 percent, against about 30 percent when the token was added only during instruction tuning (Maini et al., 2025). The base model, the pretrained model before any post-training, showed the same direction: 44 percent of completion-style harmful prompts succeeded on the standard model and 11 percent on the safety-pretrained one (Maini et al., 2025).

Kenneth Li and colleagues, at Harvard University, tested the same intuition on toxicity alone, in a paper at ICML (Li et al., 2025i). They trained Olmo-1B models on a fixed amount of clean web text with 0 to 25 percent added from 4chan, a forum chosen as nearly pure toxic text, two seeds per mixture (Li et al., 2025i). More toxic data made the base model more toxic (Li et al., 2025i). It also gave the model more attention heads from which a linear probe, a simple classifier trained on internal activations, could read whether a text was toxic, which the authors read as a less entangled representation of toxicity (Li et al., 2025i). When the authors then steered the models at inference time away from that direction, toxicity fell as toxic data was added up to 10 percent, the best mixture, and rose again beyond it (Li et al., 2025i). Detoxifying by supervised fine-tuning, or by direct preference optimization (DPO, Section 12.6), which trains on pairs of preferred and rejected responses, showed the same dependence on the mixture (Li et al., 2025i). The authors also ran a strong white-box jailbreak attack, which uses the model's weights to search for inputs that make it produce what its training refuses. Without steering, 80 percent of attacks succeeded on the clean model and 82 percent on the 10 percent model; with strong steering, 46 and 38.5 percent (Li et al., 2025i). The authors state the claim in their abstract: "bad data may lead to good models" once post-training is taken into account (Li et al., 2025i). Both studies used models of under two billion parameters and evaluations their authors chose.

27.2.3 Removing knowledge before it is learned #

The strongest evidence for filtering concerns knowledge rather than propensity. In a 2025 preprint, Kyle O'Brien and colleagues, at EleutherAI, the UK AI Security Institute, and the University of Oxford, asked whether filtering text about dual-use biology from pretraining data could build a safeguard into models whose weights are released (O'Brien et al., 2025). Their target was knowledge that WMDP-Bio, a public benchmark of multiple-choice questions written as a harmless proxy for biothreat knowledge, measures (Section 27.7). Models of 6.9 billion parameters were pretrained from scratch on 500 billion tokens followed by 50 billion tokens of annealing, a final stage that refreshes the learning rate and upsamples higher-quality data, once unfiltered and once with each of two filters (O'Brien et al., 2025). A keyword blocklist, built with a language model from the benchmark's own reference documents, screened every document. In the "strong filter" any document with two or more listed terms was removed; in the "weak filter" such documents went on to a trained classifier for review during annealing (O'Brien et al., 2025). The strong filter removed 8.42 percent of pretraining documents and 9.36 percent of annealing documents (O'Brien et al., 2025). The authors evaluate on subsets of the benchmark chosen to resist guessing tricks, since picking the longest answer alone scored 46 percent on the full set (O'Brien et al., 2025). Table 27.2 gives the results.

Table 27.2 Accuracy (%) of 6.9-billion-parameter models pretrained with and without filtering of biothreat-proxy text, in a preprint by EleutherAI, the UK AI Security Institute, and the University of Oxford (O'Brien et al., 2025). Four-way multiple choice; a random guess scores 25 percent.
Model Proxy knowledge, robust multiple choice Proxy knowledge, cloze format MMLU (general knowledge)
Unfiltered 42.97 36.34 44.92
Strong filter 35.37 24.44 43.21
Weak filter 33.99 26.77 44.82

Filtering lowered the proxy knowledge, reaching "random-chance-level performance on cloze-style prompts," in which each answer is scored separately, while general benchmarks barely moved (O'Brien et al., 2025). The result that matters for released weights is what fine-tuning did. The attackers fine-tuned the filtered models on 305 million tokens of the benchmark's biology reference documents, for up to 10,000 steps, updating either all weights or small added low-rank matrices (O'Brien et al., 2025). The filtered models resisted throughout, "outperforming existing post-training baselines by over an order of magnitude," where earlier safeguards had been undone "within several hundred fine-tuning steps or fewer" (O'Brien et al., 2025). The one exception was an attack on the model's internal activations, which worked surprisingly well in the multiple-choice format though not in cloze (O'Brien et al., 2025). Benign fine-tuning on general text left the filtered models' proxy knowledge unchanged, while circuit breaking, the post-training baseline, which reroutes the model's internal activations on harmful inputs, "rapidly becomes ineffective" under it (O'Brien et al., 2025).

The authors state three limits themselves. First, filtering does not stop a model from using information supplied in its context. On an "open-book" test that placed a relevant abstract in the prompt, filtered models answered well, and no defense resisted a combined attack of fine-tuning and retrieval (O'Brien et al., 2025). Second, "10,000 steps and 300M tokens of fine-tuning is not a very large amount" for an attacker who can run any; they suggest that expert-built data, which cost over $200,000 for the benchmark, may be the real bottleneck (O'Brien et al., 2025). Third, the models are 6.9-billion-parameter base models without instruction tuning, tested on multiple-choice proxies, and adversarial evaluation gives only a lower bound on what an attacker can recover (O'Brien et al., 2025). The study is a controlled experiment on models its authors trained for the purpose. As of October 2026 we found no repetition at this scale by another group; the smaller studies of Section 27.2.5 agree with it.

A developer's report points the same way at a scale it does not disclose. In an August 2025 post on its alignment blog, Anthropic described removing chemical, biological, radiological, and nuclear weapons information from the pretraining data of models trained from scratch (Anthropic, 2025u). A small fine-tuned classifier scored every document (Anthropic, 2025u). A classifier built by prompting Claude 3.5 Sonnet scored better on synthetic test documents, but when used to rerank the pretraining data it slightly increased the harmful capability (Anthropic, 2025u). The authors suggest this may come from a shift between the synthetic test documents and real pretraining documents (Anthropic, 2025u). At the chosen threshold, accuracy on the harmful-capability evaluation fell from 33.7 to 30.8 percent, against a random baseline of 25, with no significant drop on the harmless evaluations (Anthropic, 2025u). This is a developer's report on its own models, with no fine-tuning attack.

27.2.4 Knowledge and propensity #

The two sets of results seem to disagree: removing toxic text made models harder to make safe, while removing biothreat text made them durably ignorant. O'Brien and colleagues tested a model from the safety-pretraining recipe and found its filtered variants no more resistant to fine-tuning attacks than unfiltered baselines (O'Brien et al., 2025). They offer a resolution as a speculation. A model may need to "understand" an emergent propensity, such as toxicity or compliance with harmful requests, to resist exhibiting it, because such behavior does not require precise knowledge. Knowledge that "is precise in nature and arises only from a small subset of training documents" may instead be removable by filtering (O'Brien et al., 2025).

The mechanism of the earlier sections makes the speculation concrete, as the book's reading (inference). A fact that appears in a small, identifiable set of documents is absent from a model trained without them, and the model answers a question about it at the rate of a guess. No reweighting of that model's outputs supplies what it never encoded; only data or a reward that carries the fact can, which is what the in-context result shows from the other side. A propensity is different. Toxic or compliant text is spread through the corpus, and the model needs to represent it to recognize it, as Longpre and colleagues found when toxicity filtering also degraded toxicity detection (Longpre et al., 2023a). Filtering then removes the concept that later training would use to steer away from the behavior, not the behavior's availability. Two caveats travel with this reading. The knowledge side has its own leak: "implicit information can remain scattered across various training documents," and models fine-tuned on scattered evidence have pieced together facts never stated in it (Section 11.3.2) (Treutlein et al., 2024). And the line between knowledge and propensity is not sharp for the dispositions this book cares about most. Section 27.4 reports that filtering text about AI from a corpus lowered a measure of misaligned choices, while adding text about aligned AI lowered it far more (Tice et al., 2026).

27.2.5 Localizing instead of deleting #

Filtering has two practical costs: a classifier must label every document, and each capability profile needs its own pretraining run. Two methods train the unwanted knowledge into parameters that can be cut out afterward. Both build on gradient routing, in which updates from labeled data are restricted to a chosen part of the network (Cloud et al., 2024) (preprint).

Igor Shilov and colleagues, from Anthropic's fellows program with Anthropic and university authors, routed updates from biology articles on Wikipedia into dedicated parameters, then removed them, in a model of 254 million parameters; a first test removed Spanish from a model of 64 million parameters trained on English and Spanish stories (Shilov et al., 2025) (preprint). When some biology documents carried the wrong label, the case filtering handles worst, their method kept a better balance than filtering between general knowledge retained and biology removed (Shilov et al., 2025). Under adversarial fine-tuning, a model unlearned after training with RMU, a standard post-training method (Section 27.7), was back to the biology loss of a model trained on everything within 50 steps (Shilov et al., 2025). The strictly filtered model and the routed model each took 350, with 260,000 tokens of biology text per step (Shilov et al., 2025). The authors call the result a proof of concept. The models are small, the forget set is about 4 percent of training tokens, which they say likely exceeds real frequencies, and the measure is loss rather than a test of dangerous capability (Shilov et al., 2025).

Ethan Roland and colleagues at AE Studio, with two Anthropic researchers, added to each layer of a transformer a removable module per dual-use domain: virology, cybersecurity, nuclear physics, and a niche programming language standing in for proprietary code (Roland et al., 2026) (preprint). Text from a domain always trains its module and reaches the shared weights only part of the time (Roland et al., 2026). Deleting a module approximated a model trained without that domain's data, resisted malicious fine-tuning about as well as filtering, and did better than a post-training unlearning method, whose effect fine-tuning mostly reversed (Roland et al., 2026). With half the data unlabeled, routing removed more than filtering, because unlabeled domain text still trains a filtered model's shared weights (Roland et al., 2026). Across models from 50 million to 5 billion parameters, the filtered model learned less of the excluded domain and resisted adversarial fine-tuning more strongly as scale grew, with one run per size from 2 billion up (Roland et al., 2026). The developer's announcement calls the results preliminary and says the method "has not been applied to any of the production models at Anthropic, and we're not sure it ever will be" (Anthropic, 2026f). It names a limit that applies to filtering as much as to modules: some dual-use capabilities may be "so entangled with general knowledge that no method can separate them cleanly" (Anthropic, 2026f).

Sources cited in Section 27.2 12
  1. Korbak et al. (2023) Pretraining Language Models with Human Preferences
  2. Maini et al. (2025) Safety Pretraining: Toward the Next Generation of Safe AI
  3. Li et al. (2025i) When Bad Data Leads to Good Models
  4. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  5. Anthropic (2025u) Enhancing Model Safety through Pretraining Data Filtering
  6. Longpre et al. (2023a) A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity
  7. Treutlein et al. (2024) Connecting the Dots: LLMs can Infer and Verbalize Latent Structure from Disparate Training Data
  8. Tice et al. (2026) Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment
  9. Cloud et al. (2024) Gradient Routing: Masking Gradients to Localize Computation in Neural Networks
  10. Shilov et al. (2025) Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs
  11. Roland et al. (2026) Modular Pretraining Enables Access Control
  12. Anthropic (2026f) An off switch for dual-use knowledge in AI models

27.3 Who decides what enters the corpus #

A filter written to remove harm or low quality is also a decision about whose language, whose topics, and whose consent count. This section asks what such filters have been measured to remove, what a governed corpus would have to record, and who has the authority to decide.

From data governance. Data governance studies who may collect, document, use, and control data, and on what terms. It brings three things to the question: measurements of what corpus filters select, standards for documenting where data came from, and a prior question of consent and collective authority over data.

27.3.1 What filters remove #

Suchin Gururangan and colleagues, at the University of Washington, three other universities, and the Allen Institute for AI, measured whose writing a quality filter prefers, in a paper at EMNLP (Gururangan et al., 2022). They re-implemented the filter described for GPT-3, a logistic regression on word sequences trained to tell three reference corpora (Books3, Wikipedia, and OpenWebText) from a random sample of the Common Crawl (Gururangan et al., 2022). They applied it to 910,000 articles from 1,410 United States high school newspapers published between 2010 and 2019 (Gururangan et al., 2022). Articles from larger schools, and from areas with higher home values, more educated parents, and urban rather than rural locations, were scored as higher quality, and the urban preference held with financial resources and parental education controlled (Gururangan et al., 2022). The scores did not separate news sources rated high and low for factual reliability (Gururangan et al., 2022). The authors name the limits: the newspapers are not a representative sample of schools, and their model explains only a relatively small share of the variance in scores (Gururangan et al., 2022). Their conclusion is that privileging any corpus as high quality entails a language ideology, the sociolinguists' term for unspoken beliefs about language that justify how it is used, and that "there is no truly general-purpose corpus" (Gururangan et al., 2022).

Jesse Dodge and colleagues documented the Colossal Clean Crawled Corpus (C4), a widely used pretraining corpus, including what one of its filters removed (Dodge et al., 2021) (preprint). The filter dropped any document containing a word from a list compiled to keep "bad" words out of a search engine's autocompletions (Dodge et al., 2021). In a sample of 100,000 removed documents, 31 percent fell in clusters that were largely sexual (Dodge et al., 2021). Mentions of sexual orientations were the identity mentions most likely to be removed, and in samples of 50 documents mentioning "lesbian" and "gay," non-offensive or non-sexual documents made up 22 and 36 percent (Dodge et al., 2021). A dialect classifier showed which varieties of English the filter removed (Table 27.3) (Dodge et al., 2021). The authors recommend against blocklist filtering for web corpora and ask that corpora document what they exclude (Dodge et al., 2021).

Table 27.3 Share of documents removed by C4's word blocklist, by the dialect a classifier assigned, in a preprint documenting the corpus (Dodge et al., 2021)
Dialect assigned Removed (%)
African American English 42
Hispanic-aligned English 32
White-aligned English 6.2
Other 7.2

The same pattern appears where text is changed rather than removed. Detoxification methods made language models markedly worse at modeling African American English and text mentioning minority identities, a study Section 20.3 reports (Xu et al., 2021). The quality filter of Section 27.1.2 raised toxic generation even as it raised benchmark scores (Longpre et al., 2023a), so a quality filter is also a toxicity filter, in an unwanted direction. A 2024 study, which we could not read and list here by its title only, used website creators' self-descriptions to document the effects of English pretraining filters (Lucy et al., 2024). The unequal resources behind the world's languages, which Section 17.4.3 reports (Joshi et al., 2020), set the baseline these filters act on. An interview study of 53 practitioners in India, East and West African countries, and the United States, read here from its abstract, reports data cascades: compounding failures caused by undervalued data work (Sambasivan et al., 2021a). It gives them "92% prevalence" in high-stakes domains outside language modeling (Sambasivan et al., 2021a). The quality of a training signal is an outcome of how an organization values data work.

27.3.2 Documentation, provenance, and consent #

The field's first answer is documentation. Timnit Gebru and colleagues proposed that every dataset ship with a datasheet, by analogy with the datasheet that accompanies every electronic component, and noted that data provenance, long studied in databases, was rarely discussed in machine learning (Gebru et al., 2021). The datasheet's questions include whether any preprocessing removed instances, and, for data about people, whether they consented to its collection and were given "a mechanism to revoke their consent" (Gebru et al., 2021). Law has begun to ask for less. As of October 2026 the European Union's AI Act asks providers of general-purpose models for a public summary of their training content that is broad rather than technically detailed (Section I.1.2; Section I.1.3) (European Parliament and Council of the European Union, 2024b). A corpus assembled only from out-of-copyright and openly licensed text, as Common Corpus is, answers the licensing question by construction (Langlais et al., 2025), not the question of whose text was filtered out.

The prior question is authority. Indigenous data sovereignty holds that Indigenous peoples have rights to control data about their peoples, lands, and resources (Carroll et al., 2021). Section 17.4.4 reports its founding volume and its statement in the CARE principles (collective benefit, authority to control, responsibility, and ethics) (Kukutai and Taylor, 2016; Carroll et al., 2020). Carroll and colleagues describe how the principles are being put into practice, in a comment in Scientific Data (Carroll et al., 2021). They propose a maturity model for CARE like the one built for the FAIR principles of findable, accessible, interoperable, and reusable data. They also describe a "paradox of scarcity and abundance": little Indigenous data under Indigenous control, and much buried in larger collections, mislabeled, and controlled by others (Carroll et al., 2021). Their example of a working mechanism is the Traditional Knowledge Labels. These are digital tags in catalog and content management systems that record a community's authority over a collection and its conditions for sharing, in use at institutions including the Library of Congress (Carroll et al., 2021). A methodological paper, read here from its abstract, argues that the absence of Indigenous peoples from the production of data about them has produced "an overwhelming statistical narrative of deficit" (Walter and Suina, 2019).

27.3.3 Safety filters, and where consent stops #

The safety filters earlier in this chapter use the same machinery the field has measured. The filters of Section 27.2.3 and of the study of AI discourse in Section 27.4 were keyword blocklists, removing 8.42 and 9.30 percent of pretraining documents (O'Brien et al., 2025; Tice et al., 2026), which is the instrument Dodge and colleagues recommended against. The biothreat study's own inspection found that "our filters likely have high false-positive rates," among them nontechnical documents about pandemics (O'Brien et al., 2025). Neither study reports what its filter removed by dialect, region, or topic beyond such inspection (O'Brien et al., 2025; Tice et al., 2026). The datasheet's question about removed instances, asked of a safety filter, would ask for that report: what was removed, and whose text it was (inference).

The decision sits in the third of the book's relationships, the developer and the public. Every measurement in this section is of an open corpus or a re-implemented filter, because a frontier model's corpus is private, and the public sees at most the summary the law requires (inference). A speaker of a dialect cannot find out whether a frontier model's filters dropped their language. A safety filter tuned to keep a proxy benchmark near chance is judged by the developer's targets, not by whose text paid for it (inference).

The analogy stops in two places. The CARE principles work through repositories that hold metadata and custodians that honor it; a web crawl has neither, no record of whose community a text belongs to and no counterpart to ask. As of October 2026 we found no consent mechanism for collective data rights that operates at the scale of a web pretraining corpus. And the governance in this section was built for data about people and peoples, whose questions are consent, authority over use, and benefit. A pretraining filter's harms are of two further kinds: a model that works worse for the people whose text was dropped, and a model whose dispositions were written by what was kept. Consent addresses neither directly, since the second concerns what the model does to everyone else (inference).

Sources cited in Section 27.3 16
  1. Gururangan et al. (2022) Whose Language Counts as High Quality? Measuring Language Ideologies in Text Data Selection
  2. Dodge et al. (2021) Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus
  3. Xu et al. (2021) Detoxifying Language Models Risks Marginalizing Minority Voices
  4. Longpre et al. (2023a) A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity
  5. Lucy et al. (2024) AboutMe: Using Self-Descriptions in Webpages to Document the Effects of English Pretraining Data Filters
  6. Joshi et al. (2020) The State and Fate of Linguistic Diversity and Inclusion in the NLP World
  7. Sambasivan et al. (2021a) “Everyone wants to do the model work, not the data work”: Data Cascades in High-Stakes AI
  8. Gebru et al. (2021) Datasheets for datasets
  9. European Parliament and Council of the European Union (2024b) Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence
  10. Langlais et al. (2025) Common Corpus: The Largest Collection of Ethical Data for LLM Pre-Training
  11. Carroll et al. (2021) Operationalizing the CARE and FAIR Principles for Indigenous data futures
  12. Kukutai and Taylor (2016) Indigenous Data Sovereignty
  13. Carroll et al. (2020) The CARE Principles for Indigenous Data Governance
  14. Walter and Suina (2019) Indigenous data, indigenous methodologies and indigenous data sovereignty
  15. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  16. Tice et al. (2026) Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment

27.4 Writing beliefs and dispositions into the data #

Filtering takes text out; the reverse is to write text and put it in. The question is whether what a model reads about a behavior, with no demonstration of the behavior, changes what the model does. The corpus already holds a large body of such text about AI systems, so the answer bears on every model trained on the web.

27.4.1 Documents that describe without demonstrating #

The mechanism is out-of-context reasoning, named by Lukas Berglund and colleagues: acting on information that appeared only in training, never in the prompt (Berglund et al., 2023a) (preprint). Models fine-tuned only on the description of a test passed it, though only with data augmentation (Berglund et al., 2023a), and Section 11.3.2 and Section 26.3.2 report this and related evidence. Synthetic document fine-tuning, the developer's name for having a model write many documents that refer to a proposition and training on them as if they were pretraining data, uses the mechanism on purpose (Anthropic, 2025af). The developer's account and the test of whether an implanted fact behaves like genuine knowledge are reported in Section 5.3 (Anthropic, 2025af; Slocum et al., 2025). The short version is that the method often succeeds for plausible, isolated facts and produces brittle beliefs where they contradict what the model already knows.

Two uses of the method bear on this chapter. The first is unlearning by misinformation. In its post introducing the method, the developer taught its own models incorrect information about four hazardous topics and then jailbroke them with a 400-shot prompt; the fine-tuned model "almost always produces the incorrect harmful information" (Anthropic, 2025af). The biothreat study of Section 27.2.3 tried the same idea at pretraining scale and failed. Its authors had Claude 3.7 Sonnet rewrite the biology reference documents with corrupted facts, mixed the rewrites into the annealing stage, and found "no compelling evidence" of improvement over filtering alone (O'Brien et al., 2025). Fine-tuning on the documents often increased proxy knowledge instead (O'Brien et al., 2025). They speculate that the "biology-flavored" documents attuned the model to the topic in a way that helped it exploit the multiple-choice format, and that the documents were too unstructured to implant coherent beliefs (O'Brien et al., 2025). The second use is shaping a disposition. In a developer's preliminary report, continued training on documents that only discussed a model's tendency to reward hack, without demonstrating it, raised or lowered its reward hacking according to the tendency described (Anthropic, 2025ar). Production-like post-training removed the most severe behaviors, and small effects persisted (Anthropic, 2025ar). Section 33.1.1 reports the study (Anthropic, 2025ar). Teaching a model its specification through such documents before alignment training is Section 23.5's subject (Li et al., 2026).

27.4.2 What models read about AI #

Pretraining corpora contain AI discourse ranging, in one study's words, "from fictional depictions of AI systems to technical AI safety literature" describing reward hacking, scheming, and deception (Tice et al., 2026). Section 2.8 traces how those framings were inherited. If the dominant description of AI behavior is negative, a model asked to act as an AI assistant may draw on it, which the same authors call self-fulfilling misalignment, a term they credit to Turner (Tice et al., 2026).

In what they describe as the first controlled study of the hypothesis, Cameron Tice and colleagues, at Geodesic Research, the Universities of Cambridge and Oxford, and the UK AI Security Institute, pretrained four 6.9-billion-parameter models from scratch (Tice et al., 2026) (preprint). Each saw 500 billion tokens of web text and then 50 billion tokens of midtraining, a stage with a refreshed learning rate and higher-quality data (Tice et al., 2026). The unfiltered baseline used the ordinary corpus. The filtered model used a blocklist to remove AI discourse, which flagged 9.30 percent of pretraining data (Tice et al., 2026). Two upsampled models added synthetic documents, about 1 percent of tokens, depicting AIs in high-stakes situations that chose either the misaligned or the aligned action and explained why (Tice et al., 2026). Six language models generated about 11 billion tokens of such documents, in the form of research papers, news articles, lectures, textbook chapters, science fiction, and film plot summaries (Tice et al., 2026). Further variants added the documents only in a final stage of continued pretraining, 1 billion tokens after midtraining, half of them synthetic (Tice et al., 2026).

The evaluation posed 4,174 two-option scenarios, written by Claude Opus 4.5 from AI safety texts, in which the misaligned option was instrumentally appealing, such as avoiding shutdown or acquiring resources (Tice et al., 2026). The base model was prompted to answer as an AI assistant (Tice et al., 2026). Documents were generated around the 2,671 scenarios of the Article split, and the 1,503 scenarios of the Textbook split were held out from generation to test whether effects transfer (Tice et al., 2026). All four models then received the same post-training, supervised fine-tuning and DPO following the recipe of the OLMo 3 open models, including its safety data (Tice et al., 2026). Table 27.4 gives the rates of misaligned choices, averaged over eight prompt formats.

Table 27.4 Rate (%) at which models chose the misaligned option, by pretraining data, in a preprint by Geodesic Research with university and UK AI Security Institute authors (Tice et al., 2026). Post-trained rates are on the Article split, with a system prompt naming the model a helpful, honest, and harmless AI assistant.
Pretraining data Base model, Article split Base model, held-out Textbook split After post-training
Unfiltered 44.7 39.6 33.5
Filtered of AI discourse 30.9 21.7 27.7
Misalignment documents added throughout 50.8 40.1 20.9
Alignment documents added throughout 9.2 5.9 9.3
Misalignment documents in a final continued-pretraining stage only 73.5 67.9 42.6
Alignment documents in a final continued-pretraining stage only 0.9 0.6 9.4

Four results stand out. Removing natural AI discourse lowered misaligned choices, so the effect is not confined to synthetic text (Tice et al., 2026). Adding aligned examples lowered them far more than filtering did, including on held-out scenarios, and the effect persisted through identical post-training (Tice et al., 2026). Adding misaligned examples throughout pretraining raised misaligned choices only on the scenarios the documents were written around (Tice et al., 2026). After post-training that model was less misaligned than the baseline, which the authors connect to the finding of Section 27.2.2 that unwanted data can make a behavior easier to target (Tice et al., 2026; Li et al., 2025i). Documents inserted late had the largest effect on base models, held-out scenarios included, and misalignment documents inserted late raised misalignment above the baseline even after post-training (Tice et al., 2026). The cost on seven capability benchmarks was 2 to 4 percentage points on average (Tice et al., 2026). Three further results limit the reading. Alignment pretraining did not protect against emergent misalignment: all four models became broadly misaligned after narrow fine-tuning on harmful advice (Chapter 32) (Tice et al., 2026). Stories in which an aligned AI appears as a character did worse than the targeted documents (Tice et al., 2026). And benign fine-tuning on 728 million tokens did not erode the post-trained alignment levels (Tice et al., 2026).

27.4.3 How far the result reaches #

The strongest counter-reading is closeness. The documents were generated around the scenarios they were tested on, and the authors write of their fiction comparison that "the similarity of the documents to our evaluations may be the primary driver of the observed difference" (Tice et al., 2026). The held-out split answers this for aligned documents, whose effect transferred, and for misaligned ones inserted late, but not for misaligned ones mixed throughout pretraining, whose effect did not. A second reading concerns what is measured. A base model choosing between two written options is predicting what an AI assistant character would do, and the authors write that their "metrics reflect propensities rather than execution" (Tice et al., 2026). The models are far from the frontier and were trained once each, with no repetition across random seeds (Tice et al., 2026). And the filtered model's blocklist removed AI discourse in general, so the drop it produced cannot be credited to warnings or to fiction rather than to knowledge about AI as such (inference). Section 2.8 sets out two readings of the study, one in which the field's warnings are part of every web-trained model's training signal and a weaker one; the filtered model is the part of the design that bears on natural text.

The developers' own attempts point in different directions, and Section 23.5 reports both. An OpenAI post inserted documents in the style of this study into a model before capabilities-focused reinforcement learning with no safety training, and found no significant difference on agentic evaluations, which its authors call early negative results (Korbak et al., 2026). An Anthropic post reports that documents about its constitution, with fictional stories of an AI behaving well, lowered a blackmail rate in its own models (Anthropic, 2026at). The two differ in the documents, in what training followed, and in the developer, so their disagreement has more than one candidate cause.

Read against the rival accounts of what training produces, the study is what the persona view of Section 11.6 predicts. Documents about how AIs behave raise the prior of a character that behaves that way, and the post-trained assistant is selected from what pretraining supplied (inference). The account on which reinforcement learning at scale builds goals no pretrained character had (Section 33.1.1) predicts that such effects shrink as reinforcement learning grows. The one test with heavy reinforcement learning afterward, OpenAI's, found no effect, which fits that account (Korbak et al., 2026). It also fits a dose too small to matter, as its authors note (Korbak et al., 2026). The evidence does not decide between them. A forum post by Cleo Nardo adds a caution the persona view itself implies: training toward a character can make its opposite easier to elicit (Section 11.6.4) (Nardo, 2023).

Sources cited in Section 27.4 11
  1. Berglund et al. (2023a) Taken out of context: On measuring situational awareness in LLMs
  2. Anthropic (2025af) Modifying LLM Beliefs with Synthetic Document Finetuning
  3. Slocum et al. (2025) Believe It or Not: How Deeply do LLMs Believe Implanted Facts?
  4. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  5. Anthropic (2025ar) Training on Documents about Reward Hacking Induces Reward Hacking
  6. Li et al. (2026) Model Spec Midtraining: Improving How Alignment Training Generalizes
  7. Tice et al. (2026) Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment
  8. Li et al. (2025i) When Bad Data Leads to Good Models
  9. Korbak et al. (2026) How far does alignment midtraining generalize?
  10. Anthropic (2026at) Teaching Claude why
  11. Nardo (2023) The Waluigi Effect (mega-post)

27.5 Traits that travel through unrelated data #

Every study so far changed a model through what its documents say. One result on the book's fixed list of findings without precedent in the older fields shows a trait traveling where the documents say nothing about it. Alex Cloud and colleagues, from the Anthropic Fellows Program, Truthful AI, and other institutions, fine-tuned a student model on number sequences written by a teacher with a trait, such as a stated preference for an animal or misalignment. The numbers had been filtered for any reference to the trait, and the student acquired it anyway (Cloud et al., 2025) (preprint; the authors call the effect subliminal learning). Section 32.5 reports the experiments, which used OpenAI's GPT-4.1 family and GPT-4o and the open Qwen2.5-7B (Cloud et al., 2025). Section 10.1.5 derives the mechanism: when student and teacher start from the same parameters, a small gradient step toward a slightly fine-tuned teacher's outputs never moves the student against the teacher's update, whatever the inputs are (10.2).

For the data stage the result has three consequences. The first concerns filters. Every filter in this chapter reads content, and the authors write that "filtering may be insufficient to prevent this transmission, even in principle, as the relevant signals appear to be encoded in subtle statistical patterns rather than explicit content" (Cloud et al., 2025).

The second concerns where the channel is open. Students built on a different base model from the teacher "do not reliably" acquire the trait, with the one exception of GPT-4.1 and GPT-4o, which the authors say likely share an initialization (Cloud et al., 2025). The risk therefore concentrates where a model learns from the outputs of its own family: distillation, the training of one model to imitate another's outputs, when the student is a smaller sibling; training on its own generated data; or a successor initialized from its predecessor (inference). The synthetic documents of the studies in Section 27.4 were written mostly by models of other families than the ones trained on them, so they did not test this channel (inference). As public human text runs short (Section 27.1.2), the share of training data written by models grows. Whether a generator shares a base with the model it trains becomes a fact worth recording, which places the generating model in the data's provenance (inference).

The third is that the same mechanism can be turned to defense. A student that does not share its teacher's initialization is the case where the derivation's guarantee fails, and Section 27.7 reports that distilling an unlearned model into a freshly initialized student leaves its latent capability behind (Lee et al., 2025). Narrow data can also plant behavior nobody wrote. Individually harmless attributes that together describe a person moved a model into that person's persona, a route to poisoning that Section 32.5 reports (Betley et al., 2025b). Incidental patterns in curated post-training data became cues a model acted on, which Section 23.6 reports (Murray et al., 2026).

The authors limit the result themselves. Their distillation tasks are "artificial," and "our findings leave open the question of what can and cannot be transmitted, and when transmission is possible" (Cloud et al., 2025). The result is one group's preprint. As of October 2026 we found no measurement of how much the model-written text in a real pretraining corpus carries the dispositions of the models that wrote it.

Sources cited in Section 27.5 4
  1. Cloud et al. (2025) Subliminal Learning: Language models transmit behavioral traits via hidden signals in data
  2. Lee et al. (2025) Distillation Robustifies Unlearning
  3. Betley et al. (2025b) Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs
  4. Murray et al. (2026) Chunky Post-Training: Data Driven Failures of Generalization

27.6 Poisoning: data as an attack surface #

If documents can instill a belief or a disposition, an adversary who can place documents in a corpus can instill one too. Section 48.6 reports how cheaply that has been done, from the first backdoor planted through poisoned training data (Gu et al., 2017) (preprint) to poisoned instruction-tuning and preference data (Wan et al., 2023; Rando and Tramèr, 2024). It also reports poisoning in pretraining that survives post-training, in a paper at ICLR by authors at Meta, Google DeepMind, Carnegie Mellon University, and ETH Zurich (Zhang et al., 2024e); larger models learning poisoned behavior faster (Bowen et al., 2025); and, in a preprint by the UK AI Security Institute and the Alan Turing Institute with Anthropic and University of Oxford authors, attacks that needed a near-constant number of documents across models from 600 million to 13 billion parameters, for a backdoor that makes the model produce gibberish after a trigger (Souly et al., 2025). This section takes up only what the data stage contributes: the attack surface is the corpus's provenance.

Nicholas Carlini and colleagues showed why, in a paper at the IEEE Symposium on Security and Privacy (Carlini et al., 2024). Many web-scale datasets are distributed as lists of web addresses, and the content behind an address can change between the time a curator indexes it and the time a user downloads it, with no integrity protection to notice (Carlini et al., 2024). That permits split-view poisoning: an attacker who buys an expired domain on the list serves new content to everyone who downloads later (Carlini et al., 2024). Datasets built from periodic snapshots of crowd-sourced pages such as Wikipedia permit frontrunning: timing malicious edits just before a predictable snapshot (Carlini et al., 2024). The defenses the authors propose are provenance measures. Distributing a cryptographic hash of every item ensures that a downloader receives what the curator indexed, and randomizing or delaying snapshots denies the attacker a predictable window (Carlini et al., 2024).

The limit case is a backdoor no inspection can find. A cryptographic construction lets a malicious learner, one who runs the training, plant backdoors that no efficient observer can detect (Section 47.6) (Goldwasser et al., 2022). Its strongest version covers random-feature networks and tampers only with the random numbers training draws, not its data, and its authors suggest that backdoors planted by poisoning data likely fail to meet that standard of undetectability (Goldwasser et al., 2022). Deliberately trained backdoors persisted through safety training in a developer's preprint on its own models (Section 34.3) (Hubinger et al., 2024). Together with the subliminal result, in which a trait passed a content filter, these say that checks on what data says need checks on where it came from beside them (inference). Those ask whether the data is what the curator indexed, who could have edited it, and which model wrote it.

Sources cited in Section 27.6 9
  1. Gu et al. (2017) BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain
  2. Wan et al. (2023) Poisoning Language Models During Instruction Tuning
  3. Rando and Tramèr (2024) Universal Jailbreak Backdoors from Poisoned Human Feedback
  4. Zhang et al. (2024e) Persistent Pre-Training Poisoning of LLMs
  5. Bowen et al. (2025) Scaling Trends for Data Poisoning in LLMs
  6. Souly et al. (2025) Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples
  7. Carlini et al. (2024) Poisoning Web-Scale Training Datasets is Practical
  8. Goldwasser et al. (2022) Planting Undetectable Backdoors in Machine Learning Models : [Extended Abstract]
  9. Hubinger et al. (2024) Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training

27.7 Unlearning: suppression is not removal #

Filtering acts before training. Machine unlearning tries to do the same afterward: to make a trained model as if it had never learned something. The question is whether a method applied to a trained model removes knowledge from its weights or only makes the knowledge harder to reach. For the methods tested so far that edit a trained model in place, the evidence of several groups says the second.

27.7.1 From deleting data to deleting knowledge #

Unlearning began as a privacy mechanism. Yinzhi Cao and Junfeng Yang, at Columbia University, framed it in 2015 as making a system forget a piece of data and its "lineage," the further data derived from it (Cao and Yang, 2015). Their method recasts learning algorithms so that removing a point updates a few sums instead of retraining (Cao and Yang, 2015). Lucas Bourtoule and colleagues made deletion exact for neural networks with SISA training. The data are split into disjoint shards, a separate model is trained on each, and a request to delete a point retrains only the model whose shard held it (Bourtoule et al., 2021). They report speedups over retraining of 4.63 times on a purchase-history dataset, for 8 deletion requests at a cost of under 2 percentage points of accuracy, and 1.36 times on ImageNet, for 39 requests at a cost of 19.45 points of top-5 accuracy; in a separate test that started from a model pretrained on ImageNet and trained on another image dataset, the top-5 cost fell below 1 point (Bourtoule et al., 2021). The result is, by construction, the model that would have been trained without the point. Exact unlearning is the machine side of the datasheet's question of whether a person can revoke consent (Section 27.3.2) (inference).

Language models moved the target from data points to knowledge and behavior. An early paper at NeurIPS unlearned harmful responses using only examples of them, in about 2 percent of the running time of the full human-feedback pipeline it was compared with, on a 1.3-billion-parameter model (Yao et al., 2023a). TOFU, a 2024 benchmark, fine-tunes a model on 200 profiles of fictitious authors, so that a correct forgetting is known exactly (Maini et al., 2024). None of the baseline methods it tested made the model behave as if it had never seen the forget set (Maini et al., 2024) (preprint). Editing a single stored fact, by locating it in the network and changing the weights there, is reported in Section 43.4 (Meng et al., 2022).

The benchmark that tied unlearning to safety is WMDP, the Weapons of Mass Destruction Proxy: 3,668 multiple-choice questions in biosecurity, cybersecurity, and chemical security (Li et al., 2024d). Academics and technical consultants wrote it, filtered it to exclude sensitive and export-controlled information, and spent over $200,000 building it (Li et al., 2024d). Its authors, a large group from universities, the Center for AI Safety, and Scale AI, proposed with it RMU (Representation Misdirection for Unlearning), which perturbs a model's internal activations on hazardous text while preserving them on benign text (Li et al., 2024d). On zephyr-7b, RMU lowered accuracy on the biology questions from 63.7 to 31.2 percent, near the 25 percent of random guessing, while general knowledge on MMLU went from 58.1 to 57.1 percent (Li et al., 2024d). In a qualitative test on two prompts, one from each of the biology and cyber sets, an optimized jailbreak that broke the original Yi-34b in under 50 steps drew only gibberish from the unlearned model after 2,500, which the authors read as "suggesting that unlearning persists even under optimization pressure" (Li et al., 2024d). The authors also state the limit of their own result. They designed the method for closed models, where the provider unlearns before serving the model through an interface; in an appendix they report that fine-tuning recovered the unlearned performance and conclude that RMU "does not mitigate risks from open-source models" (Li et al., 2024d).

27.7.2 What fine-tuning brings back #

Later attacks narrowed the reading. Jakub Łucki and colleagues, at ETH Zurich and Princeton University, attacked models unlearned with RMU and with another unlearning method, NPO, and a model given ordinary safety training (DPO) on the same topics, all built on Zephyr-7B-β (Łucki et al., 2024) (preprint). Fine-tuning on 10 examples from the retain set, text disjoint by construction from the hazardous knowledge, brought the RMU model back to 61.6 percent on the biology questions, and the other two models above 50 percent (Łucki et al., 2024). The cost was less than 2 points on MMLU, and 1,000 such examples recovered the hazardous capability fully (Łucki et al., 2024). Removing specific directions in the activations also undid the unlearning (Łucki et al., 2024). The authors conclude that the methods are not different from safety training under attack, and that black-box evaluations are insufficient (Łucki et al., 2024).

Aghyad Deeb and Fabien Roger, at MATS and Harvard University and at Redwood Research, designed a test for whether information is gone from the weights rather than hidden (Deeb and Roger, 2024) (preprint). Take a set of independent facts the model knows, which cannot be guessed from one another, unlearn all of them, and split them into a part T\mathcal{T} given to an attacker and a part H\mathcal{H} held out. The attacker retrains on T\mathcal{T}. If the unlearning only hid the facts, retraining on T\mathcal{T} can undo the hiding for H\mathcal{H} too; if it removed them, H\mathcal{H} stays at chance, since T\mathcal{T} carries no information about H\mathcal{H} (Deeb and Roger, 2024). On Llama 3 8B, retraining on T\mathcal{T} recovered at least 88 percent of the pre-unlearning accuracy on H\mathcal{H} for every method tested, including gradient ascent, RMU, and training on incorrect facts (Deeb and Roger, 2024). That figure is for information learned in pretraining, and for unlearning that kept performance on other tasks (Deeb and Roger, 2024). Unlearning information that had been added by fine-tuning looked more robust, so evaluations built that way "may overestimate robustness" (Deeb and Roger, 2024). A third preprint applied eight evaluations to a model unlearned of Harry Potter and found that knowledge could still be extracted above baseline, that the model still represented it, and that unlearning spilled into related domains (Lynch et al., 2024). That fine-tuning also strips safety training, even on benign data, is reported in Section 26.4.1 (Qi et al., 2024a).

Two arguments generalize the evidence. Ilia Shumailov and colleagues at Google DeepMind argue that unlearned knowledge can be reintroduced in context, which they call ununlearning, so that "even exact unlearning schemes are not enough for effective content regulation" (Shumailov et al., 2024b) (preprint). A. Feder Cooper and colleagues, in a paper at NeurIPS, separate removing information from a model's parameters from suppressing it in the model's outputs (Cooper et al., 2025). They give three reasons the two come apart from the goals attached to unlearning. Deleting information from a model "is not like deleting data from a database." Removing information from a model's parameters "does not give guarantees about model outputs," since a model generalizes beyond its data. And suppression methods are "necessarily imperfect" (Cooper et al., 2025).

27.7.3 Making removal stick #

Three lines of work try to close the gap. TAR, from researchers at the Center for AI Safety, the University of Illinois, and other institutions, is reported in a paper at ICLR (Tamirisa et al., 2025). It trains a model against simulated tampering attacks, with techniques from meta-learning, so that safeguards survive "hundreds of steps of fine-tuning" (Tamirisa et al., 2025). The biothreat-filtering study did not use it as a baseline, citing later evaluations in which it struggled against fine-tuning attacks and degraded fluency (O'Brien et al., 2025).

Bruce Lee and colleagues, in a paper at NeurIPS, located the problem in the weights' history (Lee et al., 2025). Fine-tuning a model to match, output for output, a model that was never trained on the unwanted information still left a capability that a few steps of fine-tuning restored (Lee et al., 2025). Distilling the unlearned model's outputs into a randomly initialized student transferred the behavior and left the capability behind (Lee et al., 2025). Their method, UNDO, distills into a noised copy of the unlearned model. At its strongest setting it matched the robustness of retraining with perfect filtering on their synthetic tasks, using 60 to 80 percent of the compute and labels on 0.01 percent of the pretraining data (Lee et al., 2025). Distillation into a fresh student falls outside the guarantee of the subliminal theorem of Section 27.5, since the two share no initialization. In the tested settings, transmission was reliable mainly between models sharing a starting point (Cloud et al., 2025). The theorem's shared start is a sufficient condition, not a necessary one, so a fresh student narrows the channel without closing it (inference).

The third line builds removability into pretraining, as the methods of Section 27.2.5 do for broad domains. Gaurav Ghosal, Pratyush Maini, and Aditi Raghunathan, at Carnegie Mellon University and DatologyAI, train a shared backbone alongside a pool of sparsely activated "sinks," so that information specific to one source concentrates in its sinks (Ghosal et al., 2026) (preprint). Treating each of about 6 million Wikipedia articles as a source, they report that disabling an article's sinks removed what was specific to it while keeping facts shared with related articles, close to retraining from scratch (Ghosal et al., 2026). In a case study of the Harry Potter books, the removal resisted extraction and relearning (Ghosal et al., 2026).

27.7.4 Why suppression comes back #

The distinction the evidence draws, between knowledge made hard to reach and knowledge never formed, has a short mechanical form. The derivation below is the book's illustration, in the simplest network that has both a stored feature and a readout, of the distinction drawn in published work (Cooper et al., 2025; Deeb and Roger, 2024) (inference). It reuses the two-layer linear network of Section 9.4.2 and Deeb and Roger's split of facts into T\mathcal{T} and H\mathcal{H}.

Derivation Suppression and removal in a two-layer linear network

Let a model store nn facts. Fact ii has a cue xi\vx_i, the cues orthonormal, and an answer of size μi>0\mu_i > 0. A first layer maps the cue to one hidden unit with weight bi=b⊤xib_i = \vb^\T\vx_i, and a readout weight aa, shared by all the facts, maps the hidden unit to the output, so the model answers fact ii with a bia\,b_i. Training on all the facts reaches a bi=μia\,b_i = \mu_i; take a=1a = 1 and bi=μib_i = \mu_i.

  1. Suppression. An unlearning method that changes only the readout sets a=0a = 0. Every answer is now 0, and every bib_i is intact.
  2. The attack. The attacker fine-tunes on the facts in T\mathcal{T}, with loss LT=12∑i∈T(μi−a bi)2L_{\mathcal{T}} = \tfrac12 \sum_{i \in \mathcal{T}} (\mu_i - a\,b_i)^2 and learning rate η\eta. Its gradients are
    ∂LT∂a=−∑i∈Tbi(μi−a bi),∂LT∂bi=−a(μi−a bi) (i∈T),∂LT∂bj=0 (j∈H).\frac{\partial L_{\mathcal{T}}}{\partial a} = -\sum_{i \in \mathcal{T}} b_i(\mu_i - a\,b_i), \qquad \frac{\partial L_{\mathcal{T}}}{\partial b_i} = -a(\mu_i - a\,b_i) \ (i \in \mathcal{T}), \qquad \frac{\partial L_{\mathcal{T}}}{\partial b_j} = 0 \ (j \in \mathcal{H}).
  3. Suppression undone. At a=0a = 0 the first-layer gradients vanish, so at first only aa moves, with the bib_i near μi\mu_i:
    dadt≈η MT (1−a),MT=∑i∈Tμi2,\frac{da}{dt} \approx \eta\, M_{\mathcal{T}}\,(1 - a), \qquad M_{\mathcal{T}} = \sum_{i \in \mathcal{T}} \mu_i^2,
    treating steps as continuous time tt. The readout returns exponentially, a(t)≈1−e−ηMTta(t) \approx 1 - e^{-\eta M_{\mathcal{T}} t}, at a rate set by how strongly the attacker's facts drive the intact features, with no plateau.
  4. The held-out facts return with it. Fact j∈Hj \in \mathcal{H} is answered with a bja\,b_j, and bj=μjb_j = \mu_j was never touched, so its answer recovers the fraction a(t)a(t) of its original value, although the attacker never showed it.
  5. Removal. A model trained without the facts never formed the features: its bjb_j for j∈Hj \in \mathcal{H} sit at their small starting values. Step 2 shows that fine-tuning on T\mathcal{T} gives them zero gradient, so their answers stay near zero for as long as the attack runs. The attacker's own facts in T\mathcal{T} can be learned from scratch, after a plateau like that of Equation (9.3); the model learns what it is shown and nothing more.

The suppressed model behaves like the lowered prior of (11.6), which enough evidence overturns, and the filtered model like the prior of zero, which none does. Figure 27.1 computes both cases without the approximation of step 3.

unlearned: held-out factsunlearned: attacker's factsfiltered: held-out factsfiltered: attacker's facts0%25%50%75%100%share of each answer given1101001,00010,000fine-tuning steps on the attacker's facts (log scale)before unlearningAfter 30 steps on 10 of 20 facts:unlearned model gives 93% of each held-out answer, 97% of the attacker's;filtered model gives 0% of each held-out answer, 0% of the attacker's.
unlearned: held-out factsunlearned: attacker's factsfiltered: held-out factsfiltered: attacker's facts0%25%50%75%100%share of each answer given110010,000fine-tuning steps on the attacker's facts (log scale)before unlearningAfter 30 steps on 10 of 20 facts:unlearned: held-out 93%, attacker's 97%;filtered: held-out 0%, attacker's 0%.
Figure 27.1 The network of the derivation, with 20 facts of equal size, after unlearning and under an attack that fine-tunes on some of the facts. The horizontal axis is fine-tuning steps on the attacker's facts, on a log scale, so attack pressure grows to the right; the vertical axis is the share of each answer the model gives. Blue: the unlearned model, whose readout was set to zero and whose features were kept. Its held-out facts (thick line) return with its readout, within a few dozen steps and without a plateau. Yellow: the filtered model, which never formed the features. It learns the attacker's own facts (thin line) after a plateau and never the held-out ones (thick line, flat near zero). The unlearned model's held-out answers stop short of full recovery because the features of the attacker's facts grow and take over part of the readout's work; the slider for the attacker's share moves that ceiling. The model and its parameters (learning rate 0.01, starting weights 0.01) are illustrative; every curve is computed exactly by gradient descent.

With the attacker holding 10 of the 20 facts, the unlearned model gives 93 percent of each held-out answer after 30 steps. The filtered model reaches half of each of the attacker's answers only after about 150 steps, and gives 2 percent of each held-out answer after 10,000. Fewer facts in the attacker's hands slow the unlearned model's recovery and lower its ceiling, without changing what the filtered model can recover.

The model is a toy, and three limits matter. It has one shared readout. If each fact were hidden by its own parameters, retraining on T\mathcal{T} would not restore H\mathcal{H} even though the information remained. Deeb and Roger state this limit for their own test (Deeb and Roger, 2024), so a flat H\mathcal{H} is evidence of removal, not proof. It treats unlearning as a change to a readout, while RMU perturbs activations several layers deep, and the evidence above, not the toy, is what shows that real methods behave like the readout case (inference). And it does not explain the strongest filtering result. The attackers of Section 27.2.3 fine-tuned on 305 million tokens of related biology text, not on the test facts, and the filtered models gained little (O'Brien et al., 2025). In the toy, a model learns whatever facts it is shown. Why related text taught the filtered models so little is explained neither by the toy nor, as of October 2026, by the authors, who list the mechanism of "deep vs. shallow ignorance" as future work (O'Brien et al., 2025).

Sources cited in Section 27.7 17
  1. Cao and Yang (2015) Towards Making Systems Forget with Machine Unlearning
  2. Bourtoule et al. (2021) Machine Unlearning
  3. Yao et al. (2023a) Large Language Model Unlearning
  4. Maini et al. (2024) TOFU: A Task of Fictitious Unlearning for LLMs
  5. Meng et al. (2022) Locating and Editing Factual Associations in GPT
  6. Li et al. (2024d) The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
  7. Łucki et al. (2024) An Adversarial Perspective on Machine Unlearning for AI Safety
  8. Deeb and Roger (2024) Do Unlearning Methods Remove Information from Language Model Weights?
  9. Lynch et al. (2024) Eight Methods to Evaluate Robust Unlearning in LLMs
  10. Qi et al. (2024a) Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!
  11. Shumailov et al. (2024b) UnUnlearning: Unlearning is not sufficient for content regulation in advanced generative AI
  12. Cooper et al. (2025) Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Research
  13. Tamirisa et al. (2025) Tamper-Resistant Safeguards for Open-Weight LLMs
  14. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  15. Lee et al. (2025) Distillation Robustifies Unlearning
  16. Cloud et al. (2025) Subliminal Learning: Language models transmit behavioral traits via hidden signals in data
  17. Ghosal et al. (2026) Natively Unlearnable Large Language Models

27.8 What the data stage means for delegation #

The book's thesis is that alignment is a delegation problem under an asymmetry of competence and visibility (Section 1.3). The data stage is where the comparison with older delegation is closest and where it breaks. It is closest because every principal who forms an agent before relying on it, a school, a profession, a parent, shapes what the agent learns from (Chapter 25). This chapter's evidence adds that withholding exposure does not by itself teach the conduct wanted. A model trained only on the safest text was easier to attack (Section 27.2.2), and adding examples of aligned AI did more than removing discourse about AI (Section 27.4.2) (inference). It breaks in two places that the book listed in advance as having no counterpart. A principal writes the agent's beliefs about itself by writing its reading (Section 27.4), and a trait passes through data that shows nothing of it (Section 27.5). The principal's power is also less complete than it looks. A developer chooses the corpus but has not read it, and cannot yet trace a disposition to the documents behind it (Section 27.1.3) (inference).

Each of the three relationships gets a different lesson. For the training process, controls applied before training held where controls applied after it gave way: knowledge never formed stayed absent under attacks that undid unlearning within dozens of steps (Section 27.7). For the deployed system and the people it serves, the data stage cannot bound what a model does with what it is given. A filtered model used information placed in its context (O'Brien et al., 2025), and knowledge removed in training can be reintroduced at inference (Shumailov et al., 2024b), so data-stage safeguards are one layer among others (Section 48.5). For the developer and the public, the decision of whose text counts is made privately, and the public sees a summary at most. The controlled evidence on what filtering withstands comes from models of at most 6.9 billion parameters; the one developer report on its own models gives no size and no attack. Whether filtering works at the scale that matters can be measured only by someone who pretrains at that scale, or with weights such a developer releases.

Sources cited in Section 27.8 2
  1. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  2. Shumailov et al. (2024b) UnUnlearning: Unlearning is not sufficient for content regulation in advanced generative AI

27.9 Settled, contested, missing #

Research status Settled, contested, missing
  • Settled: that the unlearning methods tested so far that edit a trained model in place leave knowledge that fine-tuning on a little related or unrelated data brings back, found by independent groups with different designs (Łucki et al., 2024; Deeb and Roger, 2024; Lynch et al., 2024; Shilov et al., 2025), with arguments for why from two further groups (Cooper et al., 2025; Shumailov et al., 2024b). That the filters studied removed text unevenly by region, class, dialect, and identity, found by two groups without shared authors on two different filters (Gururangan et al., 2022; Dodge et al., 2021), with detoxification moving the same way (Xu et al., 2021); the size of any one filter's effect is reported, not replicated. As mathematics within its stated model: in a two-layer linear network, fine-tuning on some facts restores others that a readout change suppressed, and none that were never formed (Section 27.7.4).
  • Reported, not yet replicated: that filtering biothreat-proxy text from pretraining keeps the knowledge out through 10,000 steps of adversarial fine-tuning at 6.9 billion parameters, one group at that scale (O'Brien et al., 2025), with smaller studies by two groups that share authors finding filtered models slow to relearn (Shilov et al., 2025; Roland et al., 2026); a developer's report that filtering lowered a harmful-capability score without harming other capabilities, with no fine-tuning attack (Anthropic, 2025u); that keeping unwanted text in a reframed or marked form makes models safer than removing it, reported by two groups on two behaviors (Maini et al., 2025; Li et al., 2025i); that what a model reads about AI shifts its misaligned choices through post-training (Tice et al., 2026); that traits pass through unrelated data between models that share an initialization (Cloud et al., 2025); and that distillation or modular training makes removal robust (Lee et al., 2025; Ghosal et al., 2026).
  • Contested: whether removing unwanted data makes a model safer or makes the unwanted behavior harder to control later; the split between knowledge, which filtering removes, and propensity, which it does not, is its proposers' speculation (O'Brien et al., 2025; Maini et al., 2025; Li et al., 2025i). Whether documents about AI still matter after heavy reinforcement learning, where one controlled study found an effect through supervised and preference training and one developer found none after capabilities training (Tice et al., 2026; Korbak et al., 2026). Whether unlearning protects a model served through an interface any better than ordinary safety training: its proposers found an optimized jailbreak failing against it on two prompts (Li et al., 2024d), and a later study found adapted jailbreaks succeeding and judged the two no different (Łucki et al., 2024).
  • Missing: an outside measurement of what filtering costs in capability, and what it holds against attack, at frontier scale; a report of what any safety filter removed by dialect, region, and topic; a consent mechanism for collective data rights that works at the scale of a web crawl; any measurement of how much poisoned content sits in deployed corpora; a measurement of how much model-written text in pretraining corpora carries the dispositions of the models that wrote it; and an attribution method validated on a disposition rather than a fact.
  • Crux: whether removing a capability from pretraining data survives the attacks an adversary can afford at frontier scale, given that the model can still use the information when it is supplied in context. Tamper-resistance curves for paired filtered and unfiltered models across scale, extending the trend measured from 50 million to 6.9 billion parameters to the frontier, and measured together with in-context and staged attacks by a group without a stake, would settle it. Only a developer that pretrains at that scale can produce the models, so the settling version needs released weights or outside access.
Sources cited in Section 27.9 20
  1. Łucki et al. (2024) An Adversarial Perspective on Machine Unlearning for AI Safety
  2. Deeb and Roger (2024) Do Unlearning Methods Remove Information from Language Model Weights?
  3. Lynch et al. (2024) Eight Methods to Evaluate Robust Unlearning in LLMs
  4. Shilov et al. (2025) Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs
  5. Cooper et al. (2025) Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Research
  6. Shumailov et al. (2024b) UnUnlearning: Unlearning is not sufficient for content regulation in advanced generative AI
  7. Gururangan et al. (2022) Whose Language Counts as High Quality? Measuring Language Ideologies in Text Data Selection
  8. Dodge et al. (2021) Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus
  9. Xu et al. (2021) Detoxifying Language Models Risks Marginalizing Minority Voices
  10. O'Brien et al. (2025) Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
  11. Roland et al. (2026) Modular Pretraining Enables Access Control
  12. Anthropic (2025u) Enhancing Model Safety through Pretraining Data Filtering
  13. Maini et al. (2025) Safety Pretraining: Toward the Next Generation of Safe AI
  14. Li et al. (2025i) When Bad Data Leads to Good Models
  15. Tice et al. (2026) Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment
  16. Cloud et al. (2025) Subliminal Learning: Language models transmit behavioral traits via hidden signals in data
  17. Lee et al. (2025) Distillation Robustifies Unlearning
  18. Ghosal et al. (2026) Natively Unlearnable Large Language Models
  19. Korbak et al. (2026) How far does alignment midtraining generalize?
  20. Li et al. (2024d) The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning

27.10 Exercises #

Exercise 27.1 The cost of exact deletion

Exact unlearning by sharding splits the training data into SS equal shards and trains one model per shard, so deleting a training example means retraining the model of its shard (Section 27.7.1). What fraction of the full training cost does one deletion take? If ℓ\ell deletions arrive, each landing in a shard chosen uniformly at random and independently, what is the expected number of shards that must be retrained? Evaluate it for S=10S = 10 and ℓ=10\ell = 10, and say what the answer implies for a corpus with many requests to forget.

Solution

One deletion retrains one shard, 1/S1/S of the training data, so about 1/S1/S of the cost (ignoring the aggregation step). A given shard escapes all ℓ\ell deletions with probability (1−1/S)ℓ(1 - 1/S)^\ell, so by linearity of expectation the expected number of shards retrained is S(1−(1−1/S)ℓ)S\big(1 - (1 - 1/S)^\ell\big). For S=10S = 10 and ℓ=10\ell = 10 this is 10(1−0.910)≈10(1−0.349)=6.510(1 - 0.9^{10}) \approx 10(1 - 0.349) = 6.5 shards, about two-thirds of the full cost for only ten deletions. The saving shrinks quickly as requests accumulate: once ℓ\ell is several times SS, nearly every shard must be retrained, which is why sharding works for occasional requests to forget and not for removing a topic that is spread across the corpus.

Exercise 27.2 What a filter's report should show

A quality filter keeps 85 percent of documents written in one dialect and 60 percent of documents in a second dialect, which made up 10 percent of the corpus before filtering. What share of the filtered corpus does the second dialect make up? By what factor has its representation changed? Say what a report of the filter should contain so that a reader could find this out, using the questions of Section 27.3.2.

Solution

Before filtering, the first dialect is 0.9 of the corpus and the second 0.1. After filtering the corpus holds 0.9×0.85=0.7650.9 \times 0.85 = 0.765 and 0.1×0.6=0.060.1 \times 0.6 = 0.06 of its original size, so the second dialect's share is $0.06 / (0.765

  • 0.06) = 0.06 / 0.825 \approx 7.3$ percent, down by a factor of about 0.730.73. The overall removal rate, 17.5 percent, hides this: a report that gives only how much the filter removed shows nothing about whom it removed. A report should give the removal rate by dialect, region, and topic, measured with a stated classifier and its error rates. It should include samples of removed documents with an estimate of how many were removed wrongly, as Dodge and colleagues did for C4 (Dodge et al., 2021), and the datasheet's answer to whether preprocessing removed instances, and by what rule (Gebru et al., 2021).
Exercise 27.3 One step against suppression and removal

In the network of Section 27.7.4, unlearning has set the readout to a=0a = 0 while the features keep bi=μib_i = \mu_i. The attacker takes one gradient step of size η\eta on a single fact i∈Ti \in \mathcal{T}. By how much does the answer to a held-out fact j∈Hj \in \mathcal{H} change? Then take the filtered model, in which bj=0b_j = 0 for every fact never seen and the readout aa is some nonzero value. What does the same step do to the answer to jj?

Solution

The step changes aa by −η ∂L/∂a=η bi(μi−a bi)=η μi2-\eta\, \partial L/\partial a = \eta\, b_i(\mu_i - a\,b_i) = \eta\,\mu_i^2 at a=0a = 0, and leaves bjb_j alone, since ∂L/∂bj=0\partial L/\partial b_j = 0 for j∉Tj \notin \mathcal{T}. The held-out answer a bja\,b_j rises from 0 to η μi2 μj\eta\,\mu_i^2\,\mu_j: a fraction η μi2\eta\,\mu_i^2 of its original value μj\mu_j, proportional to the step size and to the squared activation of the attacker's feature. In the filtered model the step changes aa by η bi(μi−a bi)\eta\, b_i(\mu_i - a\,b_i) and bib_i by η a(μi−a bi)\eta\, a(\mu_i - a\,b_i), which teaches fact ii, but bjb_j again receives no gradient. The held-out answer stays a bj=0a\,b_j = 0 however large the step: the suppressed model's knowledge of jj was held in bjb_j the whole time, and the filtered model has nothing there to restore.

Sources cited in Section 27.10 2
  1. Dodge et al. (2021) Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus
  2. Gebru et al. (2021) Datasheets for datasets

Further reading #

References

  1. Anthropic (2025af). Modifying LLM Beliefs with Synthetic Document Finetuning. Anthropic Alignment Science Blog. non-peer-reviewed Cited in §27.4
  2. Anthropic (2025ar). Training on Documents about Reward Hacking Induces Reward Hacking. Anthropic Alignment Science Blog. non-peer-reviewed Cited in §27.4
  3. Anthropic (2025u). Enhancing Model Safety through Pretraining Data Filtering. Anthropic Alignment Science Blog. non-peer-reviewed Cited in §27.2 §27.9
  4. Anthropic (2026at). Teaching Claude why. Anthropic. non-peer-reviewed Cited in §27.4
  5. Anthropic (2026f). An off switch for dual-use knowledge in AI models. Anthropic. non-peer-reviewed Cited in §27.2
  6. Berglund, L., Stickland, A. C., Balesni, M., Kaufmann, M., Tong, M., Korbak, T., Kokotajlo, D., and Evans, O. (2023a). Taken out of context: On measuring situational awareness in LLMs. arXiv. preprint Cited in §27.4
  7. Betley, J., Cocola, J., Feng, D., Chua, J., Arditi, A., Sztyber-Betley, A., and Evans, O. (2025b). Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs. arXiv. preprint Cited in §27.5
  8. Bourtoule, L., Chandrasekaran, V., Choquette-Choo, C. A., Jia, H., Travers, A., Zhang, B., Lie, D., and Papernot, N. (2021). Machine Unlearning. 2021 IEEE Symposium on Security and Privacy (SP). Cited in §27.7
  9. Bowen, D., Murphy, B., Cai, W., Khachaturov, D., Gleave, A., and Pelrine, K. (2025). Scaling Trends for Data Poisoning in LLMs. Proceedings of the AAAI Conference on Artificial Intelligence. Cited in §27.6
  10. Cao, Y., and Yang, J. (2015). Towards Making Systems Forget with Machine Unlearning. 2015 IEEE Symposium on Security and Privacy. Cited in §27.7
  11. Carlini, N., Jagielski, M., Choquette-Choo, C. A., Paleka, D., Pearce, W., Anderson, H., … Tramèr, F. (2024). Poisoning Web-Scale Training Datasets is Practical. 2024 IEEE Symposium on Security and Privacy (SP). Cited in §27.6
  12. Carroll, S. R., Garba, I., Figueroa-Rodríguez, O. L., Holbrook, J., Lovett, R., Materechera, S., … Hudson, M. (2020). The CARE Principles for Indigenous Data Governance. Data Science Journal. Cited in §27.3
  13. Carroll, S. R., Herczog, E., Hudson, M., Russell, K., and Stall, S. (2021). Operationalizing the CARE and FAIR Principles for Indigenous data futures. Scientific Data. Cited in §27.3
  14. Cloud, A., Goldman-Wetzler, J., Wybitul, E., Miller, J., and Turner, A. M. (2024). Gradient Routing: Masking Gradients to Localize Computation in Neural Networks. arXiv. preprint Cited in §27.2
  15. Cloud, A., Le, M., Chua, J., Betley, J., Sztyber-Betley, A., Hilton, J., Marks, S., and Evans, O. (2025). Subliminal Learning: Language models transmit behavioral traits via hidden signals in data. arXiv. preprint Cited in §27.5 §27.7 §27.9
  16. Cooper, A. F., Choquette-Choo, C. A., Bogen, M., Klyman, K., Jagielski, M., Filippova, K., … Lee, K. (2025). Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Research. Advances in Neural Information Processing Systems 38. Cited in §27.7 §27.9
  17. Deeb, A., and Roger, F. (2024). Do Unlearning Methods Remove Information from Language Model Weights? arXiv. preprint Cited in §27.7 §27.9
  18. Dodge, J., Sap, M., Marasović, A., Agnew, W., Ilharco, G., Groeneveld, D., Mitchell, M., and Gardner, M. (2021). Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus. arXiv. preprint Cited in §27.3 §27.9 §27.10
  19. European Parliament and Council of the European Union (2024b). Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence. Official Journal of the European Union (OJ L 2024/1689); verified on the European Commission AI Act page. non-peer-reviewed Cited in §27.3
  20. Gebru, T., Morgenstern, J., Vecchione, B., Vaughan, J. W., Wallach, H., III, H. D., and Crawford, K. (2021). Datasheets for datasets. Communications of the ACM. Cited in §27.3 §27.10
  21. Ghosal, G. R., Maini, P., and Raghunathan, A. (2026). Natively Unlearnable Large Language Models. arXiv. preprint Cited in §27.7 §27.9
  22. Goldwasser, S., Kim, M. P., Vaikuntanathan, V., and Zamir, O. (2022). Planting Undetectable Backdoors in Machine Learning Models : [Extended Abstract]. 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). Cited in §27.6
  23. Grosse, R., Bae, J., Anil, C., Elhage, N., Tamkin, A., Tajdini, A., … Bowman, S. R. (2023). Studying Large Language Model Generalization with Influence Functions. arXiv. preprint Cited in §27.1
  24. Gu, T., Dolan-Gavitt, B., and Garg, S. (2017). BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain. arXiv. preprint Cited in §27.6
  25. Gururangan, S., Card, D., Dreier, S., Gade, E., Wang, L., Wang, Z., Zettlemoyer, L., and Smith, N. A. (2022). Whose Language Counts as High Quality? Measuring Language Ideologies in Text Data Selection. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. Cited in §27.3 §27.9
  26. Hubinger, E., Denison, C., Mu, J., Lambert, M., Tong, M., MacDiarmid, M., … Perez, E. (2024). Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training. arXiv. preprint Cited in §27.6
  27. Ji, J., Wang, K., Qiu, T. A., Chen, B., Zhou, J., Li, C., … Yang, Y. (2025). Language Models Resist Alignment: Evidence From Data Compression. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Cited in §27.1
  28. Joshi, P., Santy, S., Budhiraja, A., Bali, K., and Choudhury, M. (2020). The State and Fate of Linguistic Diversity and Inclusion in the NLP World. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Cited in §27.3
  29. Korbak, T., Shi, K., Chen, A., Bhalerao, R., Buckley, C. L., Phang, J., Bowman, S. R., and Perez, E. (2023). Pretraining Language Models with Human Preferences. International Conference on Machine Learning. Cited in §27.2
  30. Korbak, T., Raymond, C., Carroll, M., Williams, M., Balesni, M., Guo, A., … Kivlichan, I. (2026). How far does alignment midtraining generalize? OpenAI Alignment Research Blog. non-peer-reviewed Cited in §27.4 §27.9
  31. Kukutai, T., and Taylor, J. (2016). Indigenous Data Sovereignty. ANU Press. Cited in §27.3
  32. Langlais, P.-C., Chizhov, P., Arnett, C., Rosas-Hinostroza, C., Nee, M., Jones, E. K., … Yamshchikov, I. P. (2025). Common Corpus: The Largest Collection of Ethical Data for LLM Pre-Training. International Conference on Learning Representations. Cited in §27.1 §27.3
  33. Lee, B. W., Foote, A., Infanger, A., Shor, L., Kamath, H., Goldman-Wetzler, J., … Turner, A. M. (2025). Distillation Robustifies Unlearning. Neural Information Processing Systems. Cited in §27.5 §27.7 §27.9
  34. Li, N., Pan, A., Gopal, A., Yue, S., Berrios, D., Gatti, A., … Hendrycks, D. (2024d). The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning. International Conference on Machine Learning. Cited in §27.7 §27.9
  35. Li, K., Chen, Y., Viégas, F., and Wattenberg, M. (2025i). When Bad Data Leads to Good Models. International Conference on Machine Learning. Cited in §27.2 §27.4 §27.9
  36. Li, C., Wichers, N., Price, S., Marks, S., and Kutasov, J. (2026). Model Spec Midtraining: Improving How Alignment Training Generalizes. arXiv. preprint Cited in §27.4
  37. Longpre, S., Yauney, G., Reif, E., Lee, K., Roberts, A., Zoph, B., … Ippolito, D. (2023a). A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity. North American Chapter of the Association for Computational Linguistics. Cited in §27.1 §27.2 §27.3
  38. Łucki, J., Wei, B., Huang, Y., Henderson, P., Tramèr, F., and Rando, J. (2024). An Adversarial Perspective on Machine Unlearning for AI Safety. arXiv. preprint Cited in §27.7 §27.9
  39. Lucy, L., Gururangan, S., Soldaini, L., Strubell, E., Bamman, D., Klein, L., and Dodge, J. (2024). AboutMe: Using Self-Descriptions in Webpages to Document the Effects of English Pretraining Data Filters. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Cited in §27.3
  40. Lynch, A., Guo, P., Ewart, A., Casper, S., and Hadfield-Menell, D. (2024). Eight Methods to Evaluate Robust Unlearning in LLMs. arXiv. preprint Cited in §27.7 §27.9
  41. Maini, P., Feng, Z., Schwarzschild, A., Lipton, Z. C., and Kolter, J. Z. (2024). TOFU: A Task of Fictitious Unlearning for LLMs. arXiv. preprint Cited in §27.7
  42. Maini, P., Goyal, S., Sam, D., Robey, A., Savani, Y., Jiang, Y., … Kolter, J. Z. (2025). Safety Pretraining: Toward the Next Generation of Safe AI. Neural Information Processing Systems. Cited in §27.2 §27.9
  43. Meng, K., Bau, D., Andonian, A., and Belinkov, Y. (2022). Locating and Editing Factual Associations in GPT. Advances in Neural Information Processing Systems. Cited in §27.7
  44. Murray, S., Qi, A., Qian, T., Schulman, J., Burns, C., and Price, S. (2026). Chunky Post-Training: Data Driven Failures of Generalization. arXiv. preprint Cited in §27.5
  45. Nardo, C. (2023). The Waluigi Effect (mega-post). AI Alignment Forum. non-peer-reviewed Cited in §27.4
  46. O'Brien, K., Casper, S., Anthony, Q., Korbak, T., Kirk, R., Davies, X., … Biderman, S. (2025). Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs. arXiv. preprint Cited in §27.2 §27.3 §27.4 §27.7 §27.8 §27.9
  47. Penedo, G., Kydlíček, H., allal, L. B., Lozhkov, A., Mitchell, M., Raffel, C., Von Werra, L., and Wolf, T. (2024). The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale. Advances in Neural Information Processing Systems. Cited in §27.1
  48. Qi, X., Zeng, Y., Xie, T., Chen, P.-Y., Jia, R., Mittal, P., and Henderson, P. (2024a). Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! International Conference on Learning Representations. Cited in §27.7
  49. Rando, J., and Tramèr, F. (2024). Universal Jailbreak Backdoors from Poisoned Human Feedback. International Conference on Learning Representations. Cited in §27.6
  50. Roland, E., Cubuktepe, M., Martinez, E., Servaes, S., Pepper, K., Vaiana, M., … Cloud, A. (2026). Modular Pretraining Enables Access Control. arXiv. preprint Cited in §27.2 §27.9
  51. Sambasivan, N., Kapania, S., Highfill, H., Akrong, D., Paritosh, P., and Aroyo, L. M. (2021a). “Everyone wants to do the model work, not the data work”: Data Cascades in High-Stakes AI. Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems. Cited in §27.3
  52. Shilov, I., Cloud, A., Gema, A. P., Goldman-Wetzler, J., Panickssery, N., Sleight, H., Jones, E., and Anil, C. (2025). Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs. arXiv. preprint Cited in §27.2 §27.9
  53. Shumailov, I., Hayes, J., Triantafillou, E., Ortiz-Jimenez, G., Papernot, N., Jagielski, M., … Bagdasaryan, E. (2024b). UnUnlearning: Unlearning is not sufficient for content regulation in advanced generative AI. arXiv. preprint Cited in §27.7 §27.8 §27.9
  54. Slocum, S., Minder, J., Dumas, C., Sleight, H., Greenblatt, R., Marks, S., and Wang, R. (2025). Believe It or Not: How Deeply do LLMs Believe Implanted Facts? arXiv. preprint Cited in §27.4
  55. Souly, A., Rando, J., Chapman, E., Davies, X., Hasircioglu, B., Shereen, E., … Kirk, R. (2025). Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples. arXiv. preprint Cited in §27.6
  56. Tamirisa, R., Bharathi, B., Phan, L., Zhou, A., Gatti, A., Suresh, T., … Mazeika, M. (2025). Tamper-Resistant Safeguards for Open-Weight LLMs. International Conference on Learning Representations. Cited in §27.7
  57. Thrush, T., Potts, C., and Hashimoto, T. (2024). Improving Pretraining Data Using Perplexity Correlations. International Conference on Learning Representations. Cited in §27.1
  58. Tice, C., Radmard, P., Ratnam, S., Kim, A., Africa, D., and O'Brien, K. (2026). Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment. arXiv. preprint Cited in §27.2 §27.3 §27.4 §27.9
  59. Treutlein, J., Choi, D., Betley, J., Marks, S., Anil, C., Grosse, R., and Evans, O. (2024). Connecting the Dots: LLMs can Infer and Verbalize Latent Structure from Disparate Training Data. arXiv. preprint Cited in §27.2
  60. Villalobos, P., Ho, A., Sevilla, J., Besiroglu, T., Heim, L., and Hobbhahn, M. (2024). Will we run out of data? Limits of LLM scaling based on human-generated data. International Conference on Machine Learning. Cited in §27.1
  61. Walter, M., and Suina, M. (2019). Indigenous data, indigenous methodologies and indigenous data sovereignty. International Journal of Social Research Methodology. Cited in §27.3
  62. Wan, A., Wallace, E., Shen, S., and Klein, D. (2023). Poisoning Language Models During Instruction Tuning. International Conference on Machine Learning. Cited in §27.6
  63. Wettig, A., Gupta, A., Malik, S., and Chen, D. (2024). QuRating: Selecting High-Quality Data for Training Language Models. International Conference on Machine Learning. Cited in §27.1
  64. Xu, A., Pathak, E., Wallace, E., Gururangan, S., Sap, M., and Klein, D. (2021). Detoxifying Language Models Risks Marginalizing Minority Voices. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Cited in §27.3 §27.9
  65. Yao, Y., Xu, X., and Liu, Y. (2023a). Large Language Model Unlearning. Advances in Neural Information Processing Systems. Cited in §27.7
  66. Zhang, Y., Rando, J., Evtimov, I., Chi, J., Smith, E. M., Carlini, N., Tramèr, F., and Ippolito, D. (2024e). Persistent Pre-Training Poisoning of LLMs. International Conference on Learning Representations. Cited in §27.6
AI Alignment: From the Optimization Problem to the Institutions Around It · © 2026 Changkun Ou · CC BY-NC-SA 4.0
Bibliography · PV/UV /