wasl.tech

FrontierCS 2: AI Agents Just Beat Published Researchers at Their Own Code

Picture a second-year PhD student on a Monday morning, sitting the FrontierCS 2 test. She opens a research repository, finds the one algorithm that made the paper famous — and discovers it has been deleted.

The functions are still declared. The rest of the code still calls them. But the clever part, the actual contribution, is gone.

She has five hours to write it back. Not just to make it work, but to make it better than the published authors did.

That is exactly the test researchers at UC Berkeley set for today’s AI agents. Their new benchmark, FrontierCS 2, hands frontier models the same challenge across 48 published computer science papers — and the best agent passed more than half of them.

According to the Berkeley Artificial Intelligence Research lab, Claude Opus 5.5, running inside Claude Code, beat the original authors’ code on 28 of the 48 tasks. That is a 58 percent success rate on work that took human researchers months to produce.

What FrontierCS 2 Does Differently

Most coding benchmarks are really exams: hand an agent a bug or a broken function and check whether the code passes a set of unit tests.

FrontierCS 2 works the other way around. Each task starts with a real paper and the code its authors actually released, and the team deletes the code that implements the paper’s central contribution, leaving everything else untouched.

The deleted code becomes a private reference answer that already runs in the repository on the paper’s own workloads. Nobody has to guess what the authors meant or re-implement anything from scratch.

The agent receives the repository with the key functions still declared and still called, but empty. It gets five hours of wall-clock time and may submit as many draft patches as it likes.

A judge scores each attempt on visible development workloads and returns a sanitised summary of thresholds met — never the reference numbers themselves.

Then comes the hard part: one shot at the hidden test suite, and a task only counts as passed if the final patch beats the human reference on every metric and every held-out workload.

The 48 tasks span 13 areas of computer science, including machine learning systems, high-performance computing, databases, cryptography, security, robotics and programming languages.

The setup mirrors a week in a second-year PhD student’s life: inherit a published codebase, swap out one component, rerun the paper’s workloads, and check whether you beat the original numbers.

FrontierCS 2 Results: Opus 5.5 Leads a Tight Race

The leaderboard covers 20 models, each paired with its own harness — Claude Code, Codex CLI and others — and run once on every task. The headline numbers are striking.

Claude Opus 5.5 in Claude Code leads with 28 of 48 tasks passed. Gemini 4 Carbon and Gemini 4 Argon follow with 26 each.

Claude Sonnet 5.5 managed 24, and GPT-6 Astra reached 22. Below the top eight models, no system passed more than 11 tasks — a steep cliff that shows how far ahead the leading group sits.

On the FCI score, which measures improvement over the human reference, the top is effectively a dead heat: Opus 5.5 at 51.3, Carbon at 51.0 and Sonnet 5.5 at 50.7, with GPT-6 Astra at 48.6 and Argon at 48.4 close behind.

Cost is part of the story too: the top cluster spends roughly 17 to 40 dollars per run, and a full evaluation of one model costs around 1,400 dollars — about 1,000 in API fees, 300 for GPU time and 100 for CPU.

FrontierCS 2 is a preprint on arXiv (paper 2610.29932), not yet peer reviewed; the paper, leaderboard and code are public on Hugging Face.

Why the FrontierCS 2 Bar Is So Hard to Clear

The benchmark is designed to resist the shortcuts that make other agent tests easier than they look. The agent’s sandbox has no network access, so it cannot simply download the original code it is supposed to replace.

The scoring is equally unforgiving. The researchers do not rescue weaker agents by silently picking their best-scoring draft. Deciding which attempt to ship is treated as part of the research skill being tested.

One database task shows how strict that standard is. On a task called KV Compaction, Claude Opus 5.5 produced the highest combined score of any run and beat the human reference overall.

Yet it fell short of the reference’s accuracy on 2 of 24 test articles, so the run was marked as failed despite its strong average.

That strictness is the point. In real research, a system that is faster on average but wrong on some inputs is not an improvement. It is a different system with a different failure mode.

The Details That Show How Agents Actually Work

SVG-EAR, a sparse-attention method for video diffusion models presented at ECCV 2026, makes the challenge tangible.

The benchmark removes its error-aware attention class and three helper routines. To pass, an agent’s replacement must run at no more than 0.96 times the reference’s latency.

It must also stay within tight limits on three image-quality measures — PSNR, SSIM and LPIPS — on every hidden test clip. Speed alone is not enough, and quality alone is not enough.

Other tasks reveal different strengths. In QuarterPIR, a private information retrieval scheme, an agent found that two checksums could shrink private lookups by 27 percent.

The server was returning a parity value for every database group, though the client needed only one — a small inefficiency a careful reader of the code could spot and fix.

These wins do not come from memorising answers. They come from reading a codebase, understanding what it is trying to do, and finding a genuinely better way to do it.

What FrontierCS 2 Means for Research Labs

The obvious reading is that AI agents are becoming capable research assistants: a model that rewrites a published algorithm and beats it 58 percent of the time can plausibly take on real chunks of applied research work.

But in the paper’s 12-agent evaluation, 16 of the 48 tasks were never passed by any run.

A third of the benchmark is still out of reach for every model tested, and the median task sits at roughly the strongest agent’s score — real headroom above today’s best.

That gap is where human researchers still live: the hardest tasks are the ones where the contribution is subtle, the constraints interact in tricky ways, or the improvement needs an insight rather than an optimisation.

There is also a practical lesson: these results come from agents given five hours, a real repository and honest feedback from a judge.

That is very different from asking a chatbot to write a function in a chat window — the harness, the time budget and the feedback loop are doing real work alongside the model.

It is a pattern we have seen before this year. Systems like Hedra Model Factory aim to automate the training and improvement of AI models themselves.

Meanwhile Gemini 4 Carbon — one of the two models tied for second here — was built to be Google’s strongest reasoning model yet. FrontierCS 2 now gives the industry a way to measure whether such systems can actually do research, not just write code.

What Happens Next for FrontierCS 2

Benchmarks like this one tend to move fast. Once a leaderboard exists, model makers optimise for it, and scores that look impressive today can look ordinary within months.

The more interesting question is what the next version measures: FrontierCS 2 tests whether an agent can improve on a known result inside a known codebase, not whether it can choose a problem, design an experiment from scratch, or walk away from a dead end.

For now, though, the message is clear. Give a frontier AI agent five hours, a broken repository and a strict judge, and it will beat the published authors more often than not.

The PhD student in our opening scene may soon have a very capable colleague sitting next to her — one that never sleeps, never gets stuck, and costs about 40 dollars a run.

Whether that colleague eventually takes the desk, or just shares it, is the question FrontierCS 2 leaves open. The answer will come from the next 16 tasks — the ones nobody has solved yet.

Source: Berkeley Artificial Intelligence Research (BAIR) blog, “Delete the Paper, Beat the Authors: Introducing FrontierCS 2”, December 2, 2026.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top