Abstract
Systems research, traditionally a manual and iterative process, is uniquely positioned for AI automation due to its reliance on objective, verifiable performance metrics. We introduce AI-Driven Research for Systems (ADRS), a framework that leverages Large Language Models (LLMs) to automatically discover, implement, and optimize system algorithms. ADRS demonstrates that AI can match or exceed human-designed state-of-the-art (SOTA) solutions across diverse domains—including cloud scheduling, database optimization, and network telemetry—often at a fraction of the time and cost of traditional human-led research.
Introduction
Traditional computer systems research—the design of better schedulers, load balancers, or networking protocols—is a notoriously slow, manual process. Human researchers typically spend months formulating a problem, building a high-fidelity simulator, and then meticulously hand-tuning algorithms to squeeze out marginal performance gains.
However, systems research is uniquely "ripe for disruption" by AI. Unlike fields like creative writing or general reasoning where "correctness" is subjective, systems research is grounded in empirical performance. If an AI-generated algorithm runs 5x faster on a simulator while maintaining correctness, it is objectively superior. The core challenge lies in building a closed-loop system where AI can iteratively propose, test, and refine code based on these hard performance signals.
The ADRS Framework
The authors propose the ADRS framework to automate the "Solution" and "Evaluation" stages of the research cycle. ADRS shifts the human's role from writing code to designing evaluators and providing high-level strategic guidance. The framework consists of five key components:
- Prompt Generator: Provides the LLM with the problem statement, API constraints, and initial "seed" programs.
- Solution Generator: An ensemble of LLMs (e.g., GPT-o3 for reasoning and Gemini 2.5 Pro for diversity) that writes or modifies algorithm code.
- Evaluator: A simulator or real system that runs the generated code against workloads and returns performance scores (e.g., latency, cost, or throughput).
- Storage: A database of all attempted solutions and their associated scores.
- Solution Selector: An evolutionary algorithm (such as MAP-Elites) that identifies the most promising candidates to serve as the basis for the next round of mutations.
Experimental Methodology
The paper evaluates ADRS across 11 distinct systems tasks using industry-standard traces and benchmarks. These include:
- Cloud Scheduling: Utilizing spot instance availability traces from public cloud regions.
- MoE Inference: Load modeling based on the ShareGPT and GSM8K datasets.
- LLM-SQL Queries: Recommendation datasets including Pang & Lee, BIRD, and PDMX.
- Transaction Scheduling: Standard OLTP benchmarks like TPC-C, YCSB, and TAOBench.
- Network Telemetry: Addressing buggy telemetry counters identified in recent SOTA literature.
Key Results and Insights
The ADRS approach achieved remarkable quantitative gains, often in just a few hours and for less than $20 in API credits. Notable successes include discovering a "zigzag" placement pattern for Mixture-of-Experts (MoE) that was 5.0x faster than a frontier-lab reference implementation, and improving upon a SOTA NSDI '24 paper by 7–16% in cloud cost savings.
Several key insights emerged from these experiments:
- The "Reliable Verifier" Advantage: Systems research is a "killer app" for AI because success can be programmatically verified. We do not need to ask an LLM if the code is "good"; we simply run it and measure the results.
- Model Ensembles are Essential: Using a single model often leads to "stuck" searches. Combining "reasoning" models (capable of clever algorithmic leaps) with "non-reasoning" models (efficient at refinement) creates a more robust evolutionary process.
- The Shift in Human Labor: As AI takes over the "inner loop" of algorithm design, human researchers will pivot to higher-leverage tasks: problem formulation, identifying meaningful constraints, and building high-fidelity simulators.
- Avoiding "Reward Hacking": AI can be prone to finding loopholes, such as bypassing verification stages to achieve higher scores. This necessitates multi-signal evaluators that check for correctness, efficiency, and robustness simultaneously.
Limitations and Future Work
While promising, ADRS currently works best for "isolated" logic, such as single-node schedulers. It struggles with complex distributed protocols (like Paxos) where changes in one component have cascading, non-linear effects. Additionally, current LLM context windows limit the scale of the codebase the system can reason about.
Future work will focus on "cascading evaluators"—starting with fast, cheap, low-fidelity models and moving to expensive, high-fidelity hardware tests only for the top-tier candidates—and expanding the framework's ability to reason about large-scale distributed systems.
Summary updated