PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphs

Zehao Dong, Muhan Zhang, Fuhai Li, Yixin Chen
3/19/2022
cs.LG

Official code: zehao-dong/PACE (18 stars, Python, MIT, last commit 2023-12-30).

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.

Show full abstract

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 \url{https://github.com/zehao-dong/PACE}

View on arXivView PDF

Code Implementations(1)

zehao-dong/PACEOfficial100%
MIT
182Python, CudaJun 20, 20222 years agoMIT

Similar Papers

Cite this paper

@article{dong2022pace,
  title  = {PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphs},
  author = {Zehao Dong and Muhan Zhang and Fuhai Li and Yixin Chen},
  year   = {2022},
  eprint = {2203.10304},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10304}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.10304.svg)](https://codeofpaper.com/paper/2203.10304)

Discussion