A Learned Sketch for Subgraph Counting

被引:22
|
作者
Zhao, Kangfei [1 ]
Yu, Jeffrey Xu [1 ]
Zhang, Hao [1 ]
Li, Qiyan [2 ]
Rong, Yu [3 ]
机构
[1] Chinese Univ Hong Kong, Hong Kong, Peoples R China
[2] Wuhan Univ, Wuhan, Peoples R China
[3] Tecent AI Lab, Shenzhen, Peoples R China
关键词
Subgraph counting; Deep learning; CARDINALITY ESTIMATION; PREDICTION; ALGORITHM; GRAPHLETS; NETWORKS; QUERIES; BOUNDS; ORDER;
D O I
10.1145/3448016.3457289
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Subgraph counting, as a fundamental problem in network analysis, is to count the number of subgraphs in a data graph that match a given query graph by either homomorphism or subgraph isomorphism. The importance of subgraph counting derives from the fact that it provides insights of a large graph, in particular a labeled graph, when a collection of query graphs with different sizes and labels are issued. The problem of counting is challenging. On one hand, exact counting by enumerating subgraphs is NP-hard. On the other hand, approximate counting by subgraph isomorphism can only support 3/5-node query graphs over unlabeled graphs. Another way for subgraph counting is to specify it as an SQL query and estimate the cardinality of the query in RDBMS. Existing approaches for cardinality estimation can only support subgraph counting by homomorphism up to some extent, as it is difficult to deal with sampling failure when a query graph becomes large. A question that arises is if subgraph counting can be supported by machine learning (ML) and deep learning (DL). The existing DL approach for subgraph isomorphism can only support small data graphs. The ML/DL approaches proposed in RDBMS context for approximate query processing and cardinality estimation cannot be used, as subgraph counting is to do complex self-joins over one relation, whereas existing approaches focus on multiple relations. In this paper, we propose an Active Learned Sketch for Subgraph Counting (ALSS) with two main components: a sketch learned (LSS) and an active learner (AL). The sketch is learned by a neural network regression model, and the active learner is to perform model updates based on new arrival test query graphs. We conduct extensive experimental studies to confirm the effectiveness and efficiency of ALSS using large real labeled graphs. Moreover, we show that ALSS can assist query optimizers to find a better query plan for complex multi-way self-joins.
引用
收藏
页码:2142 / 2155
页数:14
相关论文
共 50 条
  • [41] StripMaker: Perception-driven Learned Vector Sketch Consolidation
    Liu, Chenxi
    Aoki, Toshiki
    Bessmeltsev, Mikhail
    Sheffer, Alla
    ACM TRANSACTIONS ON GRAPHICS, 2023, 42 (04):
  • [42] Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matching
    Liu, Xin
    Song, Yangqiu
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 7594 - 7602
  • [43] Seamless Privacy: Privacy-Preserving Subgraph Counting in Interactive Social Network Analysis
    Ding, Xuan
    Wang, Wei
    Wan, Meng
    Gu, Ming
    2013 INTERNATIONAL CONFERENCE ON CYBER-ENABLED DISTRIBUTED COMPUTING AND KNOWLEDGE DISCOVERY (CYBERC), 2013, : 97 - 104
  • [44] The LogLog Counting Reversible Sketch: a Distributed Architecture for Detecting Anomalies in Backbone Networks
    Callegari, Christian
    Di Pietro, Andrea
    Giordano, Stefano
    Pepe, Teresa
    Procissi, Gregorio
    2012 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2012,
  • [45] Sketch Tokens: A Learned Mid-level Representation for Contour and Object Detection
    Lim, Joseph J.
    Zitnick, C. Lawrence
    Dollar, Piotr
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2013, : 3158 - 3165
  • [46] Retrieving Aerial Scene Images with Learned Deep Image-Sketch Features
    Jiang, Tian-Bi
    Xia, Gui-Song
    Lu, Qi-Kai
    Shen, Wei-Ming
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2017, 32 (04) : 726 - 737
  • [47] Retrieving Aerial Scene Images with Learned Deep Image-Sketch Features
    Tian-Bi Jiang
    Gui-Song Xia
    Qi-Kai Lu
    Wei-Ming Shen
    Journal of Computer Science and Technology, 2017, 32 : 726 - 737
  • [48] Photon-Counting CT Reconstruction With a Learned Forward Operator
    Strom, Emanuel
    Persson, Mats
    Eguizabal, Alma
    Oktem, Ozan
    IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, 2022, 8 : 536 - 550
  • [49] Lessons Learned From Counting Toes: Reflecting on Medical Errors
    Grecco, Gregory G.
    ACADEMIC MEDICINE, 2020, 95 (08) : 1133 - 1133
  • [50] CURRENT STATUS OF DIAGNOSTIC COUNTING AND IMAGING TECHNIQUES USED IN NUCLEAR-MEDICINE - SKETCH
    BECK, RN
    IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 1974, NS21 (02) : 15 - 32