English

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

Hardware Architecture 2025-12-11 v2

Abstract

Efficient deployment of Deep Neural Networks (DNNs), such as Large Language Models (LLMs), on tensor accelerators is essential for maximizing computational efficiency in modern AI systems. However, achieving this is challenging due to the enormous and complex design space created by the interaction of intra-layer mapping and inter-layer fusion. In this work, we present FADiff, a gradient-based optimization framework capable of automatically identifying high-quality intra-layer mapping and inter-layer fusion strategies to accelerate inference for DNN workloads. We first construct a unified and differentiable analytical cost model, which accurately predicts the energy and latency of both single-layer mappings and various layer fusion strategies. Then, by encoding discrete constraints into the loss function, we employ a gradient-based approach to efficiently explore the vast design space, determining the optimal joint strategy for mapping and fusion. Experimental results demonstrate the superiority of FADiff, achieving better optimization in terms of energy and latency compared to existing methods.

Keywords

Cite

@article{arxiv.2511.22348,
  title  = {FADiff: Fusion-Aware Differentiable Optimization for DNN Scheduling on Tensor Accelerators},
  author = {Shuao Jia and Zichao Ling and Chen Bai and Kang Zhao and Jianwang Zhai},
  journal= {arXiv preprint arXiv:2511.22348},
  year   = {2025}
}

Comments

7 pages, 4 figures

R2 v1 2026-07-01T07:57:53.437Z