mlsanityData to 14 Oct 2026

GRANITE: A Graph Neural Network Model for Basic Block Throughput Estimation

arXiv 2210.03894 ↗First posted 8 Oct 2022cs.LG cs.AR cs.PFcited by 9

Not on the map. Why?

Abstract (arXiv)

Analytical hardware performance models yield swift estimation of desired hardware performance metrics. However, developing these analytical models for modern processors with sophisticated microarchitectures is an extremely laborious task and requires a firm understanding of target microarchitecture's internal structure. In this paper, we introduce GRANITE, a new machine learning model that estimates the throughput of basic blocks across different microarchitectures. GRANITE uses a graph representation of basic blocks that captures both structural and data dependencies between instructions. This representation is processed using a graph neural network that takes advantage of the relational information captured in the graph and learns a rich neural representation of the basic block that allows more precise throughput estimation. Our results establish a new state-of-the-art for basic block performance estimation with an average test error of 6.9% across a wide range of basic blocks and microarchitectures for the x86-64 target. Compared to recent work, this reduced the error by 1.7% while improving training and inference throughput by approximately 3.0x. In addition, we propose the use of multi-task learning with independent multi-layer feed forward decoder networks. Our results show that this technique further improves precision of all learned models while significantly reducing per-microarchitecture training costs. We perform an extensive set of ablation studies and comparisons with prior work, concluding a set of methods to achieve high accuracy for basic block performance estimation.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 31 of its 72 references that are in the map. First posted on arXiv 8 Oct 2022.

Builds on

31 of 72 references.

References · 31

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  4. 2016Layer Normalizationcited by 5,669
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  6. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  7. 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
  8. 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
  9. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  10. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  11. 2016Interaction Networks for Learning about Objects, Relations and Physicscited by 509
  12. 2017A simple neural network module for relational reasoningcited by 346
19 more
  1. 2018code2vec: Learning Distributed Representations of Codecited by 250
  2. 2017Learning to Represent Programs with Graphscited by 220
  3. 2016End-to-End Relation Extraction using LSTMs on Sequences and Tree Structurescited by 161
  4. 2017Cross-Sentence N-ary Relation Extraction with Graph LSTMscited by 101
  5. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  6. 2017Graph Convolutional Encoders for Syntax-aware Neural Machine Translationcited by 70
  7. 2018Graph-to-Sequence Learning using Gated Graph Neural Networkscited by 61
  8. 2020Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloadscited by 56
  9. 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
  10. 2019Estimating Node Importance in Knowledge Graphs Using Graph Neural Networkscited by 43
  11. 2021MLGO: a Machine Learning Guided Compiler Optimizations Frameworkcited by 40
  12. 2021An Evaluation of Edge TPU Accelerators for Convolutional Neural Networkscited by 39
  13. 2018Exploiting Semantics in Neural Machine Translation with Graph Convolutional Networkscited by 30
  14. 2021Data-Driven Offline Optimization For Architecting Hardware Acceleratorscited by 29
  15. 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
  16. 2020ProGraML: Graph-based Deep Learning for Program Optimization and Analysiscited by 23
  17. 2021Apollo: Transferable Architecture Explorationcited by 17
  18. 2019Learning Execution through Neural Code Fusioncited by 13
  19. 2018Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitecturescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 4; 2024: 3; 2025: 0; 2026: 1.

9 papers.