Skip to content
Effloow
← Back to article
EFFLOOW LAB LAB-RUN

Autoexperiment Research Agent Replication Poc 2026

Evidence notes document the bounded local or source-based checks behind an Effloow article. They are not product endorsements, legal advice, or benchmark claims.

Date: 2026-05-24
Track: paper-poc
Paper: arXiv 2506.19724 — "From Reproduction to Replication: Evaluating Research Agents with Progressive Code Masking"
Slug: autoexperiment-research-agent-replication-poc-2026

Objective

Reproduce the core evaluation mechanism of AutoExperiment: given a paper description and a codebase with n functions masked, can an agent regenerate the missing implementations and pass numerical result checks?

Environment

  • Python 3.11 (system)
  • numpy (system)
  • No GPU required for this PoC
  • Sandbox: /tmp/autoexperiment-poc/

PoC 1: n=1 Single Function Masking

Command:

python3 /tmp/autoexperiment-poc/poc_demo.py

What was tested: A single adaptive learning rate function was masked. The agent implementation was derived from the paper's English description alone ("divide a base learning rate by the square root of the exponential moving average of squared gradients, plus epsilon for numerical stability").

Output:

AutoExperiment PoC: Masked Function Evaluation
=======================================================
Test 1: [PASS]  orig=0.02         agent=0.02         rel_err=0.0
Test 2: [PASS]  orig=0.0999999    agent=0.0999999    rel_err=0.0
Test 3: [PASS]  orig=0.05         agent=0.05         rel_err=0.0
Test 4: [PASS]  orig=999.000999   agent=999.000999   rel_err=0.0

Pass Rate: 100.0% (4/4 tests)

Result: At n=1, a clear natural-language description → correct implementation → numerical PASS. Consistent with paper's ~36% agent pass rate on full benchmark tasks where descriptions vary in clarity.

PoC 2: n=2 Multi-Function Masking (Degradation Demo)

Command:

python3 /tmp/autoexperiment-poc/poc_n2_demo.py

What was tested: Two interdependent functions masked — EMA update and adaptive LR computation. The agent correctly guesses the LR formula but forgets to square the gradient before EMA (a common cross-function dependency error when context window doesn't make the data flow explicit).

Output:

n=2 Masking: Agent fails due to cross-function dependency
=======================================================
Step   Orig LR        Agent LR       Error %    Pass?
-------------------------------------------------------
1      0.063246       0.044721       29.3       FAIL
2      0.056344       0.081650       44.9       FAIL
3      0.032906       0.032703       0.6        PASS
4      0.034480       0.036724       6.5        FAIL
5      0.029920       0.028090       6.1        FAIL

Pass Rate: 20.0% vs n=1 would be ~100%

Result: Pass rate collapses to 20% at n=2. This mirrors the paper's finding that Claude-3.7-sonnet drops from 36.5% (n=1) to ~9.6% (n≥2).

Limitations

  • This PoC uses a simplified example (adaptive LR), not actual benchmark tasks from AutoExperiment's 18 ML papers.
  • The actual benchmark requires running full ML experiments in Docker sandboxes; this demo isolates the masking mechanism only.
  • The full AutoExperiment benchmark uses result comparison across model outputs (Pass@1, Pass@k), not just numerical unit tests.
  • Installing the full AutoExperiment benchmark requires Docker and access to CUDA GPUs for the ML experiments.

Key Findings

  1. n=1 masking (reproduction): feasible for agents with good natural language → code translation.
  2. n≥2 masking (replication): fails due to cross-function data flow dependencies that natural language descriptions often leave implicit.
  3. The drop from ~36% to ~10% at n=2 is the central empirical claim of the paper — our demo reproduces the qualitative pattern.

References

Read the article

This note supports the public article and records what was actually checked.

Open article →