Graph neural networks with configuration cross-attention for tensor compilers
With the recent popularity of neural networks comes the need for efficient serving of inference workloads. A neural network inference workload can be represented as a computational graph with nodes as operators transforming multidimensional tensors. The tensors can be transposed and/or tiled in a combinatorially large number of ways, some configurations leading to accelerated inference. We propose TGraph, a neural graph architecture that allows screening for fast configurations of the target computational graph, thus representing an artificial intelligence (AI) tensor compiler in contrast to traditional heuristic-based compilers. The proposed solution improves mean Kendall's τ across layout collections of TpuGraphs from 29.8% of the reliable baseline to 67.4% of TGraph. We estimate the potential CO<sub>2</sub> emission reduction associated with our work to be equivalent to over 50% of the total household emissions in the areas hosting AI-oriented data centers.
Authors
- David Pugh (ORCID: https://orcid.org/0000-0001-9600-4708)
- Matheus Pedroza Ferreira (ORCID: https://orcid.org/0000-0002-8405-2400)
- Dmitrii Khizbullin
- Trung Quoc Nguyen (ORCID: https://orcid.org/0000-0002-7861-6951)
- Eduardo Rocha de Andrade
Institutions
- Sprout Design (United Kingdom) (GB)
- King Abdullah University of Science and Technology (SA)
Publication Details
- Journal
- Frontiers in Artificial Intelligence
- Published
- 2025-08-20
- DOI
- https://doi.org/10.3389/frai.2025.1605539
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- King Abdullah University of Science and Technology