Teaching AI to know When It Is Wrong

Why reliable AI depends less on smarter models and more on incorruptible checkers.

Simulation · Formal Verification · Software Engineering · AI
Three Channels of Truth
How simulation, testing, and proof are rewriting the rules of what computers can know about themselves — and replacing the human referee at the center of every learning loop.
2026

For most of machine learning's modern history, a human being sat at the center of every learning loop. Labeled datasets encoded human judgment about what a cat looked like, what counted as spam, what tone of writing felt professional. Even reinforcement learning from human feedback, the technique behind the conversational AI systems now used by hundreds of millions of people, depended on trained annotators scoring outputs and feeding those scores back into the model. The human was the oracle. Everything the machine knew about whether it was right came, ultimately, from us.

That dependency is now dissolving. Across AI research, software engineering, and formal methods, a quieter transformation is underway: machines are being given feedback channels that do not require a human being to operate them. These channels, simulation, automated testing, and formal proof, each provide what a human judge cannot. They are tireless, consistent, and in the strongest cases mathematically incorruptible. A physics engine does not get distracted. A unit test does not have an off day. A proof checker cannot be charmed into accepting a wrong answer. What researchers are discovering is that the ceiling on machine learning is not on data volume but on feedback quality, and that three specific channels can provide feedback of a kind and at a scale that human annotation never could.

01 Three feedback channels
Each channel replaces a human judge with a machine that cannot be charmed. Simulation, testing, and formal proof each carry a distinct tradeoff between breadth, precision, and rigor — and all three converge into a single principle: verifiable reward.
Simulation Testing Formal proof Checker Physics engine The checker Test harness The checker Proof assistant The checker Signal Reward signal Did it succeed? Pass / fail Specific inputs only Verified or rejected All inputs, always Tradeoff Broad, cheap Reality gap applies Precise, partial Coverage is the limit Total, expensive Needs a formal spec ▼
Simulation
Testing
Formal proof
I. Simulation: manufacturing ground truth at scale

A simulator is a machine for generating experience cheaply. If you want to teach a robotic arm to assemble a device, or an autonomous vehicle to handle an icy intersection, performing millions of real trials is not merely expensive, it is physically impossible within any reasonable timeframe. A high-fidelity simulation of the same scenario can run thousands of times in parallel on a single GPU cluster, compressing years of real-world trial and error into hours of compute time. The feedback is immediate: the simulator watches every action, computes whether it achieved the intended outcome, and returns a reward signal without any human in the loop. Modern pipelines push this further by scrambling the physics, lighting, and sensor noise on every run, a technique called domain randomization, so that a trained policy learns something closer to a general principle rather than memorizing a fixed environment.

The clearest recent demonstration of simulation as a self-contained feedback architecture comes from NVIDIA's Eureka project, developed with researchers at the University of Pennsylvania. Eureka uses a large language model to write reward functions as executable code, runs reinforcement learning inside Isaac Lab, NVIDIA's GPU-accelerated physics simulator, and feeds the resulting training statistics back to the language model to revise the reward on the next iteration. No human writes the reward function. No human scores any trial. Across 29 robotic tasks involving ten different robot platforms, the machine-generated rewards outperformed expert human-designed rewards on 83 percent of tasks. The simulator was not just running the experiment. It was grading it.

02 The feedback loop in motion
Every channel runs the same cycle: a neural model generates a candidate, the checker evaluates it, and the verdict either updates the model or returns a precise failure signal. The loop repeats until the system improves.
Neural model Generates a candidate output candidate Channel checker Simulator / test harness / proof assistant verdict Correct? binary verdict yes Model update Parameters improved no Failure detail Where it broke down retry with new candidate updated model generates again One loop across all three channels Simulation Did the robot fall? Testing Did the tests pass? Proof Did Lean accept it?
Correct path (model update)
Failure path (retry signal)
II. Testing: the executable specification

A unit test is a small, executable claim about how a program should behave: given this input, produce that output. For human programmers, tests have always served as a safety net, a way to catch regressions and verify that a change did not break something old. What has changed is that this same infrastructure is now being repurposed as a training signal for machines that write code. When a language model generates a candidate program, running it against a test suite produces a binary verdict that is cheap, fast, and unambiguous. The test harness already knows whether the solution is correct. The quality of that signal, however, is bounded entirely by the quality of the tests: weak coverage corrupts the feedback channel just as surely as a noisy human annotator would.

