EvoInfer: Agentic Self-Evolution of LLM Inference Systems
The best implementation of an inference system depends on the combination of model, hardware, and workload. The number of combinations grows multiplicatively, while hand optimization scales only linearly. We study how to let an inference system improve itself continually: an agentic system proposes changes, a fitness function decides which ones stay, and the surviving system becomes the starting point of the next generation. We present EvoInfer, in which the system and the agents' knowledge co-evolve at three levels: individual, population, and meta. The fitness measures, position by position along the candidate's own generated trajectory, its logit gap to a reference implementation; it compares performance only against the parent re-measured right before on the same device; and the final verdict is given by a holdout set the agents never see. The population level recombines sibling changes and bundles changes below the noise threshold; the meta level rewrites the agents' knowledge from experimental evidence but cannot touch the fitness; and every deployment scenario evolves its own lineage from a common ancestor. A scenario can be as narrow as one user's hardware and workload, so the framework can evolve a personal engine for each user. We instantiate EvoInfer on Qwen3.5-35B-A3B, which combines MoE, gated linear attention, and MTP. On a single A100, about 20 agent-hours raise the decode throughput of a naive port from 17 to 297 tok/s (17.5×), and end-to-end throughput reaches 1.73× (dev) and 1.85× (holdout) that of the vLLM 0.30 release; scenario lineages for long context and for a 32 GB consumer GPU each lead vLLM by at least 1.6×. The evolved knowledge lets agents reach the same output with about one third of the agent time. Code and experimental results are available at https://github.com/yangforever17/EvoInfer.
Authors
- Yunfan Zhang (ORCID: https://orcid.org/0000-0003-3803-0996)
- Qifan Wang (ORCID: https://orcid.org/0000-0002-7570-5756)
- Zhen Huang
- Qiyan Fang (ORCID: https://orcid.org/0009-0008-3645-5708)
- Zhenyu Su
- Yangbo Wei
- Shaoqiang Lu
- Lei He
- Chen Wu
Institutions
- University of Science and Technology of China (CN)
- Nanyang Technological University (SG)
- Shanghai Jiao Tong University (CN)
- Eastern Institute of Technology, Ningbo (CN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24654079
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- preprint