AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs
该论文介绍了AscendInfraBench,一个用于评估全生命周期LLM基础设施工程的编码代理的基准,并通过实验验证了编码代理在基础设施工程中的能力。
更新于 2026-12-03。作者:Zechao Chen、Sijie Wang、Zheng Bian、Xiang Li、Runping Chen、Dabiao Huang、Zeyong Cai、Jianshe Zhang、Zhe Liu、Jiayu Pan、Yonghan Dong、Yaoyuan Wang。
中文摘要
我们提出了一种用于评估全生命周期LLM基础设施工程中编码代理的任务构建方法。每个任务固定模型工作量、所需的计算、状态转换和性能目标,同时保留实施选择。利用此方法,我们构建了AscendInfraBench:包括预训练、强化学习(RL)训练和部署在内的24个任务,涵盖了4个工程范畴——实现优化、联合优化、模型适应和开放构建。在每个任务2小时的开发预算下,我们对9个代理进行了216次评估,分析了正确性和性能改进。我们的研究得出以下3个发现:(1)代理可以优化提供的实现、集成新模型,并独立构建完整的基础设施,但这些范畴测试了不同的工程能力——代理在预训练、RL训练和部署的正确交付和加速方面显示出不同的优势。(2)开发轨迹揭示了代理选择系统架构、诊断瓶颈和正确性错误,并使用运行时反馈来验证或修改他们的设计。(3)性能优化通常会改变计算、状态转换和执行依赖的实现方式,而代理在保持正确性的同时仍然难以实现真正的加速。这种弱点在RL训练中尤为明显,因为模型计算、训练更新、权重迁移和后续生成必须正确集成。https://ascendinfrabench.github.io/
英文摘要
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/
解读
一句话总结
该论文介绍了AscendInfraBench,一个用于评估全生命周期LLM基础设施工程的编码代理的基准,并通过实验验证了编码代理在基础设施工程中的能力。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:全生命周期LLM基础设施工程涉及多个阶段,如预训练、强化学习训练和服务,每个阶段都需要复杂的工程决策。
- 现有方案不足:现有的基准评估方法主要关注特定阶段的性能优化,缺乏对全生命周期工程的综合评估。
- 研究目标:构建一个全面的基准AscendInfraBench,评估编码代理在LLM基础设施工程中的能力,并分析其工程决策。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一个能力导向的任务构建方法,通过定义所需的计算、状态转换和性能目标,同时保持实现选择的开放性。
- 方法改进:构建了AscendInfraBench,包括24个任务,覆盖预训练、强化学习训练和服务三个阶段,以及实现优化、联合优化、模型适应和开放构建四个工程范围。
- 优势:AscendInfraBench能够全面评估编码代理在LLM基础设施工程中的能力,并提供了丰富的实验数据和分析。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:对9个编码代理进行了216次运行,每个任务2小时的开发预算。
- 性能提升:实验结果表明,编码代理能够在预训练、强化学习训练和服务阶段实现显著的性能提升,其中强化学习训练阶段的提升最为显著。
- 对比结果:与基线方法相比,编码代理在正确交付和速度提升方面表现出不同的优势。
问题4:这个研究的实际应用价值是什么?
- 应用场景:AscendInfraBench可以用于评估和比较不同编码代理在LLM基础设施工程中的能力,帮助研究人员和工程师选择合适的代理进行工程任务。
- 实施建议:AscendInfraBench可以集成到现有的工程流程中,用于自动化的基础设施工程任务。
- 局限与展望:AscendInfraBench目前仅限于Ascend NPUs,未来可以扩展到其他硬件平台。此外,可以探索更复杂的工程任务和长期系统维护。