我们选取了 48 篇已发表的计算机科学(CS)论文,从各自的代码库中删除每篇论文的关键贡献部分,然后要求前沿 AI 智能体(agents)将其重写,且效果要优于原作者。表现最好的智能体在其中 28 个任务上成功做到了这一点。前三名之间的差距不到一个百分点。
TL;DR FrontierCS 2 是一个涵盖 13 个 CS 领域的开放式研发任务基准测试,包括机器学习系统、高性能计算(HPC)、数据库、密码学和机器人技术。每个任务都是一个真实的论文代码库,其中已删除该论文的贡献部分。智能体拥有五小时的时间,以及一个对每次补丁(patch)的开发工作负载进行评分的裁判,并且只有一次机会通过隐藏测试集。只有当最终补丁在所有指标和所有保留的工作负载上都优于作者提供的代码时,才算通过。在 20 个模型中,Claude Opus 5.5 以通过 28/48 项任务(58%)领先,Gemini 4 Carbon 和 Gemini 4 Argon 紧随其后,分别通过 26 项,Claude Sonnet 5.5 通过 24 项。
想一想博士生二年级时每周主要做什么。他们接手一篇已发表的系统论文,继承其代码库,替换其中一个组件,重新运行论文中的工作负载,并检查是否超越了原始数据。计算机科学研究与开发中有很大一部分正是如此。因此,我们要回答的问题不是“智能体能否解决一个谜题?”,而是“智能体能否完成那一周的研究工作?”
现有的基准测试并未完全做到这一点。开放式竞赛类基准测试,包括我们之前的 FrontierCS 1,会给智能体提供一个问题陈述,并在运行结束后对单个程序进行评分。那些将智能体放入真实环境的基准测试,往往针对单元测试或排行榜进行评分,局限于机器学习领域,或者与评分标准或重新实现的代码进行比较,而不是与作者的原始代码进行比较。FrontierCS 2 填补了这一空白:评判标准是论文作者发布的代码,在论文自身的工作负载上进行测量,且在论文自身的代码库中进行。
FrontierCS 1
FrontierCS 2
任务
一个问题陈述
一个删除了论文贡献部分的真实代码库
智能体输出
一个程序
随时提交的补丁
评判标准
没有已知的最优解
作者提供的代码,在保留的工作负载上
运行期间的反馈
无
每次补丁的开发套件评分
覆盖范围
算法 + 六个研究领域
13 个 CS 领域
核心指标
平均分数
通过率、平均分数、FCI
每个任务都始于已发表的论文及其作者发布的代码。我们找到实现论文贡献部分的代码,将其删除,并保持其依赖的所有内容不变。被删除的代码成为人类参考基准:一个在该代码库中、在这些工作负载上已经运行的私有预言机(oracle)。无需重新实现,无需评分标准,也无需猜测作者的本意。
具体示例:SVG-EAR,一种用于视频扩散的 ECCV 2026 稀疏注意力方法。我们从 Sparse VideoGen 代码库中移除了误差感知注意力类以及三个例程(聚类平均、选择哪些聚类对进行精确计算,以及估算其余部分)。智能体获得的代码库中这些函数仍然被声明和调用,且只能编辑包含它们的文件。要通过测试,其在每个保留片段上的延迟必须不超过参考值的 0.96 倍,PSNR 在 0.25 dB 以内,SSIM 在 0.01 以内,LPIPS 在 0.005 以内。
通过阈值来自参考值自身的测量结果。裁判会对每次提交在开发套件上进行评分,但最终提交将在最终套件上进行评分,该套件增加了智能体从未见过的保留实例(不同的种子、查询或输入图)。
在一次运行中,智能体持有代码库,而裁判掌握着决定结果的一切:评估器、隐藏套件和参考代码。它们在独立的沙箱中运行,仅通过驱动程序连接,且智能体的沙箱除了驱动程序外没有网络访问权限,因此它不能简单地下载原始代码。在 GPU 任务中,智能体可以启动自己的开发 GPU,而评分则在单独的验证硬件上进行。
自行选择最终答案。在结束时,智能体指定一个补丁作为最终答案,只有该补丁会在隐藏套件上进行评分。我们不会通过选择其最佳开发提交来“救援”它:决定发布什么本身就是研究的一部分。
只有当最终补丁在所有指标和所有保留的工作负载上都优于人类参考时,运行才算通过。这是故意设定的严格标准。我们希望得到论文作者会认为更好的结果,而不是以质量退步为代价换取的速度提升,或是对少数工作负载的过拟合。
这比我们预期的更重要。大多数综合最终得分超过参考值的运行,仍会在某些地方未能达到阈值。例如,在 KV Compaction 任务中,Claude Opus 5.5 取得了最高分并高于人类参考,但在 24 篇文章中的 2 篇上未能达到参考值的准确性,因此运行失败。如果只看单一的平均分数,这会被判定为胜利。
Claude Opus 5.5 在 Claude Code 中通过了 48 项任务中的 28 项(58%)。Gemini 4 Carbon 和 Gemini 4 Argon 紧随其后,各通过 26 项,Claude Sonnet 5.5 通过 24 项,GPT-6 Astra 通过 22 项。在前八名之后,没有模型能通过超过 11 项任务。
通过率将简单任务和困难任务等同对待,一旦模型通过所有任务就会饱和。因此,我们还拟合了 FrontierCS 能力指数(FCI),这是从 Epoch AI 的 Epoch 能力指数(ECI)衍生而来的项目响应模型。它不依赖原始分数,而是从每次运行中的两个方面学习:它击败了任务的哪些指标,以及其最终分数距离参考值有多远。同样的拟合过程也为每个任务生成了 FrontierCS 难度指数(FDI):即智能体有一半概率通过该任务的 FCI 值。
在 FCI 上,榜单顶部呈现死局:Claude Opus 5.5 为 51.3,Gemini 4 Carbon 为 51.0,Claude Sonnet 5.5 为 50.7,GPT-6 Astra 和 Gemini 4 Argon 紧随其后,分别为 48.6 和 48.4。Kimi K2.7 锚定了尺度底部,十个点等于一个 logit,因此 0.6 点的三分差距远在校准区间内。更有趣的发现在于任务方面:中位数任务大约位于最强智能体的 FCI 水平。基准测试的难度范围比智能体的能力范围更广,因此在当今最佳水平之上仍有真正的提升空间。
仅看通过率会掩盖 400 倍的成本差异。顶级集群(Claude Opus 5.5、两个 Gemini 4 模型、Claude Sonnet 5.5 和 GPT-6 Astra)每次运行的花费约为 17–40 美元,其中 Gemini 4 Carbon 是该组中最昂贵的,比 Opus 少通过两项任务。性价比之选是 GPT-6.1:Terra 和 Sol 版本以每次约 3 美元的成本通过了约 40% 的任务,大约是前沿成本的六分之一。在最左侧,DeepSeek V4.1 Flash 每次运行成本约为一角钱,但仍能透过约八分之一的任务。
在论文的成本分析中,限制每次运行的支出会改变排名。当预算耗尽时仍在进行的运行被视为没有最终提交。在最低预算下,DeepSeek V4.1 Flash 领先( caveat 是其成本为下限,且取决于令牌定价);在最高预算下,Claude Opus 5.5 领先。
两个校验和使私有查找减少 27%。在 QuarterPIR(一种私有信息检索方案)中,参考服务器为每个数据库组返回一个奇偶校验值,尽管客户端只需要其中一个。Muse Wonder 1.0 将它们替换为两个校验和,这与 RAID-6 重建两个故障磁盘所使用的构造相同。因为客户端已经知道其值可能不同的唯一两个组,所以两个校验和就足够了。每次查找的字节数从 1,760 降至 1,280,隐私性保持不变。阅读深度解析 →
硬件优先队列的两个更快时钟。BBQ 是一种用于数据包调度的 FPGA 优先队列。Gemini 4 Argon 保持了内存布局,但在读取仍在进行时解决了读后写检查。Claude Opus 5.5 将所有计数器移入寄存器,并每周期更新整个树层级——达到参考值每秒操作次数的 1.84 倍,而 Argon 在相同内存下为 1.56 倍。缺点是 Opus 的电路是最大的之一,且最终评分不计入大小。阅读深度解析 →
无人能超越的基线。在 SVG-EAR 任务中,没有人通过。GPT-6 Astra 最接近,它通过测量注意力误差而非预测它,在误差界限下选择最小的每头预算,并修复了论文中遗留的中心估计偏差。它在每个片段上都更快,平均而言更接近全注意力——但仍然在两个片段上未能通过图像质量检查,在 48 项检查中通过了 43 项。在此任务中,速度从来不是瓶颈;质量带宽才是。阅读深度解析 →
案例研究也是一份坦白书。通过/失败的位无法区分 27% 的字节减少与边际减少;在 QuarterPIR 中,GPT-6.1 Sol 的实际得分略高于 Muse Wonder,但节省幅度小得多。BBQ 的最终评分奖励速度而忽略电路面积。在 SVG-EAR 中,平均表现更好的运行在两个片段上失败。我们认为此类基准测试需要在通过的同时报告这些附带成本,并且带有诚实区间的 FCI 比任何单一的平均数值都是更好的总结。
了解成本。对 Claude Opus 5.5 进行完整的 48 项任务评估,API 费用约为 1,000 美元,GPU 时间约为 300 美元,CPU 约为 100 美元。
特别感谢 Modal,作为 FrontierCS 2 的主要赞助商,提供了背后的计算资源,以及感谢 Kaggle、Laude Institute 的 Slingshot 计划、Scale AI、Handshake 和 Snorkel AI 的支持。感谢 Epoch AI 提供 ECI 及其发布的代码,以及感谢 aut
查看原文
We took 48 published CS papers, deleted each one's key contribution from its own repository, and asked frontier agents to write it back better than the authors did. The best agent pulls it off on 28 of them. The top three are within a point of each other.
Paper ·
Leaderboard ·
Code ·
Runs on Hugging Face ·
Blog correspondence: lihanc@berkeley.edu
FrontierCS 2: 48 tasks in 13 domains, each built from a published paper.
TL;DR FrontierCS 2 is a benchmark of 48 open-ended R&D tasks across 13 CS domains, from ML systems and HPC to databases, cryptography and robotics. Each task is a real paper’s repository with the contribution removed. The agent gets five hours, a judge that scores every patch on development workloads, and one shot at the hidden suite. It passes only if its final patch beats the authors’ code on every metric and every held-out workload. Across 20 models, Claude Opus 5.5 leads with 28 of 48 tasks passed (58%), with Gemini 4 Carbon and Gemini 4 Argon at 26 and Claude Sonnet 5.5 at 24.
The question we actually care about
Think about what a second-year PhD student does most weeks. They pick up a published system, inherit its codebase, swap out one component, rerun the paper’s workloads, and check whether they beat the original numbers. A huge share of computer science R&D looks exactly like this. So the question we wanted to answer is not “can an agent solve a puzzle?” but “can an agent do that week of work?”
Existing benchmarks don’t quite get there. Open-ended contest benchmarks, including our own FrontierCS 1, hand the agent a problem statement and grade one program after the run ends. Benchmarks that do drop the agent into a real environment tend to grade against unit tests or a leaderboard, stay inside machine learning, or compare against a rubric or a re-implementation instead of the authors’ actual code. FrontierCS 2 closes that gap: the bar is the code the paper’s authors released, measured on the paper’s own workloads, inside the paper’s own repository.
FrontierCS 1
FrontierCS 2
Task
A problem statement
A real repo with the paper’s contribution deleted
Agent output
One program
Patches, submitted any time
The bar
No known optimum
The authors’ code, on held-out workloads
Feedback during the run
None
A development-suite score for every patch
Coverage
Algorithms + six research areas
13 CS domains
Headline metrics
Mean score
Pass rate, mean score, FCI
Building tasks by subtraction
Every task starts from a published paper and the code its authors released. We find the code that implements the paper’s contribution, delete it, and leave everything it depends on untouched. The deleted code becomes the human reference: a private oracle that already runs in this repository on these workloads. No re-implementation, no rubric, no guessing what the authors meant.
A concrete example: SVG-EAR, an ECCV 2026 sparse-attention method for video diffusion. From the Sparse VideoGen repo we remove the error-aware attention class and three routines (cluster averaging, choosing which cluster pairs to compute exactly, and estimating the rest). The agent gets the repo with those functions still declared and called, and may only edit the files that held them. To pass, its latency must be at most 0.96× the reference’s, with PSNR within 0.25 dB, SSIM within 0.01 and LPIPS within 0.005, on every held-out clip.
Pass thresholds come from the reference’s own measurements. The judge scores every submission on a development suite, but the final submission is graded on a final suite that adds held-out instances (different seeds, queries or input graphs) the agent never sees.
The 48 public tasks, grouped by domain: from databases, MLSys and HPC to cryptography, security and robotics.
The agent works like a researcher, not a test-taker
Inside a run, the agent holds the repository and the judge holds everything that decides the outcome: the evaluator, the hidden suite and the reference. They run in separate sandboxes connected only by a driver, and the agent’s sandbox has no network access beyond it, so it cannot simply download the original code. On GPU tasks the agent can spin up its own development GPUs, while scoring happens on separate verifier hardware.
Five hours of wall-clock time per run.
Submit a patch whenever you like. Each one returns a development score plus a sanitized message counting how many dev workloads meet each threshold—never the reference’s score or the evaluator’s raw output.
Pick your own final answer. At the end the agent names one patch as final, and only that patch is graded on the hidden suite. We don’t rescue it by picking its best dev submission: deciding what to ship is part of research.
The judge. The agent reaches only the driver; the evaluator, the held-out suite and the reference stay on the judge side.
A higher score is not a pass
A run passes only when its final patch beats the human reference on every metric and every held-out workload. That is deliberately strict. We want results the paper’s authors would accept as better, not a speedup bought with a quality regression or a fit to a few workloads.
This matters more than we expected. Most runs whose combined final score beats the reference still miss a threshold somewhere. On KV Compaction, for example, Claude Opus 5.5 posts the top score and sits above the human reference, yet falls short of the reference’s accuracy on 2 of 24 articles, so the run fails. A single averaged score would have called that a win.
Results: 28 of 48 at the top, and a three-way tie on FCI
The leaderboard now covers 20 models, each paired with its own harness (Claude Code, Codex CLI and others) and run once on every task. The headline numbers:
Claude Opus 5.5 in Claude Code passes 28 of 48 tasks (58%). Gemini 4 Carbon and Gemini 4 Argon follow at 26, Claude Sonnet 5.5 at 24, and GPT-6 Astra at 22. Below the top eight, no model passes more than 11.
A third of the benchmark is out of reach. In the paper’s 12-agent evaluation, no run passed 16 of the 48 tasks.
The harness is part of what we measure. We name agents by model, but the same model in a different harness is a different agent.
Tasks where each model beats the human reference on every metric and every hidden workload, out of 48.
FCI: putting agents and tasks on one scale
Pass rate treats an easy task like a hard one and saturates once a model passes everything. So we also fit the FrontierCS Capabilities Index (FCI), an item-response model forked from Epoch AI’s Epoch Capabilities Index. Instead of raw scores, it learns from two things in every run: which of the task’s metrics it beat, and how far its final score landed from the reference’s. The same fit gives each task a FrontierCS Difficulty Index (FDI): the FCI at which an agent passes it half the time.
On FCI, the top of the board is a dead heat: Claude Opus 5.5 at 51.3, Gemini 4 Carbon at 51.0 and Claude Sonnet 5.5 at 50.7, with GPT-6 Astra and Gemini 4 Argon close behind at 48.6 and 48.4. Kimi K2.7 anchors the scale, and ten points equal one logit, so a three-way gap of 0.6 points is far inside the bootstrap intervals. The more interesting finding is on the task side: the median task sits at roughly the strongest agent’s FCI. The benchmark spans a wider difficulty range than the agents do, so there is real headroom above today’s best.
FrontierCS Capabilities Index (FCI) on the 48 public tasks.
What a pass costs
Pass rate alone hides a 400× spread in cost. The top cluster (Claude Opus 5.5, both Gemini 4 models, Claude Sonnet 5.5 and GPT-6 Astra) all spend roughly $17–40 per run, with Gemini 4 Carbon the most expensive of the group for two fewer passes than Opus. The value pick is GPT-6.1: Terra and Sol pass about 40% of tasks for around $3 a run, roughly a sixth of the frontier’s cost. At the far left, DeepSeek V4.1 Flash costs about a dime per run and still passes about one task in eight.
Pass rate against mean cost per run (US$, log scale). Costs are estimates; Gemini 4 Carbon is priced at Gemini 4 Argon's rates.
The leader depends on your budget
In the paper’s cost analysis, capping spending per run changes the ranking. A run still going when the budget runs out counts as having no final submission. At the smallest budgets, DeepSeek V4.1 Flash leads (with the caveat that its costs are lower bounds and depend on token pricing); at the largest, Claude Opus 5.5 does.
What the agents actually invented
Pass rates tell you how often. Reading the patches tells you what. Three runs stood out, each with its own deep-dive post.
Two checksums shrink private lookups by 27%. In QuarterPIR, a private information retrieval scheme, the reference server returns a parity value for every database group, though the client needs only one. Muse Wonder 1.0 replaced them with two checksums, the same construction RAID-6 uses to rebuild two failed disks. Because the client already knows the only two groups where its values can differ, two checksums suffice. Bytes per lookup fell from 1,760 to 1,280, with privacy unchanged. Read the deep dive →
QuarterPIR: bytes per lookup at 67 million entries. Hollow points fail the task.
Two faster clocks for a hardware priority queue. BBQ is an FPGA priority queue for packet scheduling. Gemini 4 Argon kept the memory layout but resolved the read-after-write check while the read was still in flight. Claude Opus 5.5 moved every counter into registers and updated a whole tree level per cycle—up to 1.84× the reference’s operations per second, versus 1.56× for Argon at the same memory. The catch: Opus’s circuit is among the largest, and the final score doesn’t charge for size. Read the deep dive →
BBQ: operations per second as a multiple of the human reference, by tree size. Green: Gemini 4 Argon. Orange: Claude Opus 5.5.
The baseline no model could beat. On SVG-EAR, nobody passed. GPT-6 Astra came closest by measuring attention error rather than predicting it, picking the smallest per-head budget under an error bound, and fixing a centroid-estimate bias the paper leaves in. It was faster on every clip and closer to full attention on average—and still failed image quality on two clips, clearing 43 of 48 checks. Speed was never the bottleneck on this task; quality bands were. Read the deep dive →
SVG-EAR: mean PSNR against mean time per clip on the twelve hidden clips. No run passes.
GPT-6 Astra's 48 checks on SVG-EAR: 43 passed, with misses on two Wan 2.1 clips.
What our metrics still miss
The case studies are also a confession. The pass/fail bit can’t tell a 27% byte reduction from a marginal one; on QuarterPIR, GPT-6.1 Sol actually scores slightly higher than Muse Wonder with a much smaller saving. The final score on BBQ rewards speed and ignores circuit area. On SVG-EAR, a run that is better on average fails on two clips. We think benchmarks of this kind need to report side costs like these next to the pass, and that FCI with honest intervals is a better summary than any single averaged number.
Run it, submit to it, help us extend it
Run it yourself. All 48 tasks, evaluators and the judge are public at github.com/FrontierCS/FrontierCS-2. It installs into your own AWS account; GPU tasks also use Modal, and any OpenAI-compatible model endpoint works.
Know the cost. A full 48-task evaluation of Claude Opus 5.5 runs about $1,000 in API fees, $300 in GPU time and $100 in CPU.
Get on the leaderboard. Email per-task scores to both qmang@berkeley.edu and wenhao.chai@princeton.edu.
Inspect every run. Full trajectories are on Hugging Face and the Kaggle benchmark page.
A private set is coming. Beyond the public 48, we hold more than 100 private tasks, to be announced later, so the benchmark stays ahead of contamination.
Acknowledgments
Special thanks to Modal, our lead sponsor, for the compute behind FrontierCS 2, and to Kaggle, the Laude Institute’s Slingshot program, Scale AI, Handshake and Snorkel AI for their support. Thanks to Epoch AI for the ECI and its released code, and to the authors of all 48 source papers whose open code made these tasks possible.
Citation
@misc{mang2026frontiercs2benchmarkcomputer,
title={FrontierCS 2: A Benchmark for Computer Science R\&D},
author={Qiuyang Mang and Wenhao Chai and Runyuan He and Dongruixuan Li and Zihan Zheng and Yujun He and Xuanyi Zhou and Hao Wang and Siddhant Ray and Bo Peng and Ruyi Ji and Shuo Yang and Haocheng Xi and Boru Chen and Xinyang David Han and Melissa Pan and Mayank Mishra and Boxi Yu and Sijia Liu and Kerem Akillioglu and Yi Pan and Zirui Wang and Mert Cemri and Diogo Antunes and Yichuan Wang and Aiwei Ivy Zhang and Zhenyang Chen and Qizheng Zhang and Kaiyuan Liu and Wenyuan Huang and Sherry Ruan and Shu Liu and Dacheng Li and Zerui Cheng and Zeyu Shen and Shang Zhou and Hanfei Chen and Yuzhong Zhang and Bohan Lyu and Qu Ao and Han Zheng and Chonghe Jiang and Jingzhuo Hu and Xiaokun Chen and Kunjun Li and Zhiqing Zhong and Haoye Tian and Tong Zhao and Yunzhong He and Hanchen Li and Ofir Press and Jiantao Jiao and Kunle Olukotun and Karthik R. Narasimhan and Jingbo Shang and Koushik Sen and Matei Zaharia and Alex Dimakis and Ion Stoica and Joseph E. Gonzalez and Alvin Cheung},
year={2026},
eprint={2610.29932},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2610.29932},
}