cs.CLOct 21, 2026

TrainBridge: Agentic NPU Training Optimization Guided by GPU Compilation Evidence

Authors: Yupeng Chen, Kunxiang Zhao, Xingjian Wang, Yue Zhao, Yijing Wu, Ye Liu, Kai Li, Congliang Chen, 

Organizations: Shenzhen Loop Area Institute · The Chinese University of Hong Kong, Shenzhen, China · Autokernel

Abstract

We study how to improve training efficiency on Ascend NPUs. In the NPU training programs we study, framework-level compilation optimizations such as operator fusion are only partially applied, leaving fragmented computation and avoidable execution overheads. Profiling-guided tuning can address these inefficiencies, but it often requires costly trial and error. To make training on NPUs more efficient, we propose TrainBridge, an agentic approach for transferring GPU optimization guidance to NPU training. TrainBridge uses the highly optimized execution produced by mature GPU compilation stacks as a task-specific reference for NPU tuning. It extracts optimization intents from the GPU training execution to guide NPU program rewrites and further refines the rewritten program through iterative profiling. Our GPU-to-NPU migration experiments show that TrainBridge achieves an average 1.7x speedup across four workloads covering LLM pretraining, image classification, and vision-language training, and an average speedup of nearly 2.0x across 27 Modded-NanoGPT speedrun records with highly optimized GPU implementations.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimization

    Mar 24, 2026Jiehao Wu, Zixiao Huang, Wenhao Li +3GPU Kernel OptimizationBlack-Box Optimization

  2. From Experience to Expertise: Adoption-Aware Memory Learning for Data-Scarce NPU Kernel Synthesis

    Sep 28, 2026Longxiao Fan, Tao Zhang, Han Yan +5LLM-Based Program SynthesisAgent Skill Learning