A new hybrid approach to improve the efficiency of homomorphic matching for graph rules

Abstract Conceptual graphs (CGs) have logical backgrounds and support visual reasoning. They are widely studied and used with the development of artificial intelligence. Homomorphic matching is the basic operation for the logical deduction based on CGs, which is a NP-complete problem. When the scale of the CG database is large, how to perform efficient homomorphic matching is a key factor affecting the usage of graph rules. In this paper, the CGs are transformed into labeled undirected graphs which have no multiple edges, then a new hybrid approach is proposed to improve the efficiency of homomorphic matching for graph rules. The hybrid approach is based on the traditional backtrack algorithm with a standard filter, and there are three improvements. Firstly, in the graph data sets, which are generated and enriched by using graph rules, there are frequent patterns occurred. Therefore, optimal homomorphic matching orders (OHMOs) of graph rules can be extracted from the historical graph data. OHMOs can reduce the number of comparisons during searching homomorphisms. Secondly, label type checking orders of nodes in the hypotheses of graph rules are optimized with the frequency statistics method. Using the two-stage optimized label checking orders (OLCOs) can save the calculation time of obtaining the candidate nodes and reduce the comparison times during searching homomorphisms. Thirdly, signatures of nodes in CGs are defined, and we use them to further filter the candidate nodes, then the search space of homomorphic matching is reduced. OHMOs and OLCOs are obtained off-line and signatures are calculated incrementally, so the on-line calculation for searching homomorphisms is seldom affected. At last, a study case is conducted, and the experiment results illustrate that the proposed approach is reasonable and effective.

[1]  Sidney N. Givigi,et al.  A Q-Learning Approach to Flocking With UAVs in a Stochastic Environment , 2017, IEEE Transactions on Cybernetics.

[2]  Liu Yanbing,et al.  Survey on Large-Scale Graph Pattern Matching , 2015 .

[3]  Peter Dayan,et al.  Technical Note: Q-Learning , 2004, Machine Learning.

[4]  Madalina Croitoru,et al.  Default Conceptual Graph Rules: Preliminary Results for an Agronomy Application , 2009, ICCS.

[5]  John F. Sowa,et al.  Conceptual Structures: Information Processing in Mind and Machine , 1983 .

[6]  Liang Xiao,et al.  Expressive security policy rules using Layered Conceptual Graphs , 2007, Knowl. Based Syst..

[7]  Alessia Saggese,et al.  Introducing VF3: A New Algorithm for Subgraph Isomorphism , 2017, GbRPR.

[8]  Jean-François Baget,et al.  Extensions of Simple Conceptual Graphs: the Complexity of Rules and Constraints , 2011, J. Artif. Intell. Res..

[9]  Lijun Chang,et al.  Efficient Subgraph Matching by Postponing Cartesian Products , 2016, SIGMOD Conference.

[10]  Mamadou Bilo Doumbouya,et al.  Argumentation graphs with constraint-based reasoning for collaborative expertise , 2018, Future Gener. Comput. Syst..

[11]  R. Sutton Introduction: The Challenge of Reinforcement Learning , 1992 .

[12]  Bernard Kamsu-Foguem,et al.  Graph-based reasoning in collaborative knowledge management for industrial maintenance , 2013, Comput. Ind..

[13]  Ambuj K. Singh,et al.  Closure-Tree: An Index Structure for Graph Queries , 2006, 22nd International Conference on Data Engineering (ICDE'06).

[14]  Mario Vento,et al.  A (sub)graph isomorphism algorithm for matching large graphs , 2004, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[15]  Marie-Laure Mugnier,et al.  Sound and Complete Forward and backward Chainingd of Graph Rules , 1996, ICCS.

[16]  Michael Luck,et al.  Graphical norms via conceptual graphs , 2012, Knowl. Based Syst..

[17]  Min Chen,et al.  An adaptive deep Q-learning strategy for handwritten digit recognition , 2018, Neural Networks.

[18]  Zeng Hui,et al.  The intensional semantic conceptual graph matching algorithm based on conceptual sub-graph weight self-adjustment , 2018 .

[19]  Ollivier Haemmerlé,et al.  A semantic validation of conceptual graphs , 2006, Knowl. Based Syst..

[20]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[21]  Bernard Kamsu-Foguem,et al.  Conceptual graph operations for formal visual reasoning in the medical domain , 2014 .

[22]  Patrice Buche,et al.  Default Reasoning Implementation in CoGui , 2014, ICCS.

[23]  M. Chein,et al.  Conceptual graphs: fundamental notions , 1992 .

[24]  Jeffrey Xu Yu,et al.  Taming verification hardness: an efficient algorithm for testing subgraph isomorphism , 2008, Proc. VLDB Endow..

[25]  Philip S. Yu,et al.  Graph indexing: a frequent structure-based approach , 2004, SIGMOD '04.

[26]  M. Mugnier,et al.  Représenter des connaissances et raisonner avec des graphes , 1996 .

[27]  John F. Sowa,et al.  Knowledge representation: logical, philosophical, and computational foundations , 2000 .