Research·5 min read
By BitsMindsSource: BAIR (UC Berkeley)

FrontierCS 2: Can AI Agents Out-Code a Paper’s Authors?

Berkeley’s FrontierCS 2 deletes the key code from 48 published computer science papers and gives an AI agent five hours to rebuild it and beat the authors’ own version on hidden workloads. Claude Opus 5.5 passes 28 tasks, two Gemini 4 models pass 26 each, and 16 tasks defeat every agent.

FrontierCS 2 benchmark from UC Berkeley Editorial illustration: a printed paper page whose code listing has a hole where the paper's contribution was deleted, with a gold code tile hovering above the gap. A metaphor for how the benchmark builds its tasks, not an image from the paper. { } — UC BERKELEY FrontierCS 2 48 PAPERS CODE DELETED BITSMINDS.COM
Share:

A new benchmark from UC Berkeley asks a sharper question than most: can an AI agent do the week of work a PhD student would, taking a published system, rebuilding its key idea and beating the original numbers? FrontierCS 2, announced on the Berkeley AI Research blog on December 2, is made of 48 open-ended research and engineering tasks across 13 areas of computer science, from ML systems and high-performance computing to databases, cryptography and robotics. Each task starts from a real paper and its released code. The team finds the code that implements the paper’s contribution, deletes it, and leaves everything else in place. The deleted code becomes the bar: an agent passes only if its version beats the authors’ own on every metric and on every held-out workload.

The rules are built to stop an agent gaming its way through. The agent and the judge run in separate sandboxes connected only by a driver, and the agent has no network access beyond it. It gets five hours of wall-clock time and may submit patches whenever it likes; each one returns a development score and a sanitised count of how many workloads met each threshold, never the reference score itself. At the end the agent must name a single final patch, and only that one is graded on the hidden suite. On the sparse-attention task taken from the SVG-EAR video diffusion paper, for instance, a pass means running at no more than 0.96 times the reference’s latency while staying within 0.25 dB of its PSNR and tight margins on two other image-quality measures, on every held-out clip.

Twenty models are on the leaderboard, each run once per task inside its own harness. Claude Opus 5.5, running in Claude Code, leads with 28 of 48 tasks passed, or 58%. Gemini 4 Carbon and Gemini 4 Argon pass 26 each, Claude Sonnet 5.5 passes 24 and GPT-6 Astra passes 22. Below the top eight, no model passes more than 11. In the 12-agent evaluation in the paper, 16 of the 48 tasks were passed by no run at all, which the authors sum up as a third of the benchmark being out of reach. The strictness cuts both ways: on the KV Compaction task, Opus 5.5 posts the top score and beats the reference overall, yet fails because it falls short of the reference’s accuracy on 2 of 24 test articles.

FrontierCS 2: tasks where the agent beat the authorsTasks passed out of 48 · one run per task, five-hour budget · axis starts at 0 · BAIR, Dec 2 20260102030405028Claude Opus 5.526Gemini 4 Carbon26Gemini 4 Argon24Claude Sonnet5.522GPT-6 Astra
The five agents the FrontierCS team names in its post; 20 models are on the full leaderboard, and none below the top eight passes more than 11 tasks. Each model runs in its own harness (Claude Code, Codex CLI and others). Data: BAIR.

The team also fits an item-response model it forked from Epoch AI’s Capabilities Index, which it calls the FrontierCS Capabilities Index. There the top of the table is a dead heat: Opus 5.5 scores 51.3, Gemini 4 Carbon 51.0 and Sonnet 5.5 sits at 50.7, a 0.6-point spread the authors say is well inside the bootstrap intervals. GPT-6 Astra follows with 48.6 and Gemini 4 Argon with 48.4. Cost separates the field more than skill does. The leading group spends roughly $17 to $40 a run, with Gemini 4 Carbon the most expensive of them for two fewer passes than Opus. GPT-6.1 Terra and Sol pass about 40% of tasks for around $3 a run, and DeepSeek V4.1 Flash passes about one task in eight for roughly ten cents, a 400-fold spread in cost. A full 48-task evaluation of Opus 5.5 cost the team about $1,000 in API fees, $300 of GPU time and $100 of CPU.

The worked examples are where the benchmark earns its name. On QuarterPIR, a private information retrieval task, Meta’s Muse Wonder 1.0 replaced the reference’s single parity value with two checksums, the construction behind RAID-6, and cut the bytes per lookup from 1,760 to 1,280, a 27% saving with privacy unchanged. On BBQ, an FPGA priority queue for packet scheduling, Gemini 4 Argon reached 1.56 times the reference’s throughput at the same memory, while Opus 5.5 moved counters into registers and updated a whole tree level per clock cycle for up to 1.84 times, with one of the largest circuits, which the score does not charge for. On SVG-EAR nobody passed. GPT-6 Astra came closest by measuring the attention error rather than predicting it and fixing a bias the paper leaves in; it was faster on every clip and closer to full attention on average, yet cleared only 43 of 48 checks, missing on image quality in two Wan 2.1 clips.

The authors are candid about what a pass/fail line hides. It cannot tell a 27% saving from a marginal one, and on BBQ it rewards speed while ignoring chip area, so they argue benchmarks should report side costs next to the pass. They also stress that the harness is part of what is measured: the same model in a different harness is, in their words, a different agent. Everything is public, with the 48 tasks, evaluators and judge on GitHub and full run trajectories on Hugging Face, and compute came from Modal as lead sponsor. More than 100 private tasks are on the way to stay ahead of training-data contamination.

The ranking echoes SemiAnalysis’s GDPx benchmark in November, where Opus 5.5 also finished first. What FrontierCS 2 adds is a harder kind of yardstick: not a rubric or a unit test, but the authors’ own published code, run on workloads neither side has seen. By that measure, frontier agents can now out-engineer the original paper more often than not, and a third of the field’s research problems still beat all of them.

Want AI news before everyone else?

The morning's most important AI stories, straight to your inbox. No fluff.

Related Articles

GPT-6 Astra models solve AISI's Zero Energy cyber range Editorial illustration: a three-unit hardened server stack stands for the simulated enterprise network in the UK AI Security Institute's Zero Energy range. The OpenAI mark is inlaid on the middle unit; a dotted line enters from the left and ends at a lit port, standing for the attack path the GPT-6 Astra models found without a planted route. Not a depiction of real hardware. UK AISI Zero Energy Solved by Astra BITSMINDS.COM
Research

GPT-6 Astra Cracks AISI’s Hardest Cyber Range Yet

Claude finds a theoretical quantum attack on lattice cryptography Editorial illustration: a crystal lattice of clay beads behind a closed padlock with the Claude mark inlaid, beside the words 4 papers and A galactic quantum attack. A metaphor for Anthropic's four lattice papers; the lock stays shut because the attack is theoretical and does not break deployed post-quantum standards. Not an Anthropic product. CLAUDE · LATTICES 4 papers A galactic quantum attack BITSMINDS.COM
Research

Claude Finds a Theoretical Quantum Attack on Lattices

Humanity's First Exam, Google DeepMind Editorial illustration: a clipboard exam sheet with four ticked boxes and one red cross, the Google DeepMind mark inlaid on the metal clip, beside the words Humanity's First Exam. A metaphor for a benchmark of simple tasks scored on whether models get them right every time. DEEPMIND Humanity’s First Exam 15/16 BITSMINDS.COM
Research

Humanity’s First Exam: AI Models Fail Simple Tasks