If an AI can predict what running code would do, can it skip actually running it when you ask?
Can corrected simulators replace real execution at inference time too?
This explores whether an AI's predicted outcome of running code or a tool, once made reliable enough to stand in for real execution during training, can also stand in for real execution when the model is answering a live request.
This explores whether a simulator that predicts what running code or a tool would do, once corrected to be reliable, can replace actually running it when a model is answering a live request and not only when it is being trained. The corpus has no note that tests this directly, so what follows is the nearest evidence and what it implies.
The closest result is on the training side. Structured reasoning templates let a model judge whether two code patches behave the same without running either, and it gets this right 93% of the time on real agent code. That is described as crossing the reliability bar for an RL reward signal, and it holds for specific task types like fault localization and code reasoning (Can structured reasoning replace code execution for RL rewards?). Note the scope. This is a verifier used to score training samples, not a simulator run while serving a user. The note also doesn't claim it works for every kind of task.
My reading is that the two settings tolerate errors differently. A reward signal averages over thousands of training samples, so a 7% error rate adds noise that training can usually absorb. At inference, one wrong simulated outcome goes straight into the answer or action the user sees. The corpus doesn't test this, so treat it as a reasoned guess. It would mean the threshold is stricter at inference than it is for rewards.
The inference-time notes point the other way, toward more real execution. In one case a stronger model built a harness that nearly doubled a weaker model's Theory-of-Mind performance mostly by moving unstable reasoning into deterministic code (Can a stronger model lift a weaker one at test time without retraining?). That swaps model reasoning for real computation, which is the opposite of swapping execution for simulation. Similarly, StateM lifts several frozen models on Terminal-Bench 2.1 (95.3% on GPT-5.6, +5.4 points on DeepSeek-V4 Flash) purely by improving the execution system around them (Can execution harnesses lift model performance without retuning weights?). And where a claim has to be trustworthy, BenchShield grounds it in recorded infrastructure evidence of what actually ran, not in a score (Can infrastructure evidence replace terminal scores in benchmark validation?). A simulated run can't produce that kind of evidence.
The plausible middle path is a hybrid, though this is my extrapolation and no note tests it. Adaptive compute allocation shows that spending effort unevenly by prompt difficulty beats spending it uniformly (Can we allocate inference compute based on prompt difficulty?). The same logic could apply here, with a cheap corrected simulator handling easy or low-stakes cases and real execution kept for hard, irreversible, or auditable ones. So the current answer is not yet for full replacement at inference time. A simulator that is good enough to train on has not been shown to be good enough to trust at serving time.
Sources 5 notes
Semi-formal reasoning templates enable execution-free patch equivalence verification at 93% accuracy on real agent code, crossing the reliability threshold needed for RL reward signals. This makes execution-free verification viable for certain task classes like fault localization and code reasoning.
A stronger model built inference-time harnesses that nearly doubled weaker model performance on Theory-of-Mind benchmarks without retraining, primarily by moving unstable reasoning into deterministic code and task-specific routing rather than encouraging extended reasoning.
StateM improves Terminal-Bench 2.1 accuracy across multiple models by optimizing execution systems around frozen weights. The same runbook transfers to newer models without modification, achieving 95.3% on GPT-5.6 and lifting DeepSeek-V4 Flash by 5.4 points.
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.
Research shows inference effectiveness varies dramatically by prompt difficulty. Reallocating the same total compute adaptively—giving easy prompts less and hard ones more—substantially outperforms larger models under uniform budgets.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Scaling Laws for Agent Harnesses via Effective Feedback Compute
- BenchShield: Formal Model-Backed Instrumentation for Reward Integrity in LLM-Agent Evaluation Infrastructure
- Does Thinking More always Help? Understanding Test-Time Scaling in Reasoning Models
- StateM: Reaching 95.3% Raw Accuracy, or a \$15 Frontier Run, on Terminal-Bench 2.1 via Harness Scaling
- Agentic Code Reasoning
- AI4AI at Test-Time: Strong-to-Weak Capability Transfer via Harnesses
- Inference-Aware Prompt Optimization for Aligning Black-Box Large Language Models
- Evaluating Theory of Mind in Reasoning Models: Robustness over Reasoning