On the Unification of the Graph Edit Distance and Graph Matching Problems Romain Raveaux

Total Page:16

File Type:pdf, Size:1020Kb

On the Unification of the Graph Edit Distance and Graph Matching Problems Romain Raveaux On the unification of the graph edit distance and graph matching problems Romain Raveaux To cite this version: Romain Raveaux. On the unification of the graph edit distance and graph matching problems. Pattern Recognition Letters, Elsevier, 2021, 145, 10.1016/j.patrec.2021.02.014. hal-03163084v2 HAL Id: hal-03163084 https://hal.archives-ouvertes.fr/hal-03163084v2 Submitted on 19 Mar 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. On the unification of the graph edit distance and graph matching problems Romain Raveaux1 1Universit´ede Tours, Laboratoire d'Informatique Fondamentale et Appliqu´eede Tours (LIFAT - EA 6300), 64 Avenue Jean Portalis, 37000 Tours, France 7th March 2020 Abstract Error-tolerant graph matching gathers an important family of problems. These problems aim at finding correspondences between two graphs while integrating an error model. In the Graph Edit Distance (GED) problem, the insertion/deletion of edges/nodes from one graph to another is explicitly expressed by the error model. At the opposite, the problem commonly referred to as \graph matching" does not explicitly express such operations. For decades, these two problems have split the research community in two separated parts. It resulted in the design of different solvers for the two problems. In this paper, we propose a unification of both problems thanks to a single model. We give the proof that the two problems are equivalent under a reformulation of the error models. This unification makes possible the use on both problems of existing solving methods from the two communities. Keywords| Graph edit distance, graph matching, error-correcting graph matching, discrete optimiza- tion Graphical Abstract 1 1 Introduction then Yi;k = 1, and Yi;k = 0 otherwise. We denote by y 2 f0; 1gn1:n2, a column-wise vectorized replica Graphs are frequently used in various fields of com- of Y . With this notation, graph matching problems puter science, since they constitute a universal mod- can be expressed as finding the assignment vector ∗ eling tool which allows the description of structured y that maximizes a score function S(G1;G2; y) as data. The handled objects and their relations are follows: described in a single and human-readable formal- ism. Hence, tools for graphs supervised classification Model 1. Graph matching model (GMM) and graph mining are required in many applications ∗ such as pattern recognition (Riesen, 2015), chemi- y =argmax S(G1;G2; y) (1a) cal components analysis, transfer learning (Das and y Lee, 2018). In such applications, comparing graphs subject to yi;k 2 f0; 1g 8(ui; vk) 2 V1 × V2 (1b) is of first interest. The similarity or dissimilarity be- X yi;k ≤ 1 8vk 2 V2 (1c) tween two graphs requires the computation and the ui2V1 evaluation of the \best" matching between them. X Since exact isomorphism rarely occurs in pattern yi;k ≤ 1 8ui 2 V1 (1d) analysis applications, the matching process must be vk2V2 error-tolerant, i.e., it must tolerate differences on the where equations (1c),(1d) induces the matching topology and/or its labeling. The Graph Edit Dis- constraints, thus making y an assignment vector. tance (GED)(Riesen, 2015) problem and the Graph The function S(G ;G ; y) measures the similarity Matching problem (GM) (Swoboda et al., 2017) pro- 1 2 of graph attributes, and is typically decomposed into vide two different error models. These two problems a first order similarity function s(u ! v ) for a have been deeply studied but they have split the re- i k node pair u 2 V and v 2 V , and a second-order search community into two groups of people devel- i 1 k 2 similarity function s(e ! e ) for an edge pair e 2 oping separately quite different methods. ij kl ij E and e 2 E . Thus, the objective function of In this paper, we propose to unify the GED prob- 1 kl 2 graph matching is defined as: lem and the GM problem in order to unify the work force in terms of methods and benchmarks. We show X X S(G ;G ; y) = s(u ! v ) · y that the GED problem can be equivalent to the GM 1 2 i k i;k u 2V v 2V problem under certain (permissive) conditions. The i 1 k 2 X X paper is organized as follows: Section 2, we give the + s(eij ! ekl) · yik · yjl definitions of the problems. Section 3, the state of eij 2E1 ekl2E2 the art on GM and GED is presented along with the (2) literature comparing GED and GM to other prob- In essence, the score accumulates all the similarity lems. Section 4, a specific related work is detailed values that are relevant to the assignment. The GM since it is the basement of our reasoning. Section problem has been proven to be NP-hard by (Garey 5, our proposal is described and a proof is given. and Johnson, 1979). Section 6, experimental results are presented to val- idate empirically our proposal. Finally, conclusions are drawn. 2.2 Graph Edit Distance The graph edit distance (GED) was first reported in (Tsai et al., 1979). GED is a dissimilarity mea- 2 Definitions and problems sure for graphs that represents the minimum-cost sequence of basic editing operations to transform a In this section, we define the problems to be studied. graph into another graph by means classically in- An attributed graph is considered as a set of 4 tuples cluded operations: insertion, deletion and substitu- (V ,E,µ,ζ) such that: G = (V ,E,µ,ζ). V is a set of tion of vertices and/or edges. Therefore, GED can vertices. E is a set of edges such as E ⊆ V × V . µ be formally represented by the minimum cost edit is a vertex labeling function which associates a label path transforming one graph into another. Edge to a vertex. ζ is an edge labeling function which operations are taken into account in the matching associates a label to an edge. process when substituting, deleting or inserting their adjacent vertices. From now on and for simplicity, 2.1 Graph matching problem we denote the substitution of two vertices ui and vk by (ui ! vk), the deletion of vertex ui by (ui ! ) The objective of graph matching is to find correspon- and the insertion of vertex vk by ( ! vk). Like- dences between two attributed graphs G1 and G2.A wise for edges eij and ekl,(eij ! ekl) denotes edges solution of graph matching is defined as a subset of substitution, (eij ! ) and ( ! ekl) denote edges possible correspondences Y ⊆ V1 × V2, represented deletion and insertion, respectively. by a binary assignment matrix Y 2 f0; 1gn1×n2, An edit path (λ) is a set of edit operations o. where n1 and n2 denote the number of nodes in G1 This set is referred to as Edit Path and it is defined and G2, respectively. If ui 2 V1 matches vk 2 V2, in Definition1. 2 Definition 1. Edit Path Property 1. The edges matching are driven by the A set λ = fo1; ··· ; okg of k edit operations o that vertices matching transform G1 completely into G2 is called an (com- Assuming that constraint defined in Definition4 plete) edit path. is satisfied then three cases can appear : Case 1: If there is an edge eij = (ui; uj ) 2 E1 and an Let c(o) be the cost function measuring the edge ekl = (vk; vl) 2 E2, edges substitution between strength of an edit operation o. Let Γ(G1;G2) be (ui; uj ) and (vk; vl) is performed (i.e., (eij ! ekl)). the set of all possible edit paths (λ). The graph edit Case 2: If there is an edge eij = (ui; uj ) 2 E1 and distance problem is defined by Problem1. there is no edge between vk and vl then an edge dele- tion of (ui; uj ) is performed (i.e., (eij ! )). Problem 1. Graph Edit Distance Case 3: If there is no edge between ui and uj Let G1 = (V1,E1,µ1,ζ1) and G2 = (V2,E2,µ2,ζ2) be and there is an edge between and an edge ekl = two graphs, the graph edit distance between G1 and (vk; vl) 2 E2 then an edge insertion of (vk; vl) is G2 is defined as: performed (i.e., ( ! ekl)). X dmin(G1;G2) = min c(o) (3) The GED problem defined in Problem1 and re- λ2Γ(G1;G2) o2λ fined with constraints defined in Definitions2,3 and 4 is referred in the literature and in this paper as the GED problem. The GED problem has been proven The GED problem is a minimization problem and to be NP-hard by (Zeng et al., 2009). dmin is the best distance. In its general form, the GED problem (Problem1) is very versatile. The problem has to be refined to cope with the con- 2.3 Related problems and models straints of an assignment problem. First, let us de- fine constraints on edit operations (oi) in Definition GED and GM problems fall into the family of 2. error-tolerant graph matching problems. GED and GM problems can be equivalent to another prob- Definition 2. Edit operations constraints lem called Quadratic Assignment Problem (QAP) (Bougleux et al., 2017; Cho et al., 2013).
Recommended publications
  • Error-Tolerant Graph Matching: a Formal Framework and Algorithms
    Error-Tolerant Graph Matching: A Formal Framework and Algorithms H. Bunke Department of Computer Science,University of Bern, Neubr/ickstr. 10, CH-3012 Bern, Switzerland [email protected] Abstract. This paper first reviews some theoretical results in error- tolerant graph matching that were obtained recently. The results in- clude a new metric for error-tolerant graph matching based on maximum common subgraph, a relation between maximum common subgraph and graph edit distance, and the existence of classes of cost functions for error-tolerant graph matching. Then some new optimal algorithms for error-tolerant graph matching are discussed. Under specific conditions, the new algorithms may be significantly more efficient than traditional methods. Keywords: structural pattern recognition, graphs, graph matching, error-tolerant matching, edit distance, maximum common subgraph, cost function 1 Introduction In structural pattern recognition, graphs are widely used for object representa- tion. Typically, parts of a complex object, or pattern, are represented by nodes, and relations between the various parts by edges. Labels and/or attributes for nodes and edges are used to further distinguish between different classes of nodes and edges, or to incorporate numerical information in the symbolic representa- tion. Using graphs to represent both known models from a database and un- known input patterns, the recognition task turns into a graph matching problem. That is, the database is searched for models that are similar to the unknown input graph. Standard algorithms for graph matching include graph isomorphism, sub- graph isomorphism, and maximum common subgraph search [1, 2]. However, in real world applications we can't always expect a perfect match between the input and one of the graphs in the database.
    [Show full text]
  • Typical Snapshots Selection for Shortest Path Query in Dynamic Road Networks
    Typical Snapshots Selection for Shortest Path Query in Dynamic Road Networks Mengxuan Zhang, Lei Li, Wen Hua, Xiaofang Zhou School of Information Technology and Electrical Engineering The University of Queensland, Brisbane, Australia [email protected], fl.li3, [email protected],[email protected] Abstract. Finding the shortest paths in road network is an important query in our life nowadays, and various index structures are constructed to speed up the query answering. However, these indexes can hardly work in real-life scenario because the traffic condition changes dynamically, which makes the pathfinding slower than in the static environment. In order to speed up path query answering in the dynamic road network, we propose a framework to support these indexes. Firstly, we view the dynamic graph as a series of static snapshots. After that, we propose two kinds of methods to select the typical snapshots. The first kind is time-based and it only considers the temporal information. The second category is the graph representation-based, which considers more insights: edge-based that captures the road continuity, and vertex-based that reflects the region traffic fluctuation. Finally, we propose the snapshot matching to find the most similar typical snapshot for the current traffic condition and use its index to answer the query directly. Extensive experiments on real-life road network and traffic conditions validate the effectiveness of our approach. Keywords: Shortest Path, Snapshot Selection, Dynamic Road Network 1 Introduction Shortest path query is a fundamental operation in road network routing and navigation. A road network can be denoted as a directed graph G(V; E) where V is the set of road intersections, and E ⊆ V × V is the set of road segments.
    [Show full text]
  • A Binary Linear Programming Formulation of the Graph Edit Distance
    1200 IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 28, NO. 8, AUGUST 2006 A Binary Linear Programming Formulation of the Graph Edit Distance Derek Justice and Alfred Hero, Fellow, IEEE Abstract—A binary linear programming formulation of the graph edit distance for unweighted, undirected graphs with vertex attributes is derived and applied to a graph recognition problem. A general formulation for editing graphs is used to derive a graph edit distance that is proven to be a metric, provided the cost function for individual edit operations is a metric. Then, a binary linear program is developed for computing this graph edit distance, and polynomial time methods for determining upper and lower bounds on the solution of the binary program are derived by applying solution methods for standard linear programming and the assignment problem. A recognition problem of comparing a sample input graph to a database of known prototype graphs in the context of a chemical information system is presented as an application of the new method. The costs associated with various edit operations are chosen by using a minimum normalized variance criterion applied to pairwise distances between nearest neighbors in the database of prototypes. The new metric is shown to perform quite well in comparison to existing metrics when applied to a database of chemical graphs. Index Terms—Graph algorithms, similarity measures, structural pattern recognition, graphs and networks, linear programming, continuation (homotopy) methods. æ 1INTRODUCTION TTRIBUTED graphs provide convenient structures for chemicals or medicines [6]. Various techniques have been Arepresenting objects when relational properties are of designed for processing the graphs for structural features and interest.
    [Show full text]
  • Bayesian Graph Edit Distance
    This is a repository copy of Bayesian graph edit distance. White Rose Research Online URL for this paper: https://eprints.whiterose.ac.uk/1988/ Article: Myers, R., Hancock, E.R. orcid.org/0000-0003-4496-2028 and Wilson, R.C. (2000) Bayesian graph edit distance. IEEE Transactions on Pattern Analysis and Machine Intelligence. pp. 628-635. ISSN 0162-8828 https://doi.org/10.1109/34.862201 Reuse Items deposited in White Rose Research Online are protected by copyright, with all rights reserved unless indicated otherwise. They may be downloaded and/or printed for private study, or other acts as permitted by national copyright laws. The publisher or other rights holders may allow further reproduction and re-use of the full text version. This is indicated by the licence information on the White Rose Research Online record for the item. Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request. [email protected] https://eprints.whiterose.ac.uk/ 628 IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 22, NO. 6, JUNE 2000 Bayesian Graph Edit Distance strings [10]. This idea has been extended to form a basis for comparing trees and graphs on a global level [11], [12], [1], [7]. Richard Myers, Richard C. Wilson, and More recently, the idea of actively editing graphs during the matching process to eliminate relational clutter has proved very Edwin R. Hancock successful [13], [8], [14].
    [Show full text]
  • A Survey of Graph Edit Distance
    Pattern Anal Applic (2010) 13:113–129 DOI 10.1007/s10044-008-0141-y THEORETICAL ADVANCES A survey of graph edit distance Xinbo Gao Æ Bing Xiao Æ Dacheng Tao Æ Xuelong Li Received: 15 November 2007 / Accepted: 16 October 2008 / Published online: 13 January 2009 Ó Springer-Verlag London Limited 2009 Abstract Inexact graph matching has been one of the 1 Originality and contribution significant research foci in the area of pattern analysis. As an important way to measure the similarity between pair- Graph edit distance is an important way to measure the wise graphs error-tolerantly, graph edit distance (GED) is similarity between pairwise graphs error-tolerantly in the base of inexact graph matching. The research advance inexact graph matching and has been widely applied to of GED is surveyed in order to provide a review of the pattern analysis and recognition. However, there is scarcely existing literatures and offer some insights into the studies any survey of GED algorithms up to now, and therefore of GED. Since graphs may be attributed or non-attributed this paper is novel to a certain extent. The contribution of and the definition of costs for edit operations is various, the this paper focuses on the following aspects: existing GED algorithms are categorized according to these On the basis of authors’ effort for studying almost all two factors and described in detail. After these algorithms GED algorithms, authors firstly expatiate on the idea of are analyzed and their limitations are identified, several GED with illustrations in order to make the explanation promising directions for further research are proposed.
    [Show full text]
  • A Metric Learning Approach to Graph Edit Costs for Regression Linlin Jia, Benoit Gaüzère, Florian Yger, Paul Honeine
    A Metric Learning Approach to Graph Edit Costs for Regression Linlin Jia, Benoit Gaüzère, Florian Yger, Paul Honeine To cite this version: Linlin Jia, Benoit Gaüzère, Florian Yger, Paul Honeine. A Metric Learning Approach to Graph Edit Costs for Regression. Proceedings of IAPR Joint International Workshops on Statistical techniques in Pattern Recognition (SPR 2020) and Structural and Syntactic Pattern Recognition (SSPR 2020), Jan 2021, Venise, Italy. hal-03128664 HAL Id: hal-03128664 https://hal-normandie-univ.archives-ouvertes.fr/hal-03128664 Submitted on 2 Feb 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. A Metric Learning Approach to Graph Edit Costs for Regression Linlin Jia1;4, Benoit Ga¨uz`ere1;4, Florian Yger2?, and Paul Honeine3;4 1 LITIS Lab, INSA Rouen Normandie, France 2 LAMSADE, Universit´eParis Dauphine-PSL, France 3 LITIS Lab, Universit´ede Rouen Normandie, France 4 Normandie Universit´e,France Abstract. Graph edit distance (GED) is a widely used dissimilarity measure between graphs. It is a natural metric for comparing graphs and respects the nature of the underlying space, and provides interpretability for operations on graphs. As a key ingredient of the GED, the choice of edit cost functions has a dramatic effect on the GED and therefore the classification or regression performances.
    [Show full text]
  • Theory of Graph Traversal Edit Distance, Extensions, and Applications
    THESIS THEORY OF GRAPH TRAVERSAL EDIT DISTANCE, EXTENSIONS, AND APPLICATIONS Submitted by Ali Ebrahimpour Boroojeny Department of Computer Science In partial fulfillment of the requirements For the Degree of Master of Science Colorado State University Fort Collins, Colorado Spring 2019 Master’s Committee: Advisor: Hamidreza Chitsaz Asa Ben-Hur Zaid Abdo Copyright by Ali Ebrahimpour Boroojeny 2019 All Rights Reserved ABSTRACT THEORY OF GRAPH TRAVERSAL EDIT DISTANCE, EXTENSIONS, AND APPLICATIONS Many problems in applied machine learning deal with graphs (also called networks), including social networks, security, web data mining, protein function prediction, and genome informatics. The kernel paradigm beautifully decouples the learning algorithm from the underlying geometric space, which renders graph kernels important for the aforementioned applications. In this paper, we give a new graph kernel which we call graph traversal edit distance (GTED). We introduce the GTED problem and give the first polynomial time algorithm for it. Informally, the graph traversal edit distance is the minimum edit distance between two strings formed by the edge labels of respective Eulerian traversals of the two graphs. Also, GTED is motivated by and provides the first mathematical formalism for sequence co-assembly and de novo variation detection in bioinformatics. We demonstrate that GTED admits a polynomial time algorithm using a linear program in the graph product space that is guaranteed to yield an integer solution. To the best of our knowledge, this is the first approach to this problem. We also give a linear programming relaxation algorithm for a lower bound on GTED. We use GTED as a graph kernel and evaluate it by computing the accuracy of an SVM classifier on a few datasets in the literature.
    [Show full text]
  • Graph Edit Networks
    Published as a conference paper at ICLR 2021 GRAPH EDIT NETWORKS Benjamin Paassen Daniele Grattarola The University of Sydney Università della Svizzera italiana [email protected] [email protected] Daniele Zambon Cesare Alippi Università della Svizzera italiana Università della Svizzera italiana [email protected] Politecnico di Milano [email protected] Barbara Hammer Bielefeld University [email protected] ABSTRACT While graph neural networks have made impressive progress in classification and regression, few approaches to date perform time series prediction on graphs, and those that do are mostly limited to edge changes. We suggest that graph edits are a more natural interface for graph-to-graph learning. In particular, graph edits are general enough to describe any graph-to-graph change, not only edge changes; they are sparse, making them easier to understand for humans and more efficient computationally; and they are local, avoiding the need for pooling layers in graph neural networks. In this paper, we propose a novel output layer - the graph edit network - which takes node embeddings as input and generates a sequence of graph edits that transform the input graph to the output graph. We prove that a mapping between the node sets of two graphs is sufficient to construct training data for a graph edit network and that an optimal mapping yields edit scripts that are almost as short as the graph edit distance between the graphs. We further provide a proof-of-concept empirical evaluation on several graph dynamical systems, which are difficult to learn for baselines from the literature.
    [Show full text]
  • Big Graph Processing: Partitioning and Aggregated Querying
    Big Graph Processing : Partitioning and Aggregated Querying Ghizlane Echbarthi To cite this version: Ghizlane Echbarthi. Big Graph Processing : Partitioning and Aggregated Querying. Databases [cs.DB]. Université de Lyon, 2017. English. NNT : 2017LYSE1225. tel-01707153 HAL Id: tel-01707153 https://tel.archives-ouvertes.fr/tel-01707153 Submitted on 12 Feb 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. No d’ordre NNT : 2017LYSE1225 THESEDEDOCTORATDEL’UNIVERSIT` EDELYON´ op´er´ee au sein de l’Universit´e Claude Bernard Lyon 1 Ecole´ Doctorale ED512 Infomath Sp´ecialit´e de doctorat : Informatique Soutenue publiquement le 23/10/2017, par : Ghizlane ECHBARTHI Big Graph Processing: Partitioning and Aggregated Querying Devant le jury compos´ede: Nom Pr´enom, grade/qualit´e, ´etablissement/entreprise Pr´esident(e) Karine Zeitouni, Professeur, Universit´e de Versaille Rapporteure Raphael Couturier, Professeur, Universit´e de Franche-Comt´e Rapporteur Angela Bonifati, Professeur, Universit´e Lyon 1 Examinatrice Mohand Boughanem, Professeur, Universit´e Paul Sabatier Examinateur Hamamache Kheddouci, Professeur, Universit´e Lyon 1 Directeur de th`ese Remerciements Tout d’abord je tiens `a remercier mon directeur de th`ese Hamamache KHEDDOUCI, de m’avoir acceuilli au sein de l’´equipe GOAL, d’avoir constamment veill´e sur la qualit´e de mon travail et de m’avoir apport´e un soutien scientifique et morale d’une grande importance.
    [Show full text]
  • Graph Attribute Embedding Via Riemannian Submersion Learning
    Graph Attribute Embedding via Riemannian Submersion Learning Author Zhao, Haifeng, Robles-Kelly, Antonio, Zhou, Jun, Lu, Jianfeng, Yang, Jing-Yu Published 2011 Journal Title Computer Vision and Image Understanding DOI https://doi.org/10.1016/j.cviu.2010.12.005 Copyright Statement © 2011 Elsevier Inc. This is the author-manuscript version of this paper. Reproduced in accordance with the copyright policy of the publisher. Please refer to the journal's website for access to the definitive, published version. Downloaded from http://hdl.handle.net/10072/52094 Griffith Research Online https://research-repository.griffith.edu.au Graph Attribute Embedding via Riemannian Submersion Learning Haifeng Zhao4 Antonio Robles-Kelly1;2;3 Jun Zhou1;2;3 Jianfeng Lu4 Jing-Yu Yang4 1 NICTA,∗ Locked Bag 8001, Canberra ACT 2601, Australia 2 The Australian National University, Canberra ACT 0200, Australia 3 UNSW@ADFA, Canberra, ACT 2600, Australia 4 Nanjing University of Science and Technology, Nanjing 210094, China Abstract In this paper, we tackle the problem of embedding a set of relational structures into a metric space for purposes of matching and categorisation. To this end, we view the problem from a Riemannian perspective and make use of the concepts of charts on the manifold to define the embedding as a mixture of class-specific submersions. Formulated in this manner, the mixture weights are recovered using a probability density estimation on the embedded graph node coordinates. Further, we recover these class-specific submersions making use of an iterative trust-region method so as to minimise the L2 norm between the hard limit of the graph-vertex posterior probabilities and their estimated values.
    [Show full text]
  • Correlation Constraint Shortest Path Over Large Multi-Relation Graphs
    Correlation Constraint Shortest Path over Large Multi-Relation Graphs ∗ Xiaofei Zhang M. Tamer Ozsu¨ University of Memphis University of Waterloo [email protected] [email protected] ABSTRACT complex protein-to-protein interaction with six types of correla- Multi-relation graphs intuitively capture the heterogeneous corre- tions statistically learned from existing protein databases, revealing lations among real-world entities by allowing multiple types of re- that most protein-to-protein interactions are associated with at least lationships to be represented as entity-connecting edges, i.e., two two types of correlations. Other applications where these multiple entities could be correlated with more than one type of relation- relationships exist between entities include urban and transporta- ship. This is important in various applications such as social net- tion systems [13], ecology research [41], and recommender sys- work analysis, ecology, and bio-informatics. Existing studies on tems [31, 40]. The data in these applications are typically mod- these graphs usually consider an edge label constraint perspective, eled as multi-relation graphs capturing the heterogeneous multiple where each edge contains only one label and each edge is consid- correlations among real-world entities as entity-connecting edges. ered independently. For example, there are lines of research fo- Compared to other emerging graph models, e.g., the property graph cusing on reachability between two vertices under a set of edge model [4, 3], which allows multiple attributes and values to be as- label constraints, or finding paths whose consecutive edge labels sociated with vertices and edges, the multi-relation model is sim- satisfy a user-specified logical expression.
    [Show full text]
  • Efficient Graph Similarity Search in External Memory
    Received January 24, 2017; accepted March 4, 2017, date of publication March 14, 2017, date of current version April 24, 2017. Digital Object Identifier 10.1109/ACCESS.2017.2682107 Efficient Graph Similarity Search in External Memory XIAOYANG CHEN1, HONGWEI HUO1, (Member, IEEE), JUN HUAN2, (Senior Member, IEEE), AND JEFFREY SCOTT VITTER3, (Fellow, IEEE) 1Department of Computer Science, Xidian University, Xi'an 710071, China 2Department of Electrical Engineering and Computer Science, The University of Kansas, Lawrence, KS 66045 USA 3Department of Computer & Information Science, The University of Mississippi, Oxford, MS 38677-1848 USA Corresponding author: H. Huo ([email protected]) This work was supported in part by the National Science Foundation (NSF) of China under Grant 61173025 and Grant 61373044, and in part by the NSF USA under Grant CCF-1017623. ABSTRACT Many real-world applications, such as bioinformatics, data mining, pattern recognition, and social network analysis, benefit from efficient solutions for the graph similarity search problem. Existing methods have limited scalability when they handle the large graph databases, for example, those with millions or billions of graphs that cannot fit in main memory. In this paper, we study the problem of graph similarity search under the graph edit distance constraint in external memory. We present an efficient framework for arbitrary q-gram-based representations of a graph. Specifically, we propose a q-gram matrix index stored in hybrid layout in external memory to achieve efficient query processing, by converting the q-gram counting filter into a sparse matrix-vector multiplication problem. Furthermore, we also boost the query performance by transforming the global filter to a 2-D query rectangle, which allows us to perform a query in a reduced region, significantly reducing the number of query I/Os in practice.
    [Show full text]