mlsanityData to 24 Nov 2026

GraphPass: A Study of Graph Neural Networks for Compiler Pass Selection

arXiv 2611.19821 ↗Submitted 15 Nov 2026cs.LG cs.AI cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Compiler pass selection is usually governed by fixed pipelines (-O2, -O3) or hand-written heuristics. We study whether a graph neural network (GNN) over a program's control-flow graph (CFG) can select among a fixed menu of five pass sequences in a single forward pass. GraphPass encodes each CFG with a graph attention (GAT) or graph convolutional (GCN) encoder and classifies it into one of the five sequences. On a synthetic benchmark of 5,000 generated CFGs in five program families, both encoders agree with the benchmark's reference label on about 92% of held-out programs, versus 68.4% for a hand-written rule-based heuristic and 85% for a flat MLP. An edge ablation indicates that this gain comes from per-block processing rather than from CFG edges: a GCN given the same basic-block features with all edges removed scores 95.0%, versus 92.2% with the true CFG. In this benchmark the label is determined by the program family, so the task amounts to family recognition. Real-compiler speedup is not measured. Inference costs O(|V| + |E|) per CFG, measured at 1.7 ms for a typical program and about 0.8 s for a 100,000-block graph on one CPU core.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 7 of its 16 references that are in the map. Submitted 15 Nov 2026.

Builds on

7 of 16 references.

References · 7

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,727
  2. 2017Graph Attention Networkscited by 9,201
  3. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,501
  4. 2018A Survey on Compiler Autotuning using Machine Learningcited by 42
  5. 2020AutoPhase: Juggling HLS Phase Orderings in Random Forests with Deep Reinforcement Learningcited by 25
  6. 2023TpuGraphs: A Performance Prediction Dataset on Large Tensor Computational Graphscited by 20
  7. 2023Learning Compiler Pass Orders using Coreset and Normalized Value Predictioncited by 12

Built on by

Not cited yet.