yavin质观yavin质观// 2026
← 返回人才与论文主库 全部 53 篇里程碑论文 四层资本与股权穿透
新窗口全屏打开 PDF (1.19 MB) ↗ 下载站内原件 ↓ arXiv 官方页 ↗

[QiMeng-Xpiler]QiMeng-Xpiler: Transcompiling Tensor Programs for Deep Learning Systems with a Neural-Symbolic Approach

arXiv:2505.02146 CAS ICT 2025 芯片架构、集成与隐私计算 首次提交日期:2025-05-04 站内 PDF 镜像体积:1.19 MB

Authors: Shouyang Dong, Yuanbo Wen, Jun Bi, Di Huang, Jiaming Guo, Jianxing Xu 等 (13位作者)

ARCHITECTURAL BREAKTHROUGH & INDUSTRIAL SIGNIFICANCE // 核心架构突破与产业里程碑意义

依托处理器芯片全国重点实验室“启蒙”体系,融合神经符号方法实现跨异构深度学习芯片(GPU/DSA)张量算子程序自动转译与高性能算子生态破局。

ORIGINAL ARXIV ABSTRACT // 英文原版摘要

Heterogeneous deep learning systems (DLS) such as GPUs and ASICs have been widely deployed in industrial data centers, which requires to develop multiple low-level tensor programs for different platforms. An attractive solution to relieve the programming burden is to transcompile the legacy code of one platform to others. However, current transcompilation techniques struggle with either tremendous manual efforts or functional incorrectness, rendering "Write Once, Run Anywhere" of tensor programs an open question. We propose a novel transcompiler, i.e., QiMeng-Xpiler, for automatically translating tensor programs across DLS via both large language models (LLMs) and symbolic program synthesis, i.e., neural-symbolic synthesis. The key insight is leveraging the powerful code generation ability of LLM to make costly search-based symbolic synthesis computationally tractable. Concretely, we propose multiple LLM-assisted compilation passes via pre-defined meta-prompts for program transformation. During each program transformation, efficient symbolic program synthesis is employed to repair incorrect code snippets with a limited scale. To attain high performance, we propose a hierarchical auto-tuning approach to systematically explore both the parameters and sequences of transformation passes. Experiments on 4 DLS with distinct programming interfaces, i.e., Intel DL Boost with VNNI, NVIDIA GPU with CUDA, AMD MI with HIP, and Cambricon MLU with BANG, demonstrate that QiMeng-Xpiler correctly translates different tensor programs at the accuracy of 95% on average, and the performance of translated programs achieves up to 2.0x over vendor-provided manually-optimized libraries. As a result, the programming productivity of DLS is improved by up to 96.0x via transcompiling legacy tensor programs.

HOSTED PDF READER // 阿里云站内高速原件直读

论文原版 PDF 在线阅读(免外网拥堵直出)

移动端/全屏直接打开 PDF ↗
RELATED MILESTONES

同领域(芯片架构、集成与隐私计算)其他殿堂级代表论文