Publication result detail

Towards Efficient Scheduling of Transformer Neural Network Computation for Edge AI Deployment

SEDLÁK, D.; KLHŮFEK, J.; MRÁZEK, V.; VAŠÍČEK, Z.

Original Title

Towards Efficient Scheduling of Transformer Neural Network Computation for Edge AI Deployment

English Title

Towards Efficient Scheduling of Transformer Neural Network Computation for Edge AI Deployment

Type

Paper in proceedings outside WoS and Scopus

Original Abstract

Transformer neural networks have gained popularity in recent years, demonstrating remarkable performance across many application domains. However, inference on resource-constrained embedded hardware remains challenging due to Transformers' substantial computational demands. We aim to address this problem by focusing on exploiting the inherent parallelism opportunities presented by the multi-head self attention operations of Transformers, to achieve a speedup in processing on embedded hardware. In this paper, we present an evolutionary-based scheduling approach for distribution and allocation of Transformer operations across systolic array-based hardware accelerators used for execution. Our methodology takes as input specifications of the Transformer workload and the target systolic array architecture and explores the large mapping space to identify an efficient plan of operation-to-array assignments. The plans are evaluated against a hardware-aware cost model, capturing the cost of computational cycles for a given operation and systolic array, with the objective to minimize the total sum across all operations. Through extensive experimental evaluations across diverse systolic array dimensions, we demonstrate that our evolutionary-based scheduler surpasses conventional heuristics and is able to find plans offering up to 33.8% average reduction in overall cycle count.

English abstract

Transformer neural networks have gained popularity in recent years, demonstrating remarkable performance across many application domains. However, inference on resource-constrained embedded hardware remains challenging due to Transformers' substantial computational demands. We aim to address this problem by focusing on exploiting the inherent parallelism opportunities presented by the multi-head self attention operations of Transformers, to achieve a speedup in processing on embedded hardware. In this paper, we present an evolutionary-based scheduling approach for distribution and allocation of Transformer operations across systolic array-based hardware accelerators used for execution. Our methodology takes as input specifications of the Transformer workload and the target systolic array architecture and explores the large mapping space to identify an efficient plan of operation-to-array assignments. The plans are evaluated against a hardware-aware cost model, capturing the cost of computational cycles for a given operation and systolic array, with the objective to minimize the total sum across all operations. Through extensive experimental evaluations across diverse systolic array dimensions, we demonstrate that our evolutionary-based scheduler surpasses conventional heuristics and is able to find plans offering up to 33.8% average reduction in overall cycle count.

Keywords

transformer networks, edge AI, evolutionary algorithms

Key words in English

transformer networks, edge AI, evolutionary algorithms

Authors

SEDLÁK, D.; KLHŮFEK, J.; MRÁZEK, V.; VAŠÍČEK, Z.

Released

14.07.2025

Publisher

Association for Computing Machinery

Location

Malaga

ISBN

979-8-4007-1464-1

Book

Proceedings of the Genetic and Evolutionary Computation Conference Companion

Pages from

2242

Pages to

2248

Pages count

7

BibTex

@inproceedings{BUT197537,
  author="David {Sedlák} and Jan {Klhůfek} and Vojtěch {Mrázek} and Zdeněk {Vašíček}",
  title="Towards Efficient Scheduling of Transformer Neural Network Computation for Edge AI Deployment",
  booktitle="Proceedings of the Genetic and Evolutionary Computation Conference Companion",
  year="2025",
  pages="2242--2248",
  publisher="Association for Computing Machinery",
  address="Malaga",
  doi="10.1145/3712255.3734345",
  isbn="979-8-4007-1464-1"
}