Skip to content

What We Learned This Week About LLM Reasoning And Safety

#llm-reasoning #llm-safety #reinforcement-learning #model-introspection #transformer-internals

The core takeaway

All eight papers dropped on arXiv the same day last week. None are incremental benchmark chases. Every one of them attacks a problem that is breaking production agent systems right now.

You do not need to wait for next generation models. Almost every improvement and failure mode described here applies to the models you are running today.

Interleaved code reasoning is no longer heuristic

OpenAI o3 broke everything when it started writing and executing code mid thought, not just as a final tool call. Everyone has been copying the behaviour with hardcoded heuristics: if you see math, call python. That works until it doesn't.

AIR fixes this. Researchers trained the model to decide when to drop into code, using a group constrained reward function that scores entire reasoning trajectories, not just individual tool calls. The reward signal never mentions code. It only rewards correct final answers and short trajectories. The model discovered on its own that inserting code blocks at specific points was the optimal strategy.

MetricStandard RL BaselineAIRAbsolute Delta
Average benchmark accuracy78.2%84.3%+6.1 pp
Interleaved reasoning sample accuracy71.4%81.3%+9.9 pp
Tool invocation success rate82.1%95.2%+13.1 pp

This is the first time a model has learned to choose to use code, rather than being told when. This is not a minor improvement. This removes the single largest brittle component in every agent stack built in the last 12 months.

You cannot teach LLMs arithmetic. Stop trying.

The NVIDIA bit manipulation challenge broke every leading model. Every team was trying to teach LLMs to simulate boolean logic. All of them failed catastrophically above 6 bit strings.

The 7th place team did not make the model better at arithmetic. They made the problem not be arithmetic any more.

They reframed the entire task as string matching, backtracking search and error recovery. They tokenized every bit as an individual token. They trained the model to notice when it was wrong, back up, and try a different path. No boolean algebra. No arithmetic simulation. Just search and correction.

Result: 96% validation accuracy. No other team broke 70%.

This is the most important result in this entire batch. LLMs do not do formal logic. They do pattern matching, search and correction. Stop fighting that. Build systems that work with the capabilities models actually have.

LLMs cannot tell you when they have been hacked

This one should keep every safety engineer up at night.

Across 10 open models from 3B to 70B, when an adversarial prefill was used to force the model to output a harmful response, the model would incorrectly claim that it had intended to produce that output 27.3% of the time on average. There was no correlation between model size and detection accuracy. 70B models failed at almost exactly the same rate as 7B models.

Worse: every single fine tuning method people are currently deploying for safety made this problem worse. SFT, GRPO, DPO all widened the gap. None of them improved detection.

There is no reliable introspection signal here. You cannot ask the model if it was compromised. It will lie to you, and it will not even know it is lying.

If you are building safety systems that rely on model self reporting, stop. They do not work.

SPIRAL: Reasoning scales with compute, finally

Everyone knows you can run multiple reasoning traces and pick the best one. No one had successfully trained a model to do this on purpose until now.

SPIRAL trains the model end to end to spawn independent parallel traces, run sequential reasoning on each, then aggregate all results into a final answer. Every component is optimized together against the final reward.

Scaling efficiency is 11x better than vanilla GRPO. At equal compute budget you get 15% higher accuracy. This works today on existing model architectures. You can implement this next week.

Bad questions leave topological fingerprints

Ill posed questions break models. Ambiguous, contradictory, underspecified queries produce garbage outputs, and models almost never ask for clarification.

This paper shows you do not need to look at the output to detect this. You can measure it directly in the hidden states.

Researchers used persistent homology to build a fingerprint of the point cloud formed by hidden activations across layers. This fingerprint detects bad questions 11-12 percentage points better than any prompt based or pooled state baseline.

Even better: you can use this fingerprint to steer activations before generation starts. They increased acceptable response rates by 9 percentage points without changing the prompt at all.

This is the first practical, general purpose method we have seen for detecting failure modes before the model outputs anything.

Verified data beats more data

VeriEvol demonstrates something everyone suspected but no one had proven properly: for RL post training, the quality ceiling is set by your worst data point, not the average.

When scaling SFT data from 10k to 250k samples they got +19.3 pp accuracy. Then, holding backbone, training recipe, hyperparameters and sample count exactly the same, just replacing the data with verified samples gave another +3.88 pp. More than half that gain came purely from removing wrong labels, not harder questions.

Stop generating 1 million training samples. Generate 100k, and verify every single one. You will get better results.

Prospective memory is the new hard limit

Everyone tests retrospective memory: "what did I say 5000 tokens ago?". No one tests prospective memory: "remind me to do X when Y happens later".

TriggerBench shows this is the single largest unrecognized failure mode in long context models.

At 100k tokens, retrospective memory is still at 92%. Prospective memory has collapsed to 12%.

This is why your agent works great in 10 turn demos and falls apart completely after an hour of real use. It forgot all the rules you gave it. It will not tell you it forgot. It will just stop following them.

LLMs build the same representations as human brains

The last paper is the weird one.

Researchers ran the exact same reversal learning experiment on humans and LLMs. When humans successfully infer the hidden task structure, their hippocampus produces a very specific geometric pattern in neural activations.

When LLMs successfully infer the same hidden structure, their upper transformer layers produce exactly the same pattern.

This is not analogy. This is matching measurable geometric structure. And when they applied geometric regularization to those layers, generalizable inference rates went up.

We are no longer arguing about analogy. We are observing that two completely different systems, evolved and trained separately, converged on the exact same internal representation to solve the same reasoning problem.

Closing observations

None of this work points to bigger models being the answer. Almost every advance here comes from better training objectives, better measurement, and working with the actual capabilities of existing models rather than the ones we wish they had.

The gap between what we can demonstrate in research and what is deployed in production has never been wider. Every single result described here can be implemented this quarter.

Most of you will not do that. You will wait for the next model release. That is a mistake.