Summary
Building and running AI models requires complex software infrastructure that handles tasks like training and serving. The authors created AscendInfraBench, a set of 24 tasks to test how well AI coding assistants can design, optimize, and build this infrastructure on specialized chips called Ascend NPUs. They studied 9 different agents to see how accurately and quickly they could handle various engineering challenges, including performance improvements. The study found that while agents can handle many parts of the work, they often struggle with correctly optimizing complex training processes, especially for reinforcement learning models.
What this means in practice
- •For ai infrastructure engineers: Evaluate and improve AI coding assistants for creating and optimizing infrastructure on Ascend NPUs across training and serving stages.
- •For machine learning platform builders: Use benchmark tasks to validate and enhance automation in full lifecycle model training and serving on specialized hardware.
Authors
Zechao Chen, Sijie Wang, Zheng Bian, Xiang Li, Runping Chen, Dabiao Huang, Zeyong Cai, Jianshe Zhang, Zhe Liu, Jiayu Pan, Yonghan Dong, Yaoyuan Wang
Abstract
We introduce a task construction method for evaluating coding agents on full-lifecycle LLM infrastructure engineering. Each task fixes the model workload, required computation, state transitions, and performance objectives while leaving implementation choices open. Using this method, we construct AscendInfraBench: 24 tasks on Ascend NPUs across Pre-Training, Reinforcement Learning (RL) Training, and Serving, spanning 4 engineering scopes---Implementation Optimization, Joint Optimization, Model Adaptation, and Open Build. We evaluate 9 agents in 216 runs under a 2-hour development budget per task, analyzing correctness and performance improvement. Our study yields 3 findings: (1) Agents can already optimize supplied implementations, integrate new models, and independently build complete infrastructure, yet these scopes test distinct engineering capabilities---agents show different strengths in correct delivery and speedup across Pre-Training, RL Training, and Serving. (2) Development trajectories reveal agents choosing system architectures, diagnosing bottlenecks and correctness bugs, and using runtime feedback to validate or revise their designs. (3) Performance optimization often changes how computation, state transitions, and execution dependencies are implemented, and agents still struggle to achieve real speedups while preserving correctness. This weakness is particularly pronounced in RL Training, where model computation, training updates, weight transfer, and subsequent generation must be correctly integrated. https://ascendinfrabench.github.io/