arXiv:2612.05815v1 Announce Type: cross
Abstract: In agent-driven Recursive Self-Improvement (RSI), coding agents iteratively probe, rewrite, and benchmark schedulers, caches, and GPU kernels on a live LLM serving engine every few minutes. Existing engines (vLLM, SGLang, DeepInfer) bind mutable code to context-bound GPU weights, memory pools, communicators, and CUDA graphs, forcing 1-15.5 min restarts across 1-4 GPUs, while in-place patching and host dynamic updaters silently replay stale graphs, deadlock lockstep collectives, or mask bugs behind residual warm state. We present RSInfer, an LLM serving engine re-architected for fast, safe, and accountable RSI. RSInfer keeps early GPU binding on the data plane while turning state ownership, bindings, and identity into statically checked control-plane contracts. A stable, domain-agnostic microkernel decouples resident state units from stateless logic units so all serving code reloads in place in seconds (fast); typed GPU bindings (live, by-address, by-value) drive minimal rebuilds under a TLA+-checked epoch-aligned multi-rank transaction (safe); and canonical state identities pair residue-free reverts with asynchronous cold-start verification (accountable). RSInfer commits 1-GPU code and configuration edits in 1.00-2.22 s (32x-99x faster than warm vLLM/SGLang restarts) and 4-GPU graph reloads in a 5.18 s median. Across 4-12 h autonomous campaigns on three 27B-1.0T models (1-4 GPUs), it blocks 12 silent-corrupting kernels, reverts regressions with zero HBM residue, and catches a warm-masked cold-start bug. All three evolved engines outperform SGLang and prefix-cached DeepInfer, reaching 19.0%-31.8% higher output throughput on unseen 256K AgentX traces and 1.74x higher peak throughput on colocated 1.0T MoE traffic.
arxiv
RSInfer: Re-architected LLM Serving Engine for Fast, Safe, Accountable Self-Improvement
RSInfer is a new LLM serving engine designed for agent-driven recursive self-improvement, enabling in-place code reloads in seconds instead of minutes. It uses control-plane contracts and typed GPU bindings to ensure safety and accountability, with TLA+-checked transactions and residue-free reverts. Benchmarks show 32-99x faster 1-GPU edits and 19-31.8% higher throughput on unseen traces compared to existing engines.
This paper presents a concrete architectural advance for LLM serving that directly addresses the emerging need for fast and safe self-improving systems, with measurable performance gains.
Comments & Questions (0)
No comments yet
Be the first to comment!