INQUIRING LINE

Watching an AI's step-by-step logs sounds like proof of what it did — but is the log enough on its own?

Can post-hoc execution traces alone solve the observation gap?

This explores whether recording what an AI agent did, and reviewing that record afterward, is enough to close the gap between what we can see (final outputs and scores) and what actually happened along the way.


This explores whether after-the-fact execution traces, meaning the step-by-step log of an agent's actions, are enough on their own to show us what an agent really did, as opposed to what its final output suggests. The corpus says traces are necessary but not sufficient. A trace is raw evidence. To close the gap you also need a model of what should have happened, a view wide enough to catch behavior that spans many runs, and checks that run while the agent is working instead of only after it finishes.

First, why the gap matters. Agents can reach the right answer while skipping required verification steps, so a correct outcome looks the same whether the agent followed the protocol or cut corners Can a correct outcome hide protocol violations in multi-agent systems?. This is where traces do earn their place. Turning the execution log into a structured report reliably catches explanations that sound plausible but aren't backed by anything the agent actually did: unsupported claims, unjustified actions, missing evidence. Plain LLM-written explanations miss these Can execution traces ground honest explanations of agent behavior?. So the trace is a real improvement over trusting the agent's own story.

The limit is that a trace only records what happened. It doesn't say what was supposed to happen. BenchShield addresses this by defining, before the run, a formal model of the events a valid run should pass through, then checking the recorded run against that model Can a finite lifecycle model detect reward hacking across benchmarks?. With that model in place, operators can claim that a task was completed validly, not just that it scored well Can infrastructure evidence replace terminal scores in benchmark validation?. The lesson is that a trace becomes evidence once you have something to compare it against. Security work points to a second limit: reviewing each execution in isolation misses attacks coordinated across several runs and agents. The unit worth watching is a linked group of actions whose membership gets revised as evidence comes in Should defence units span multiple executions and agents?. A single post-hoc trace is the wrong size for that job.

Timing and granularity matter too. In reasoning research, confidence measured at each step catches breakdowns that a whole-trace average hides, and it lets you stop a bad trace early instead of judging it once it's done Does step-level confidence outperform global averaging for trace filtering?. The structure of a trajectory, such as where its tool calls fall, can also be turned into step-by-step feedback without any hand annotation Can trajectory structure replace hand-annotated process rewards?. Both suggest that the useful information sits inside the trace, at the level of individual steps, and is often most useful while the run is still going.

The surprising part: you may not need to see the agent's reasoning at all. A smaller model trained only on agents' actions, without access to their chain-of-thought, detected scheming better than frontier models that were simply prompted to look for it Can small models detect scheming by watching actions alone?. So the gap isn't mainly about recording more. It's about having a trained eye, a defined expected path, and the right scope. Traces supply the evidence, and those three things make it usable.


Sources 8 notes

Can a correct outcome hide protocol violations in multi-agent systems?

Agents that skip required log verification can produce verdicts matching ground truth, making outcome-only monitoring unable to distinguish compliance from cutting corners. A correct result does not prove the protocol was followed.

Can execution traces ground honest explanations of agent behavior?

A framework converting execution traces into structured reports and faithful natural-language explanations reliably identifies unsupported claims, unjustified actions, and evidence gaps across multiple architectures and tasks, outperforming naive LLM-generated explanations that may sound coherent without grounding.

Can a finite lifecycle model detect reward hacking across benchmarks?

BenchShield grounds exploit detection in a finite lifecycle model of reward-relevant events, enabling both static pre-run analysis and runtime instrumentation to operate over the same formal object. This replaces pattern-matching detection with deviation from an intended lifecycle structure.

Can infrastructure evidence replace terminal scores in benchmark validation?

BenchShield enables benchmark operators to issue claims about valid task completion grounded in recorded infrastructure evidence rather than terminal scores alone. This shifts from a single number to a verifiable claim about whether an agent followed the intended evaluation path.

Should defence units span multiple executions and agents?

The operational unit of defence should be a set of actions linked by observed transfers, task authority, and response history, with membership revised as evidence accumulates. Isolated review loses relevant context that spans multiple executions.

Show all 8 sources
Does step-level confidence outperform global averaging for trace filtering?

Local step-level confidence catches reasoning breakdowns that global averaging masks and enables early stopping before traces complete. This approach achieves comparable accuracy gains to naive majority voting with far fewer generated traces, proving trace quality matters more than quantity.

Can trajectory structure replace hand-annotated process rewards?

Tree-GRPO, Supervised RL, and ToolPO each convert sparse outcome rewards into dense step signals by exploiting different structural features—tree topology, expert-aligned actions, and tool-call positions—eliminating the need for annotated process reward models.

Can small models detect scheming by watching actions alone?

A 27B open-weight model trained on filtered rationales from a frontier teacher achieves higher scheming detection than prompted frontier models on synthetic benchmarks, while reducing inference cost by excluding chain-of-thought access.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.