Evaluating Governed LLM-Driven ML Experimentation: Lifecycle, Provenance, and Failure Metrics

Dowling WongarXiv 2026

TL;DR

This paper introduces a "governed harness" for autonomous ML agents that separates the experimental process from the agent's decision-making. By using a fixed control plane and an append-only ledger, the system ensures that every trial—whether it succeeds, fails, or crashes—is recorded with full provenance, exposing critical process failures that traditional "best-score" metrics typically hide.

What Problem Does This Paper Address?

Autonomous agents powered by Large Language Models (LLMs) are increasingly used to automate machine learning experimentation, such as tuning hyperparameters or editing training scripts. Currently, these agents are judged almost exclusively by the best score they achieve (e.g., "the agent improved AUC by 0.05").

However, for scientific ML, the process is as important as the outcome. A high score tells us nothing about whether the agent:

  • Edited files it wasn't supposed to touch (cheating).
  • Silently dropped failed trials from the record.
  • Repeated the same bad idea dozens of times before getting lucky.
  • Can provide a reproducible trace of every decision.

Existing experiment trackers (like MLflow or W&B) record runs after they exist but don't govern the agent's loop or classify invalid attempts. This paper addresses the need for auditability—a traceable, reproducible record of every decision and its evidence that the agent itself cannot manipulate.

Methods

The authors propose a system architecture that separates three distinct roles to enforce governance:

  1. Manager (The LLM): Proposes one bounded change per trial (e.g., "increase learning rate").
  2. Worker: Applies the patch and runs the training.
  3. Control Plane: The "source of truth." It owns the trial's lifecycle, checks if the agent stayed within its allowed edit scope, decides whether to keep or discard a result based on fixed rules, and writes a record to an append-only ledger.
Figure 2: System architecture and trial lifecycle. Replaceable components (manager, worker, node) are interchangeable without changing the governance contract; the control plane contract is fixed across all six nodes and every manager back- end tested in this paper. The control plane owns scope vali- dation, lifecycle transitions, keep/discard decisions, prove- nance ID assignment, and memory context updates. Inset (bottom right): the trial lifecycle state machine (Section 3.4).

The system is built around five "auditability desiderata":

  • D1. Bounded edit scope: Preventing unauthorized file changes.
  • D2. Complete attempt accounting: Recording every proposal, including crashes.
  • D3. Independent adjudication: Rejection/acceptance is decided by the control plane, not the agent.
  • D4. Provenance linkage: Linking every record to its specific patch, config, and metric evidence.
  • D5. Recomputability: Ensuring aggregate claims can be verified from the ledger without re-running training.

Datasets

The authors evaluated their governed harness across six diverse ML tasks (referred to as "nodes"), totaling 1,445 trials:

  • resnet_trigger: A scientific waveform classification task (primary case study).
  • lr_synthetic: A pure-NumPy logistic regression classifier for dependency-free validation.
  • openml_credit_g & openml_bank_mkt: Public tabular classification tasks from OpenML.
  • mlagentbench_vec: A NumPy vectorization speed task adapted from the MLAgentBench benchmark.
  • autoresearch_linux: A GPT pretraining task designed as a "stress case" with high failure rates.

Key Insights and Ideas

  • Governance Exposes Hidden Mess: In a "no-memory" test arm of the Linux pretraining task, the agent failed all 120 trials. Without the governed ledger, this campaign would look like it never happened; with it, the failure is visible and classifiable.
  • The "Silently Absent" Problem: The authors ran a "matched counterfactual" (an ungoverned loop). They found that without the control plane, 43 out of 50 trials left no record at all. This demonstrates how much information is lost when only "successful" runs are logged.
  • Structural Invariants for Trust: Provenance completeness (the ability to trace a decision back to its evidence) was 100% across all 1,445 trials. This wasn't an empirical accident; it's a structural guarantee of the control plane's design.
  • Memory is Task-Dependent: Using memory ablations as diagnostic probes, the authors found that while "summary memory" helped reduce repeated bad proposals in some ResNet trials, it didn't have the same effect on the synthetic task, suggesting that "more memory" isn't a universal fix for agent behavior.

Key Results

The paper introduces a suite of governance metrics to be reported alongside traditional task metrics:

  • Provenance Completeness: Achieved 100% across all nodes, regardless of failure rates.
  • Failure Taxonomy: The system successfully classified failures into categories like runtime_error, invalid_edit_scope, and proposal_precondition_failed.
  • Invalid Rate (IR): The harness revealed that some tasks have extremely high invalid proposal rates (up to 70% in the Linux pretraining stress case), which would be invisible in standard benchmarks.
Figure 1: Governance overview across all six benchmark nodes (1,445 trials). (a) Per-node scorecard: number of campaigns (Camp.), trials, and the shares of kept, discarded and failed-invalid trials, with provenance completeness (Prov.); the Fail share is shaded amber below 20% and red at or above 20%. (b) The same decision shares as stacked bars. Provenance com- pleteness is 100% on every node regardless of task type, worker class, or failure rate—including the 120-trial total-failure arm on autoresearch_linux.
Figure 3: Failure taxonomy by node: failed_invalid trials as a share of each node’s trials, split by FailureCategory. Composition is node-specific: autoresearch_linux concen- trates in runtime_error; tightly-constrained nodes accumu- late proposal_precondition_failed.

Limitations and Future Work

  • Short Budgets: The experiments used relatively short trial budgets (10–30 trials per campaign). Longer horizons might reveal different failure accumulation patterns.
  • Human Utility: While the paper proves governance properties can be enforced, it doesn't yet prove that these ledgers improve human audit outcomes (e.g., "Do human reviewers find errors faster with these logs?"). This is a suggested next step.
  • Manager Specificity: The findings regarding memory effects are specific to the LLM managers used (DeepSeek and Qwen). Other models might behave differently under the same governance contract.
  • Label Validation: The current failure classification was validated against a rule-based relabeler (achieving "almost perfect" agreement, $\kappa = 0.830$), but full human inter-rater validation remains for future work.

Summary updated

Abstract

Autonomous agents that run ML experiments are usually judged by the best score they reach. That score says nothing about how it was reached: whether the agent stayed within the files it was allowed to edit, whether failed trials were kept or silently dropped, and whether each keep or discard decision can be traced to its evidence. We propose evaluating such systems on their experimental process as well as their outcome, and we build a governed harness that makes this possible. A control plane, not the LLM that proposes changes, owns each trial's lifecycle, checks its edit scope, decides keep or discard, and appends one record per trial to an append-only ledger. Governance metrics such as the invalid-action rate, the repeated-bad rate and provenance completeness are computed from that ledger. Across six ML tasks, from synthetic logistic regression to language-model training, and 1,445 trials, the same contract applied unchanged. The ledger exposed failures that a task score hides: a no-memory arm in which all 120 trials failed, a benchmark adapter whose bounded proposals ran out, and a reset failure that reproducibility hashes revealed, after which the affected campaigns were rerun. In a matched counterfactual, a loop that logs only successful trials left no record of 43 of 50 trials, while the governed ledger recorded all 50. Memory ablations show that memory's effect on repeated bad proposals depends on the task. We release the ledgers of all 1,445 trials, so that every number reported for them can be recomputed.
BibTeX
@misc{wong2026evaluating,
  author = {Dowling Wong},
  title = {{Evaluating Governed LLM-Driven ML Experimentation: Lifecycle, Provenance, and Failure Metrics}},
  year = {2026},
  eprint = {2611.23678},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23678},
}

Loading related content...

Figure