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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Jia, Shuao, Ling, Zichao, Bai, Chen, Zhao, Kang, Zhai, Jianwang
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918240539639808
author Jia, Shuao
Ling, Zichao
Bai, Chen
Zhao, Kang
Zhai, Jianwang
author_facet Jia, Shuao
Ling, Zichao
Bai, Chen
Zhao, Kang
Zhai, Jianwang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_22348
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FADiff: Fusion-Aware Differentiable Optimization for DNN Scheduling on Tensor Accelerators
Jia, Shuao
Ling, Zichao
Bai, Chen
Zhao, Kang
Zhai, Jianwang
Hardware Architecture
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.
title FADiff: Fusion-Aware Differentiable Optimization for DNN Scheduling on Tensor Accelerators
topic Hardware Architecture
url https://arxiv.org/abs/2511.22348