← 开源

An autonomous agent that profiles, optimizes, and validates AI training code.

Python
增长势头
+424 小时新增 Star+0.7%
619
Star
36
Fork
20
贡献者
创建于 2026-10-18 · 更新于 2026-12-06 · 今日第 2726 名
主要开发者
henry-yEnderfgaGONGSHUKAI
README

The open-source agent that makes AI training code faster,
and keeps only the speedups a frozen judge verifies

English · 简体中文


Same GPUs, same training semantics: how much faster can the research loop run? ResearchBoost-Agent turns AI capabilities into faster AI experimentation, starting with the training code researchers run every day. It autonomously profiles bottlenecks, implements optimizations, and validates speedups against a frozen evaluation protocol, turning the same compute budget into more room to explore. Have a project you want accelerated? Submit it to the Wishlist.

News

  • 2026-11-30 · RBA on Ascend 910C brings agent-driven optimization to NPUs. On eight 910C NPUs, GLM-5.4 sped up LLaVA-1.5-7B fine-tuning by 6.84× in a 10-hour run. The blog post compares 910C and H200 results.
  • 2026-11-17 · RSI-Infra Bench preview: eight real training workloads, ten hours each, scored by RBA's frozen judge. See the leaderboard of eight models and the blog post on what separates them.
Earlier
  • 2026-11-29 · Faster-MetaQuery by @RuiyangSi: 2.62× on MetaQuery-B text-to-image pretraining (LLaVA-OneVision-0.5B + Sana-1.6B) on 2 × NVIDIA B300, statistical judge PASS (tier N1).
  • 2026-11-25 · Faster-State by @YHDGD5: 1.68× on State (Arc Institute) training on Tahoe-100M, one A800.
  • 2026-11-25 · Faster-VGGT by @SuperFCR: 2.19× (Tier N2, −31.7% peak VRAM) and 1.86× (pure lossless Tier N1) on VGGT-1B fine-tuning on one A100.
  • 2026-11-25 · Faster-SuperMimic by @hwbhwbhwb: 1.38× on SuperMimic world-model + BPTT training over 40 LAFAN1 clips, statistical judge PASS; a 20k-iteration training run matches the original (benchmark return 0.862 vs 0.860).
  • 2026-11-25 · G-STAR, an autoregressive text-to-image model that represents images as grouped discrete tokens at 32× / 64× compression, merged RBA's inference speedups upstream (G-STAR#2): 6.18× per image for G-STAR-Pro-8B with its one-step refiner, 2.73× with the 52-step refiner and 2.72× for G-STAR-Flash-1.7B on one H200, with bit-identical image codes.
  • 2026-11-24 · Faster-Wan22-VSA-MUSA and Faster-SANA-WM-MUSA by @JoeyXuquant11: 5.28× on Wan2.2-TI2V-5B + VSA fine-tuning and 4.85× on SANA-WM Stage-1 training, on Moore Threads MTT S5000, our first cases beyond NVIDIA GPUs. Thanks @JoeyXuquant11!
  • 2026-11-22 · Gemini 4 Neon, Carbon and Hydrogen join the RSI-Infra Bench leaderboard, now 13 models: Gemini 4 Neon ranks first with 43.19, ahead of Claude Opus 5.5 (40.00); Hydrogen and Carbon rank fourth and fifth. Traces of all 24 runs are on the leaderboard site.
  • 2026-11-09 · LLaVA-OneVision-2 merged RBA's training speedups into main (LLaVA-OneVision-2#205, by @GONGSHUKAI): 4B SFT runs 3.0× faster on Blackwell and 2.2× on Hopper, with MFU up from 11.6% to 32.5% and from 22.1% to 45.5%.
  • 2026-11-07 · With the NextTransformer team, RBA's training speedups are now upstream in NextTransformer (NextTransformer#26): 1.38× per update in the team's 8-GPU re-test, bitwise identical to the default path. Thanks to the NextTransformer team!
  • 2026-11-07 · Original 3DGS and PIDG by @HaoqinHong: 1.13× across three complete 3DGS pipelines and 4.17× for the PIDG optical-flow module group on one A800.
  • 2026-11-07 · Faster-Protenix by @micky-li-hd: 1.55× on Protenix 2.0.0 training over a fixed 128-update workload, validated by manual review.
  • 2026-11-06 · Faster-FermiNet by @sen-ye: 1.25× on FermiNet all-electron training for Fe, Kr, Cd and Xe.
  • 2026-11-05 · Lite check: the statistical gate now runs on one seed within 3σ, and the agent's check times the candidate once against the frozen baseline, leaving baseline → candidate → baseline timing to the final check. Each check takes less time, so more of a run goes to optimizing (check modes).
  • 2026-11-05 · OpenWAM merged RBA's training speedups upstream (OpenWAM#58, by @GONGSHUKAI): 2.54–2.77× on OpenWAM-α fine-tuning across seven SFT benchmarks.
  • 2026-11-01 · New skill card kernel-utilization-analysis: SM coverage, launch-bound kernels and bandwidth against peak become a standard profiling step (#8).
  • 2026-11-01 · Faster-ProteinMPNN by @micky-li-hd: 2.25× on ProteinMPNN training, our first AI for Science case.
  • 2026-10-30 · Faster-MiniMax-H3 by @2018cx: 1.86× on MiniMax-H3 LoRA fine-tuning.
  • 2026-10-30 · Large-model support: the numerics recorder frees each step's tensors, the sandbox binds shared paths read-only, and runs can be detached (#6).
  • 2026-10-29 · Faster-NanoChat and Faster-LLM2Vec by @Bool1020. Case submissions are open to everyone: see Contribute a case.
  • 2026-10-28 · The quick start hands the whole job to a coding agent: paste one prompt, nothing to fill in (#4).
  • 2026-10-19 · ResearchBoost-Agent is open source.

Highlights

Results

Open a domain for the workloads, or the reports for experiment settings and validation results.

LLM · 3 projects — NanoChat, YOCO, LLM2Vec
Project Workload Speedup
Faster-NanoChat by @Bool1020 D24 (~1.384B) · Tensorwise FP8 training 1.20×
Faster-YOCO YOCO-3B pretraining · BF16, no FP8 2.12×
Faster-LLM2Vec by @Bool1020 Mistral-7B · BF16 LoRA; MNTP / SimCSE (independent stages) 1.2900× / 1.6009×

Measurement setup & validation →

MLLM · 5 projects — LLaVA, BAGEL, R3, LLaVA-OneVision-2, MetaQuery
Project Workload Speedup
Faster-LLaVA LLaVA-1.5-7B stage-2 fine-tuning 2.39×
Faster-BAGEL 7B-MoT SFT · BF16 compute, no FP8 1.82×
Faster-R3 BAGEL 7B-MoT Tree-RL 2.08×
LLaVA-OneVision-2 by @GONGSHUKAI 4B SFT · one epoch · merged upstream 2.2–3.0×
Faster-MetaQuery by @RuiyangSi MetaQuery-B text-to-image pretraining · LLaVA-OV-0.5B + Sana-1.6B 2.62×

Measurement setup & validation →

Image Generation · 4 projects — G-STAR, RAE, DMD2, JiT
Project Workload Speedup
G-STAR (merged upstream) Text-to-image inference · Pro-8B with one-step / 52-step refiner, Flash-1.7B 2.72–6.18×
Faster-RAE Stage-1 decoder + GAN training 5.32×
Faster-DMD DMD2 one-step SD1.5 distillation + GAN 1.72×
Faster-JiT JiT-B/16 · ImageNet 256 training 1.56×

Measurement setup & validation →

Video Generation · 4 projects — Wan2.2-VSA, SANA-WM, Self-Forcing, MiniMax-H3
Project Workload Speedup
Faster-Wan22-VSA-MUSA by @JoeyXuquant11 Wan2.2-TI2V-5B + VSA full fine-tuning · 8× MTT S5000 5.28×
Faster-SANA-WM-MUSA by @JoeyXuquant11 SANA-WM Stage-1 bidirectional 720p FSDP2 · 4× MTT S5000 4.85×
Faster-SelfForcing Self-Forcing video DMD training 2.08×
Faster-MiniMax-H3 by @2018cx MiniMax-H3 FL2VA · BF16 LoRA / ZeRO-3 1.8570×

Measurement setup & validation →

Embodied AI · 5 projects — RoboTwin, Motus, FastWAM, OpenWAM, SuperMimic
Project Workload Speedup
Faster-RoboTwin π0.5 policy evaluation · RoboTwin 2.0 4.38× (est.)
Faster-Motus RoboTwin 2.0 fine-tuning · 27,244 episodes 9.59×
Faster-FastWAM FastWAM-LIBERO training recipe 3.46×
OpenWAM by @GONGSHUKAI OpenWAM-α fine-tuning · seven SFT benchmarks · merged upstream 2.54–2.77×
Faster-SuperMimic by @hwbhwbhwb SuperMimic world-model + BPTT training · 40 LAFAN1 clips 1.38×

Measurement setup & validation →

AI for Science · 4 projects — ProteinMPNN, Protenix, FermiNet, State
Project Workload Speedup
Faster-ProteinMPNN by @micky-li-hd ProteinMPNN v_48_020 training · full public dataset 2.25×
Faster-Protenix by @micky-li-hd Protenix 2.0.0 training · 128 updates · crop 384 1.55×
Faster-FermiNet by @sen-ye Fe / Kr / Cd / Xe all-electron training · KFAC, 1024 walkers per GPU 1.25×
Faster-State by @YHDGD5 State transition model · one Tahoe-100M training step 1.68×

Measurement setup & validation →

3D Reconstruction · 3 projects — Original 3DGS, PIDG, VGGT
Project Workload Speedup
Original 3DGS by @HaoqinHong Mip-NeRF360 · bonsai / bicycle / garden · complete 30,000-step pipelines 1.13× total; 1.07–1.29× per scene
PIDG by @HaoqinHong dry_ice · optical-flow module group 4.17×
Faster-VGGT by @SuperFCR VGGT-1B fine-tuning · Virtual KITTI 2.0.3 2.19× (N2) / 1.86× (N1)

Measurement setup, image quality & validation →

Computer Vision · 3 projects — RF-DETR-Seg, CoTracker3, nnU-Net
Project Workload Speedup
Faster-RF-DETR-Seg by @moonight3547 RFDETRSegLarge box and instance-mask training on COCO 2017 3.16×
Faster-CoTracker3 by @moonight3547 CoTracker3 Offline point-tracking training on Kubric 3.07×
Faster-nnUNet by @cai114514 nnU-Net v2 3d_fullres medical image segmentation training on MSD Spleen 1.42×

Measurement scope and validation →

Full results index → · Interactive results ↗ · Add your case →

RSI-Infra Bench

RBA's frozen judge, turned into a benchmark for the agents themselves. RSI-Infra Bench gives a coding agent a real training workload, 1–4 Hopper GPUs and ten hours; the judge accepts only the same training, faster. The preview has eight tasks and 18 models and runs on Harbor.

Quick start

Open Codex or Claude Code on a Linux GPU host, in your training repository or in an empty folder, and paste:

Use ResearchBoost-Agent (https://github.com/DAGroup-PKU/ResearchBoost-Agent) to speed up my training.
Clone it outside my repository and follow goal/templates/FORMULATOR_BRIEF.md from section 0.5.

There is nothing to fill in. The agent looks around first (the repository you opened it in, the GPUs, the free disk), then asks with its question tool, each question offering what it found: which code and training command, which GPUs, where to work; then, once it has read the code, the workload, precision and target speedup, which are your decisions. Everything else it does itself: it installs and starts claw-orchestrator, reuses the model access the host already has (its Codex or Claude Code login, or OPENAI_API_KEY / ANTHROPIC_API_KEY), builds and verifies the frozen judge, launches the optimizer on the same engine, supervises it, and reports the verified speedup. bubblewrap isolates the optimizer when the host has it; without it the run still works, guarded by the judge's hashes.

Codex shows its question form when started as codex --enable default_mode_request_user_input; without it the agent asks the same questions in one message.

Reproduce one of the tasks in this repository
Use ResearchBoost-Agent (https://github.com/DAGroup-PKU/ResearchBoost-Agent) to reproduce its task tasks/dmd2.
Clone it and follow docs/run-a-task.md; ask me which GPUs and work directory to use, offering what you find.

How it works

A run

  1. Frame and freeze. The owner fixes what may not change: the upstream workload and per-GPU load, the baseline precision, the training semantics. A formulating agent builds the judge for this task (bench/ plus a frozen copy of numerics/), records the baseline twice and confirms the records are bitwise identical, freezes its seed-to-seed σ, proves with known-bad candidates that every gate fires, hashes the judge and writes GOAL.md. The formulation material stays out of the optimizing agent's sight; the judge itself is read-only to it.
  2. Goal mode. One Codex, Claude Code or Antigravity /goal session gets the workspace, the assigned GPUs and the skill cards inside a bubblewrap sandbox, with the judge read-only. Every round it profiles the current best version, changes one hotspot behind a switch, measures with bench.py time, runs bench.py check once timing reaches the target, and logs the round in WORK_LOG.md, failed rounds included. claw-orchestrator runs the session: it keeps the thread across restarts and usage limits, and when the agent stops it runs the final check itself. A supervisor watches from outside and intervenes only on rules and facts, never on optimization direction. See docs/goal-mode.md.
  3. Accept. The final check is the only verdict: bench.py check --final must PASS, the speedup must reach the target in GOAL.md, and every judge file, and every script that runs the final check, must be byte for byte as it was at launch. A failed final check goes back to the same thread once. A PASS is then confirmed with a real end-to-end training or evaluation run.

The judge

A candidate counts only if the task's frozen judge accepts it. The judge runs these gates in order and stops at the first one that fails:

  1. Structure: the training entry points the judge drives are unchanged (AST compare), data loading is bitwise identical, and exact items match: phase, call counts, RNG fingerprints, learning rate, cross-rank sync.
  2. Benefit: the agent's own check times the candidate once against the baseline timing frozen at formulation; the harness's final check times baseline → candidate → baseline in independent processes. A speedup that does not exceed max(1.02, 1 + 2 × baseline spread) is rejected as no benefit; precision is not evaluated.
  3. Bitwise: every tensor recorded in short deterministic cases matches the baseline bit for bit → accept.
  4. Statistical: otherwise, one paired training trajectory on the first frozen seed; every endpoint's bias must stay within 3σ, σ the baseline's own seed-to-seed standard deviation, frozen before any candidate is seen.

The judge is frozen and hashed before optimization starts and is never relaxed to let a candidate through. Details: docs/judge.md.

Contribute a case

Got a result with ResearchBoost-Agent? Add it to Results.

  1. Run the Quick start on your own training code.
  2. If you get a solid speedup or a non-trivial optimization trajectory, open a case submission.
  3. We review it. Once it is accepted, open a pull request that adds your result to Results, linking to your repository.
  4. When the pull request is merged, you appear among this repository's contributors.

Review criteria and the pull request format: CONTRIBUTING.md. To have us accelerate a project instead, use the Wishlist.

Starting a new task

The quick start does this for you. By hand: read AGENTS.md and docs/methodology.md, lay out the workspace with goal/init_task.sh, give the formulating agent goal/templates/FORMULATOR_BRIEF.md, and use tasks/dmd2 as the template: GOAL.md, a bench/ with check / time / profile, a task adapter for numerics/, and the prep scripts that rebuild the environment and freeze the baseline.

Repository layout

Path Contents
docs/results/ Results from 31 projects, grouped by domain, with measurement scope and validation records
docs/ Methodology, the judge, goal mode, running a task, lessons from four tasks
goal/ Running one Codex, Claude Code or Antigravity /goal session on claw-orchestrator: the task scaffold, the sandbox, model access for each engine, run / status / steer / resume scripts and the final check, the watchdog, the brief for the formulating and supervising agent
numerics/ The equivalence component every task judge copies and freezes: recording, bitwise and tiered comparison, paired-seed trajectories, the task adapter base class, a self-test
skills/ Nine skill cards read before choosing what to try: train-opt-* (profiling, measurement, action ladder, numerics validation, fusion patterns, FSDP multi-forward), kernel-utilization-analysis (SM coverage, launch-bound kernels, bandwidth against peak, repeated kernel chains, with a trace-analysis script) and sglang-diffusion-* (diffusion benchmarking and performance)
tasks/ Per task: the GOAL.md the agent saw, the frozen judge code, archived judge records, supervision notes and the prep scripts

Community


WeChat group · the QR code is refreshed weekly
Questions, ideas, or a run that went sideways? Join us on Discord or scan the QR code to join the WeChat group.

Bug reports, fixes and new cases are welcome as issues or pull requests: see CONTRIBUTING.md.

Acknowledgements

We thank the SGLang project. Part of the kernel-optimization skills in this repository are ported from SGLang: skills/sglang-diffusion-benchmark-profile and skills/sglang-diffusion-performance are adapted from the skills in python/sglang/multimodal_gen/.agents/skills, released under the Apache-2.0 license.

We also thank Enderfga for claw-orchestrator, which powers our goal-mode session orchestration.

We thank NextTransformer as well, whose README inspired the layout and style of our README.

Citation

If you use ResearchBoost-Agent in your research or project, please cite:

@misc{researchboost2026infra,
  author = {{ResearchBoost Team}},
  title = {{ResearchBoost}: {RSI} starts with Infra},
  year = {2026},
  url = {https://ydove0324.github.io/hx_resume/blog/researchboost/}
}

If you use RSI-Infra Bench, please cite:

@misc{researchBoost_Agent_Team_RSI_Infra_Bench_2026,
  author = {{researchBoost-Agent Team}},
  title = {{RSI-Infra Bench Preview}},
  url = {https://ai4ai-for-anything.github.io/blog/rsi-infra-bench/},
  year = {2026}
}

🌟 Star History

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载