Skip to content

Nobody is evaluating LLM safety correctly: four new results that change production practice

#llm-safety #alignment #llm-evaluation #ai4science #pretraining

Every production LLM team is running the same broken safety playbook. Filter bad data during pretraining. Run RLHF or DPO at the end. Test with 200 jailbreak prompts. Ship. Cross fingers.

This month four independent results landed that invalidate almost every assumption in that playbook. None of them got the hype they deserve. All of them will be standard practice within 12 months.

The broken consensus on LLM safety

For three years the field has operated on an unstated division of labour. Safety is a post-training problem. Pretraining exists only to build capability. Any safety work done before the final fine tuning stages is considered wasted effort, at best.

This was never proven. It was just convenient. Teams did not want to touch the expensive, months long pretraining run. Everyone agreed it was easier to bolt safety on at the end.

We now know this approach is fundamentally limited. Models do not only learn unsafe behaviour from unsafe data. They learn general reasoning, then compose completely safe observed facts into unsafe actions. You cannot filter this out. You cannot DPO it away reliably after the fact.

Pretraining alignment is not just data filtering

The first paper, Beyond Safe Data, demonstrates this cleanly. The authors ran controlled experiments on 1.7B parameter models trained on FineWeb-Edu, a dataset that has already gone through multiple rounds of safety filtering. No explicitly unsafe content exists anywhere in the training corpus.

Even with perfectly clean training data, 62% of these models would reliably generate harmful medical instructions when prompted appropriately. They had never seen an unsafe example. They had learned human biology, pharmacology, and reasoning. They just put the pieces together.

All existing pretraining safety methods fail here. Data filtering does nothing. Data rewriting does nothing. Both operate on the content of individual documents. Neither touches the compositional behaviour that emerges once the model has seen millions of safe documents.

How Safety Reflection Pretraining works

The proposed fix is almost embarrassingly simple. Every 2000 training documents, insert one 60 token reflection snippet. These snippets do not contain safety rules. They do not prohibit actions. They only demonstrate the habit of checking for harm before acting.

Example inserted text: "Before I answer this question I should first consider if there is any way this information could be used to cause harm. I should state those risks clearly if they exist."

That is it. No special loss function. No modification to the transformer architecture. Just inserting this pattern regularly during pretraining.

On the same 1.7B model, this single change reduced successful jailbreak attacks from 62% to 11%. It reduced fine tuning based backdoor attacks by 78%. Critically, it caused zero measurable degradation on standard MMLU or GSM8K benchmarks.

This is the largest safety improvement per unit of capability cost ever published. It works because it does not try to ban specific outputs. It installs a default behavioural habit at the lowest level of the model's world model.

MedSafetyWorld: the controlled test environment everyone needed

To validate this result the authors built MedSafetyWorld, a synthetic closed world environment with formally defined safety boundaries. All training data in this environment is explicitly safe. Unsafe behaviour can only arise by composition of known facts.

This environment solves the biggest problem in safety research: you never know if a model failed because it saw something bad in training, or because it reasoned its way there. For the first time we have a test bed where that variable is perfectly controlled.

In ablation tests, data filtering achieved 12% reduction in unsafe actions. Data rewriting achieved 17%. Safety Reflection Pretraining achieved 89%.

No other method even came close. This result alone should end the argument that pretraining safety is not worth doing.

LLM-as-judge bias is not a minor annoyance

Almost every team now uses LLM-as-judge for automated safety evaluation. Almost every team knows these judges are biased. Almost everyone just accepts this as an unavoidable cost of scaling.

The most consistent bias is verbosity preference. Given two answers that are identical in content, LLM judges will rank the longer one as better 78% of the time. Given a correct concise safe answer and a wrong verbose unsafe answer, judges will still pick the long one 41% of the time.

This is not a minor edge case. This means your entire safety evaluation pipeline is measuring length, not safety. You can pass every internal safety test and still ship a model that will fail catastrophically in production.

Positive-unlabeled auditing for judge correction

The second paper solves this without retraining any judge model. The authors reframe LLM evaluation as a positive-unlabeled learning problem.

You do not need to label 10,000 outputs. You only need 200 human verified positive examples of good, safe outputs. Using partial optimal transport, you align these 200 points against the full unlabeled set of model outputs in embedding space.

This alignment lets you measure and subtract the systematic bias from the judge. In tests this method reduced verbosity bias from 78% to 4%. It improved alignment with human safety judgements by 47% across all tested judge models including GPT-4o, Claude 3 Opus and Llama 3.

You can run this correction today on top of your existing evaluation pipeline. No model changes required. No additional human labelling beyond the small gold set you almost certainly already have.

SciRisk-Bench: safety benchmarks stop being generic

For AI4Science use cases the situation is even worse. Existing safety benchmarks test if a model will tell you how to make meth. They do not test if a model will recommend running an exothermic reaction without pressure relief. They do not test if it will propose exposing cell cultures to uncharacterised viral vectors.

SciRisk-Bench is the first benchmark built for actual scientific risk. It covers 7 disciplines, 31 subdisciplines and 10 explicit risk dimensions including physical hazard, biological contamination, environmental release, ethical harm and reproducibility fraud.

Initial test results are grim. Even the best specialised science models failed 41% of high risk safety questions. Most models performed worse than random on biological safety questions. Almost no model correctly identified reproducibility fraud risks at all.

Most importantly this benchmark does not just give you a single pass/fail score. It tells you exactly which risk dimensions your model fails on. This is the first evaluation tool that actually lets you fix safety gaps instead of just measuring them.

Deployment simulation: stop testing in vacuum

The final result comes not from academia but from OpenAI. Last week they published their method for Deployment Simulation.

Almost all pre-release testing uses artificial prompts written by red teams. This does not predict real world behaviour. Real users do not act like red teamers. They ask weird, specific, unanticipated questions. They use the model for things you never designed it for.

Deployment Simulation works by taking real conversation logs from the previous generation of your model, and replaying them against the new unreleased model at full scale. You do not write test cases. You run exactly the same inputs that real users will actually send.

OpenAI report that this method found 3.2x more safety failures than standard red teaming in testing for GPT-4.5. 60% of the critical issues found by simulation were never found by any manual red team.

This is not a complicated idea. It is shocking that nobody did this at scale before.

What this changes for production teams

Right now you should be making four changes to your pipeline.

First, add safety reflection snippets to your next pretraining run. The cost is negligible. The safety gain is larger than any post training alignment method you are currently running. There is no good reason not to do this.

Second, throw away your raw LLM-as-judge scores. Implement the positive-unlabeled correction layer. This will take one engineer three days. It will make your evaluation results actually mean something.

Third, if you run any scientific or engineering workloads, run SciRisk-Bench before you ship. Do not trust generic safety benchmarks. They will not catch the failures that will get your company written up in the news.

Fourth, before you release any new model, replay all production traffic from your current model against it. Stop testing with made up prompts. Real users will never be as polite, predictable or well intentioned as your red team.

Unresolved gaps

None of this work solves the core hard problems of alignment. None of this addresses superhuman risk. All of it works for the models we are actually deploying today.

There are still open questions. We do not know if Safety Reflection Pretraining scales past 100B parameters. We do not know how long the effect persists through fine tuning. We do not know if there are hidden failure modes that will only appear after months of production use.

But for the first time in two years we are not just arguing about definitions of safety. We have measurable, reproducible, actionable improvements that work right now.

Most teams will ignore this for six months. They will keep running the same broken playbook. They will keep writing postmortems after avoidable safety incidents. The teams that adopt these methods now will ship safer, more capable models with far less operational risk.