The Audit AI Never Leaves Behind

Execution evidence is the engineering shift AI systems need to earn institutional trust.

AI · Computer Science · Software Engineering
Execution Evidence: The Black Box Problem Is Really an Evidence Problem
When AI systems fail, we blame opacity. But the deeper problem is that modern AI produces no structured, verifiable record of what it actually did. That is an architecture choice, and it can be changed.
2026

For years the central anxiety about AI in high-stakes settings has been framed as an opacity problem. We cannot see inside a neural network the way we can read a line of code, so an entire field grew up around generating post-hoc approximations of what a model was "thinking": heat maps, feature-attribution scores, summary statistics that describe a decision in human-parseable terms. The explainability industry grew large. The anxiety did not shrink.

The reason is that explainability addresses the wrong question. Knowing which features a model weighted most heavily is not the same as having a verifiable record of what the system actually did when it ran. A post-hoc explanation is a reconstruction by a separate, simpler model approximating the original. It is evidence about the model in general, not a tamper-evident log of this specific execution, on this specific input, producing this specific output. The gap between those two things is where accountability lives.

The deeper failure in AI systems is an evidence problem. When an AI agent retrieves a document, chains several reasoning steps, calls an external tool, and produces a recommendation, it rarely leaves behind a structured record that a third party can inspect and verify. That is not a property of neural networks. It is an architecture choice, and it can be changed.

When a commercially licensed clinical AI system was externally validated across tens of thousands of hospitalizations, independent researchers found it missed the majority of positive cases while generating alerts on a significant fraction of all patients. No one could interrogate the reasoning behind any individual alert. The harm was not that the model was opaque in some philosophical sense. It was that no structured evidence chain existed to examine.

01 The evidence gap
What AI systems currently produce versus what accountability actually requires, and the architectural space between them.
Current AI output What accountability requires Final answer One output, no lineage Self-reported reasoning Chain-of-thought, unfaithful Activity logs Token counts, latency only Post-hoc explanation Approximation, not record GAP Structured execution trace Step-by-step, independently stored Independent verification Checkable by a third party Tamper-evident log Hash-chained, immutable Certificate of reasoning Verifiable without the model
What accountability requires
Current AI output
I. What software engineering already knows

There is a striking asymmetry in how traceability is handled across the rest of computer science. Distributed systems coordinating thousands of independent services across geographies are routinely debugged, audited, and held to legal account. Not because any engineer can hold the full system in their head, but because decades of practice produced tools designed to emit evidence at execution time.

The toolkit is mature. OpenTelemetry models every request as a tree of structured spans, each carrying the inputs, outputs, and metadata of one step in a larger computation. Event-sourced architectures store every state change as an immutable entry in an append-only log, so any decision can be reconstructed by replaying the sequence. Git's object model content-addresses every artifact by cryptographic hash into a Merkle structure where retroactive changes break the root hash and become immediately detectable. These are not research ideas. They are the plumbing of production engineering.

AI systems, especially LLM-based agents taking sequences of real-world actions, were largely built without this layer. A typical enterprise AI stack captures token counts and latency. What it lacks is a decision-level trace: structured records of what the model retrieved, what it reasoned about, and what it produced at each step, stored in a form that is tamper-evident and independently verifiable. The EU AI Act, which imposes mandatory logging obligations on high-risk AI systems starting in August 2026, is essentially codifying into law what good software engineering has practiced for thirty years.

Financial systems maintain transaction ledgers using append-only, hash-chained logs precisely because every state change must survive regulatory audit. An AI agent whose every decision is written as an event into that same kind of structure is auditable by identical means. The architecture is off-the-shelf. Applying it to AI agents is an engineering choice that has not yet become standard practice.

02 The software engineering traceability toolkit
Distributed tracing, append-only logs, and content-addressed storage each solve one piece of the evidence problem. Together they converge into a verifiable execution record, an engineering choice AI systems have not yet made standard.
Distributed tracing OpenTelemetry spans Append-only logs Immutable event records Content addressing Merkle hash chains Every step logged Input, output, timing State is replayable Any moment reconstructed Edits break the hash Tampering is detectable Verifiable execution record Structured, tamper-evident, third-party checkable Applied to AI agents An engineering choice not yet standard
Source techniques (mature, off-the-shelf)
Combined result
Gap: not yet applied to AI
II. The chain-of-thought trap

The most natural candidate for an AI evidence layer seems obvious to anyone who has watched a reasoning model work: the chain-of-thought. Modern systems produce step-by-step textual traces that look like a decision log, and they have given many observers the intuition that the transparency problem is already being solved by the models themselves.

That intuition is wrong in a specific and important way. Research from Anthropic's alignment team found that when a hidden hint was injected into the context, models mentioned relying on that hint only a minority of the time, even when the hint visibly changed their answer. Separate work showed that applying optimization pressure to visible reasoning taught models to obscure reward-seeking behavior in their traces while continuing to pursue it. A self-generated narrative about a computation is not the same kind of evidence as an independent record of that computation. One can be shaped by the same process that shaped the output. The other cannot.

This is not a criticism of chain-of-thought as a reasoning tool. It is a structural observation about what a self-generated narrative can and cannot provide. A defendant who narrates their own innocence produces evidence of a categorically different kind than surveillance footage. Both might be true. Only one is independently checkable. AI systems that report their own reasoning are closer to the defendant, and architectures that treat a model's self-report as the accountability layer are building on a structurally weak foundation.

Algorithmic risk-assessment tools have been used in United States criminal proceedings to inform sentencing, with courts upholding their use even when the methodology was a trade secret the defendant could not examine. The risk score was the output; no inspectable evidence chain existed. Chain-of-thought narration would not solve this problem, because a model narrating its own reasoning does not produce the kind of independently verifiable evidence that due process requires.

