AlphaLab: Autonomous Multi-Agent Research Across Optimization Domains with Frontier LLMs

Brendan R. Hogan, Xiwen Chen, James T. Wilson, Kashif Rasul, Adel Boyarsky, Thomas Kamei, Anderson Schneider, Yuriy NevmyvakaarXiv 2026

TL;DR

AlphaLab is an autonomous multi-agent research harness that automates the entire experimental cycle—from data exploration and adversarial evaluation setup to large-scale GPU cluster experimentation—using frontier LLMs. Across diverse, computation-intensive domains like CUDA kernel optimization and traffic forecasting, it consistently outperforms single-shot baselines and standard compilers by dynamically building its own tooling and accumulating domain knowledge in a persistent playbook.

What Problem Does This Paper Address?

While frontier LLMs excel at short-term software development tasks, scaling them to conduct end-to-end scientific research autonomously remains a major challenge. True scientific research requires a continuous loop of hypothesis generation, experimental design, rigorous evaluation, and knowledge accumulation.

Existing automated systems often rely on rigid, pre-defined configuration spaces or struggle with silent evaluation corruption (e.g., data leakage). AlphaLab addresses this by creating a flexible, domain-agnostic harness that can autonomously adapt to new datasets, build its own verified evaluation frameworks, and manage long-running, computationally intensive experimental campaigns without human intervention.

Methods

AlphaLab operates through a structured four-phase pipeline overseen by a meta-agent called the Supervisor:

  • Phase 0: Adapter Resolution: The system generates or customizes a "domain adapter" consisting of prompts, metrics, and a core domain knowledge document based on the dataset.
  • Phase 1: Data Exploration: An Explorer agent analyzes the data, runs scripts, and performs web searches to generate a research report and a machine-readable learnings file.
  • Phase 2: Adversarial Evaluation Construction: To prevent silent metric corruption, a multi-agent loop consisting of an isolated Builder, Critic, and Tester adversarially designs and verifies the evaluation framework.
  • Phase 3: GPU-Scale Experimentation: A pure-Python Dispatcher manages cluster resources via Slurm. A Strategist agent proposes experiments and updates a persistent Playbook (acting as online prompt optimization), while Worker agents implement, analyze, and fix code.
Figure 1: ALPHALAB pipeline overview. Given a dataset and objective, the system writes all its own code across four phases. Phase 0: configures domain-specific prompts/metrics. Phase 1: explores the dataset and researches prior work via web search. Phase 2: adver- sarial Builder/Critic/Tester loop constructs the evaluation framework. Phase 3: Strategist proposes experiments, Workers implement them, and jobs run on a GPU cluster via Slurm; a persistent Playbook evolves with each experiment. A Supervisor monitors health. The human can interact with the Strategist to guide search; we run fully autonomously in this paper for fair comparison.

Datasets

The authors evaluated AlphaLab across three distinct optimization domains:

  • KernelBench: Used for CUDA kernel optimization, consisting of 100 single-operator problems (Level 1) and 100 fusion patterns (Level 2).
  • PleIAs SYNTH: A synthetic corpus used for an LLM pretraining speedrun task to train a <100M parameter language model from scratch within a strict 20-minute compute budget.
  • San Francisco Bay Area Freeway Sensors Dataset: Hourly road occupancy data from 862 sensors used for traffic forecasting.
  • Synthetic Exchange-Rate Dataset: Eight daily exchange-rate series against the US dollar (1990–2013) used for financial time series forecasting (detailed in the appendix).

Key Insights and Ideas

  • The Power of the Playbook: Rather than relying on static prompts, AlphaLab uses a persistent "Playbook" that accumulates compressed findings (what works, what fails, and why) across experiments. This functions as online prompt optimization, preventing the system from repeating past mistakes and building domain-specific methodologies from scratch.
  • Complementary Multi-Model Search: When evaluating different frontier models (GPT-5.2 vs. Claude Opus 4.6), neither model dominated uniformly across all tasks. Instead, they discovered completely different architectural and optimization strategies, suggesting that multi-model research campaigns provide highly complementary search coverage.
  • Adversarial Evaluation is Crucial: If an automated research system's evaluation metric is broken, it will efficiently optimize for the wrong thing. AlphaLab's isolated Builder/Critic/Tester loop successfully catches subtle bugs (like lookahead bias or incorrect benchmark denominators) before massive compute is wasted.

Key Results

  • CUDA Optimization: AlphaLab generated custom GPU kernels that ran 4.4x faster on average than torch.compile, with the best kernel achieving a massive 91.4x speedup via algebraic rewrites.
  • LLM Pretraining: Claude Opus 4.6 achieved a validation bits-per-byte (bpb) of 0.7578, representing a 22% improvement over a single-shot baseline using the same model.
  • Traffic Forecasting: The system beat standard seasonal baselines by 23–25% by independently discovering and tuning complex model families from the literature (like Temporal Fusion Transformers).
Table 3: CUDA kernel optimization results. Task: write a CUDA kernel matching PyTorch’s output but faster, on KernelBench (Ouyang et al., 2025) (100 single-op + 100 fusion tasks). Top: head-to-head on 54 tasks where both models produced correct kernels – same tasks, hardware, baseline. Middle: each model’s full campaign (budget-capped at 50 experiments, so <200 tasks attempted). Bottom: ALPHALAB re-reported against torch.native to enable comparison with external baselines. Sakana AI (Lange et al., 2025b): 5-model ensemble, excludes contaminated tasks. KernelBench: L40S GPU, fast1 as L1/L2%. Cross-system comparison is approximate due to hardware and baseline differences.

Limitations and Future Work

  • Premature Convergence: The playbook mechanism can sometimes cause the system to lock onto a specific strategy too early (e.g., Claude Opus focusing entirely on TFT variants and ignoring iTransformers), highlighting the need for explicit diversity budgets.
  • Environmental Fragility: The system is highly sensitive to underlying software dependencies; for instance, PyTorch API changes caused a 38% failure rate in GPT-5.2 experiments.
  • Security and Sandboxing: Currently, the system runs LLM-generated code directly in a user account, which lacks the robust sandboxing required for safe, fully untrusted execution.
  • Future Direction: The authors suggest exploring optimal divisions of labor in human-AI research collaboration, where humans provide high-level intuition and direction while AlphaLab handles the experimental grind.

Summary updated

BibTeX
@misc{hogan2026alphalab,
  author = {Brendan R. Hogan and Xiwen Chen and James T. Wilson and Kashif Rasul and Adel Boyarsky and Thomas Kamei and Anderson Schneider and Yuriy Nevmyvaka},
  title = {{AlphaLab: Autonomous Multi-Agent Research Across Optimization Domains with Frontier LLMs}},
  year = {2026},
  eprint = {2604.08590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.08590},
}
Figure