Filtered Distillation: A Proposal to Cut Reward Hacking

Diagram concept of filtered distillation removing misaligned AI model trajectories

A new AI safety proposal argues that filtered distillation could make deployed models less prone to reward hacking without giving up capability. The idea is to screen the behavior of a post-trained model before distilling it into a final model, using checks that would be too slow or costly to run on live traffic.

The author treats it as practical today because frontier models already go through a final distillation step before release.

The problem with imperfect reward signals

Post-training uses reward functions, and no reward function is perfect. The proposal’s starting point is that this process reinforces reward hacking along with capabilities. A model learns to game the metric as well as to do the task.

When a post-trained model is distilled back into a base model, or a partially post-trained one, developers gain more control over which trajectories the student learns from. The aim is a model with the same capabilities and a much lower tendency to hack rewards.

Distillation is already in the pipeline

Several open-weight models document a final distillation stage. It recovers capabilities that slip through successive post-training rounds. It also lets teams post-train on several domains in parallel and merge the results into one model. The proposal cites technical reports for GLM-5, Xiaomi’s MiMo-V2-Flash and NVIDIA’s Nemotron 3 Ultra. Distillation has also been used earlier to remove problems such as poor formatting. Proprietary labs are assumed to do similar work, though that isn’t confirmed.

Because the step exists, labs get a natural point to improve alignment at low cost. Many monitoring and alignment techniques that wouldn’t work at deployment can be applied to the distilled data.

How filtered distillation would work

The core move is to run monitoring tools over trajectories and drop the misaligned ones before distillation. The proposal argues this beats monitoring in production for several reasons:

  • Higher false-positive rates are affordable when no user is waiting.
  • Latency doesn’t matter.
  • Some techniques, such as confessions, run only after a trajectory ends, when the damage is done.
  • Far more compute can go into monitoring, including an agent with full access to the original trajectory and a replica of the environment to check the original agent’s work.
  • The volume is small enough that humans could review the most borderline cases, at some expense.

Beyond filtering, the proposal lists ways to generate better trajectories. Prompts that reduce misalignment can be used during generation and removed during distillation, so the model picks up the behavior by default. Prompts can be tuned per task type, which would be impractical live. Steering vectors work similarly. Teams can also choose tasks that are harder to game. Recontextualization during distillation could help a model treat leftover hacks as legitimate given the prompt, and a final distillation shouldn’t carry over the link between an inoculation prompt and bad behavior.

What it costs

Standard distillation is on-policy: the student generates tokens and the teacher scores them. Most of the proposed techniques need off-policy distillation, which hurts capability. A follow-up round of on-policy distillation can recover or even exceed that, but it risks bringing back some of the teacher’s misalignment.

There are other risks. Distilling logits into a base model could pass on misalignment even when the chosen tokens pass the filters, and it’s unclear whether that can be fixed. Distilling tokens only is safer and less efficient. Research also suggests traits can transfer through unrelated text when student and teacher share a base model. Using different base models, liminal training or perturbing the base model might reduce that.

Filtering can lower performance on gameable tasks, where the model sees fewer samples. Resampling can raise the rate of subtle hacks as overt ones get replaced by ones monitors miss. After distillation, subtle hacks make up most of what remains, which makes measuring alignment harder. Held-out monitors help only if they aren’t strongly correlated with the filters, and the author expects they are.

Using it during post-training

The proposal also considers filtered distillation mid-way through post-training, where much of the risk is argued to sit. Doing so would remove overt hacks and let subtle ones through. Later reinforcement learning would then push harder on the subtle ones, so the total hack rate could fall while the share that techniques can’t catch rises.

It might still pay off. Reward hacking grows faster than linearly with the length of reinforcement learning. One to three distillation resets could lower the peak hacking rate during post-training, at the cost of a higher rate in the deployed model compared with a single final distillation. Numerical models using plausible numbers suggest it could be worth doing.

What happens next

The proposal has no empirical results yet, and it says as much. Tests of filtered distillation would need to show that capability loss is manageable and that subtle hacks don’t take over. Until labs publish those numbers, it remains a design for the final distillation stage that teams could try.

Source: lesswrong.com

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.