GSPO: A Graph Substitution and Parallelization Joint Optimization Framework for DNN Inference
Zheng Xu, Xu Dai, Shaojun Wei, Shouyi Yin, Yang Hu
Abstract
This work proposes GSPO, an automatic unified framework that jointly applies graph substitution and parallelization for DNN inference. GSPO uses a joint optimization computation graph (JOCG) to represent graph substitution and parallelization at the operator level. Then, a novel cost model customized for joint optimization is used to evaluate the computation graph execution time quickly. With the graph partition and backtracking search algorithm, GSPO can find the optimal joint optimization solution within an acceptable search time. Compared to existing frameworks applying graph substitution or parallelization, GSPO can achieve up to 27.1% end-to-end performance improvement and reduce search time by up to 94.3%.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers2
- Breaking the Exploration Bottleneck: Rubric-Scaffolded Reinforcement Learning for Open-Ended LLM ReasoningYang Zhou, Sunzhu Li, Shunyu Liu, Wenkai Fang et al.ICML 2026 · 44 citations
- Repurposing Synthetic Data for Fine-grained Search Agent SupervisionYida Zhao, Kuan Li, Xixi Wu, Liwen Zhang et al.ICLR 2026 · 9 citations
Related papers
- AutoGraph: Optimizing DNN Computation Graph for Parallel GPU Kernel ExecutionYuxuan Zhao, Qi Sun, Zhuolun He, Yang Bai et al.AAAI 2023 · 10 citations
- Unity: Accelerating DNN Training Through Joint Optimization of Algebraic Transformations and ParallelizationColin Unger, Zhihao Jia, Wei Wu, Sina Lin et al.OSDI 2022 · 105 citations
- Optimizing DNN Computation Graph using Graph SubstitutionsJingzhi Fang, Yanyan Shen, Yue Wang, Lei ChenVLDB 2020 · 29 citations
- GLite: a fast and efficient automatic graph-level optimizer for large-scale DNNsJiaqi Li, Min Peng, Qingan Li, Meizheng Peng et al.DAC 2022 · 2 citations
- AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph OptimizationZhiying Xu, Hongding Peng, Wei WangINFOCOM 2023 · 1 citation
