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:
- Manager (The LLM): Proposes one bounded change per trial (e.g., "increase learning rate").
- Worker: Applies the patch and runs the training.
- 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.
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, andproposal_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.
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