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

FADiff: 面向张量加速器的DNN调度融合感知可微优化

FADiff: Fusion-Aware Differentiable Optimization for DNN Scheduling on Tensor Accelerators

Beijing University of Posts and Telecommunications(北京邮电大学);Fudan University(复旦大学);The Chinese University of Hong Kong(香港中文大学)

Shuao Jia, Zichao Ling, Chen Bai, Bei Yu, Kang Zhao, Jianwang Zhai

AI总结:

FADiff通过融合感知的可微优化框架,实现了对DNN调度的高效优化,提升张量加速器上的推理性能。

摘要:

高效部署深度神经网络(如大语言模型)在张量加速器上对于最大化现代人工智能系统的计算效率至关重要。然而,由于层内映射与层间融合的交互产生了巨大的复杂设计空间,实现这一目标具有挑战性。在本文中,我们提出了FADiff,一种基于梯度的优化框架,能够自动识别高质量的层内映射和层间融合策略,以加速DNN工作负载的推理。我们首先构建了一个统一且可微的分析成本模型,该模型能够准确预测单层映射和各种层融合策略的能耗和延迟。然后,通过将离散约束编码到损失函数中,我们采用基于梯度的方法高效地探索庞大的设计空间,确定映射和融合的最优联合策略。实验结果展示了FADiff的优越性,在能耗和延迟方面优于现有方法。

英文摘要:

Efficiently deploying Deep Neural Networks (DNNs) - particularly Large Language Models (LLMs) - on tensor accelerators is essential for achieving high throughput and energy efficiency at the edge. However, the combinatorial explosion of the joint design space spanning intra-layer mapping and inter-layer fusion renders existing approaches inadequate. In this work, we present FADiff, a gradient-based optimization framework that automatically discovers optimal mapping and fusion strategies to accelerate DNN inference. We first formulate a unified, differentiable analytical cost model that accurately estimates the energy and latency of individual layer mappings as well as diverse fusion configurations. We then combine CP-SAT-based pre-enumeration of feasible discrete candidates with augmented-Lagrangian penalties over continuous relaxations, enabling a constrained gradient-based search that efficiently navigates the vast design space to identify optimal joint strategies. Experimental results show that FADiff consistently outperforms prior methods, delivering superior optimization quality with significantly faster convergence in both energy and latency.

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

↑