AI Today

🧪 FrontierCS 2: Berkeley has AI agents rewrite the core code of real papers

· 4 min

FrontierCS 2 overview card

In brief


🧪 A team of UC Berkeley researchers has introduced FrontierCS 2, a benchmark that measures AI agents on real research and development work. For 48 published computer-science papers across 13 domains, the code of the key contribution was deleted from the authors' own repository. The agent has to write it back so that it beats the authors' original code. According to the blog of Berkeley's BAIR lab, Claude Opus 5.5 in Claude Code passes 28 of the 48 tasks (58%), Gemini 4 Carbon and Gemini 4 Argon pass 26, and Claude Sonnet 5.5 passes 24. 📊 In the paper's 12-agent evaluation, no run passed 16 of the tasks. The tasks and the judge are publicly available.


The authors start from an everyday situation: a PhD student inherits a published system, swaps out one component and checks whether the original numbers can be beaten. Earlier benchmarks, the team says, either hand over a problem statement and grade one program, or stay inside machine learning, or compare against a re-implementation instead of the authors' real code. FrontierCS 2 therefore sets the bar at the code the authors released, measured on the paper's own workloads.

How a task runs. The agent receives the repository with the deleted functions still declared and called, and may only edit the files that held them. It works in a sandbox with no network access beyond a driver, so it cannot download the original. The evaluator, the hidden suite and the reference live in a separate sandbox. The agent may submit patches at any time and gets a score on development workloads, never the reference's score. At the end it names its own final patch; only that one is graded on the hidden suite with different seeds, queries or input graphs. It passes only if it beats the original code on every metric and every held-out workload. Example: for the sparse-attention method SVG-EAR (ECCV 2026), latency must be at most 0.96 times the reference, with PSNR within 0.25 dB, SSIM within 0.01 and LPIPS within 0.005.

Results. The leaderboard covers 20 models, each paired with its own harness (such as Claude Code or Codex CLI) and run once per task. After Opus 5.5 and the two Gemini 4 models come Claude Sonnet 5.5 with 24 and GPT-6 Astra with 22; below the top eight no model passes more than 11. The team also fits an index, the FrontierCS Capabilities Index (FCI), forked from Epoch AI's Epoch Capabilities Index: Opus 5.5 scores 51.3, Gemini 4 Carbon 51.0 and Sonnet 5.5 50.7. The 0.6-point gap is far inside the bootstrap intervals, they say. The median task sits at roughly the strongest agent's FCI, so there is headroom.

Cost. The top cluster spends roughly $17 to $40 per run. GPT-6.1 Terra and Sol pass about 40% of tasks for around $3, and DeepSeek V4.1 Flash costs about a dime per run and passes about one task in eight. A full evaluation of Opus 5.5 runs about $1,000 in API fees plus $300 GPU and $100 CPU time, the team estimates. With a spending cap per run the ranking changes: DeepSeek V4.1 Flash leads at the smallest budgets, Opus 5.5 at the largest.

Three case studies. In QuarterPIR, a private information retrieval scheme, Muse Wonder 1.0 replaced the per-group parity values with two checksums, the construction RAID-6 uses; bytes per lookup fell from 1,760 to 1,280 with privacy unchanged. On BBQ, an FPGA priority queue, Opus 5.5 reached up to 1.84 times the reference's operations per second and Gemini 4 Argon 1.56 times; Opus's circuit is among the largest, and the score does not charge for size. On SVG-EAR nobody passed: GPT-6 Astra cleared 43 of 48 checks but missed image quality on two clips.

The team admits weaknesses itself. A single pass/fail bit cannot tell a 27% saving from a marginal one, and on KV Compaction Opus 5.5 posts the top score above the reference but falls short on accuracy for 2 of 24 articles, so the run fails. The code, evaluators and judge are on GitHub; they install into your own AWS account, and GPU tasks also use Modal. Beyond the 48 public tasks, the authors hold more than 100 private ones to stay ahead of contamination. The figures come from the team itself and have not been independently checked.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service