Lune

ICML2022Top-tier venue

PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphs

Zehao Dong, Muhan Zhang, Fuhai Li, Yixin Chen

Abstract

Optimization of directed acyclic graph (DAG) structures has many applications, such as neural architecture search (NAS) and probabilistic graphical model learning. Encoding DAGs into real vectors is a dominant component in most neural-network-based DAG optimization frameworks. Currently, most DAG encoders use an asynchronous message passing scheme which sequentially processes nodes according to the dependency between nodes in a DAG. That is, a node must not be processed until all its predecessors are processed. As a result, they are inherently not parallelizable. In this work, we propose a Parallelizable Attention-based Computation structure Encoder (PACE) that processes nodes simultaneously and encodes DAGs in parallel. We demonstrate the superiority of PACE through encoder-dependent optimization subroutines that search the optimal DAG structure based on the learned DAG embeddings. Experiments show that PACE not only improves the effectiveness over previous sequential DAG encoders with a significantly boosted training and inference speed, but also generates smooth latent (DAG encoding) spaces that are beneficial to downstream optimization subroutines. Our source code is available at https://github.com/zehao-dong/PACE

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Identity-aware Graph Neural Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • NN-Former: Rethinking Graph Structure in Neural Architecture Representation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • NN-Former: Rethinking Graph Structure in Neural Architecture Representation cites Transformers over Directed Acyclic Graphs
  • NN-Former: Rethinking Graph Structure in Neural Architecture Representation cites Representing Long-Range Context for Graph Neural Networks with Global Attention
  • What Are Good Positional Encodings for Directed Graphs? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • What Are Good Positional Encodings for Directed Graphs? cites Rethinking Graph Transformers with Spectral Attention
  • What Are Good Positional Encodings for Directed Graphs? cites Transformers over Directed Acyclic Graphs
  • Simple Path Structural Encoding for Graph Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Simple Path Structural Encoding for Graph Transformers cites Rethinking Graph Transformers with Spectral Attention
  • Simple Path Structural Encoding for Graph Transformers cites Transformers over Directed Acyclic Graphs
  • Simple Path Structural Encoding for Graph Transformers cites Representing Long-Range Context for Graph Neural Networks with Global Attention
  • Rethinking Graph Transformers with Spectral Attention cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Transformers over Directed Acyclic Graphs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Transformers over Directed Acyclic Graphs cites Rethinking Graph Transformers with Spectral Attention
  • Transformers over Directed Acyclic Graphs cites Representing Long-Range Context for Graph Neural Networks with Global Attention
  • Representing Long-Range Context for Graph Neural Networks with Global Attention cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Representing Long-Range Context for Graph Neural Networks with Global Attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Transformers over Directed Acyclic GraphsYuankai Luo, Veronika Thost, Lei ShiNeurIPS 2023 · 43 citations
  2. NN-Former: Rethinking Graph Structure in Neural Architecture RepresentationRuihan Xu, Haokui Zhang, Yaowei Wang, Wei Zeng et al.CVPR 2025
  3. What Are Good Positional Encodings for Directed Graphs?Yinan Huang, Haoyu Peter Wang, Pan LiICLR 2025
  4. Simple Path Structural Encoding for Graph TransformersLouis Airale, Antonio Longa, Mattia Rigon, Andrea Passerini et al.ICML 2025

Builds on9

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  3. Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
  4. Representing Long-Range Context for Graph Neural Networks with Global AttentionZhanghao Wu, Paras Jain, Matthew A. Wright, Azalia Mirhoseini et al.NeurIPS 2021 · 450 citations
  5. Identity-aware Graph Neural NetworksJiaxuan You, Jonathan Michael Gomes Selman, Rex Ying, Jure LeskovecAAAI 2021 · 316 citations

Related papers

  1. Directed Graph Grammars for Sequence-based LearningMichael Sun, Orion Foo, Gang Liu, Wojciech Matusik et al.ICML 2025
  2. Neural Graph Embedding for Neural Architecture SearchWei Li, Shaogang Gong, Xiatian ZhuAAAI 2020 · 31 citations
  3. On the Role of Sparsity and DAG Constraints for Learning Linear DAGsIgnavier Ng, AmirEmad Ghassami, Kun ZhangNeurIPS 2020 · 306 citations
  4. Directed Acyclic Graph Neural NetworksVeronika Thost, Jie ChenICLR 2021 · 134 citations
  5. CATE: Computation-aware Neural Architecture Encoding with TransformersShen Yan, Kaiqiang Song, Fei Liu, Mi ZhangICML 2021 · 35 citations
Dusk over the sea between two cliffs drawn in fine vertical lines