InfraRSI: Harnessing Recursive Self-Improvement for Training Infrastructure(InfraRSI:利用递归自我提升优化训练基础设施)于 2026-11-08 提交到 arXiv,作者 InfraRSI Team, Yuchuan Tian, Haocheng Mei, Ye Yuan, Chao Xu, Boxun Li 等。去 arXiv 读原文,或下载 PDF。
主要发现
- InfraRSI 在四种密集型和混合专家 (MoE) LLM 训练工作负载(包括 8 张 H100 上的 Qwen3.5-9B 和 8 张 H200 上的 Gemma-4-26B-A4B MoE)中实现了最高 2.75 倍的加速。
- 该系统在相关评估工作负载中将平均模型 FLOPs 利用率 (MFU) 从 17.4% 提升至 30.0%。
- 在 Qwen3.5-9B (8 张 H100) 任务中,跨 SKU 的经验迁移将最终加速比从冷启动时的 1.62 倍提升至 1.84 倍。
- 线下验证器审计拒绝了 1,212 次存储执行中的 400 次,其中包含 39 次通过了非数值检查但未通过数值损失和梯度验证层的执行。
最重要的一点。 InfraRSI 表明,通过严格的任务合同和基于历史的搜索来防止奖励欺诈和测量噪声,可以有效提升训练基础设施的效率。
摘要
While Recursive Self-Improvement (RSI) accelerates isolated algorithm and kernel synthesis, distributed LLM training depends on tightly coupled launch settings, operator kernels, and communication schedules, where single edits often hit out-of-memory (OOM) boundaries, compiler conflicts, measurement jitter, or silent numerical drift. We present InfraRSI, the agentic harness that turns open-ended human commands into verified training optimizations via a five-stage workflow: init locks editable scope and a fixed task contract over workload, loss, and timing invariants to prevent reward hacking, doctor profiles baseline phases and calibrates cluster noise, run co-optimizes launch knobs and code patches before re-verifying top candidates against the baseline and logging findings to a cross-hardware experience bank, and report and apply audit source paths, track failed-trial costs, and commit promoted changes. Rather than stepping greedily from a single incumbent, InfraRSI initializes from diverse experience-seeded configurations and fits global execution-time and censored peak-memory models across all trials, including OOMs. Using these models, it prices per-setting memory costs, revises miscalibrated LLM priors from live runs, and pairs memory-hungry optimizations with memory savers and verified code patches. Across four single- and multi-node dense and Mixture-of-Experts (MoE) LLM workloads, InfraRSI achieves a speedup of up to $2.75\times$ and lifts mean Model FLOPs Utilization (MFU) from $17.4%$ to $30.0%$, outperforming existing tuners and coding agents while transferring experience across GPUs. As it improves training infrastructure efficiency, InfraRSI forms a two-level Recursive Self-Improvement loop—revising priors online within runs and distilling experience across clusters—to push foundation model scaling.
译文:尽管递归自我提升 (RSI) 已加速了算法和内核的合成,但分布式 LLM 训练的吞吐量依赖于耦合度极高的启动设置、算子内核和通信调度。单一的修改往往导致内存溢出 (OOM)、编译器冲突或测量抖动。我们提出了 InfraRSI,这是一种代理框架,它通过五个阶段的工作流将人类指令转化为经过验证的训练系统优化:初始化锁定可编辑范围和任务合同以防止奖励欺诈,医生阶段对基准进行分析,运行阶段协同优化启动配置和代码补丁,报告和应用阶段审核路径并提交更改。InfraRSI 不仅仅从单一配置出发,而是从多种经验驱动的配置初始化,并跨所有试验拟合全局执行时间和内存模型。在四种密集型和混合专家 (MoE) LLM 训练工作负载中,InfraRSI 实现了最高 2.75 倍的加速,并将平均模型 FLOPs 利用率 (MFU) 从 17.4% 提升至 30.0%。
关键术语
- 递归自我提升 (RSI):一种系统自主修改自身组件或策略以随时间推移提高性能的过程。
- 模型 FLOPs 利用率 (MFU):衡量实际达到的每秒浮点运算数与硬件理论峰值性能之间比率的指标。
- 混合专家 (MoE):一种利用多个专业化子网络来处理不同输入数据的神经网络架构。
- 任务合同:一套包含模型架构、数据集和数值精度在内的约束集合,用于确保训练过程在优化期间保持一致。
论文原文
作者将 InfraRSI 的主要目标定义为在遵守严格约束的同时优化分布式训练基础设施。
In InfraRSI, each candidate combines launch configuration knobs and source-code patches to maximize training throughput under a strict fixed task contract : the model architecture, dataset, effective workload (tokens processed per optimizer update), allowed numerical precision menu, and optimizer update protocol are held invariant.
译文:在 InfraRSI 中,每个候选方案都结合了启动配置旋钮和源代码补丁,以在严格固定的任务合同下最大限度地提高训练吞吐量:模型架构、数据集、有效工作负载(每个优化器更新处理的 token 数)、允许的数值精度菜单和优化器更新协议均保持不变。
论文里的图
图 1 展示了 InfraRSI 的五阶段生命周期,包括合同初始化、基准分析、搜索、验证以及变更的最终应用。
图来自论文 arXiv:2611.11558,版权归作者。原图说明:Figure 2: Search trajectories, final speedup endpoints, and training MFU across the four dense and MoE LLM workloads. (a) Speedup trajectory versus token consumed across all compared methods. (b) Final geometric-mean speedup endpoints across the four workloads ( 1.83 × 1.83\times for InfraRSI vs. 1.37 × 1.37\times for RE-Bench, 1.34 × 1.34\times for Auto-Research, and 1.23 × 1.23\times for OptiCo). (c) Training MFU (% of dense BF16 peak) across workloads.
图 2 展示了 InfraRSI 与 RE-Bench、Auto-Research 和 OptiCo 等基准方法相比的最终平均加速比结果。
图来自论文 arXiv:2611.11558,版权归作者。原图说明:Figure 3: Per-workload search trajectories across the four dense and MoE LLM workloads, plotting speedup ( × \times ) on the left axis and training MFU (%) on the right axis against token consumed.
作者自己说的含义
- 作者建议分布式 LLM 训练的优化需要将启动设置与代码补丁结合,同时强制执行数值和时间不变性。
- 作者指出,基于经验模型的搜索在处理内存和执行时间约束方面优于贪婪且不受限制的编码代理。
- 作者得出结论,通过基准测试验证优化结果并使用跨硬件经验,有助于避免因集群测量噪声导致的性能衰减。
可以怎么做
- 在测试基础设施优化时实施任务合同,保持模型架构和数值精度不变,以防止奖励欺诈。 依据:论文指出,16 项不变性验证器成功在 1,212 次试验中过滤掉了奖励欺诈行为 (第 6.3 节)。
- 使用独立的连续重测来核实观察到的加速是实际吞吐量提升的结果,而非集群测量噪声导致。 依据:论文报告称,广谱测量噪声可达两个数量级,因此需要校准噪声门限 (第 2.2 节)。
- 审核源代码变更和启动配置编辑,确保其符合既定的损失函数和数值精度要求。 依据:研究发现,1,212 次执行中有 39 次通过了非数值检查,但需要 L4 数值损失和梯度验证层才能被正确拒绝 (表 6)。
注意。 评估仅限于特定的密集型和 MoE 工作负载以及测试的 GPU 架构;作者指出,经验性能模型和经验迁移依赖于具体的硬件架构限制。
一句话
InfraRSI 通过五阶段验证框架提供了一种优化训练基础设施的结构化方法。该方法通过将无约束搜索替换为基于合同的试验和经验共享,有效提升了吞吐量和硬件利用率。
这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。