超大型有向无环图上的I/O有效互模拟划分
I/O efficient bisimulation partitioning on very large directed acyclic graphs
摘要:
在本文中,我们介绍了第一个有效的外部存储算法计算的双相似等价类的有向无环图(DAG)。DAG通常用于在各种实际应用中对数据进行建模,从XML文档和数据起源模型到Web分类和科学工作流。在研究大规模图上的高效推理时,节点双相似性的概念起着核心作用。例如,将XML数据集中的双相似节点分组在一起是许多复杂方法的第一步,这些方法用于构建索引数据结构,以实现高效的XML查询评估。然而,迄今为止,只有内部内存互模拟算法进行了研究。由于真实世界的DAG数据集的大小通常超过可用的主存储器,因此需要在外部存储器中进行存储。因此,实际上需要一种有效的方法来计算外部存储器中的互模拟。我们的通用算法具有O(Sort(|N| + |E|))的最坏情况IO复杂度,其中|N|和|E|分别是节点和边的数量,Sort(n)是对大小为n的输入进行排序所需的外部存储器访问次数。我们还研究了这种算法的特殊化,以共同的变化,互模拟树结构的XML数据集。我们经验验证了高效的性能的算法上的图形和XML文档具有数十亿的节点和边缘,并发现,即使在非常有限的内部内存可用的算法可以有效地处理这样的图形。所提出的算法是足够简单的实际实现和使用,并打开大门,进一步研究外部存储互模拟算法。为此,完整的开源C++实现已经免费提供。
英文摘要:
In this paper we introduce the first efficient external-memory algorithm to compute the bisimilarity equivalence classes of a directed acyclic graph (DAG). DAGs are commonly used to model data in a wide variety of practical applications, ranging from XML documents and data provenance models, to web taxonomies and scientific workflows. In the study of efficient reasoning over massive graphs, the notion of node bisimilarity plays a central role. For example, grouping together bisimilar nodes in an XML data set is the first step in many sophisticated approaches to building indexing data structures for efficient XPath query evaluation. To date, however, only internal-memory bisimulation algorithms have been investigated. As the size of real-world DAG data sets often exceeds available main memory, storage in external memory becomes necessary. Hence, there is a practical need for an efficient approach to computing bisimulation in external memory. Our general algorithm has a worst-case IO-complexity of O(Sort(|N| + |E|)), where |N| and |E| are the numbers of nodes and edges, resp., in the data graph and Sort(n) is the number of accesses to external memory needed to sort an input of size n. We also study specializations of this algorithm to common variations of bisimulation for tree-structured XML data sets. We empirically verify efficient performance of the algorithms on graphs and XML documents having billions of nodes and edges, and find that the algorithms can process such graphs efficiently even when very limited internal memory is available. The proposed algorithms are simple enough for practical implementation and use, and open the door for further study of external-memory bisimulation algorithms. To this end, the full open-source C++ implementation has been made freely available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。