| Bench | 本质 | 任务数 | 单任务时长 | 关键评估 | 与 OPHIS 契合点 (OPHIS 解读) |
|---|---|---|---|---|---|
| MLS-Bench | 发明可泛化可扩展的 ML 方法(非调参) | 140(12 领域) Lite 30 |
~1 天 (H100) | 归一化分数 vs 人类 SOTA | 每任务 = 可控组件改进实验 |
| EdgeBench | 真实环境长期学习(12h+ 连续交互) | 134(6 大类) 开源 51 |
12–72 小时 | 学习曲线 log-sigmoid 拟合 | LIGO 引力波任务(完整集);51 开源任务;多级反馈 |
| ARC-AGI-3 | 交互式推理:隐藏环境探索、目标推断、规划 | 135 游戏(多关卡) | 短交互 turn-based | 效率加权分数(人类 100%,SOTA AI <6%) | 每步 frame+元数据 = observable 流 |
| nanoGPT | 经典 LLM 训练(语言建模) | 1(可细分干预维度) | 数小时–数天 | val loss / gap | 已有 gap 研究基础,最可控 example |
140 个任务,12 个领域:
Language Models · 18 Robotics · 12 Vision & Generation · 11 Reinforcement Learning · 13 ML Systems · 10 AI for Science · 10 Optimization & Theory · 13 Classical & Adaptive · 14 Deep Learning · 11 Time Series · 10 Structured & Causal · 10 Trustworthy · 8
| 要素 | 说明 |
|---|---|
| (i) 研究问题 | 描述研究问题、背景和目标(可执行形式) |
| (ii) 代码库 + 可编辑范围 | 限制 agent 能改哪些区域,防止改评估器/训练协议/加容量作弊 |
| (iii) ≥3 个强人类基线 | 含社区认可的 SOTA 方法(可复现) |
| (iv) ≥3 个评估 setting | 跨 benchmark、环境或 base-model 规模验证泛化 |
| (v) 种子策略 | 多 seed 运行,保证非偶然 |
| 任务 | 目标 | 评估 | 为何适合 OPHIS |
|---|---|---|---|
| LLM 量化感知训练 llm-qat-algorithm |
改进量化感知训练算法,量化 LLM 保持精度、降开销 | 跨模型规模 + 数据集,量化后 loss/perplexity 是否接近全精度 | 丰富的 observable(量化误差、梯度噪声、激活分布、loss 曲线)→ 诊断量化引入的 loss 来源再干预 |
| 注意力缓存结构压缩 llm-kv-structural-reduction |
发明 KV cache 的结构性压缩方法 | 长上下文:压缩率 vs 质量保持 | 需观察 cache 中 token 信息冗余(attention 分布、head 贡献)再设计干预 |
| 3D 场景致密化策略 cv-3dgs-densification |
改进 3D Gaussian Splatting 的 densification 策略 | 重建质量 (PSNR) vs 渲染效率,跨场景 | 重建误差的空间分布 = 可观察信号 |
| 扩散先验逆问题求解器 ai4sci-inverse-diffusion-algo |
用扩散模型作先验求解逆问题(超分辨、去模糊) | 重建质量,跨多个逆问题类型 | 与 LIGO 引力波重建同族(逆问题) |
| 同质-异质图滤波器 graph-signal-propagation |
发明在同质/异质图上都工作的图滤波器 | 跨多个图数据集 + 同质度 | 信号传播路径 = 可观察的中间状态 |
| 梯度压缩 optimization-gradient-compression |
改进分布式训练的梯度压缩 | 通信开销 vs 收敛质量 | 梯度统计 = 直接 observable |
以下内容直接取自 mls-bench.com 任务页,展示 agent 实际面对的可编辑接口 —— 这是理解"observable 从哪来"的关键。
custom_qat.py研究问题:设计一个 QAT 算法,最小化全精度 Pythia-1.4B 与 INT4/INT3/INT2 量化后模型的 perplexity gap。必须是训练侧贡献(fake-quant forward、梯度流、可学习参数、优化器调度),且需在 4/3/2-bit 统一有效。
可编辑范围:只能编辑 # EDITABLE REGION START / END 块内的:
CONFIG_OVERRIDES dict:learning_rate / num_steps / batch_size / gradient_accumulation_steps / max_grad_norm / warmup_steps / weight_decayfake_quantize_weight(weight, num_bits, group_size):可微 fake-quant,梯度须回流到原 weightfake_quantize_activation(x, num_bits):可选(默认 identity,weight-only)quantize_dequantize_weight(weight, num_bits, group_size):no-grad 真实 QDQ,训练后物化整数模型用于评估class QATWrapper(nn.Module):包装 nn.Linear,forward 里做 fake quant;可持额外可学习参数(LSQ per-group scales、StableQAT EMA buffers);可暴露 aux_loss(step, total_steps)prepare_qat_model(model, num_bits, group_size):把每个 nn.Linear(及 HF GPT-2 Conv1D)替换为 QATWrapper;必须把 LM head 恢复为 plain Linear(全精度)固定(不可编辑)部分:模型加载(Pythia-1.4B FP32 + 梯度检查点)、WikiText-2 数据采样(block-1024 随机裁剪)、QAT 训练循环(AdamW、cosine LR + warmup、grad-accum、grad-norm clip)、训练后 real-quantization roundtrip、WikiText-2 test perplexity 评估。
评估:三个 bit-width —— qat-1b-int4(易)/ qat-1b-int3(中,8 级)/ qat-1b-int2(极难,4 级)。主指标 wikitext2_ppl(越低越好),次指标 degradation = ppl - fp16_ppl。
关键对照基线:finetune_then_ptq(先全精度 finetune 再 RTN 量化)—— 隔离 finetune 信号与 QAT 信号。一个有效的 QAT 方法必须击败它,否则其收益只是 in-domain finetune 的功劳。
algo/custom.py研究问题:用预训练扩散先验 p(x) 解逆问题。给定前向算子 A 和观测 y = A(x) + noise,从后验 p(x|y) ∝ p(y|x)p(x) 采样重建 x。
可编辑范围:整个 algo/custom.py,需实现 Custom 类:
__init__:scheduler、optimizer、超参inference(observation, num_samples):给定观测 y,返回重建 x可用组件(固定):
self.net(x, sigma) → denoised estimate(Tweedie's formula: E[x₀|x_t])self.forward_op.forward(x) → A(x)self.forward_op.gradient(x, y, return_loss=True) → (∇ₓ‖A(x)−y‖², loss)self.forward_op.loss(x, y) → ‖A(x)−y‖²Scheduler(num_steps, schedule, timestep, scaling) → 扩散噪声调度DiffusionSampler(scheduler).sample(model, x_start) → 无条件采样评估:三个科学逆问题 —— Inverse Scattering(光学断层,PSNR/SSIM)、Black Hole Imaging(EHT 稀疏干涉观测重建黑洞图像,PSNR/blur-PSNR/closure-phase χ²)、FFHQ256 Inpainting(box mask + σ=0.05 高斯噪声,PSNR/SSIM/LPIPS)。
官方默认预算(configs/react.yaml + 论文 4.1):
关键理解:
pip install -e ".[agent]"(Python 3.10+)configs/react.yaml:填 provider API key(openai/anthropic/deepseek/qwen/gemini/kimi/glm 均可),设 container_runtime: docker|apptainer|localmlsbench fetch --name <package> mlsbench build <package> --config configs/react.yaml
mlsbench agent <task> --model <model> --config configs/react.yaml mlsbench score task <task>
configs/react.yaml 里的 max_steps / max_tests(默认 20/3)InteractiveAgent(ReAct)、OpenEvolveAgent(population 进化搜索)、DiscoverAgent(TTT-Discover)PYTHONPATH=. harbor run -c run.yaml -a claude-code -m anthropic/claude-opus-4-7
timeout_sec=18000(5h 探索预算)+ task-specific verifier timeout--dangerously-skip-permissions 等非交互 flag,或改用自带 native agent以下来自每个任务 config.json 的 test_cmds:compute = 占几张 GPU(<1 表示 CPU/低配可跑),time = 单次 test 上限。hidden=true 表示隐藏 setting(agent 看不到,用于泛化验证)。
| 任务 | 可编辑文件 | 每 test 时长 | compute | 说明 |
|---|---|---|---|---|
| ml-clustering-algorithm | custom_clustering.py | 10–15 分钟 | 0.25 | blobs/moons/digits,纯 sklearn,最快迭代 |
| optimization-multi-objective | 自定义 ES 算法 | 60 分钟 | 0.25 | zdt1/zdt3/dtlz2,进化策略 |
| causal-discovery-discrete | custom_algorithm.py | 59 分钟 | 0.25 | Cancer/Child/Alarm,契合 OPHIS 因果主题 |
| optimization-variance-reduction | 方差缩减 | 59 分钟 | 0.33 | logistic/mlp |
| ts-exogenous-forecast | 外生变量预测 | 59 分钟 | 0.33 | ETTh1/Weather |
| ts-imputation | 插补模型 | 2 小时 | 0.33 | ETTh1/Weather/ECL |
| graph-generation | 图生成器 | 59 分钟 | 0.33 | community/ego/enzymes |
| ai4bio-mutation-effect-prediction | custom_mutation_pred.py | 59 分钟 | 0.33 | ProteinGym 突变预测 |
| 任务 | 可编辑文件 | 每 test 时长 | compute | 说明 |
|---|---|---|---|---|
| llm-ptq-algorithm | custom_ptq.py | 19 分钟 | 1.0 | 7B 模型 PTQ,无需训练,超快 |
| mlsys-sparse-attention-inference | custom_sparse_attn.py | 59 分钟 | 1.0 | 稀疏 attention,无需训练 |
| ai4sci-inverse-diffusion-algo | algo/custom.py | 59 分钟 | 1.0 | 扩散逆问题(黑洞成像!),契合 OPHIS |
| cv-3dgs-densification | custom_strategy.py | 60 分钟 | 1.0 | 3DGS 致密化,跨场景 |
| cv-pooling-aggregation | custom_pool.py | 59 分钟 | 1.0 | resnet56/vgg16bn/mobilenetv2 |
| dl-activation-function | custom_activation.py | 2 小时 | 1.0 | resnet20/vgg16bn/mobilenetv2 |
| llm-qat-algorithm | custom_qat.py | 75 分钟 | 1.0 | Pythia-1.4B QAT 训练(int4/int3/int2) |
| security-membership-inference-defense | 隐私损失 | 59 分钟 | 1.0 | resnet20/vgg16bn/mobilenetv2 |
| quant-concept-drift | 概念漂移 | 3 小时 | 1.0 | 股票预测(csi300) |
| 任务 | 每 test 时长 | compute | 说明 |
|---|---|---|---|
| llm-pretrain-optimizer | 12 小时 | 4.0 | GPT-345M 预训练 |
| llm-rl-importance-sampling | 6 小时 | 2.0 | deepmath RL |
| cv-dbm-sampler | 4 小时 | 4.0 | Diffusion Bridge 采样 |
| cv-vae-loss | 1–4 小时 | 8.0 | CIFAR-10 VAE,8 卡 |
| jepa-planning | 6 小时 | 0.33×3 | goal-conditioned planning |
| robo-diffusion-guidance | 4 小时 | 1.0×3 | D4RL MuJoCo |
| robo-diffusion-policy | 6 小时 | 1.0×3 | D4RL MuJoCo |
| rl-value-discrete | 2 小时 | 0.33×3 | cartpole/lunarlander/acrobot |
S(t) = Smax / (1 + (tmid/t)β),拟合 R² = 0.998。| 特点 | 说明 |
|---|---|
| 环境学习导向 | workspace、反馈信号、评估器贴近真实实践;分数反映「如何学习和改进」 |
| 超长时程 | 每任务 ≥12h;部分 >72h;人类专家平均 57.2h/任务,最长 320h |
| 六类能力域 | 科学问题 & ML、系统 & SE、专业知识工作、组合优化、形式化数学、交互式游戏 |
| 专家构建 | 90%+ 从零构建,非简单包装现有数据集 |
以下描述直接取自 HuggingFace 数据集(ByteDance-Seed/EdgeBench)中每个任务的 description 字段。每个任务都是 12h+ 长时程,agent 通过 sforge-submit 反复提交、收到反馈、持续改进。
| 任务 ID | 任务描述(raw) | 指标 |
|---|---|---|
bipedalwalker_locomotion_rl |
Train a CPU-only locomotion policy for BipedalWalker and its Hardcore variant. The judge evaluates only the submitted policy checkpoint, not the training process. Pre-trained policies and external RL libraries are prohibited. | score (maximize) |
borden_source_inversion |
Infer a finite-duration rectangular contaminant source from sparse, noisy monitoring-well observations in a 3D hydrogeological scene. The agent must implement its own forward model and inversion optimizer from scratch. | score (maximize) |
dabic_gravity_inversion |
Implement the D-ABIC regularization method for 3D gravity inversion within the SimPEG framework, run on both synthetic and real Vinton salt dome data under L0 and L1 sparse norms, and compare against a Hamiltonian Monte Carlo baseline. | score (maximize) |
graph_node_classification |
Implement graph neural networks from scratch using only base PyTorch for semi-supervised node classification on an unseen graph under CPU-only constraints. | score (maximize) |
| 任务 ID | 任务描述(raw) | 指标 |
|---|---|---|
exchange_core_throughput |
Maximize peak throughput of a Java financial matching engine built on the LMAX Disruptor by tuning thread topology, wait strategies, ring-buffer sizing, order-book implementation, and JVM configuration. | score (maximize) |
ffmpeg_swscale_reimplementation |
Reimplement FFmpeg's libswscale pixel-format conversion and scaling library in Rust, handling multiple pixel formats and scaling algorithms. A correctness-passing scaffold is provided; the agent must optimize for speed via SIMD. | score (maximize) |
git_rewrite_in_zig |
Reimplement git as a drop-in Zig binary producing identical CLI output, exit codes, and repository state as the C reference implementation. The C source is available for reading but cannot be compiled. | score (maximize) |
integer_compression_codec |
Improve a C++ integer compression codec for better compression ratio and decode throughput on uint32 datasets via techniques such as delta encoding, bit-packing, and SIMD vectorization. Exact round-trip correctness is mandatory. | score (maximize) |
| 任务 ID | 任务描述(raw) | 指标 |
|---|---|---|
ad_placement_optimization |
Partition a large integer grid into non-overlapping rectangles, each containing a designated anchor point, maximizing total satisfaction from how closely each rectangle's area matches its target. | score (maximize) |
smt_solver |
Build an SMT solver from scratch for four quantifier-free theories (uninterpreted functions, linear real and integer arithmetic, and their combination). External SMT solvers are forbidden; model witnesses are independently validated. | score (maximize) |
vehicle_routing_time_windows |
Implement a capacitated vehicle routing solver with time windows for Solomon-style benchmarks. Scored against best-known solutions on vehicle count and total travel distance. | score (maximize) |
| 任务 ID | 任务描述(raw) | 指标 |
|---|---|---|
anchorhead_text_adventure |
Play the Lovecraftian interactive fiction game Anchorhead via an HTTP API, sending text commands and receiving prose observations. Scored by peak in-game score, reflecting progression through the multi-day narrative and puzzle chain. | game score |
nethack_dungeon_agent |
Implement a decision policy for NetHack via the NLE harness, parsing ASCII map observations and stat vectors to navigate, fight, and survive across multiple procedurally generated runs. | score (maximize) |
dcss_dungeon_ai |
Write a Lua bot for Dungeon Crawl Stone Soup that autonomously explores, fights, and descends dungeon levels as a Minotaur Berserker under a wall-clock time budget. Scored by mean in-game score across multiple runs. | score (maximize) |
openttd_transport_ai |
Write an AI script for OpenTTD that builds road, rail, and air transport networks to connect towns and industries and grow company value across diverse procedurally generated maps. | score (maximize) |
| 任务 ID | 任务描述(raw) | 指标 |
|---|---|---|
k12_math_recommendation |
Build a knowledge-tracing and question-recommendation system from hundreds of thousands of student interaction records, evaluated on prediction accuracy, mastery calibration, learning gain, and pedagogical constraint satisfaction. | score (maximize) |
carleson_formalization |
Fill proof obligations in the Lean 4 formalization of Carleson's theorem on pointwise convergence of L^2 Fourier series. Transitive axiom checking ensures no dependence on unproved prerequisites. | pass rate |
EdgeBench 由 SForge 驱动 —— 一个双容器(two-container)长时程评估框架:
sforge-submit),收到细粒度反馈(pass rates、失败测试、分数),持续改进直到超时 —— 所有提交中的最佳结果 = 最终分数。claude --continue / codex exec resume --last),最多 100 次重试。Quick start:
pip install sforge
sforge fetch-tasks edgebench
sforge pull --task ad_placement_optimization --registry seededge
sforge serve
SFORGE_AGENT_API_KEY="sk-xxx" \
sforge run --task ad_placement_optimization --agent claude-code \
--model "claude-opus-4-8[1m]" --timeout 43200 --run-id edgebench-001
Agent 学习曲线(12h 内):左=稳定提升,中=早期快后平台,右=长期卡住后突破。好的 observables 应让曲线更快上升。
| ARC-AGI-1/2 | ARC-AGI-3 | |
|---|---|---|
| 格式 | 静态推理(输入输出 grid 对) | 交互式游戏环境 |
| 反馈 | 一次性给定输入输出 | 每步 action 返回 frame + 元数据 |
| 漏洞 | 可 test-time compute 暴力采样 | 环境只在行动后揭示规则,无法预生成 10000 候选 |
| 分数 | 单次正确率 | 效率加权(动作越少分越高) |
RESET / ACTION1-4(上下左右)/ ACTION5(交互等)/ ACTION6(带 x,y 坐标)/ ACTION7(Undo)。NOT_FINISHED / WIN / GAME_OVER(达最大动作数等)。| 模型 | Score | Actions | 发布日期 |
|---|---|---|---|
| Humans | 100% | 776 | — |
| anthropic-claude-opus-5-high | 5.36% | 594 | Jul 21, 2026 |
| openai-gpt-5-6-sol-xhigh | 3.65% | 567 | Jun 12, 2026 |
| openai-gpt-5-6-sol-max | 3.57% | 632 | Jun 13, 2026 |
| anthropic-opus-4-8-high | 2.06% | 644 | May 31, 2026 |
| openai-gpt-5-6-terra-xhigh | 1.69% | 647 | Jun 20, 2026 |
| openai-gpt-5-6-sol-high | 1.41% | 650 | Jun 12, 2026 |
| 其他模型(luna/terra/sol 低档、grok-4、gemini-3.1、opus-4.6 等) | 0% | 110 | Apr-Jun 2026 |
三条参考线:最优通关 / 最佳首跑 / 人类基线。后期关卡动作数显著上升,说明 agent 在后期关卡消耗大量探索。
OPHIS_gap/ 已建立完整 gap 研究体系:
nanoGPT 是 Karpathy 的最小可训练 GPT 实现(GitHub: karpathy/nanoGPT)。核心是 train.py 训练脚本 + model.py(GPT-2 风格 decoder-only transformer)。本项目用它作为 OPHIS 的 example,具体 task 设定:
train/val loss 曲线(按 step 记录)(K-1)/r 定律:gap 随词表/频率的标度关系)table RMS:词表表项统计与 loss 的对齐诊断注意:这里 "observable" 是本项目自己的分析框架 —— nanoGPT 本身不提供所谓 "observables",它只是一套可观测的训练日志。如何从这些原始日志中选择/组合/设计 observables,正是 OPHIS 要研究的问题。
| Bench | Observable | Diagnose | Intervene | 闭环关键 |
|---|---|---|---|---|
| MLS-Bench | 训练曲线、验证指标、组件相关诊断(量化误差、attention 分布、图信号传播) | 识别瓶颈子模块(方法问题 vs 实现/超参/种子问题) | 方法级修改(受限可编辑范围),≥3 setting + 跨规模验证 | 多 setting + 多 seed 防自欺,单点改进不算数 |
| EdgeBench (LIGO) | 多级反馈(分数、错误信息、提示)+ 波形残差可视化 | 把任务可度量 → 分解失败 → 定位瓶颈(residual/phase/narrow-band) | 针对瓶颈定向修正 | 12h 学习曲线 = 闭环轨迹;好 observable 让曲线更快上升 |
| ARC-AGI-3 | 每步 frame(grid 状态)+ 元数据(可用动作) | 从视觉状态推断世界规则(目标?可交互对象?动作效果?) | 选择下一个动作(行动即干预) | 效率加权评分 = 衡量「理解速度」;好 observable 减少达到理解所需动作 |
| nanoGPT | loss、gap、table RMS、token 频率、梯度统计 | 用已有理论((K-1)/r 定律、gap ~ U(r) log(r/αK))定位根源 | 修改训练/数据/架构组件 | 快速迭代,验证诊断→干预因果链 |
闭环里最脆弱的一环是「诊断出的原因」是否真是「干预成功的因果机制」。
llm-qat-algorithm 或 ai4sci-inverse-diffusion-algo(AI for Science + 训练闭环)| Bench | 链接 |
|---|---|
| MLS-Bench | 官网 · arXiv 2605.08678 · GitHub · HF 数据集 |
| EdgeBench | 官网 · Blog · arXiv 2607.05155 · GitHub · HF 数据集 |
| ARC-AGI-3 | 官网 · 技术报告 · Docs · ls20 任务 · GitHub Agents · Kaggle · arXiv 2603.24621 |
| nanoGPT | GitHub (Karpathy) |
以下子报告记录 OPHIS-baiyu 在 MLS-Bench 上的实际 autoresearch 实验:三套系统(官方 InteractiveAgent / 本地 Codex / dsh 极简 harness + deepseek)在多台 GPU 集群上的完整结果、优化曲线与原始 trajectory。