InfraRSI:利用递归自我改进来训练基础设施

·

研究论文 · 2026/11/10

InfraRSI 是一个将开放式人类命令转化为已验证训练优化的智能体框架,通过五阶段工作流(初始化、诊断、协同优化、报告、应用)解决分布式LLM训练中启动设置、算子内核和通信调度的紧耦合问题。它从多样化的经验种子配置初始化,并拟合全局执行时间和截尾峰值内存模型(包括OOM),以定价内存成本、修正LLM先验,并将内存密集型优化与内存节省策略配对。在四个单节点和多节点密集及MoE LLM工作负载上,InfraRSI 实现了高达2.75倍的加速,并将平均MFU从17.4%提升至30.0%,优于现有调优器和编码智能体,同时实现跨GPU的经验迁移。

InfraRSI 通过智能体框架显著提升分布式LLM训练基础设施的效率,在多个工作负载上实现大幅加速和MFU提升,并引入递归自我改进循环,对推动基础模型 scaling 具有重要价值。

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.75times 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.

阅读原文

参与讨论