HyperInfraRSI:用智能体自动优化分布式训练,MFU 从 6.41% 提到 36.44%
HyperInfraRSI: Evidence-Guided Optimization of Distributed Model Training
arXiv 上这篇论文展示了智能体自己改训练代码和配置,把 Qwen3.5-9B 的 MFU 从 6.41% 拉到 36.44%,还修好了多模态训练的卡顿流水线。做训练优化的工程师可以看看它的验证机制怎么设计。
HyperInfraRSI 是一个智能体驱动的分布式训练性能优化系统,规划智能体读取 HyperParallel 训练框架的 trace,提出代码或配置修改,再由试验控制器做数值校验、实现验证和无 profiler 的完整优化器更新计时。在 Qwen3.5-9B 上,对 gated delta-rule 内核、activation checkpointing 和归一化的连续修改,把固定工作量下的 MFU 从 6.41% 提升到 36.44%,八颗 die 上获得 5.69 倍吞吐。
一个存档的 256-die 训练任务中,763B 的 DeepSeek V4.1 Flash 起始 MFU 仅 3.50%;每序列采样 1,024 个锚点后,首个筛选测得 11.11% MFU;在匹配窗口内,独立开发的配置把 MFU 从 22.62% 提到 26.36%,跨过 25% 目标线,单 die 有监督吞吐高 16.55%。Qwen2.5-VL-3B 上则通过主机计时发现输入流水线卡死,修复预取路径后吞吐提升 8.04%。
系统的递归自改进(RSI)会不断修订指导后续试验的流程和可执行检查项:跨任务对比两个仓库版本时,固定的 8 项模型 bring-up 检查从 2 项正确提升到 8 项全对。对训练基础设施工程师来说,这类证据驱动的自动调优可能改变手工性能调优的工作方式。
HyperInfraRSI: Evidence-Guided Optimization of Distributed Model Training
HyperInfraRSI is an agent-driven performance optimization system for distributed model training. A planning agent uses traces from the HyperParallel training framework to propose changes to code or configuration. A trial controller checks numerical behavior, verifies which implementation ran and times complete optimizer updates without profiling. At fixed work, each confirmed gain establishes the reference for the next trial. Across workloads, recursive self-improvement (RSI) revises the procedures and executable checks that guide subsequent trials. On Qwen3.5-9B, successive changes to gated delta-rule kernels, activation checkpointing and normalization raised model FLOPs utilization (MFU) from 6.41% to 36.44% at fixed work on eight dies, a 5.69-fold throughput gain. In an archived 256-die campaign, the full 763B DeepSeek V4.1 Flash model started at 3.50% MFU with all auxiliary prediction anchors. Sampling 1,024 anchors per sequence established a new workload. Its first screen measured 11.11% MFU (updates 4-8). On matched windows (updates 9-30), an independently developed configuration raised MFU from 22.62% to 26.36%, crossing the campaign's 25% target with 16.55% higher supervised throughput per die. On Qwen2.5-VL-3B, host timing exposed a stalled input pipeline, and repairing its prefetch path increased supervised throughput by 8.04% at fixed work. Comparing two repository versions also showed what transferred across tasks. A fixed suite of model bring-up checks went from 2 of 8 to 8 of 8 correct verdicts.
This report is categorized under AITOP's "Papers" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include HyperInfraRSI, Qwen3.5, DeepSeek, distributed training.
Primary source verification: published directly by arXiv: DeepSeek with first-party authority.