跳到正文

InfraRSI:用递归自我改进优化 LLM 训练基础设施

InfraRSI: Harnessing Recursive Self-Improvement for Training Infrastructure

摘要

InfraRSI 是一套智能体框架,通过五阶段流程把开放式人类指令转化为经过验证的训练优化,覆盖启动参数、算子内核与通信调度。在四类单节点与多节点稠密及 MoE 大模型负载上,它实现最高 2.75 倍加速,平均 MFU 从 17.4% 提升至 30.0%,优于现有调优器和编程智能体,并可跨 GPU 迁移经验。

摘要由模型根据原文撰写,以原文为准。

正文 · 原文

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.


注意转载授权 · 阅读原文

来源:Hugging Face Daily Papers · huggingface.co

引用原文

Hugging Face Daily Papers. InfraRSI: Harnessing Recursive Self-Improvement for Training Infrastructure[EB/OL]. (2026-11-08)[访问日期]. https://huggingface.co/papers/2611.11558.