This feedback loop has been formalized into benchmarks that now define progress in AI software engineering. SWE-bench, developed at Princeton, evaluates coding agents on real GitHub issues from production Python repositories. An agent reads the issue, generates a patch, and the benchmark runs the repository's own test suite to determine whether the patch fixes the problem. Because the tests were written by the original developers to verify real software behavior, they represent a genuine and exacting specification. In 2024 the best systems solved roughly 4 percent of problems. By late 2025, leading systems were solving more than 50 percent. The feedback channel had not changed. The agents learning from it had.

III. Proof: the incorruptible channel

A formal proof is not a test on some inputs, it is a logical argument that a property holds for all inputs, verified by a piece of software that will accept nothing less than a complete and valid derivation. Proof assistants like Lean, Coq, and Isabelle check every step against the rules of a formal logic and return either a certificate of correctness or an exact identification of where the argument fails. There is no partial credit. A proof either stands or it does not. This incorruptibility is precisely what makes proof attractive as a feedback channel: a simulator can be an inaccurate model of reality, a test suite can be incomplete, and both can be gamed by an optimizer that learns to satisfy the checker rather than solving the underlying problem. A verified proof cannot be gamed in the same way.

Google DeepMind's AlphaProof, reported in Nature in November 2025, showed what this channel can achieve at scale. AlphaProof couples a neural language model with the AlphaZero reinforcement-learning algorithm inside the Lean theorem-proving environment. The system generates candidate proofs, Lean checks them, and every verified proof updates the model's parameters. Failures return information about exactly where the argument broke down, giving the model a precise signal to improve against. At the 2024 International Mathematical Olympiad, AlphaProof solved four of the six problems and scored 28 out of 42 points, one below the gold threshold. What the result demonstrated was not merely that AI could do mathematics. It demonstrated that a proof checker, operating as a training signal, could drive a system to a level of formal reasoning that no human-labeled dataset could have produced.

Research lab glass board infographic

A working diagram on a lab glass board traces the three feedback channels and the generator-checker loop at their center. The revision marks show what always matters in these systems: not the first draft of the architecture, but the willingness to correct it.

IV. The architecture that emerges

The three channels form a spectrum of rigor and cost. Simulation is broad and cheap but carries a reality gap. Testing is precise but partial, bounded by the coverage of the test suite. Proof is total and incorruptible within its formal domain but demands a complete specification of correctness, something most software systems lack. What the spectrum suggests is not that one channel should replace the others but that they compose: simulation for breadth, testing for practical correctness, proof for the critical core where a single failure is catastrophic. The pattern is already visible in the architecture of the most reliable AI systems being built today, a fast neural component that generates proposals and a slow symbolic component that checks them. AlphaGeometry, which solved 25 of 30 International Mathematical Olympiad geometry problems, built this explicitly, pairing a language model with a symbolic deduction engine and alternating between the two until a verified solution emerged.

The central engineering challenge this architecture surfaces is not how to generate better candidates. It is how to build better checkers. In all three channels, a system is optimizing against the verifier, not against reality, and any gap between the two will eventually be found and exploited. Systems will insert statements that trivially satisfy a formal specification, weaken postconditions until they pass vacuously, or produce code that clears every benchmark test while remaining subtly broken in ways the suite does not reach. The problem has a name across the field, reward hacking, and it is not a flaw in any particular system. It is a structural consequence of optimization. Closing that gap turns out to be the work. And the work is not, in the end, about making better AI. It is about getting better at saying, precisely and formally, what we actually want.

03 The architecture that emerges
A fast neural generator paired with a slow symbolic checker — the pattern visible across the most reliable AI systems today. The three channels compose as layers of rigor. Any gap between checker and reality becomes the attack surface for reward hacking.
Neural generator Fast, creative Proposes candidates Error-prone Scales with compute candidate Symbolic checker Slow, rigorous Evaluates candidates Cannot be charmed Incorruptible within scope verdict Verified output Correct by construction failure detail drives next candidate Channels compose as layers of rigor Simulation Broad coverage, reality gap Testing Precise, partial Proof Total, narrow ▼ increasing rigor
Simulation (breadth)
Testing (precision)
Proof (rigor)

Key references: Ma, Y. et al., "Eureka: Human-Level Reward Design via Coding Large Language Models," ICLR 2024, arXiv:2310.12931. Google DeepMind, "Olympiad-level formal mathematical reasoning with reinforcement learning," Nature, November 2025. AlphaProof and AlphaGeometry 2 blog announcement, Google DeepMind, July 2024. DeepSeek-Prover-V1.5, arXiv:2408.08152. Aggarwal, P. et al., "AlphaVerus," arXiv:2412.06176, December 2024. Bursuc, S. et al., "A benchmark for vericoding," arXiv:2509.22908, 2025. SWE-bench, Princeton University. NVIDIA Isaac Lab, GPU-accelerated robot learning framework.