FrontierCS 2: A Benchmark for Computer Science R&D
Overview of FrontierCS 2
FrontierCS 2 is a benchmark designed to evaluate AI agents on open-ended computer science R&D tasks. It consists of 48 distinct tasks across 13 domains—including machine learning systems, high-performance computing, databases, cryptography, and robotics—where the agent is tasked with replacing a core contribution in a published research paper's repository. To pass a task, an agent must produce a patch that outperforms the original authors' code on every metric and every held-out workload within a five-hour window.
Methodology: Research by Subtraction
Unlike traditional benchmarks that rely on static problem statements or rubric-based grading, FrontierCS 2 uses a "subtraction" methodology. Researchers identify the specific code implementing a paper's contribution and remove it, leaving the rest of the repository intact. The agent is then required to implement a solution that meets or exceeds the original performance benchmarks established by the authors.
Key operational constraints include:
- Strict Evaluation: The agent's final submission is tested against a hidden suite of workloads (different seeds, queries, or inputs) that it has never seen.
- Independent Sandboxing: The agent operates in a restricted environment with no network access, ensuring it cannot download the original reference code.
- Autonomous Decision Making: The agent must decide when to finalize its patch, simulating the real-world research process where selecting the final version to ship is a critical component of the task.
Performance Results
Evaluation of 20 models reveals that while top-tier agents are capable of significant research contributions, a large portion of the benchmark remains challenging. Claude Opus 5.5 currently leads the leaderboard, passing 28 of 48 tasks (58%).
- Top Performers: Claude Opus 5.5 (28 passes), Gemini 4 Carbon and Gemini 4 Argon (26 passes), and Claude Sonnet 5.5 (24 passes).
- Capability Index (FCI): On the FrontierCS Capabilities Index, the top models show a near-dead heat, indicating that while they are highly capable, the benchmark provides significant headroom for future development.
- Cost Variability: There is a 400x spread in the cost to run these evaluations, ranging from roughly $1,000 for top-tier models to approximately $0.10 per run for more efficient, smaller models like DeepSeek V4.1 Flash.
Insights from Agent Performance
Analysis of successful agent patches demonstrates that models can perform non-trivial optimizations that rival human researchers. For example, in a private information retrieval task (QuarterPIR), an agent successfully implemented a two-checksum approach that reduced lookup bytes by 27% while maintaining privacy.
However, the benchmark also highlights the limitations of current models. On tasks like SVG-EAR, no model passed all checks, as agents struggled to balance speed improvements with strict image quality constraints. These results suggest that simple aggregate scores often mask failures in specific edge cases, reinforcing the necessity of the benchmark's strict pass/fail criteria.