arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.03065cs.AI
收藏

AscendInfraBench:基于昇腾NPU的全生命周期大模型基础设施工程编码智能体基准测试

AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs

Huawei Technologies Co., Ltd.(华为技术有限公司);Zhejiang University(浙江大学);Northeastern University(东北大学)

Zechao Chen, Sijie Wang, Zheng Bian, Xiang Li, Runping Chen, Dabiao Huang, Zeyong Cai, Jianshe Zhang, Zhe Liu, Jiayu Pan, Yonghan Dong, Yaoyuan Wang

AI总结:

本研究构建AscendInfraBench基准,评估9个编码智能体在昇腾NPU全生命周期大模型基础设施工程任务中的表现,发现智能体在不同工程范围的能力差异及性能优化的核心难点。

摘要:

我们提出了一种用于评估编码智能体在全生命周期大模型基础设施工程中表现的任务构建方法。每个任务固定模型工作负载、所需计算量、状态转换和性能目标,同时保留实现选择的开放性。利用该方法,我们构建了AscendInfraBench:在昇腾(Ascend)NPU上设置了24个任务,涵盖预训练、强化学习(RL)训练和推理服务三个阶段,涉及实现优化、联合优化、模型适配和开源构建四个工程范围。我们在每个任务2小时的开发预算下,对9个智能体进行了216次运行,分析其正确性与性能提升。本研究得出3项发现:(1)智能体已能优化提供的实现、集成新模型并独立构建完整基础设施,但这些范围测试的是不同工程能力——智能体在预训练、RL训练和推理服务的正确交付与加速方面表现出不同优势;(2)开发轨迹显示智能体选择系统架构、诊断瓶颈与正确性错误,并利用运行时反馈验证或修改设计;(3)性能优化常改变计算、状态转换和执行依赖的实现方式,智能体仍难以在保持正确性的同时实现实际加速,这一弱点在RL训练中尤为明显,其中模型计算、训练更新、权重传输及后续生成必须正确集成。

英文摘要:

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. this https URL

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