The Price of an Explanation: What Demanding Verifiable Artifacts Costs, and What It Buys Back

Edgar A. Duéñez-Guzmán, Eduardo Dueñez, Edgar Said Hernandez Sanchez, Suzanne SadedinarXiv 2026

TL;DR

Demanding that an LLM provide a verifiable program to explain its reasoning—rather than just a raw answer—imposes a significant "accuracy tax" but offers a massive "compute rebate." On the ARC-AGI-2 benchmark, requiring code reduced solved tasks from 77% to 57%, yet the ability to verify that code against training data allowed the system to save up to 49% of its inference budget through early stopping.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly used in scientific discovery to generate hypotheses or design experiments. However, they often produce "plausible-sounding but ultimately wrong" results. A common fix is to demand a verifiable artifact: instead of asking for an answer, you ask the model to write a program that generates the answer based on the evidence.

While this makes the output auditable, researchers have long suspected it comes at a high cost. Is it harder for a model to write a general program than to just guess the right grid? Does it require a much larger computational budget to find a working program? This paper quantifies these costs—the "price of an explanation"—using the Abstraction and Reasoning Corpus (ARC).

Methods

The authors compared three experimental "arms" using Gemini 1.5 Flash:

  1. Answer-only (A0): The LLM predicts the output grid directly.
  2. Explainable (X): The LLM writes code in a custom Domain-Specific Language (DSL) to solve the task.
  3. Evolved (E): The LLM generates initial "seed" programs, which are then refined using a "free" evolutionary search (no additional LLM calls) to find better solutions.

A key innovation is the adaptive stopping rule. Because a program can be executed against the provided training examples, the system can "verify" its own work. If a program perfectly reproduces the training demonstrations, the system can stop sampling and save its remaining budget.

Figure 1: A verifiable artifact. Task 1818057f of the public ARC-AGI-2 evaluation set: three worked examples, an unseen input, and the program our search returned. The rule, which is to recolor every plus-shaped yellow cluster light blue, is stated nowhere and must be inferred, and what is submitted is the program rather than the grid. The program is written in the restricted vocabulary of a domain-specific language (DSL; highlighted in blue; 4 and 8 are ARC’s color codes for yellow and light blue). It reproduces all three worked examples; a program with that property is what we call an explanation, and its cost is what this paper measures. On the unseen input it reproduces the held-out answer exactly. Four other set_cell lines are elided where marked.

Datasets

  • ARC-AGI-2: A set of 120 evaluation tasks from the Abstraction and Reasoning Corpus, which requires fluid intelligence to infer rules from a few visual examples.
  • Quantum Error Correction (QEC): To test transferability, the authors applied the same method to synthesize decoders for a [[72, 12, 6]] bivariate-bicycle qLDPC code, evaluating them against 200,000 held-out "exam shots."

Key Insights and Ideas

  • The Generalization Gap: The primary bottleneck isn't finding an explanation; it's finding the right one. For nearly all tasks that the "answer-only" model solved but the "code" model missed, the system actually did find a program that perfectly explained the training data—it just failed to generalize to the test input.
  • Search is a Force Multiplier: Evolutionary search on top of LLM-generated code is highly effective. A short search over just two sampled programs improved performance by over 9 tasks compared to simple sampling, essentially getting "more juice" out of the same model calls.
  • Verifiability as a Scheduling Property: In standard LLM setups, you have to spend your entire "best-of-N" budget to be sure of a result. Here, verifiability allows for early termination. If the code works on the training data, you can stop and bank the saved compute.

Key Results

  • The Accuracy Tax: Demanding a verifiable program reduced the success rate on ARC from 93/120 tasks (77%) to 68/120 (57%).
  • The Compute Rebate: The stopping rule allowed the "Explainable" arm to decline 38% of its permitted budget, while the "Evolved" arm saved 49%.
Figure 2: Solves against realized spend. The answer-only arm (orange stars) predicts outputs directly. Solutions cost 1.39×k per task, because each test input requires a separate LLM call. The explainable arm (navy circles) is shown at fixed best-of-n program sampling (Figure 3 and Table 4 also give it the stopping rule). The evolved arm (cyan diamonds) has an LLM call budget B used for seeding up to 2 solutions for evolution, and for in-loop LLM improvements afterwards; it stops once it holds two distinct train-perfect candidates (§3.4). Per-point bars are within-run replica noise (E, 3 replicas), within-style draw noise (X), or block-and-run noise (A0).
  • Efficiency: The evolved arm reached the same performance level as the answer-only baseline (at 1 sample) while using significantly fewer calls per task when accounting for early stopping.
Figure 3: Savings due to the stopping rule: the share of its permitted budget each program arm declines, DSL prompt, mean over three independent seed draws. Navy: the explainable arm given the rule—sequential sampling that stops once it holds two train-perfect programs with distinct predictions (App. F). Cyan: the evolved arm, whose remaining budget buys in-loop model calls. The answer-only arm, run at fixed k, has no checked signal on which to stop. The two arms’ solves at these points are within 0.6 of each other at B=16 (66.3 against 66.9) and within the seed-draw spread everywhere (Table 4).

Limitations and Future Work

The authors acknowledge that their results are tied to the specific DSL and models used. A major limitation is that the current system struggles to select the "correct" program when multiple programs fit the training data (overfitting).

Future work could involve:

  • Strengthening Selection: Developing better "selectors" or rankers to identify which training-perfect program is most likely to generalize.
  • Refining the DSL: Making the programming language more expressive to cover the 21 tasks that no program-producing configuration could solve.
  • Post-hoc Explanations: Prompting a model to synthesize a program after it has committed to a direct prediction to see if that bridges the accuracy gap.

Summary updated

Abstract

Generative models produce many candidate solutions but provide no intrinsic signal by which to rank them. One mitigation is to demand a \emph{verifiable artifact}: a program that can be executed against the available evidence. A common concern is that requiring executable verification incurs costs in both solution quality and computational budget. We measure these two costs on the $120$-task ARC-AGI-2 evaluation set. Demanding a verifiable artifact from an LLM reduced the score from $93$ to $68$ of $120$ tasks ($77\%$ to $57\%$). Of those $25$ tasks, $21$ were reached by no program-producing configuration we ran, at any budget, by sampling or by search; yet for $27$ of the $28$ tasks that only the answer-only arm solved, some program arm held a program that reproduced every demonstration and still failed the test. The bottleneck is obtaining an explanation that \emph{generalizes}, not finding one. A short evolutionary search over two already-sampled programs, at no additional model cost, beats best-of-$2$ sampled code by $9.2 \pm 1.4$ tasks, and over a single sampled program beats $1$-shot sampling by $9.9 \pm 1.3$. Moreover, because a program can be checked against the training examples, any program-producing protocol can terminate early once a task is explained: under the same stopping rule, best-of-$n$ sampling declines up to $38\%$ of its budget and the evolved arm up to $49\%$, whereas an answer-only baseline cannot terminate early. Applying the same methodology to decoder synthesis for quantum error correction yields interpretable decoders evaluated against a certified panel of published decoders on held-out exam shots.
BibTeX
@misc{duenezguzman2026price,
  author = {Edgar A. Duéñez-Guzmán and Eduardo Dueñez and Edgar Said Hernandez Sanchez and Suzanne Sadedin},
  title = {{The Price of an Explanation: What Demanding Verifiable Artifacts Costs, and What It Buys Back}},
  year = {2026},
  eprint = {2611.25896},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25896},
}
Figure