mlsanityData to 7 Oct 2026

Neural Topological Ordering for Computation Graphs

arXiv 2207.05899 ↗First posted 13 Jul 2022cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

Recent works on machine learning for combinatorial optimization have shown that learning based approaches can outperform heuristic methods in terms of speed and performance. In this paper, we consider the problem of finding an optimal topological order on a directed acyclic graph with focus on the memory minimization problem which arises in compilers. We propose an end-to-end machine learning based approach for topological ordering using an encoder-decoder framework. Our encoder is a novel attention based graph neural network architecture called Topoformer which uses different topological transforms of a DAG for message passing. The node embeddings produced by the encoder are converted into node priorities which are used by the decoder to generate a probability distribution over topological orders. We train our model on a dataset of synthetically generated graphs called layered graphs. We show that our model outperforms, or is on-par, with several topological ordering baselines while being significantly faster on synthetic graphs with up to 2k nodes. We also train and test our model on a set of real-world computation graphs, showing performance improvements.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 24 of its 44 references that are in the map. First posted on arXiv 13 Jul 2022.

Builds on

24 of 44 references.

References · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2017Graph Attention Networkscited by 8,854
  4. 2016Layer Normalizationcited by 5,579
  5. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  6. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  7. 2020On Layer Normalization in the Transformer Architecturecited by 906
  8. 2020A Generalization of Transformer Networks to Graphscited by 653
  9. 2018Attention, Learn to Solve Routing Problems!cited by 646
  10. 2018Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizoncited by 612
  11. 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 600
  12. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 557
12 more
  1. 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 172
  2. 2020A Survey on The Expressive Power of Graph Neural Networkscited by 111
  3. 2021NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problemcited by 102
  4. 2019D-VAE: A Variational Autoencoder for Directed Acyclic Graphscited by 98
  5. 2021Directed Acyclic Graph Neural Networkscited by 70
  6. 2020Transferable Graph Optimizers for ML Compilerscited by 29
  7. 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27
  8. 2021A Bi-Level Framework for Learning to Solve Combinatorial Optimization on Graphscited by 26
  9. 2019Reinforced Genetic Algorithm Learning for Optimizing Computation Graphscited by 17
  10. 2019Low-variance Black-box Gradient Estimates for the Plackett-Luce Distributioncited by 11
  11. 2017Reparameterizing the Birkhoff Polytope for Variational Permutation Inferencecited by 10
  12. 2022Neural Simulated Annealingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

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

12 papers.