Removing a fifth of the data made the model harder to break
Fine-tuning a language model on instruction data can erode its safety even when no training example looks harmful. A paper posted to arXiv on 27 October proposes finding the harmful examples by their gradients rather than their content, and reports that deleting the worst 20% of a public dataset cut attack success rates by up to 22 percentage points.
The method, SimpleLoRIF, embeds training examples by how their gradients align with unsafe behaviour. It is a simplification of an existing low-rank attribution technique, with backpropagation restricted to the final four transformer blocks. That restriction is what makes it practical: the authors say it can embed datasets on the order of a million examples, turning gradient attribution from a small-scale analysis tool into a filter for a full post-training dataset.

Validated on a known failure first
The authors first test the method on emergent misalignment — the finding that fine-tuning on insecure code can produce broadly harmful behaviour unrelated to code. They report that gradients connect the insecure-code training data to those behaviours, with area under the curve as high as 0.865 in the gradient space of misaligned models.
That is the right order to do it in. Emergent misalignment has a known cause and a known effect, so it gives the method something to be checked against before it is pointed at a dataset nobody has labelled.
SafeTulu is Tulu 3 minus 20%
The applied result is a dataset. SafeTulu is the public Tulu 3 instruction dataset with the 20% of examples most gradient-aligned with unsafe responses removed.

Training on it reduced the success rate of GCG attacks by up to 22% across Qwen, Llama and Olmo models, and the authors report that it outperformed both an LLM-as-a-judge filter and prior gradient-based filtering. Capability was largely preserved and in some cases improved — which is the claim that will attract the most scrutiny, since deleting a fifth of a post-training set would normally be expected to cost something.
The authors also analysed what the filter removed, and report categories of safety-degrading data they describe as possibly under-studied.
What to watch
Whether the filter generalises past GCG. A method evaluated against one attack family can be learning that family’s signature rather than the underlying property, and a 20% deletion is a blunt enough intervention that it may be removing capability-relevant data whose absence has not yet been measured on the right tasks.