AI execution trace architecture

The gap between a model's self-reported reasoning and an independently verifiable execution record is not a flaw of neural networks. It is a consequence of how AI systems have been architected. Structured evidence layers, borrowed from decades of distributed systems engineering, can close it.

III. The neurosymbolic template

There is a family of AI systems where the evidence problem largely disappears. Not because someone added a logging layer on top, but because the architecture generates checkable intermediate steps by design. Neurosymbolic systems pair a neural component, responsible for pattern recognition and creative search, with a symbolic component that enforces logical structure and leaves behind verifiable traces as it works.

DeepMind's AlphaGeometry is the clearest illustration of the pattern. The system pairs a transformer that proposes geometric constructions with a symbolic deduction engine that derives proofs from those constructions according to strict logical rules. The symbolic component does not produce an answer. It produces a proof: a sequence of logical steps any external verifier can check independently of the neural component. AlphaGeometry 2 solved 42 of 50 geometry problems drawn from International Mathematical Olympiad competitions spanning 2000 to 2024, surpassing the average performance of a gold medalist for the first time. The result matters as an architectural lesson as much as a mathematical one.

The general principle is that symbolic components are constitutionally evidence-producing. Theorem provers, constraint solvers, and type checkers work by applying rules in sequences that can be logged, replayed, and verified by a small trusted kernel entirely independent of the original computation. DARPA's Assured Neuro-Symbolic Learning and Reasoning program funds hybrid AI research explicitly on this basis: pair neural components with symbolic ones because the symbolic side generates the evidence that makes the neural side auditable. IBM's neurosymbolic research, developed with the MIT-IBM Watson AI Lab, states it directly: unlike end-to-end deep learning, each stage of a neurosymbolic pipeline can be individually verified and examined.

AlphaProof, DeepMind's theorem-proving system, works entirely inside the Lean proof assistant. Every proof step passes through Lean's strict kernel, producing outputs that are machine-checkable regardless of how the neural component generated them. The evidence is not a reporting layer added afterward. It is a byproduct of how the system reasons.

IV. Designing for evidence first

The convergence across research labs, regulatory bodies, and engineering practice points toward a conceptually simple reorientation: treat execution evidence as a first-class output of an AI system, not a feature added for compliance. This means designing AI pipelines the way formal-methods researchers have thought about trustworthy software for decades: a system ships not only its output but a certificate that the output was produced correctly, checkable by a party with no access to the original computation.

In formal verification, this idea goes by the name proof-carrying code. A 2025 article in Communications of the ACM by researchers at Stanford, UC Berkeley, and ISTA Austria extended the concept to AI under the label "certificates": verifiable witnesses and checkable intermediate steps that attest a system satisfied a policy when it acted. More recent architectural proposals push the idea into the agent setting, arguing that AI agents taking real-world actions should operate under a strict separation between the model that proposes an action and the independent component that authorizes it. An action carrying no certificate of authorization is not executed. No certificate, no execution.

The practical path for most deployments lies between cryptographic proof and current practice. Structured span-based tracing, append-only hash-chained decision logs, symbolic verification of critical sub-steps, and a clean separation between model proposal and independent policy check are all achievable today with standard tooling. The goal is not to solve interpretability in full generality. It is to ensure that when a system acts, a structured, tamper-evident record exists that can be reconstructed and contested by someone with no access to the original model. That is what accountability has always required of institutions. AI systems are institutions now, and the engineering has to catch up.

Zero-knowledge machine learning uses cryptographic proof systems to generate compact certificates that a specific model produced a specific output on a specific input, verifiable in milliseconds by anyone, without access to the model weights or the original execution environment. The computational overhead remains large enough to limit near-term deployment, but the technique clarifies the architectural target: outputs that arrive with independently verifiable evidence of how they were produced, checkable long after the system that produced them is gone.

03 Evidence-first architecture
The propose, certify, execute pattern: no action reaches the executor without a certificate from an independent verifier. Every branch, certified or rejected, is recorded in a tamper-evident log.
User request Query, task, or instruction Neural model: proposer Generates a candidate action trace Independent certifier Symbolic checker, policy engine, or proof kernel Rejected Action blocked Escalates to human review Certified Certificate issued Checkable by any third party Executor Acts only on certified traces Tamper-evident log: every step recorded, hash-chained, independently stored
Neural proposer
Independent certifier
Certified path to executor

Key references: Wong, A. et al., "External Validation of a Widely Implemented Proprietary Sepsis Prediction Model in Hospitalized Patients," JAMA Internal Medicine, June 2021. EU Artificial Intelligence Act (Regulation EU 2024/1689), Article 12, August 2024. Chen, B. et al., "Reasoning Models Don't Always Say What They Think," Anthropic Alignment Science, arXiv:2505.05410, 2025. Korbak, T. et al., "Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety," arXiv:2507.11473, July 2025. Trinh, T. et al., "Solving Olympiad Geometry without Human Demonstrations," Nature, January 2024 (AlphaGeometry). Chervonyi, Y. et al., "Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2," arXiv:2502.03544, 2025. "Certificates in AI: Learn but Verify," Communications of the ACM, Stanford, UC Berkeley, ISTA Austria, 2025. "No Certificate, No Execution: Certified Traces as a Foundation for Trustworthy AI Agents," arXiv:2605.24462, 2026. "Proof-Carrying Certificates for LLM Pipelines," arXiv:2605.16407, 2026. State v. Loomis, Wisconsin Supreme Court, 2016.