Shaping the model: data and training
Tamper-resistant safeguards for open-weight models
Build safeguards into released model weights so they survive attempts to strip them out by further fine-tuning.
Tamper-resistant safeguards are protections built into a model's released weights so that they survive attempts to remove them by further training. Once weights are public, anyone can fine-tune away refusals in a few steps, so ordinary safety training offers little protection. Tamper-resistance research asks whether open-weight models can be made safe even in the hands of a determined modifier.
How it works
Most safety training changes a model's behaviour only slightly, and a short round of fine-tuning on the wrong data undoes it. Tamper-resistance methods try to make that undoing expensive.
One family simulates the attack during training. TAR (August 2024) repeatedly fine-tunes a copy of the model as an attacker would, measures how much of the safeguard comes back, and then updates the original model so the simulated attack works less well next time. TAR is a form of meta-learning, meaning training the model on how it responds to further training. An early version of the idea, "self-destructing models" (2022), trained a small model so it was hard to repurpose for a blocked task while it still did its intended task well.
A second family acts on the data instead. If dangerous knowledge is filtered out before pretraining, there is little for an attacker to recover, and the attacker must teach the model from scratch. A third practice is a test rather than a defence: developers fine-tune their own model as an attacker would, to estimate worst-case risk before release.
Where research stands
TAR's authors red-teamed their method with up to 26 fine-tuning attacks, by default of 500 steps each, and reported that the safeguards resisted most of them while benign skills were preserved. A December 2024 study by Princeton University and Google researchers disputed this early result. It found that small changes to the attack, such as a different random seed, more warmup steps or a lighter fine-tuning method, defeated TAR. The researchers warned that flawed evaluations lead people to believe "safeguards are more durable than they really are." A February 2025 benchmark found current unlearning methods could be reversed within 16 fine-tuning steps.
Data filtering looks more durable. EleutherAI and the UK AI Security Institute's August 2025 filtered models resisted up to 10,000 steps of adversarial fine-tuning, though they could still use information supplied in context. In the same month OpenAI fine-tuned its own open-weight model, gpt-oss, to try to maximise risky capabilities before release, and reported that the result stayed below its "High" risk threshold. OpenAI said these results informed its decision to release the model.
Key results
- A meta-learning method built safeguards into open-weight models that resisted most of up to 26 fine-tuning attacks (by default 500 steps each) in red-teaming, while keeping benign capabilities. Rishub Tamirisa, Bhrugu Bharathi, Long Phan et al., 2024
- Small changes to fine-tuning setups, such as random seeds, warmup length or lighter LoRA fine-tuning, defeated TAR and another durable-safeguard method, showing evaluations can overstate durability. Xiangyu Qi, Boyi Wei, Nicholas Carlini et al., 2024
- Models whose pretraining data was filtered resisted up to 10,000 steps of adversarial fine-tuning, over ten times better than post-training defences. Kyle O'Brien, Stephen Casper et al., 2025
- Across 5 input attacks and 6 tampering attacks, current unlearning methods could be reversed within 16 fine-tuning steps, and tampering attacks gave conservative estimates of other attacks' success. Zora Che, Stephen Casper, Robert Kirk et al., 2025
- OpenAI fine-tuned gpt-oss to maximise risky capabilities before release and found it still underperformed o3, which was below OpenAI's High capability threshold. Eric Wallace, Olivia Watkins, Miles Wang, Kai Chen, Chris Koch (OpenAI), 2025
Open problems
- The weight-level safeguards tested so far have been defeated by small changes to the fine-tuning attack. source
- Durability claims need narrow, well-defined threat models that are rigorously tested, and the field lacks standard ones. source
- Even filtered models can use dangerous information supplied in their prompt or by tools, which weight-level safeguards do not address. source
- Input-output testing only gives a lower bound on worst-case behaviour, so evaluating open-weight risk requires tampering attacks too. source
See all open problems in this group
Criticisms
- Flawed evaluations of tamper-resistance can make stakeholders believe "safeguards are more durable than they really are"; claims should be cabined to tested threat models. Xiangyu Qi, Peter Henderson and co-authors (Princeton University, Google)
Who works on it
- Center for AI Safety: Co-developed the TAR method with Lapis Labs, UIUC and others. Tamper-Resistant Safeguards for Open-Weight LLMs (2024)
- Lapis Labs: Lead author's group on the TAR method. Tamper-Resistant Safeguards for Open-Weight LLMs (2024)
- University of Illinois Urbana-Champaign: Researchers co-developed TAR. Tamper-Resistant Safeguards for Open-Weight LLMs (2024)
- EleutherAI: Led the study showing pretraining data filtering resists adversarial fine-tuning. Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs (2025)
- UK AI Security Institute: Co-authored the Deep Ignorance filtering study. Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs (2025)
- Princeton University: Researchers, with Google co-authors, showed durable-safeguard evaluations can be broken by small attack changes. On Evaluating the Durability of Safeguards for Open-Weight LLMs (2024)
- OpenAI: Ran worst-case malicious fine-tuning on gpt-oss before its open-weight release. Estimating Worst-Case Frontier Risks of Open-Weight LLMs (2025)
Status
Early research, contested. The TAR authors report safeguards that hold through hundreds of fine-tuning steps; a December 2024 re-evaluation by Qi and co-authors found that small changes to the attack, even different random seeds, can make TAR fail. Deep Ignorance's filtered models resisted up to 10,000 steps of adversarial fine-tuning on biothreat text.
Start reading
- On Evaluating the Durability of Safeguards for Open-Weight LLMs, Xiangyu Qi et al. (2024). Best guide to why durability claims are hard to trust.
- Tamper-Resistant Safeguards for Open-Weight LLMs, Rishub Tamirisa et al. (2024). The main weight-level defence method.
- Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs, Kyle O'Brien, Stephen Casper et al. (2025). The data-filtering route and its limits.
- Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilities, Zora Che, Stephen Casper et al. (2025). How to test open-weight models as attackers would.
- Self-Destructing Models: Increasing the Costs of Harmful Dual Uses of Foundation Models, Peter Henderson, Eric Mitchell, Christopher D. Manning, Dan Jurafsky, Chelsea Finn (2022). The early statement of the idea.
Related approaches
- Training-data controls filtering data as the durable safeguard
- Unlearning hazardous knowledge unlearning is easily reversed
- Limiting proliferation of high-risk models limiting risks of open release
- Dangerous-capability evaluations worst-case capability testing
- Latent adversarial training training against internal attacks
In their own words
Open-weight LLMs present unique challenges, as existing safeguards lack robustness to tampering attacks that modify model weights. ... We develop a method, called TAR, for building tamper-resistant safeguards into open-weight LLMs such that adversaries cannot remove the safeguards even after hundreds of steps of fine-tuning.
Rishub Tamirisa et al. (15 authors), Tamper-Resistant Safeguards for Open-Weight LLMs, 2024
In this paper, we investigate whether filtering text about dual-use topics from training data can prevent unwanted capabilities and serve as a more tamper-resistant safeguard.
Kyle O'Brien, Stephen Casper et al., Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs, 2025
Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).