PACE:有向无环图的可量化计算编码器
PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphs
摘要:
有向无环图(DAG)结构优化有许多应用,如神经结构搜索(NAS)和概率图模型学习。将DAG编码为实向量是大多数基于神经网络的DAG优化框架中的主要组成部分。目前,大多数DAG编码器使用异步消息传递方案,该方案根据DAG中节点之间的依赖性顺序地处理节点。也就是说,在处理完所有的前级节点之前,不能处理该节点。因此,它们本质上是不可并行的。在这项工作中,我们提出了一个可扩展的基于注意力的计算结构编码器(PACE),同时处理节点和并行编码DAG。我们证明了PACE的优越性,通过编码器相关的优化子程序,搜索最佳的DAG结构的基础上学习的DAG嵌入。实验表明,PACE不仅提高了以前的顺序DAG编码器的有效性,显著提高了训练和推理速度,而且还生成了平滑的潜在(DAG编码)空间,有利于下游优化子程序。我们的源代码可在\url{https://github.com/zehao-dong/PACE}上获得
英文摘要:
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 \url{https://github.com/zehao-dong/PACE}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。