Incrementalizing Graph Algorithms

被引:10
作者
Fan, Wenfei [1 ,2 ]
Tian, Chao [3 ]
Xu, Ruiqi [1 ]
Yin, Qiang [3 ]
Yu, Wenyuan [3 ]
Zhou, Jingren [3 ]
机构
[1] Univ Edinburgh, Edinburgh, Midlothian, Scotland
[2] Shenzhen Inst Comp Sci, Shenzhen, Peoples R China
[3] Alibaba Grp, Hangzhou, Peoples R China
来源
SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2021年
基金
欧洲研究理事会;
关键词
incrementalization; boundedness; fixpoint algorithm; SHORTEST-PATH; NETWORKS; TREE;
D O I
10.1145/3448016.3452796
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Incremental algorithms are important to dynamic graph analyses, but are hard to write and analyze. Few incremental graph algorithms are in place, and even fewer offer performance guarantees. This paper approaches this by proposing to incrementalize existing batch algorithms. We identify a class of incrementalizable algorithms abstracted in a fixpoint model. We show how to deduce an incremental algorithm A(Delta) from such an algorithm A. Moreover, A(Delta) can be made bounded relative to 5i, i.e., its cost is determined by the sizes of changes to graphs and changes to the affected area that is necessarily checked by batch algorithm A. We provide generic conditions under which a deduced algorithm A(Delta) warrants to be correct and relatively bounded, by adopting the same logic and data structures of 5i, at most using timestamps as an additional auxiliary structure. Based on these, we show that a variety of graph-centric algorithms can be incrementalized with relative boundedness. Using real-life and synthetic graphs, we experimentally verify the scalability and efficiency of the incrementalized algorithms.
引用
收藏
页码:459 / 471
页数:13
相关论文
共 50 条
[1]  
Abiteboul Serge, 1995, Foundations of Databases: The Logical Level
[2]  
Acar Umut A., 2005, Self-adjusting computation
[3]  
[Anonymous], 2012, Livejournal
[4]  
[Anonymous], 2020, GRAPE
[5]  
[Anonymous], 2010, TWITTER 2010
[6]  
[Anonymous], 2007, ORKUT
[7]  
Backstrom L., 2006, P 12 ACM SIGKDD INT, P44, DOI DOI 10.1145/1150402.1150412
[8]  
Bang-Jensen J, 2009, SPRINGER MONOGR MATH, P1, DOI 10.1007/978-1-84800-998-1_1
[9]  
Boldi Paolo, 2004, P 13 INT C WORLD WID, P595
[10]  
Boldi Paolo, 2011, P 20 INT C WORLD WID, P587