AI Safety Compendium

Shaping the model: data and training

Aligned modelsAlso: Constraining

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.

Open in the compendium

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

Open problems

See all open problems in this group

Criticisms

Who works on it

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

Related approaches

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).