基于超图神经消息传递的快速OBDD重排序
Fast OBDD Reordering using Neural Message Passing on Hypergraph
摘要:
有序二元决策图(OBDD)是一种有效的表示和操作布尔公式的数据结构。关于不同的变量阶数,OBDD的大小可以在布尔变量的数量上从线性变化到指数变化。寻找最优变量阶数已被证明是一个NP完全问题。已经提出了许多算法来找到这个问题的近似最优解。在本文中,我们提出了一种基于神经网络的方法来预测未知公式的近最优变量阶数。将这些公式看作是超图,将信息传递神经网络提升为3-超图(MPNN 3),可以学习布尔公式的模式。与传统方法相比,该方法可以在极短的时间内找到一个接近最优的解,即使对于一些困难的例子也是如此,这是首次将神经网络应用于OBDD重排。
英文摘要:
Ordered binary decision diagrams (OBDDs) are an efficient data structure for representing and manipulating Boolean formulas. With respect to different variable orders, the OBDDs' sizes may vary from linear to exponential in the number of the Boolean variables. Finding the optimal variable order has been proved a NP-complete problem. Many heuristics have been proposed to find a near-optimal solution of this problem. In this paper, we propose a neural network-based method to predict near-optimal variable orders for unknown formulas. Viewing these formulas as hypergraphs, and lifting the message passing neural network into 3-hypergraph (MPNN3), we are able to learn the patterns of Boolean formula. Compared to the traditional methods, our method can find a near-the-best solution with an extremely shorter time, even for some hard examples.To the best of our knowledge, this is the first work on applying neural network to OBDD reordering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。