Graph reduction for explainable artificial intelligence

By extracting and reducing subgraphs from continuous graphs to manageable units, the method addresses the neighborhood explosion problem, enhancing training and prediction accuracy while minimizing resource usage in graph neural networks.

JP2024125198APending Publication Date: 2024-09-13FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024030548
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-02-29
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing graph neural networks face challenges in accurately training due to the neighborhood explosion problem, which leads to increased computational complexity and resource demands, and there is a trade-off between training accuracy and latency when using iterative methods to aggregate information from neighboring nodes.

Method used

The method involves extracting subgraphs from a continuous graph, reducing them to manageable units, and determining the closest reduced subgraph that satisfies coverage conditions, using a GXAI engine to train a graph machine learning model.

Benefits of technology

This approach improves training accuracy and prediction accuracy by preserving the topological structure of the graph, reducing computational resources, and providing explainable predictive models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024125198000001
    Figure 2024125198000001
Patent Text Reader

Abstract

To provide a graph reduction method, a storage medium, and an electronic device for explainable artificial intelligence.SOLUTION: A method comprises the steps of receiving a graph representing a domain, extracting a first subgraph from the graph, and reducing each first subgraph to obtain a set of reduced subgraphs. The method also comprises the steps of: determining a closest reduced subgraph from the set; determining, on the basis of the extracted first subgraph and the closest reduced subgraph corresponding to each first subgraph, a coverage metric; determining whether the coverage metric satisfies a coverage condition; and performing, when the condition is not satisfied, a set of operations including repeating the reduction of the extracted first subgraph. The method further comprises the steps of obtaining, on the basis of repeating the first set of operations until the coverage condition is satisfied, a second subgraph from the closest reduced subgraph corresponding to each first subgraph and training, on the basis of the second subgraph, an explainable predictive model.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments discussed in this disclosure relate to graph reduction for explainable artificial intelligence. [Background technology]

[0002] Advances in the field of graph machine learning have led to the application of graph neural networks for classification tasks on the nodes and edges of a continuous graph. A node classification task in machine learning may be performed to predict information associated with a node of a continuous graph. Similarly, a regression task may be performed on a continuous graph such that continuous valued labels (instead of discrete valued labels) may be determined for the nodes of the continuous graph. The information or labels may be predicted based on the application of a trained graph neural network on information associated with a set of nodes of the continuous graph that may be in the vicinity of a particular target node. Information associated with the neighboring nodes may be extracted from the continuous graph for training, testing, and inference of the graph neural network. Typically, a graph neural network may be trained based on units of information that may be associated with the neighboring nodes of the continuous graph or the topological structure of the neighboring nodes. The units of information may be represented as vectors generated based on a summary of the extracted information. Training a graph neural network using vectors may not be accurate if the summary does not represent information associated with all the neighboring nodes of the target node or the nodes that are farther away from the target node. Moreover, the topological structure of the continuous graph around the target node may not be used for the generation of vectors representing summarized information, which may be important for efficient graph-based downstream machine learning.

[0003] To use the topological structure of the neighboring nodes for training, multiple subgraphs that may include all the neighboring nodes and edges emanating from the target node may be extracted from the continuous graph. Information obtained from such extracted subgraphs may be used to train the graph neural network. However, the expansion of the neighborhood relative to the target node may lead to an explosion in the number of nodes in the subgraph relative to the target node. The number of nodes may increase by an increment of the number of hops from the target node. This increment may lead to an exponential increase (relative to the number of nodes) in the number of neighboring nodes. The increase in the number of neighboring nodes may introduce additional computations that may need to be performed during training. Such additional computations may require substantial memory and / or processing power constraints of the device storing the graph neural network. Thus, the complexity and resources required for the execution of graph machine learning tasks on the subgraphs may increase due to the neighborhood explosion problem.

[0004] To utilize information related to all neighboring nodes of a target node to train a graph neural network, information related to samples of neighboring nodes may be aggregated. The aggregated information may be used for iterative training of the graph neural network. The training accuracy of the graph neural network may improve after each iteration, but there may be a trade-off between the number of iterations and the latency of the training process. Higher accuracy may require a large number of iterations, thereby increasing the latency of the training process.

[0005] The subject matter claimed in this disclosure is not limited to embodiments that solve any shortcomings or that operate only in environments such as those described above. Rather, this background is provided only to illustrate one example technology area where some embodiments described in this disclosure may be practiced. Summary of the Invention [Means for solving the problem]

[0006] According to an aspect of an embodiment, a method may include a set of operations. The set of operations may include receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph. The set of operations may further include extracting a set of first subgraphs from the received graph. The set of operations may further include reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs. The set of operations may further include performing the first set of operations to obtain a set of second subgraphs from the set of extracted first subgraphs based on the reduction of each first subgraph of the extracted set of first subgraphs. The first set of operations may further include determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs. The first set of operations may further include determining a set of coverage metrics based on the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs and the set of extracted first subgraphs. The first set of operations may further include determining whether the determined set of coverage metrics satisfies a set of coverage conditions. The first set of operations may further include reiterating the reduction of the set of extracted first subgraphs to obtain a set of reduced subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions. The set of operations may further include obtaining a set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs based on the iterative control of the execution of the first set of operations until the set of coverage metrics satisfies the set of coverage conditions.The set of operations may further include training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graph.

[0007] The object and advantages of the embodiments will be realized and attained at least by the elements, features, and combinations particularly pointed out in the claims.

[0008] Both the foregoing general description and the following detailed description are provided by way of example and are explanatory only and are not restrictive of the invention as claimed. [Brief description of the drawings]

[0009] Example embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings.

[0010] [Figure 1] FIG. 1 illustrates an example network environment relevant to graph reduction for explainable artificial intelligence (XAI).

[0011] [Diagram 2] FIG. 1 is a block diagram illustrating an example electronic device for graph reduction for explainable artificial intelligence (XAI).

[0012] [Diagram 3] FIG. 1 illustrates an example execution pipeline for graph reduction for explainable artificial intelligence (XAI).

[0013] [Figure 4] FIG. 1 illustrates an example scenario for extracting a subgraph from a received graph.

[0014] [Diagram 5] FIG. 2 illustrates a flowchart of an exemplary method for extracting a sub-graph from a received graph.

[0015] [Figure 6A] 6A and 6B taken together, illustrate an example scenario for reducing an extracted subgraph. [Figure 6B] 6A and 6B taken together, illustrate an example scenario for reducing an extracted subgraph.

[0016] [Figure 7A] 7A and 7B, taken together, illustrate a flowchart of an exemplary method for reducing an extracted subgraph. [Figure 7B] 7A and 7B, taken together, illustrate a flowchart of an exemplary method for reducing an extracted subgraph.

[0017] [Figure 8] FIG. 2 illustrates a flowchart of an exemplary method for determining the closest reduced subgraph corresponding to an extracted subgraph.

[0018] [Figure 9] FIG. 1 illustrates an example execution pipeline for nearest reduced subgraph coverage analysis.

[0019] [Figure 10] FIG. 1 illustrates a flowchart of an exemplary method for graph reduction for explainable artificial intelligence (XAI).

[0020] All according to at least one embodiment described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Some embodiments described herein relate to graph reduction methods and systems for explainable artificial intelligence. Here, graph reduction may involve extracting a plurality of subgraphs from the graph. Further, a set of reduced subgraphs may be obtained for each of the plurality of subgraphs, and a closest reduced subgraph may be determined from each set of reduced subgraphs. The closed reduced subgraphs may be used to enable a graph explainable artificial intelligence (GXAI) engine to generate an explainable predictive model that may be configured to make predictions on the graph data. In the present disclosure, a graph representing a domain (e.g., a financial fraud detection domain or a citation network domain) may be received. Further, a label associated with each node of a set of nodes of the received graph may also be received. Further, a set of first subgraphs may be extracted from the received graph. Each first subgraph of the extracted set of first subgraphs may be reduced to obtain a set of reduced subgraphs. Thereafter, a first set of operations may be performed for each set of reduced subgraphs corresponding to a first subgraph of the extracted set of first subgraphs. The set of operations may be performed to obtain a set of second subgraphs. The first set of operations includes determining a closest reduced subgraph from each set of reduced subgraphs. The first set of operations may further include determining a set of coverage metrics based on the set of first subgraphs and the closest reduced subgraph determined from each set of reduced subgraphs. The first set of operations may further include determining whether the determined set of coverage metrics satisfies a set of coverage conditions. The first set of operations may further include reiterating the reduction of the set of first subgraphs to re-obtain a set of reduced subgraphs for each first subgraph based on a determination that the set of coverage metrics does not satisfy the set of coverage conditions.A set of second subgraphs may be obtained from the determined closest reduced subgraphs from each set of reduced subgraphs. The set of second subgraphs may be obtained based on iterative control of execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. Finally, a graph machine learning model (e.g., a GXAI engine) may be trained based on the obtained set of second subgraphs and the received labels associated with each node of the set of nodes of the received graph.

[0022] Node classification on a continuous graph may be a graph-based machine learning task that may be performed using a multi-layer trained graph neural network model for a target node in the continuous graph. Similarly, a regression task may be performed on a continuous graph such that continuous-valued labels (instead of discrete-valued labels) may be determined for the nodes of the continuous graph. Typically, the graph neural network model may be trained based on information associated with a set of nodes of the continuous graph that may be a neighborhood of the target node. The graph neural network model may further be trained based on a topological structure of the set of nodes (i.e., the neighborhood nodes). The trained graph neural network model may predict properties of other nodes of the continuous graph. The predictive accuracy of the graph neural network model may depend on the training data and the method of obtaining the training data.

[0023] To train the graph neural network model, information related to neighboring nodes may be extracted from the continuous graph. The extraction may be based on summarization of information related to neighboring nodes into multiple information units that may be represented as vectors. The vectors may be used during a training phase, a testing phase, or an inference phase related to the graph neural network model. In a first scenario, the information summarization may be achieved based on a random walk that may be initiated from the target node. The random walk may include collection of information related to neighboring nodes located in a walking path along the continuous graph. However, in some cases, it may not be possible to ensure coverage of all neighboring nodes in the walking path. In a second scenario, for information summarization, information related to neighboring nodes may be aggregated. Based on the aggregation result, it may be observed that information related to neighboring nodes that are farther from the target node may be diluted. Lack of coverage of all neighboring nodes or dilution of information related to neighboring nodes that are farther from the target node may have a negative impact on the training accuracy or prediction accuracy of the graph neural network model.

[0024] In both above scenarios, the topological structure of the neighboring nodes may be lost by summarization. The topological structure may be valuable for downstream tasks based on graph machine learning. To preserve and use the topological structure of the neighboring nodes (for training the graph neural network model), a number of subgraphs may be extracted from the continuous graph. The subgraphs may include all the neighboring nodes of the target node. However, the extraction of subgraphs may lead to the problem of neighborhood explosion, especially when the hop count from the target node increases. For example, if the hop count is incremented by “1” to include nodes that may be at the next level of neighboring nodes (with respect to the target node), the count of neighboring nodes or the count of nodes in the extracted subgraph may increase exponentially. The increase in the count of nodes in the subgraph may require the performance of additional computations during the training phase of the graph neural network model. Due to such a requirement, it may be impractical to perform multi-hop extraction-based (or subgraph-based) graph machine learning beyond a certain hop level on a device that may be constrained based on memory and / or processing power.

[0025] The need for additional computation during the training phase may be avoided by prior analysis and computation based on the topological structure of the neighboring nodes. The analysis and computation may lead to generating a vector representation that may contain information related to the neighboring nodes, which may be grouped based on their hop counts and may be used for training the graph neural network. However, the vector representation may not accurately capture the topological structure of the neighboring nodes in certain scenarios. An example of such a scenario may be when multiple edges originate from nodes that are a certain number of hops away from the target node. Furthermore, the generation of the vector representation may hinder the application of explainable artificial intelligence as a downstream machine learning task.

[0026] To ensure that information associated with all or a representative set of neighboring nodes is used for training the graph neural network model, information associated with a sample of neighboring nodes may be aggregated, and the aggregated information may be used to train the graph neural network model in a particular training iteration. Thus, the graph neural network model may be trained based on information associated with all neighboring nodes in multiple training iterations. Here, the training accuracy or prediction accuracy may be proportional to the number of iterations in the multiple training iterations, and the training latency may be inversely proportional to the number of training iterations. Thus, there may be a trade-off between prediction (or training) accuracy and training latency, which may be undesirable.

[0027] According to one or more embodiments of the present disclosure, the technical field of subgraph-based machine learning on large continuous graphs may be improved by configuring a computing system (e.g., an electronic device) such that the computing system may scale an input large continuous graph, e.g., including millions of nodes and edges, into manageable subgraph units. For example, the continuous graph may represent data and relationships between data related to domains such as citation networks, social media, or financial transactions. The computing system may extract such subgraph units from the input continuous graph, which may facilitate performing graph-based machine learning on the individual units (i.e., extracted subgraphs) of the continuous graph. The computing system may convert the graph data represented in the extracted subgraphs into a format suitable for training the GXAI pipeline (wherein the graph data may be represented as a reduced subgraph that is closest to the extracted subgraph). The GXAI pipeline may include a GXAI engine and an explainable prediction model. The GXAI pipeline may be optimized to learn the graph structure and attributes of the continuous graph based on the formatted data to achieve desired prediction accuracy and generate explainable results.

[0028] The computing system can extract information related to nodes of the input continuous graph that may be a predefined number of hops away from the target node to extract a set of subgraphs. Extracting the set of subgraphs can improve the training and prediction accuracy of the GXAI pipeline, since it allows the use of long-range information to perform node classification machine learning tasks using the GXAI pipeline to train and predict graph data. The long-range information can be obtained by setting the predefined number of hops to a higher value, such that nodes that are farther away from the target node can be included in the subgraph. Furthermore, the extraction of subgraphs can mitigate the neighborhood explosion problem, since the number of nodes included in each subgraph can be controlled by setting the number of hops to a manageable value. Furthermore, the training dataset associated with each subgraph can have various fan-outs and complexities. Extracting the subgraphs can further enable the preservation of the topological structure (of the input continuous graph), which may facilitate the generation of accurate downstream graph-based machine learning using the GXAI pipeline. Using a set of subgraphs (instead of a vector representation of graph information) enables graph machine learning directly on the graph structure (of the input continuous graph), which may allow the GXAI pipeline to improve its prediction accuracy. Training the GXAI pipeline based on information obtained from the extracted subgraphs may allow the GXAI pipeline to provide node-, edge-, or motif-based explanations for each prediction and avoid opaque black-box behavior.

[0029] Based on the graph size goal and a set of hyperparameters (related to graph reduction), the computing system may reduce the size of each extracted subgraph into a corresponding set of reduced subgraphs. The computing system may further rank the reduced subgraphs of each set of reduced subgraphs. Furthermore, the computing system may determine, from each set of reduced subgraphs, a closest reduced subgraph with properties that may be a best match for the corresponding extracted subgraph based on the rank. Thus, a set of closest reduced subgraphs faithful to the corresponding set of extracted subgraphs may be determined. Determining the set of closest reduced subgraphs may minimize information related to neighboring nodes of the target node that may be lost during reduction of the set of extracted graphs. Minimizing information loss may result in improved prediction accuracy of the GXAI pipeline. The closest reduced subgraph may be in a format that may be suitable for downstream subgraph-based machine learning using the GXAI pipeline.

[0030] The computing system may further determine, based on the coverage threshold, whether a set of nearest reduced subgraphs corresponding to the set of extracted subgraphs contains sufficient information related to the set of extracted subgraphs. Based on a determination that each nearest reduced subgraph in the set of nearest reduced subgraphs contains sufficient information, the computing system may use the set of nearest reduced subgraphs for downstream graph-based machine learning.

[0031] Embodiments of the present disclosure will now be described with reference to the accompanying drawings.

[0032] 1 is a diagram depicting an example network environment relevant to graph reduction for explainable artificial intelligence (XAI) according to at least one embodiment described in this disclosure. With reference to FIG. 1, a network environment 100 is shown. The network environment 100 can include an electronic device 102, a server 104 (which can host a database 106), a graph machine learning model 108, and an explainable predictive model 110. The electronic device 102, the server 104, the graph machine learning model 108, and the explainable predictive model 110 can be communicatively coupled to each other via a communication network (such as communication network 112).

[0033] The electronic device 102 may include suitable logic, circuitry, interfaces, and / or code that may be configured to receive an input continuous graph (e.g., graph 114) and extract a set of first subgraphs 116A...116N from the input continuous graph (i.e., graph 114). Further, the electronic device 102 may obtain a set of reduced subgraphs (e.g., set of reduced subgraphs 1 118A) based on the reduction of each first subgraph (such as first subgraph 116A) of the extracted set of first subgraphs 116A...116N. The electronic device 102 may then determine a closest reduced subgraph from each set of reduced subgraphs and obtain a set of second subgraphs 120A...120N from the closest reduced subgraph determined from each set of reduced subgraphs. The electronic device 102 may be further configured to train a graph machine learning model 108 based on the set of second subgraphs 120A...120N for predictions on the graph data. In one embodiment, the electronic device 102 can generate an explainable predictive model 110 based on training of the graph machine learning model 108. The explainable predictive model 110 can be used for explainable predictions on graph data. Examples of the electronic device 102 can include, but are not limited to, computing devices, smartphones, mainframe machines, servers, computer workstations, consumer electronics (CE) devices, and / or any device with graph processing capabilities (e.g., a device with a set of graphics processing units (GPUs)).

[0034] The server 104 may include suitable logic, circuits, and interfaces, and / or code that may be configured to receive a request from the electronic device 102 for the graph 114. The server 104 may be further configured to retrieve the graph 114 from the database 106 and transmit the retrieved graph 114 to the electronic device 102. In at least one embodiment, the server 104 may receive the graph 114 from the electronic device 102 and, based on receiving the graph 114 from the electronic device 102, generate and transmit a set of second sub-graphs 120A...120N to the electronic device 102. In other embodiments, the server 104 may be configured to train the graph machine learning model 108 and generate an explainable graph machine learning model (e.g., the explainable predictive model 110) that may be used for predictions regarding the graph data. The server 104 may be implemented as a cloud server and may perform operations through web applications, cloud applications, HyperText Transport Protocol (HTTP) requests, repository operations, file transfers, and the like. Other example implementations of server 104 may include, but are not limited to, a database server, a file server, a web server, a media server, an application server, a mainframe server, a cloud computing server, and / or any device with graph processing capabilities (e.g., a device with a set of graphics processing units (GPUs)).

[0035] In at least one embodiment, the server 104 may be implemented as a number of distributed cloud-based resources using a number of techniques that may be known to one of skill in the art. Those skilled in the art will appreciate that the scope of the present disclosure is not limited to implementing the server 104 and the electronic device 102 as two separate entities. In certain embodiments, the functionality of the server 104 may be incorporated in whole or at least in part into the electronic device 102 without departing from the scope of the present disclosure.

[0036] The database 106 may include suitable logic, circuitry, interfaces, and / or code that may be configured to store continuous graphs (such as the graph 114) representing various domains (such as a financial domain, a credit card fraud detection domain, a social media domain, an e-commerce domain, a citation network domain, etc.). In an embodiment, the database 106 may be further configured to store the graph machine learning model 108 and / or the explainable predictive model 110. The database 106 may be derived from data from a relational or non-relational database, or a set of comma separated value (csv) files in traditional storage or big data storage. The database 106 may be stored or cached on a device, such as the server 104 or the electronic device 102. The device that stores the database 106 may be configured to receive a query for the graph 114. In response, the device that stores the database 106 may be configured to retrieve and provide the graph 114 to the electronic device 102. According to an embodiment, the database 106 may be hosted on multiple servers stored in the same or different locations. The operations of database 106 may be performed using hardware, including a processor, a microprocessor (e.g., for performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In some other examples, database 106 may be implemented using software.

[0037] The graph machine learning model 108 may include suitable logic, circuitry, interfaces, and / or code that may be configured to perform graph machine learning tasks (such as node classification tasks and regression tasks) on the input subgraph data. According to an embodiment, the graph machine learning model 108 may correspond to a graph explainable artificial intelligence (GXAI) engine that may use the determined closest reduced subgraphs corresponding to each of the extracted first subgraphs of the set of first subgraphs 116A...116N for scalable batch-based graph machine learning. The GXAI engine may correspond to deep tensors that may use deep learning to enable machine learning on graph structured data such as the set of second subgraphs 120A...120N (i.e., the closest reduced subgraphs corresponding to the set of first subgraphs 116A...116N extracted from the input continuous graph 114). The deep tensors may convert the training graph data (e.g., the second subgraph 120A) into tensors to extract graph data features. The extraction may involve converting tensors into uniform tensor representations using tensor decomposition. The uniform tensor representations may be input to the explainable predictive model 110. The uniform tensor representations may facilitate the extraction of data features from the training graph data that may contribute significantly to inference results (which may be obtained based on application of the explainable predictive model 110 on the input subgraph). The deep tensors (associated with the GXAI engine) may further establish correspondence between the extracted features and the input subgraph to generate information representing a set of connections between nodes of the graph (from which the input subgraph may be extracted). This correspondence may enable understanding of machine learning results that may be obtained based on application of the explainable predictive model 110 on the input subgraph. In an embodiment, the graph machine learning model 108 may be stored in either the electronic device 102, the server 104, or the database 106.The graph machine learning model 108 may be implemented using hardware including a processor, a microprocessor (e.g., for performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In some other examples, the graph machine learning model 108 may be a set of code, programs, or software instructions. The graph machine learning model 108 may be implemented using a combination of hardware and software.

[0038] The explainable predictive model 110 may include suitable logic, circuitry, interfaces, and / or code that may be configured to classify or analyze the input graph data to generate output results (predictions) for a particular real-time application (e.g., a graph node classification task or a graph regression task). For example, the explainable predictive model 110 may be a trained graph neural network model that may recognize different types of node edges between each node in the input graph data. The edges may correspond to different connections or relationships between each node in the input graph data. Based on the recognized nodes and edges, the explainable predictive model 110 may classify different nodes in the input graph data into different labels or classes and generate explanations that may be used to understand, explain, or provide a reason(s) for the classification. In one example, a particular node in the input graph data may include a set of features associated with it. Furthermore, each edge may connect with a different node that has a similar set of features. The electronic device 102 may be configured to encode the set of features to generate a feature vector using the explainable predictive model 110. After encoding, the information may be passed between a particular node and neighboring nodes connected through edges. Based on the information passed to the neighboring nodes, a final vector may be generated for each node. Such a final vector may include information related to a set of features for the particular node and the neighboring nodes, thereby providing reliable and accurate information related to the particular node. As a result, the explainable predictive model 110 may analyze the information represented as input graph data and provide the reason behind a certain predicted outcome on the input graph data. In an embodiment, the explainable predictive model 110 may be stored in either the electronic device 102, the server 104, or the database 106.The explainable predictive model 110 may be implemented using hardware, including a processor, a microprocessor (e.g., for performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In some other examples, the explainable predictive model 110 may be a set of code, programs, or software instructions. The explainable predictive model 110 may be implemented using a combination of hardware and software.

[0039] In some embodiments, the graph machine learning model 108 and / or the explainable predictive model 110 may correspond to a machine learning model (e.g., a neural network model) having multiple classification layers for classifying different nodes in the input graph data, where each successive layer can use the output of the previous layer as input. Each classification layer may be associated with multiple edges, and each edge may be further associated with multiple weights. During training, the graph machine learning model 108 and / or the explainable predictive model 110 may be configured to filter or remove edges or nodes based on the input graph data and further provide an output result (i.e., a graph representation). Examples of the graph machine learning model 108 and / or the explainable predictive model 110 may include, but are not limited to, a graph convolutional network (GCN), a graph spatiotemporal network with GCN, a recurrent neural network (RNN), a deep Bayesian neural network, and / or a combination of such networks.

[0040] The communication network 112 may include a communication medium through which the electronic device 102, the server 104, the database 106, the graph machine learning model 108, and the explainable predictive model 110 may communicate with each other. The communication network 112 may be one of a wired connection or a wireless connection. Examples of the communication network 112 may include, but are not limited to, the Internet, a cloud network, a cellular or wireless mobile network (such as Long Term Evolution and 5G New Radio), a satellite network (such as a network of low earth orbit satellites), a wireless fidelity (Wi-Fi) network, a personal area network (PAN), a local area network (LAN), or a metropolitan area network (MAN). Various devices in the network environment 100 may be configured to connect to the communication network 112 according to various wired and wireless communication protocols. Examples of wired and wireless communication protocols may include, but are not limited to, at least one of Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Zig Bee, EDGE, IEEE 802.11, Light Fidelity (Li-Fi), 802.16, IEEE802.11s, IEEE802.11g, multi-hop communication, wireless access point (AP), device-to-device communication, cellular communication protocols, and Bluetooth (BT) communication protocols.

[0041] In operation, the electronic device 102 may be configured to receive a graph (e.g., graph 114) representing a domain and a label associated with each node of a set of nodes of the received graph 114. In some embodiments, the graph 114 may be received from the server 104 or the database 106 (via the server 104). The graph 114 may be a knowledge graph that may include a set of nodes and a set of edges connecting each node of the set of nodes with other nodes. Each node of the set of nodes may represent an entity of the domain, and each edge between any two nodes of the set of nodes may indicate a relationship between the two entities represented by those two nodes. The graph 114 may represent a finance domain, a credit card fraud detection domain, an e-commerce domain, a social network domain, or a citation network domain. For example, a knowledge graph (i.e., graph 114) representing a citation network domain may include nodes that may represent authors of a research work, a research work, or a location where the research work is presented or published. The edges of the knowledge graph may represent authorship relationships (between the authors of a research work and that research work) or publication relationships (between a research work or the places where that research work has been presented).

[0042] The electronic device 102 may further be configured to extract a set of first sub-graphs 116A...116N from the received graph 114. The extraction may be based on at least one of a hop limit, a node type associated with a node of the received graph 114, or a combination of a hop limit and a node type. The nodes of the received graph 114 may be identified training nodes or test nodes. The training nodes may be referred to as extracted nodes. A training node may be associated with a set of test nodes. The test nodes may be referred to as non-extracted nodes. Each first sub-graph of the set of first sub-graphs 116A...116N may be extracted around the extracted node. Thus, the count of extracted nodes identified in the graph 116 may be equal to the count of first sub-graphs in the set of first sub-graphs 116A...116N extracted from the graph 114. The electronic device 102 may set a hop limit (e.g., “k”) for the selection of nodes in the graph 114 that may be identified as non-extracted nodes associated with each extracted node. Based on the set hop limit, nodes in the graph 114 that are “k” hops away from each extracted node may be identified as non-extracted nodes associated with the corresponding extracted node. Once each node in the graph 114 is identified as either an extracted node or a non-extracted node, extraction of a set of first sub-graphs 116A...116N may begin. Each extracted first sub-graph may include the extracted node and associated non-extracted nodes that may be 1 hop, 2 hops,..., or k hops away from the extracted node. Details of the extraction of the set of first sub-graphs are further provided, for example, in FIG. 3, FIG. 4, and FIG. 5.

[0043] The electronic device 102 may be further configured to reduce each first subgraph of the set of extracted first subgraphs 116A...116N to obtain a set of reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N. According to an embodiment, the electronic device 102 may determine a graph size goal, a ring node goal, and a set of hyperparameters for reducing each first subgraph of the set of extracted first subgraphs 116A...116N. The set of extracted first subgraphs 116A...116N may be reduced based on at least one of the determined graph size goal, the determined ring node goal, and the determined set of hyperparameters to obtain a set of reduced subgraphs. The graph size goal may indicate the number of nodes and the number of edges that a reduced subgraph in each set of reduced subgraphs (corresponding to a first subgraph) may contain after reducing the first subgraph. The ring node goal may indicate the number of nodes in a ring of nodes at a hop level (from the target node) that may be removed due to the contraction of the first subgraph (associated with the target node). The set of hyperparameters may include a weight associated with each ring included in the ring list and whether the ring in the ring list is protected. The ring node goal for a ring may be set based on the weight associated with the ring or whether the ring is protected. A ring may be protected if the nodes surrounded by the ring cannot be removed due to the contraction of the associated first subgraph. The initial or first ring (i.e., the innermost ring) may be protected because the extracted nodes (surrounded by the first ring) may need to be retained. Thus, the weight of the first ring may be the highest compared to other rings, and the ring node goal for the first ring may be 0. The ring weight may indicate the importance of the information represented by the nodes that may be surrounded by the ring.The importance of the information may be defined based on the contribution of the information towards training (by the GXAI engine) the explainable predictive model 110 for batch graph-based machine learning and generating explainable inference results (i.e., predictions) by the explainable predictive model 110. Details of the reduction of the set of extracted first subgraphs are further provided in, for example, Figures 3, 6A, 6B, 7A and 7B.

[0044] The electronic device 102 may further be configured to perform a first set of operations to obtain a set of second subgraphs 120A...120N from the set of extracted first subgraphs 116A...116N based on the reduction of each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may include determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. For example, the electronic device 102 may determine the closest reduced subgraph from the set of reduced subgraphs 118A. Similarly, the closest reduced subgraph may be determined from the set of reduced subgraphs 118B, and the closest reduced subgraph may be determined from the set of reduced subgraphs N 118N. Details of determining the closest reduced subgraph from each set of reduced subgraphs corresponding to each first subgraph are further provided, for example, in FIG. 3 and FIG. 8.

[0045] The first set of operations may further include an operation of determining a set of coverage metrics based on the set of extracted first subgraphs 116A...116N and the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N. In an embodiment, the set of coverage metrics may be determined based on at least one of a first node repetition distribution, a first node degree distribution, a second node repetition distribution, a second node degree distribution, or a third node repetition distribution. The set of coverage metrics may include a distribution skew, a first correlation coefficient, and a second correlation coefficient. The first set of operations may further include an operation of determining whether the determined set of coverage metrics satisfies a set of coverage conditions. Details of the analysis of coverage based on nearest reduced subgraphs and the determination of the set of coverage metrics are further provided, for example, in FIG. 3 and FIG. 9.

[0046] The first set of operations may further include an operation of reiterating the reduction of the set of extracted first subgraphs 116A...116N based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions. The electronic device 102 may be configured to reiterate the reduction of each first subgraph of the set of first subgraphs 116A...116N to obtain a set of reduced subgraphs corresponding to each first subgraph. Once the set of reduced subgraphs corresponding to each first subgraph is obtained, the first set of operations may be repeated.

[0047] The electronic device 102 may further be configured to obtain a set of second subgraphs 120A...120N from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N of the first subgraphs. The set of second subgraphs 120A...120N may be obtained based on iterative control of the execution of the first set of operations until the determined set of coverage metrics satisfy the set of coverage conditions. For example, the second subgraph 120A may be obtained from the nearest reduced subgraph corresponding to the first subgraph 116A. The second subgraph 120A may be determined from the set of reduced subgraphs 118A. Similarly, other second subgraphs of the set of second subgraphs 120A...120N may be obtained from the determined nearest reduced subgraphs corresponding to other first subgraphs.

[0048] The electronic device 102 may further be configured to train a graph machine learning model 108 (i.e., a GXAI engine) based on the resulting set of second sub-graphs 120A...120N and the received labels associated with each node of the set of nodes of the received graph 114. According to an embodiment, the GXAI engine may use the set of second sub-graphs 120A...120N to generate an explainable predictive model 110 for explainable predictions on the graph data. The electronic device 102 may be configured to train the explainable predictive model 110 based on the set of second sub-graphs 120A...120N for scalable batch machine learning execution.

[0049] Modifications, additions, or omissions may be made to Figure 1 without departing from the scope of the present disclosure. For example, network environment 100 may include more or fewer elements than those shown and described in this disclosure. In some embodiments, the functionality of each of server 104 and database 106 may be incorporated into electronic device 102 without departing from the scope of the present disclosure.

[0050] FIG. 2 is a block diagram illustrating an example electronic device for graph reduction for explainable artificial intelligence (XAI) according to at least one embodiment described in this disclosure. FIG. 2 is described in conjunction with elements of FIG. 1. Referring to FIG. 2, a block diagram 200 of a system 202 including an electronic device 102 is shown. The electronic device 102 may include a processor 204, a memory 206, persistent data storage 208, an input / output (I / O) device 210, and a network interface 212. In at least one embodiment, the memory 206 may store the graph machine learning model 108 and the explainable predictive model 110. In at least one embodiment, the I / O device 210 may include a display device 210A.

[0051] The processor 204 may include appropriate logic, circuits, and interfaces that may be configured to execute a set of instructions stored in the memory 206. The processor 204 may be configured to execute program instructions associated with different operations performed by the electronic device 102. The processor 204 may be configured to receive the graph 114 representing the domain and a label associated with each node of the set of nodes of the received graph 114. The processor 204 may be further configured to extract a set of first sub-graphs 116A...116N from the received graph 114. The processor 204 may be further configured to reduce each first sub-graph (such as first sub-graph 116A) of the set of extracted first sub-graphs 116A...116N to obtain a set of reduced sub-graphs (e.g., set of reduced sub-graphs 1 118A) corresponding to each first sub-graph of the set of extracted first sub-graphs 116A...116N. The processor 204 may be further configured to obtain a set of second subgraphs 120A...120N from the set of extracted first subgraphs 116A...116N based on the reduction of each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may include determining a closest reduced subgraph from the set of reduced subgraphs (e.g., set of reduced subgraphs 1 118A) corresponding to each first subgraph (such as first subgraph 116A) in the set of extracted first subgraphs 116A...116N. The first set of operations may further include determining a set of coverage metrics based on the set of extracted first subgraphs 116A...116N and the determined closest reduced subgraph corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. Further, the first set of operations may include determining whether the determined set of coverage metrics satisfies the set of coverage conditions, and the first set of operations may include reiterating the reduction of the set of extracted first sub-graphs 116A...116N based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions.The processor 204 may be further configured to obtain a set of second subgraphs 120A...120N from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N based on the iterative control of the execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. The processor 204 may be further configured to train the graph machine learning model 108 based on the obtained set of second subgraphs 120A...120N and the received labels associated with each node of the set of nodes of the received graph 114. The processor 204 may be implemented based on a number of processor technologies known in the art. Examples of processor technologies may include, but are not limited to, a central processing unit (CPU), an X86-based processor, a reduced instruction set computing (RISC) processor, an application specific integrated circuit (ASIC) processor, a complex instruction set computing (CISC) processor, a graphics processing unit (GPU), a co-processor, or a combination thereof.

[0052] 2 as a single processor, processor 204 may include any number of processors configured to individually or collectively perform or direct the performance of any number of operations of electronic device 102, as described in this disclosure. Additionally, one or more of the processors may reside on one or more different electronic devices, such as different servers. In at least one embodiment, processor 204 may be configured to interpret and / or execute program instructions or process data, which may be stored in memory 206 or persistent data storage 208. In some embodiments, processor 204 is configured to fetch program instructions from persistent data storage 208 and load program instructions into memory 206. After the program instructions are loaded into memory 206, processor 204 may execute the program instructions.

[0053] The memory 206 may include suitable logic, circuits, and interfaces configured to store one or more instructions executed by the processor 204. The one or more instructions stored in the memory 206 may be executed by the processor 204 to perform various operations of the processor 204 (and the electronic device 102). The memory 206 may store the received graph 114, a set of extracted first subgraphs 116A...116N, a set of reduced subgraphs that may correspond to each first subgraph in the set of extracted first subgraphs 116A...116N, and a set of second subgraphs 120A...120N (including a nearest reduced subgraph determined from the set of reduced subgraphs corresponding to each first subgraph). The memory 206 may further store the graph machine learning model 108 and / or the explainable predictive model 110. The memory 206 may further store a first list (e.g., an extracted list) of extracted nodes (or extracted IDs) and a second list of non-extracted nodes. Examples of implementations of memory 206 may include, but are not limited to, a CPU cache, a hard disk drive (HDD), a solid state drive (SSD), random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and / or a secure digital (SD) card.

[0054] The persistent data storage 208 may include suitable logic, circuitry, and / or interfaces that may be configured to store program instructions executable by the processor 204. The persistent data storage 208 may include computer-readable storage media carrying or storing computer-executable instructions or data structures. Such computer-readable storage media may include any available media that may be accessed by a general-purpose or special-purpose computer, such as the processor 204. By way of example, and not limitation, such computer-readable storage media may include tangible or non-transitory computer-readable storage media, including compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices (e.g., hard disk drives (HDD)), flash memory devices (e.g., solid-state drives (SSD), secure digital (SD) cards, other solid-state memory devices), or any other storage medium that may be used to carry or store specific program code in the form of computer-executable instructions or data structures and that may be accessed by a general-purpose or special-purpose computer. Combinations of the above may also be included within the scope of computer-readable storage media. Computer-executable instructions may include, for example, instructions and data configured to cause the processor 204 to perform a certain operation or group of operations in connection with the electronic device 102 .

[0055] The I / O device 210 may include appropriate logic, circuits, and interfaces that may be configured to receive inputs and render outputs based on the received inputs. For example, the I / O device 210 may receive inputs that may trigger receipt of the graph 114. Additionally, the I / O device 210 may render outputs such as the set of first subgraphs 116A...116N, each set of reduced subgraphs (such as the set of reduced subgraphs 118A), the set of second subgraphs 120A...120N, or an input subgraph (associated with a domain), a predicted output of the explainable predictive model 110. The I / O device 210 may include a variety of input and output devices, and may be configured to communicate with the processor 204. Examples of the I / O device 210 may include, but are not limited to, a touch screen, a keyboard, a mouse, a joystick, a display device (e.g., display device 210A), a microphone, and a speaker.

[0056] The display device 210A may include appropriate logic, circuitry, and interfaces that may be configured to render an output (e.g., a predicted result of the explainable predictive model 110) that may be generated by the electronic device 102. The display device 208A may be a touch screen that may enable a user to provide user input via the display device 208A. The touch screen may be at least one of a resistive touch screen, a capacitive touch screen, or a thermal touch screen. The display device 208A may be realized by a number of known technologies, such as, but not limited to, at least one of a liquid crystal display (LCD) display, a light emitting diode (LED) display, a plasma display, or an organic LED (OLED) display technology, or other display devices. According to an embodiment, the display device 208A may refer to a display screen of a head mounted device (HMD), a smart glasses device, a see-through display, a projection-based display, an electrochromic display, or a transparent display.

[0057] The network interface 212 may include suitable logic, circuits, and interfaces that may be configured to facilitate communication between the processor 204 (i.e., the electronic device 102), the server 104, the graph machine learning model 108, and the explainable predictive model 110 over the communications network 112. The network interface 212 may be implemented using various known technologies to support wired or wireless communication of the electronic device 102 with the communications network 112. The network interface 212 may include, but is not limited to, an antenna, a radio frequency (RF) transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a coder-decoder (codec) chipset, a subscriber identity module (SIM) card, or a local buffer circuit. The network interface 212 may be configured to communicate via wireless communication with a network, such as the Internet, an intranet, or a wireless network, such as a cellular network, a wireless local area network (LAN), and a metropolitan area network (MAN). The wireless communication may be configured to use one or more of a number of communication standards, protocols, and technologies, such as Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), Fifth Generation (5G) New Radio (NR), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, etc.), Voice over Internet Protocol (VoIP), Light Fidelity (Li-Fi), Worldwide Interoperability for Microwave Access (Wi-MAX), protocols for email, instant messaging, and short message service (SMS).

[0058] Modifications, additions, or omissions may be made to the example electronic device 102 without departing from the scope of the present disclosure. For example, in some embodiments, the example electronic device 102 may include any number of other components that may not be explicitly shown or described for the sake of brevity.

[0059] FIG. 3 illustrates an example execution pipeline for graph reduction for explainable artificial intelligence (XAI), according to an embodiment of the present disclosure. FIG. 3 is described in conjunction with elements of FIG. 1 and FIG. 2. With reference to FIG. 3, an execution pipeline 300 is shown. The example execution pipeline 300 may include a sequence of operations that may be performed by the processor 204 of the electronic device 102 of FIG. 1 for graph reduction for XAI. In the execution pipeline 300, a sequence of operations that may begin at 302 and end at 316 is shown.

[0060] At 302, a graph 302A may be received. In at least one embodiment, the processor 204 may be configured to receive the graph 302A. The graph 302A may be received as training input graph data that may represent a domain and a label associated with each node of a set of nodes of the graph 302A. For example, the graph 302A may represent a credit card fraud detection domain. The graph 302A may include a set of nodes and a set of edges. Each node of the set of nodes may represent an entity, such as a credit card, a credit card holder, a point of sale (POS), or a business owner. Each edge of the set of edges between two nodes may represent a relationship between the two entities represented by those two nodes. The relationship may be either a transaction, a card ownership, or a business ownership.

[0061] At 304, a set of first sub-graphs 304A...304N may be extracted. In at least one embodiment, the processor 204 may be configured to extract the set of first sub-graphs 304A...304N. The extracted set of first sub-graphs 304A...304N may be provided to a Graph XAI (GXAI) engine to create and train an explainable predictive model 110 and perform scalable or batch graph machine learning. Extraction of the set of first sub-graphs 304A...304N may be necessary because the graph 302A may contain a huge number of nodes and edges. Due to the sheer amount of information contained in the graph 302A, the memory constraints of the GXAI engine, and the computational constraints of the GXAI engine, it may not be practical to apply graph machine learning using the GXAI engine or the explainable predictive model 110 on the original graph 302A (which may be a large graph). The extraction of a set of first subgraphs 304A...304N from graph 302A can partition the information contained in graph 302A. Each extracted first subgraph of the set of first subgraphs 304A...304N can represent a unit of information that may be manageable for training and inference of explainable predictive model 110 based on the memory and computational constraints of the GXAI engine. The information associated with each extracted first subgraph can significantly contribute to the generation of explainable inference results by explainable predictive model 110.

[0062] According to an embodiment, the processor 204 extracts a set of first sub-graphs 304A...304N from the received graph 304A based on at least one of a hop limit, a node type associated with the received graph, or a combination of a hop limit and a node type. The processor 204 may identify a node type associated with each node of the graph 304A as a training node (also referred to as an extracted node) or a test node (also referred to as a non-extracted node). Each first sub-graph of the set of first sub-graphs 304A...304N may include a non-extracted node that may be extracted around the identified extracted node and may be up to k hops away from the identified extracted node, where "k" is the hop limit.

[0063] The processor 204 may be configured to generate a subgraph list that stores the set of first subgraphs 304A...304N. Each entry in the subgraph list may include a tuple that may represent a first subgraph of the set of first subgraphs 304A...304N. The tuple representing the first subgraph may include an extraction node around which the first subgraph is extracted, a ring list, and an edge list. The ring list may include "(k+1)" concentric rings. The first or innermost ring of the ring list may surround the extraction node. A non-extraction node that is one hop away from the extraction node may then be placed outside the first ring. The placed non-extraction node may be surrounded by a second ring. Similarly, a non-extraction node that is k hops away from the extraction node may be outside the "k"th ring and surrounded by the "(k+1)"th ring. However, the placement of a non-extraction node outside the "k"th ring may be based on determining the non-extraction node as a neighbor of at least one non-extraction node located outside the "(k-1)"th ring. The edge list may include a set of edges. Each edge in the edge list may connect a pair of an extraction node (surrounded by the first ring) and a non-extraction node (located outside the first ring), or a pair of non-extraction nodes (located outside subsequent rings or the same ring).

[0064] The ring list and edge list of tuples may be initially empty. The ring list may be initialized with the extraction node and the first ring. Then, the non-extraction nodes one hop away from the extraction node may be placed outside the first ring, and edges connecting the extraction node to each non-extraction node (one hop away) may be included in the edge list. Furthermore, a second ring surrounding the non-extraction nodes (one hop away) may be included in the ring list. Placing the non-extraction nodes outside the rings included in the ring list, including edges, and including rings (surrounding the placed nodes) in the ring list may continue iteratively until the non-extraction nodes that are “k” hops away from the extraction node are placed outside the “k”th ring. Each edge may be included in the edge list and may connect a pair of non-extraction nodes surrounded by the “(k-1)”th ring and a non-extraction node placed outside the “k”th ring. The “(k+1)”th ring may be included in the ring list. At this stage, a first subgraph may be extracted and the tuples may be included in a subgraph list.

[0065] For example, each first subgraph of the set of first subgraphs 304A...304N may be extracted around a node representing a credit card owner. The processor 204 may identify the node representing the credit card owner as an extracted node and identify the nodes representing the credit card, the POS, and the business owner as non-extracted nodes. The non-extracted node representing the credit card may be one hop away from the extracted node. An edge connecting an extracted node with a non-extracted node representing a credit card may represent card ownership. A non-extracted node representing a POS may be two hops away from the extracted node. An edge connecting a non-extracted node representing a credit card with a non-extracted node representing a POS may represent a transaction. In some cases, a node two hops away from a target cardholder node may correspond to another cardholder node for the same credit card. For example, in the case of joint owners of the same credit card, the second hop node from the target cardholder node may be a node representing joint owners of the credit card. A non-extracted node representing a business owner may be three hops away from the extracted node. An edge connecting a non-extracted node representing a POS with a non-extracted node representing a business owner may represent business ownership.

[0066] For example, tuples in the subgraph list representing the extracted first subgraph can be extracted around an extracted node representing a credit card holder. The extracted first subgraph can include 125 nodes. The ring list can include four rings and the edge list can include 124 edges. The extracted node representing the credit card holder can be surrounded by the first ring. Further, the four nodes representing the credit cards can be placed outside the first ring and surrounded by the second ring. Further, four edges can connect the extracted node representing the credit card holder with the four non-extracted nodes representing credit cards. Thus, the credit card holder can own four credit cards. The credit card holder can perform 40 transactions at 40 POS using the four credit cards. In one example, 10 transactions can be performed using each credit card at each POS. Thus, the 40 nodes representing the POS can be placed outside the second ring and surrounded by the third ring. Further, 40 edges may connect each of the four non-extracted nodes that may represent credit cards with each of the 40 non-extracted nodes that may represent POS. Further, each POS may be owned by two business owners. Thus, 80 non-extracted nodes that may represent business owners may be placed outside the third ring and surrounded by the fourth ring. Further, 80 edges may connect each of the 40 non-extracted nodes that may represent POS with the 80 non-extracted nodes that represent business owners. Details regarding the extraction of the first set of subgraphs are further described, for example, in FIG. 5.

[0067] At 306, each extracted first subgraph of the set of extracted first subgraphs 304A...304N may be reduced. In at least one embodiment, the processor 204 may be configured to reduce each extracted first subgraph of the set of extracted first subgraphs 304A...304N. Each first subgraph may be reduced to obtain a corresponding set of reduced subgraphs. For example, the processor 204 may reduce the first subgraph 304A a predefined number of times to obtain a first set of reduced subgraphs 306A. Similarly, the processor 204 may reduce the first subgraph 304B a predefined number of times to obtain a second set of reduced subgraphs 306B, ...the Nth subgraph 304N a predefined number of times to obtain an Nth set of reduced subgraphs 306N. Furthermore, each set of reduced subgraphs (306A, 306B, ..., or 306N) may include the predefined number of reduced subgraphs.

[0068] According to an embodiment, the processor 204 may determine a number of nodes and edges in each first subgraph. Based on the number of nodes and edges in a corresponding first subgraph (e.g., first subgraph 304A), the processor 204 may determine a graph size target (i.e., a maximum number of nodes that may be retained after reducing the first subgraph 304A). The processor 204 may further determine a ring node target for each ring in the ring list of the tuples representing each first subgraph. The ring node target may specify a number of nodes enclosed by that ring that may be removed or deleted from the extracted first subgraph to reduce the extracted first subgraph. The ring node target may be determined based on the graph size target and a set of hyperparameters associated with each first subgraph. The set of hyperparameters may include a weight for each ring in the ring list and an indication of whether the corresponding ring is protected. A ring node goal for a protected ring may be 0, and a ring node goal for an unprotected ring may be directly proportional to the weight of the ring. A protected ring may be a ring in which none of the constituent nodes may be deleted or removed for subgraph reduction. An unprotected ring may be a ring in which one or more constituent nodes may be deleted or removed for subgraph reduction. Based on the graph size goal and the ring node goal for each ring, the processor 204 may be configured to contract each first subgraph (e.g., first subgraph 304A) a predefined number of times to obtain a respective set of reduced subgraphs (e.g., first set of reduced subgraphs 306A).

[0069] The processor 204 may be configured to randomly select a non-extracted node surrounded by each unprotected ring (except the innermost ring) for removal from the first subgraph 304A. Each time a randomly selected non-extracted node (surrounded by an unprotected ring) is removed from the first subgraph 304A, an edge connecting the removed non-extracted node to an extracted node of the first subgraph 304A or an edge connecting the removed non-extracted node to any non-extracted node of the first subgraph 304A may be removed. Thereafter, isolated and dangling nodes may be removed from the first subgraph 304A. An isolated node may correspond to a non-extracted node that is disconnected from other nodes of the first subgraph 304A after removal of the randomly selected non-extracted node. A dangling node may correspond to a non-extracted node that is more than k hops away from the first subgraph 304A after removal of the randomly selected non-extracted node.

[0070] The processor 204 may further determine whether the graph size goal or the ring node goal (for unprotected rings) is met after removal of the randomly selected non-extracted node and any isolated or dangling nodes that may be detected after removal of the randomly selected non-extracted node. If the graph size goal is not met, the processor 204 may determine whether the ring node goal is met. If the ring node goal is not met, another non-extracted node surrounded by an unprotected ring may be randomly selected for removal from the first sub-graph 304A. If it is determined that the ring node goal is met after the non-extracted node is removed (and any isolated and dangling nodes detected are removed), a non-extracted node surrounded by a subsequent unprotected ring may be randomly selected for removal from the first sub-graph 304A. After each non-extracted node is removed, the processor 204 may determine whether the first sub-graph 304A meets the graph size goal. If it is determined that the graph size goal is met, a reduced subgraph of the first set of reduced subgraphs 306A may be obtained. Similarly, other reduced subgraphs of the first set of reduced subgraphs 306A may be obtained based on reducing the first subgraph 304A.

[0071] The processor 204 may further obtain a predefined number of reduced subgraphs of other sets of reduced subgraphs (such as a second set of reduced subgraphs 306B, ... an Nth set of reduced subgraphs 306N, etc.) Since the reduced subgraphs are obtained based on removing randomly selected non-extracted nodes, the processor 204 may obtain said predefined number of reduced subgraphs (i.e., a set of reduced subgraphs) corresponding to each extracted first subgraph.

[0072] For example, the count (i.e., predefined number) of reduced subgraphs in a particular set of reduced subgraphs (corresponding to the extracted first subgraph) may be 2. The extracted first subgraph around the node representing the credit card holder may be reduced twice to obtain 2 reduced subgraphs. The graph size goal for obtaining the first reduced subgraph may be set to 16. The first subgraph may be reduced based on the removal of randomly selected non-extracted nodes surrounded by an unprotected ring. The first ring may be protected, while the second ring, the third ring, and the fourth ring may be unprotected. The ring node goals of the second ring, the third ring, and the fourth ring may be 1, 5, and 1, respectively. Thus, the non-extracted node (e.g., out of the four non-extracted nodes) representing the credit card (surrounded by the second ring) may be randomly selected for removal. Similarly, five non-extracted nodes (e.g., of the ten non-extracted nodes emanating from each non-extracted node representative representing a credit card) that may represent a POS (surrounded by the third ring) may be randomly selected for removal. Additionally, non-extracted nodes (e.g., of the two non-extracted nodes emanating from each non-extracted node representative representing a POS) that represent a business owner (surrounded by the second ring) may be randomly selected for removal. A first reduced subgraph corresponding to the first subgraph may include 15 nodes.

[0073] The graph size goal for obtaining the second reduced subgraph may be set to 16. The first and fourth rings may be protected, and the second and third rings may be unprotected. The ring node goals for the second and third rings may be 2 and 6, respectively. Thus, two non-extracted nodes (e.g., out of four non-extracted nodes) representing credit cards (surrounded by the second ring) may be randomly selected for removal. Similarly, six non-extracted nodes (e.g., out of ten non-extracted nodes emanating from each non-extracted node representative representing credit cards) representing POS (surrounded by the third ring) may be randomly selected for removal. The second reduced subgraph corresponding to the first subgraph may include 16 nodes.

[0074] At 308, a set of closest reduced subgraphs 308A...308N may be determined based on the respective sets of reduced subgraphs corresponding to the respective extracted first subgraphs of the set of first subgraphs 304A...304N. In at least one embodiment, the processor 204 may be configured to determine the set of closest reduced subgraphs 308A...308N based on the respective sets of reduced subgraphs corresponding to the respective extracted first subgraphs of the set of first subgraphs 304A...304N. For example, the processor 204 may determine the closest reduced subgraph 308A from the first set of reduced subgraphs 306A. Similarly, the processor 204 may determine the closest reduced subgraph 308B,..., closest reduced subgraph 308N from the second set of reduced subgraphs 306B,..., Nth set of reduced subgraphs 306N, respectively.

[0075] According to an embodiment, the processor 204 may be configured to train a graph kernel encoder based on the extracted set of first subgraphs 304A...304N. The training may be based on unsupervised learning. Upon completion of the training of the graph kernel encoder, the processor 204 may determine a first vector based on application of the graph kernel encoder to each first subgraph of the set of first subgraphs 304A...304N. The graph kernel encoder may encode (or vectorize) each first subgraph of the set of first subgraphs 304A...304N to generate a corresponding first vector. For example, a first vector corresponding to the first subgraph 304A may be determined based on an encoding of the first subgraph 304A. Similarly, a first vector corresponding to the first subgraph 304B may be determined based on the encoding of the first subgraph 304B, ..., a first vector corresponding to the first subgraph 304N may be determined based on the encoding of the first subgraph 304N.

[0076] The processor 204 may determine the second vector based on application of a graph kernel encoder to each reduced subgraph in each set of reduced subgraphs. For example, the processor 204 may determine a second vector corresponding to each reduced subgraph in the first set of reduced subgraphs 306A. The second vector may be determined based on an encoding of each reduced subgraph in the first set of reduced subgraphs 306A. Similarly, the processor 204 may determine a second vector corresponding to each reduced subgraph in the second set of reduced subgraphs 306B..., and a second vector corresponding to each reduced subgraph in the Nth set of reduced subgraphs 306N.

[0077] The processor 204 may be further configured to determine a correlation coefficient between a first vector corresponding to the first subgraph 304A and a second vector corresponding to each reduced subgraph of the first set of reduced subgraphs 306A. For example, the first set of reduced subgraphs 306A may include two reduced subgraphs. The processor 204 may determine a second vector 1 corresponding to a first reduced subgraph of the first set of reduced subgraphs 306A and a second vector 2 corresponding to a second reduced subgraph of the first set of reduced subgraphs 306A. The processor 204 may determine a correlation coefficient between the first vector corresponding to the first subgraph 304A and the second vector 1 (corresponding to the first reduced subgraph of the first set of reduced subgraphs 306A). Similarly, the processor 204 may determine a correlation coefficient 2 between the first vector corresponding to the first subgraph 304A and the second vector 2 (corresponding to the second reduced subgraph of the first set of reduced subgraphs 306A).

[0078] The processor 204 may be further configured to determine a closest reduced subgraph from each set of reduced subgraphs based on a comparison of a correlation coefficient between the first subgraph and each of the reduced subgraphs of the corresponding set of reduced subgraphs. The correlation coefficient may indicate a similarity between the first subgraph and each of the reduced subgraphs of the corresponding set of reduced subgraphs. For example, the processor 204 may compare a correlation coefficient 1 with a correlation coefficient 2. The comparison between the correlation coefficients may correspond to a comparison between a similarity between a first vector corresponding to the first subgraph 304A and a second vector corresponding to a first reduced subgraph of the first set of reduced subgraphs 306A. Thus, the comparison between the correlation coefficients may be used to determine a similarity between a first vector corresponding to the first subgraph 304A and a second vector corresponding to a second reduced subgraph of the first set of reduced subgraphs 306A.

[0079] Based on the result of the comparison, either the first reduced subgraph or the second reduced subgraph from the first set of reduced subgraphs 306A may be determined as the closest reduced subgraph corresponding to the first subgraph 304A. If the correlation coefficient 1 is determined to be greater than the correlation coefficient 2 based on the comparison, the first reduced subgraph may be determined as the closest reduced subgraph corresponding to the first subgraph 304A. On the other hand, if the correlation coefficient 2 is determined to be greater than the correlation coefficient 1, the second reduced subgraph may be determined as the closest reduced subgraph corresponding to the first subgraph 304A. The determined closest reduced subgraph corresponding to the first subgraph 304A may be the closest reduced subgraph 308A. Similarly, other closest reduced subgraphs 308B...308N corresponding to other first subgraphs of the set of first subgraphs 304A...304N may be determined from other sets of reduced subgraphs 306B...306N.

[0080] At 310, a coverage analysis may be performed for each nearest reduced subgraph of the set of nearest reduced subgraphs 308A...308N. In at least one embodiment, the processor 204 may be configured to perform a coverage analysis for each nearest reduced subgraph of the set of nearest reduced subgraphs 308A...308N. The coverage analysis may include determining a set of coverage metrics based on the set of first subgraphs 304A...304N and the set of nearest reduced subgraphs 308A...308N. In an embodiment, the set of coverage metrics may be determined based on at least one of a first node repetition distribution, a first node degree distribution, a second node repetition distribution, a second node degree distribution, or a third node repetition distribution. The set of coverage metrics may include a distribution skew, a first correlation coefficient, and a second correlation coefficient. The set of coverage metrics may be determined based on a first list of extracted nodes in the set of nearest reduced subgraphs 308A...308N, a first list of non-extracted nodes in the set of nearest reduced subgraphs 308A...308N, a second list of extracted nodes in the set of first subgraphs 304A...304N, and a second list of non-extracted nodes in the set of first subgraphs 304A...304N.

[0081] The distribution skew may be determined based on a first distribution of node repetition. The first distribution of node repetition may indicate a repetition or distribution of information associated with each extracted node of the first list of extracted nodes in a plurality of closest reduced subgraphs of the set of closest reduced subgraphs 308A...308N. A higher distribution skew may indicate excess representation of information associated with some extracted nodes of the first list of extracted nodes and miniscule representation of information of other extracted nodes of the first list of extracted nodes in the closest reduced subgraphs of the set of closest reduced subgraphs 308A...308N.

[0082] A first correlation coefficient may be determined based on a first distribution of node degree of extracted nodes (associated with the first list of extracted nodes in the set of nearest reduced subgraphs 308A...308N) and a second distribution of node degree associated with extracted nodes (of the second list of extracted nodes in the set of first subgraphs 304A...304N). The first node degree distribution may indicate a variation in node degree of each extracted node of the first list of extracted nodes among nearest reduced subgraphs of the set of nearest reduced subgraphs 308A...308N. The second node degree distribution may indicate a variation in node degree of each extracted node of the second list of extracted nodes among first subgraphs of the set of first subgraphs 304A...304N. The processor 204 may determine a first correlation coefficient between the first node degree distribution and the second node degree distribution. A lower value of the first correlation coefficient may indicate that the first node degree distribution and the second node degree distribution are dissimilar and that the reduction of the first subgraphs of the set of first subgraphs 304A...304N may be biased in removing a significant number of certain edges from the extracted first subgraphs.

[0083] A second correlation coefficient may be determined based on the second node repetition distribution and the third node repetition distribution. The second node repetition distribution may indicate a repetition or distribution of information associated with non-extracted nodes of said first list of non-extracted nodes in the nearest reduced subgraph of the set of nearest reduced subgraphs 308A...308N. The third node repetition distribution may indicate a repetition or distribution of information associated with non-extracted nodes of said second list of non-extracted nodes in the first subgraph of the set of first subgraphs 304A...304N. The processor 204 may determine a second correlation coefficient between the second node repetition distribution and the third node repetition distribution. A lower value of the second correlation coefficient may indicate that the second node repetition distribution and the third node repetition distribution are dissimilar and that the reduction of the first subgraph of the set of first subgraphs 304A...304N may be biased in removing a significant number of certain nodes.

[0084] In step 312, a conformance of the set of coverage metrics with a set of coverage conditions may be determined. In at least one embodiment, the processor 204 may be configured to check whether the set of coverage metrics conforms to the set of coverage conditions. Each coverage condition of the set of coverage conditions may be associated with a coverage threshold. The coverage threshold may be a threshold distribution skew, a threshold first correlation coefficient, or a threshold second correlation coefficient. The set of coverage conditions may include a first coverage condition that may be met if the distribution skew is less than the threshold distribution skew. The set of coverage conditions may include a second coverage condition that may be met if the first correlation coefficient is greater than the threshold first correlation coefficient. Additionally, the set of coverage conditions may include a third coverage condition that may be met if the second correlation coefficient is greater than the threshold second correlation coefficient. The processor 204 may be configured to re-iterate (operation 306) the reduction of the set of extracted first sub-graphs 304A...304N based on a determination that at least one coverage metric of the set of coverage metrics does not comply with an associated coverage condition of the set of coverage conditions. The reduction of the set of extracted first sub-graphs 304A...304N may be re-iterated if the distribution skew is determined to be greater than a threshold distribution skew, if the first correlation coefficient is determined to be less than a threshold first correlation coefficient, and / or if the second correlation coefficient is determined to be less than a threshold second correlation coefficient.

[0085] At 314, a set of second subgraphs 314A...314N may be obtained from the determined set of closest reduced subgraphs 308A...308N. In at least one embodiment, the processor 204 may be configured to obtain the set of second subgraphs 314A...314N from the set of closest reduced subgraphs 308A...308N corresponding to the set of first subgraphs 304A...304N. The set of second subgraphs 314A...314N may be obtained based on re-iteration of the reduction (i.e., operations 306, 308, and 310) of the set of extracted first subgraphs 304A...304N until the determined set of coverage metrics meets the set of coverage conditions (which may be determined in step 312). The set of second subgraphs 314A...314N may correspond to the set of closest reduced subgraphs 308A...308N that satisfy the set of coverage conditions. For example, the second subgraph 314A may correspond to the closest reduced subgraph 308A if the set of closest reduced subgraphs 308A...308N satisfies a set of coverage conditions. Similarly, the second subgraph 314N may correspond to the closest reduced subgraph 308N.

[0086] In step 316, the explainable predictive model 110 may be trained based on the set of second subgraphs 314A...314N. In at least one embodiment, the processor 204 may be configured to train the explainable predictive model 110 based on the set of second subgraphs 314A...314N. The explainable predictive model 110 may be trained using a graph machine learning model 108, such as a GXAI engine (e.g., deep tensor). For example, the GXAI engine may receive the set of second subgraphs 314A...314N as training graph data and convert information contained in each second subgraph into a uniform tensor representation via tensor decomposition. The GXAI engine may provide the uniform tensor representation to the explainable predictive model 110 for graph machine learning. According to an embodiment, the processor 204 may receive an input subgraph related to a domain (e.g., a credit card fraud detection domain). Upon receiving the input subgraph, the processor 204 may apply the trained explainable predictive model 110 to the received input subgraph. The processor 204 may determine an explainable predictive output based on the application of the trained explainable predictive model 110 to the input subgraph. The predictive output may indicate a relationship (e.g., a transaction) between entities (e.g., a credit card and a POS). The predictive output may further indicate whether the determined relationship between the entities (e.g., a transaction between a credit card and a POS) is valid.

[0087] The embodiments of the present disclosure may enable the utilization of long-distance information for training the explainable prediction model 110 since the hop limit may be set to a certain value. By setting the hop limit to a higher value, non-extracted nodes further away from the target node (i.e., the extracted node) for the extraction of the first subgraph may be selected. By using a higher value of the hop limit, the prediction accuracy of the node classification machine learning task may be improved. Furthermore, since the hop limit may be set as less than a certain value, the neighborhood explosion problem may also be improved. This is because graph datasets with various fan-outs and complexities can be obtained based on the selection of an appropriate hop limit. Subgraph-based machine learning (based on the extracted first subgraph) allows the use of topological graph structure information for downstream learning (using the GXAI engine and the explainable prediction model 110), which may improve prediction accuracy. The determination of the closest reduced subgraph corresponding to the extracted first subgraph may not be part of the training of the explainable prediction model 110, which may minimize the training latency. Furthermore, the prediction output that may be generated by the explainable prediction model 110 may be explainable.

[0088] The embodiments of the present disclosure may provide a simplified technique (such as random selection) for removing non-extracted nodes and edges. By removing non-extracted nodes and edges, the size of each extracted first subgraph of the set of first subgraphs 304A...304N may be reduced to a set of reduced subgraphs. A reduced subgraph in the set of reduced subgraphs corresponding to each extracted first subgraph may be suitable as a training unit (for training the explainable predictive model 110) based on the storage and processing constraints of the graph machine learning model. Furthermore, since the nearest reduced subgraph may be a subgraph (out of the set of reduced subgraphs) that may have the highest correlation with respect to the corresponding extracted first subgraph, such nearest reduced subgraph may retain the maximum information of the extracted first subgraph. Also, the determined nearest reduced subgraph corresponding to the extracted first subgraph may retain the topological graph structure of the extracted first subgraph. Furthermore, if a coverage analysis of the nearest reduced subgraphs corresponding to the extracted first subgraphs indicates that the information contained in those first subgraphs is not sufficiently preserved in the nearest reduced subgraphs, the reduction of the extracted first subgraphs may be re-iterated, and thus the nearest reduced subgraph obtained after such re-iteration may satisfy the coverage condition and thereby preserve sufficient information of the extracted first subgraphs.

[0089] FIG. 4 illustrates an example scenario for extracting a subgraph from a received graph, according to at least one embodiment described in this disclosure. FIG. 4 is described in conjunction with elements from FIG. 1, FIG. 2, and FIG. 3. With reference to FIG. 4, an example scenario 400 is illustrated. The example scenario 400 may include a received graph 402. The received graph 402 may be an example implementation of the received graph 114 of FIG. 1. The example scenario 400 may further include a ring-based representation 404 of an extracted first subgraph and a tree-based representation 406 of an extracted first subgraph. The extracted first subgraph may be an example implementation of the extracted first subgraph 116A of FIG. 1. The processor 204 may be configured to identify an extracted node (e.g., extracted node 408) and a plurality of non-extracted nodes from the received graph 402 for extraction of the first subgraph.

[0090] According to an embodiment, the processor 204 may be configured to initialize a tuple representing a first subgraph. The tuple may include an extraction node 408, a ring list, and an edge list. The first subgraph may be extracted around the extraction node 408. The ring list and edge list tuples may be initially empty. The first subgraph may be extracted based on the inclusion of the ring in the ring list, the inclusion of non-extraction nodes (associated with the extraction node 408) outside each ring (except the outermost ring) included in the ring list, and the inclusion of edges connecting pairs of the extraction node 408 and the non-extraction nodes and pairs of non-extraction nodes in the edge list. The processor 204 may identify as non-extraction nodes those nodes of the received graph 402 that may be up to k hops (e.g., 3 hops) away from the extraction node 408. For example, the identification may be based on a hop limit that may be set as 3. The ring list may be initialized with the first ring 410. The first ring 410 may surround the extraction node 408 .

[0091] First, the processor 204 may be configured to select non-extracted nodes from the received graph 402, which may be one hop away from the extracted node 408. The selected non-extracted nodes may be 412A, 412B, 412C, 412D. The non-extracted nodes may be determined as neighbors (i.e., adjacent non-extracted nodes) of the extracted node 408 based on edges connecting the extracted node 408 to the non-extracted nodes 412A, 412B, 412C, 412D in the received graph 402. The processor 204 may add the non-extracted nodes 412A, 412B, 412C, 412D to the outside of the first ring 410. Then, the edges connecting the extracted node to each added non-extracted node may be added to the edge list. The added edges may be 414A (connecting extraction node 408A and non-extraction node 412A), 414B (connecting extraction node 408A and non-extraction node 412B), 414C (connecting extraction node 408C and non-extraction node 412C), and 414D (connecting extraction node 408D and non-extraction node 412D). Once edges 414A, 414B, 414C, and 414D are added to the edge list, non-extraction nodes 412A, 412B, 412C, and 412D may be surrounded by a second ring 416. Processor 204 may include the second ring 416 in the ring list.

[0092] For each non-extraction node added outside the first ring 410, the processor 204 may be configured to identify at least one non-extraction node that may be a neighbor of the corresponding non-extraction node. The identified at least one non-extraction node may be one hop away from the corresponding non-extraction node and two hops away from the extraction node 408. The identification may be based on an edge connecting the at least one non-extraction node and the corresponding non-extraction node. For example, the non-extraction nodes 418A and 418B may be identified as neighbors of the non-extraction node 412B (added outside the first ring 410 and surrounded by the second ring 416). The identified at least one non-extraction node may then be added outside the second ring 416. For example, the non-extraction nodes 418A and 418B may be added outside the second ring 416. When the identified at least one non-extraction node is added outside the second ring 416, at least one edge connecting the identified at least one non-extraction node to the corresponding non-extraction node may be included in the edge list. For example, edge 420A connecting the identified non-extraction node 418A to the non-extraction node 412B (which is added outside the first ring 410) and edge 420B connecting the identified non-extraction node 418B to the non-extraction node 412B may be included in the edge list.

[0093] Similarly, non-extraction node 418C may be identified as a neighbor of non-extraction node 412C, and non-extraction node 418D may be identified as a neighbor of non-extraction node 412D. The identified non-extraction nodes 418C and 418D may then be added to the outside of the second ring 416. An edge 420C connecting non-extraction node 418C and non-extraction node 412C, and an edge 420D connecting non-extraction node 418D and non-extraction node 412D may be included in the edge list. Once edges 420A, 420B, 420C, and 420D are added to the edge list, non-extraction nodes 418A, 418B, 418C, and 418D may be surrounded by a third ring 422. The processor 204 may include the third ring 422 in the ring list.

[0094] For each non-extraction node added outside the second ring 416, the processor 204 may be configured to identify at least one non-extraction node that may be a neighbor of the corresponding non-extraction node. The identified at least one non-extraction node may be one hop away from the corresponding non-extraction node and three hops away from the extraction node 408. For example, the non-extraction nodes 424A and 424B may be identified as neighbors of the non-extraction node 418A (added outside the second ring 416 and surrounded by the third ring 422). The identified at least one non-extraction node may then be added outside the third ring 422. For example, the non-extraction nodes 424A and 424B may be added outside the third ring 422. Once the identified at least one non-extraction node is added outside the third ring 422, at least one edge connecting the identified at least one non-extraction node and the corresponding non-extraction node (added outside the second ring 416) may be included in the edge list. For example, edge 426A connecting the identified non-extraction node to a non-extraction node (added outside the second ring 416) and edge 426B connecting the identified non-extraction node 424B to non-extraction node 418A may be included in the edge list.

[0095] Similarly, non-extraction node 424C may be identified as a neighboring node of non-extraction node 418B. The identified non-extraction node 424C may be added to the outside of the third ring 422. An edge 426C connecting non-extraction node 424C and non-extraction node 418B may be included in the edge list.

[0096] For non-extracted node 418C (added outside the second ring 416), non-extracted node 424D and non-extracted node 418D may be identified as neighbors. Non-extracted node 424D may be added outside the third ring 422, and edge 426D connecting non-extracted node 424D and non-extracted node 418C may be included in the edge list. Non-extracted node 418D (added outside the second ring 416 as a neighbor of non-extracted node 412D) may not be added outside the third ring 422, as this would lead to duplication of non-extracted node 418D in the first subgraph (to be extracted). However, edge 426E connecting non-extracted node 418D and non-extracted node 418C may be included in the edge list.

[0097] Similarly, for non-extraction node 418D (added outside the second ring 416), non-extraction nodes 418C and 424B may be identified as neighbors. Because non-extraction node 418C has already been added outside the second ring 416 (as a neighbor of non-extraction node 412C) and non-extraction node 424B has already been added outside the third ring 422 (as a neighbor of non-extraction node 418A), it is not necessary to add both non-extraction nodes 418B and 424B outside the third ring 422 (to avoid duplication). Edge 426F connecting non-extraction node 418D and non-extraction node 424B may be included in the edge list. Because non-extraction nodes 418C and 418D are connected by edge 426E, an edge may not be included in the edge list as a result of non-extraction node 418C being identified as a neighbor of non-extraction node 418D to prevent including duplicate edges.

[0098] When edges 426A, 426B, 426C, 426D, 426E, and 426F are added to the edge list, non-extracted nodes 424A, 424B, 424C, and 424D may be surrounded by a fourth ring 428. The processor 204 may include the fourth ring 428 in the ring list.

[0099] It should be noted that scenario 400 in FIG. 4 is for illustrative purposes and should not be construed as limiting the scope of the present disclosure.

[0100] 5 illustrates a flowchart of an example method for extracting a subgraph from a received graph, according to an embodiment of the present disclosure. FIG. 5 is described in conjunction with elements of FIG. 1, FIG. 2, FIG. 3, and FIG. 4. Referring to FIG. 5, a flowchart 500 is shown. The method illustrated in the flowchart 500 may begin at 502 and may be performed by any suitable system, apparatus, or device, such as the example electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated in discrete blocks, steps and operations associated with one or more of the blocks of the flowchart 500 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

[0101] At block 502, extracted nodes and non-extracted nodes may be identified from a set of nodes of the received graph (e.g., received graph 402) to obtain a list of extracted nodes. In an embodiment, processor 204 may be configured to identify extracted nodes and non-extracted nodes from a set of nodes of received graph 402 to obtain a list of extracted nodes. For example, node 408 (of the set of nodes) may be identified as an extracted node, and nodes 412A-412D, 418A-418D, and 424A-424D (of the set of nodes) may be identified as non-extracted nodes. Details of identifying extracted nodes and non-extracted nodes are provided further in, for example, Figures 1, 3, and 4.

[0102] A first extraction node (e.g., extraction node 408) may be selected from the list of extraction nodes as an extraction identifier (ID) at block 504. In an embodiment, the processor 204 may be configured to select a first extraction node (i.e., extraction node 408) from the list of extraction nodes as an extraction ID.

[0103] At block 506, the first ring (e.g., first ring 410) may be added as the newest ring to a ring list associated with the extraction ID (i.e., extraction node 408). In one embodiment, the processor 204 may be configured to add the first ring to a ring list associated with the extraction ID (i.e., extraction node 408). The first ring 410 may surround the extraction ID (i.e., extraction node 408). The first ring 410 may be added to initialize the ring list.

[0104] At block 508, a second set of operations may be performed to obtain a tuple associated with the extraction ID (i.e., extraction node 408). In an embodiment, processor 204 may be configured to perform the second set of operations to obtain a tuple associated with the extraction ID (i.e., extraction node 408). The second set of operations may be performed for each neighboring node of each node surrounded by the latest ring. At this stage, the latest ring may be first ring 410, and the node surrounded by first ring 410 may be extraction node 408. The neighboring nodes of extraction node 408 may be non-extraction nodes 412A, 412B, 412C, and 412D. The second set of operations may include block 508A, block 508B, block 508C, block 508D, block 508E, and block 508F. The second set of operations (508A-508F) may be repeated for each neighboring node of each node surrounded by the latest ring.

[0105] In block 508A, it may be determined whether the neighboring node is surrounded by the latest ring. In one embodiment, the processor 204 may determine whether a non-extracted node (such as nodes 412A, 412B, 412C, and 412D) is surrounded by the first ring 410.

[0106] In block 508B, the neighboring node outside the latest ring may be added based on a determination that the neighboring node is not surrounded by the latest ring. In one embodiment, the processor 204 may add the neighboring node outside the latest ring based on a determination that the neighboring node is not surrounded by the latest ring. For example, since none of the neighboring nodes, i.e., non-extracted nodes 412A, 412B, 412C, and 412D, are surrounded by the first ring 410, all of the neighboring nodes may be added to the latest ring, i.e., outside the first ring 410.

[0107] At block 508C, edges associated with the added neighborhood may be added to the edge list. In one embodiment, the processor 204 may add edges associated with the added neighborhood to the edge list. For example, the edge associated with neighborhood 412A may be 414A, the edge associated with neighborhood 412B may be 414B, the edge associated with neighborhood 412C may be 414C, and the edge associated with neighborhood 412D may be 414D. Thus, edges 414A, 414B, 414C, and 414D may be included in the edge list.

[0108] At block 508D, a ring surrounding the added neighbors may be added to the ring list. In an embodiment, the processor 204 may add a ring surrounding the added neighbors to the ring list. For example, the second ring 416 may be added to the ring list. The second ring 416 may surround the added neighbors 412A, 412B, 412C, and 412D (i.e., added outside the first ring 410).

[0109] At block 508E, it may be determined whether the most recent ring is the last ring in the ring list. In one embodiment, the processor 204 may determine whether the most recent ring is the last ring in the ring list. For example, the most recent ring may be the second ring 416. Here, if the hop limit is 3 and the count of rings in the ring list at this stage is 2, then the second ring 416 may not be the last ring in the ring list. Thus, the count of rings that need to be in the ring list to extract the first subgraph may be 4.

[0110] At block 508F, based on a determination that the most recent ring (i.e., second ring 416) is not the last ring, the added ring (i.e., second ring 416) may be selected as the most recent ring and the second set of operations (i.e., operations 508A-508F) may be re-iterated. In an embodiment, based on a determination that the most recent ring (i.e., second ring 416) is not the last ring, processor 204 may select the added ring as the most recent ring and re-iterate the second set of operations (i.e., operations 508A-508F).

[0111] A second set of operations may be performed for each neighbor of each node surrounded by the second ring 416. The non-extraction nodes 412A, 412B, 412C, and 412D may be surrounded by the second ring 416. There may be no neighbor of the non-extraction node 412A. The neighbor of the non-extraction node 412B may be the non-extraction nodes 418A and 418B. The neighbor of the non-extraction node 412C may be the non-extraction node 418C, and the neighbor of the non-extraction node 412D may be the non-extraction node 418D. The second set of operations may include an operation 508A for determining whether the neighbor is surrounded by the latest ring. For example, the processor 204 may determine whether the non-extraction nodes 418A, 418B, 418C, and 418D are surrounded by the second ring 416. The second set of operations may further include an operation 508B for adding a neighbor node outside the latest ring based on a determination that the neighbor node is not surrounded by the latest ring. Since none of the neighbor nodes, i.e., non-extracted nodes 418A, 418B, 418C, and 418D, are surrounded by the second ring 416, all of the neighbor nodes may be added to the latest ring, i.e., outside the second ring 416. The second set of operations may further include an operation 508C for adding an edge associated with the added neighbor to an edge list. The edge associated with the neighbor 418A may be edge 420A, the edge associated with the neighbor 418B may be edge 420B, the edge associated with the neighbor 418C may be edge 420C, and the edge associated with the neighbor 418D may be edge 420D. Thus, edges 420A, 420B, 420C, and 420D may be included in the edge list. The second set of operations may further include an operation 508D for adding a ring surrounding the added neighbors to the ring list. For example, a third ring 422 may be added to the ring list. The third ring 422 may surround the added neighbors 418A, 418B, 418C, and 418D (i.e., added outside the second ring 416).The second set of operations may further include an operation 508E for determining whether the most recent ring is the last ring in the ring list. In one example, the most recent ring may be the third ring 422. The third ring 422 may not be the last ring in the ring list because the number of rings in the ring list at this stage is 3 and the number of rings that need to be in the ring list to extract the first subgraph may be 4. The second set of operations may further include an operation 508F for selecting the added ring (i.e., the third ring 422) as the most recent ring based on a determination that the most recent ring (i.e., the third ring 422) is not the last ring in the ring list, for re-iteration of the second set of operations, and so on.

[0112] At block 510, a tuple (associated with the extraction node 408) including an extraction ID (i.e., the extraction node 408), a ring list, and an edge list may be obtained based on iterative control of execution of a second set of operations until the latest ring is determined to be the last ring in the ring list. In one embodiment, the processor 204 may be configured to obtain a tuple that may include an extraction ID (i.e., the extraction node 408), a ring list, and an edge list. The tuple may be obtained based on iterative control of execution of the set of operations until the latest ring is determined to be the last ring in the ring list. Thus, a tuple associated with the extraction node 408 may be obtained based on the latest ring (i.e., the fourth ring 428) being determined to be the last ring in the ring list. The ring list may include the first ring 410, the second ring 416, the third ring 422, and the fourth ring 428. The edge list may include edges 414A-414D, 420A-420D, and 426A-426F. Extraction of a set of first subgraphs 116A...116N may be further based on this resulting tuple. For example, the resulting tuple including an extraction ID (e.g., extraction node 408), a ring list, and an edge list may represent an extracted first subgraph (e.g., first subgraph 116A). Control may proceed to an end.

[0113] Although flowchart 500 is illustrated as discrete operations, such as 502, 504, 506, 508 (including 508A-508F), and 510, the disclosure is not so limited. However, in certain embodiments, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.

[0114] 6A and 6B together illustrate an exemplary scenario for reduction of an extracted subgraph, according to at least one embodiment described in the present disclosure. FIG. 6A and 6B are described in conjunction with elements of FIG. 1, FIG. 2, FIG. 3, FIG. 4, and FIG. 5. With reference to FIG. 6A and 6B, an exemplary scenario 600 is illustrated. The exemplary scenario 600 may include a tree-based representation 406 of an extracted first subgraph (i.e., an exemplary implementation of the extracted first subgraph 116A) and a first intermediate reduced subgraph 602A (obtained based on the reduction of the extracted first subgraph). Further, the exemplary scenario 600 may include a second intermediate reduced subgraph 602B (obtained based on the reduction of the first intermediate reduced subgraph 602A) and a resulting final reduced subgraph 602C (obtained based on the reduction of the second intermediate reduced subgraph 602B).

[0115] According to an embodiment, the processor 204 may be configured to determine a ring node goal for each ring of the extracted first subgraph and a graph size goal for the reduction of the first subgraph. Based on the ring node goal and the graph size goal, the processor 204 may reduce the extracted first subgraph. For each ring, in the ring list of tuples representing the extracted first subgraph, the processor 204 may further determine whether the corresponding ring is protected. The processor 204 may select an unprotected ring from the ring list in order to remove nodes and edges associated with the nodes surrounded by the selected unprotected ring. For example, the second ring 416 of the first subgraph may be selected based on the determination that the second ring 416 is unprotected. The processor 204 may then randomly select a non-extracted node surrounded by the second ring 416. For example, the non-extracted node 412B may be selected. The non-extracted node 412B and the edges associated with the non-extracted node 412B may then be removed (i.e., deleted or rejected) from the first subgraph. The removed edges may include edges 414B, 420A, and 420B. Removal of the non-extracted node 412B and the associated edges 414B, 420A, and 420B may result in a first intermediate reduced subgraph 602A.

[0116] The processor 204 may further be configured to determine whether the first intermediate reduced subgraph 602A includes a disconnected non-extracted node. For example, based on the removal of the non-extracted node 412B and the edges 414B, 420A, and 420B, the processor 204 may detect one or more disconnected non-extracted nodes in the extracted subgraph (i.e., the first intermediate reduced subgraph 602A). For example, the non-extracted nodes 418B and 424C may be detected as disconnected non-extracted nodes (or isolated nodes). The disconnected non-extracted nodes 418B and 424C and the associated edge 426C may then be removed (i.e., deleted or rejected) from the first subgraph. Removing the non-extracted nodes 418B and 424C and the associated edge 426C results in the second intermediate reduced subgraph 602B (as shown in FIG. 6B).

[0117] The processor 204 may be further configured to determine whether the second intermediate reduced subgraph 602B includes any non-extracted nodes that are more than “k hops” away from the extracted node 408, where “k” may be a hop limit (e.g., k=3). Removal of the non-extracted node 412B and edges 414B, 420A, and 420B may also result in detection of non-extracted nodes that are further away from the extracted node beyond the hop limit. For example, the non-extracted nodes 418A and 424A may be detected in the second intermediate reduced subgraph 602B as being beyond the hop limit. The non-extracted nodes 418A and 424A may be referred to as dangling nodes. The dangling non-extracted nodes 418A and 424A and associated edges 426B may then be removed (i.e., deleted or rejected) from the first subgraph. By removing the non-extracted nodes 418A and 424A, and edge 426B, the final reduced subgraph 602C may be obtained (as shown in FIG. 6B).

[0118] Scenario 600 of FIGS. 6A and 6B is for illustrative purposes and should not be construed as limiting the scope of the present disclosure.

[0119] 7A and 7B together illustrate a flowchart of an exemplary method for reducing an extracted subgraph, according to an embodiment of the present disclosure. FIGS. 7A and 7B are described in conjunction with elements of FIGS. 1, 2, 3, 4, 5, 6A, and 6B. With reference to FIGS. 7A and 7B, a flowchart 700 is shown. The method illustrated in the flowchart 700 may begin at 702 and may be performed by any suitable system, apparatus, or device, such as the exemplary electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated in discrete blocks, steps and operations associated with one or more of the blocks of the flowchart 700 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

[0120] At block 702, a first subgraph associated with the extraction ID may be selected from the extracted set of first subgraphs 116A...116N. In one embodiment, the processor 204 may be configured to select a first subgraph associated with the extraction ID from the extracted set of first subgraphs 116A...116N. For example, the selected first subgraph may be the first subgraph 116A. The extraction ID may correspond to an extraction node 408 shown in the tree-based representation 406 of the extracted first subgraph 116A.

[0121] At block 704, a ring node target for each ring in the ring list and a graph size target associated with the selected first subgraph (e.g., first subgraph 116A) may be determined. In an embodiment, the processor 204 may be configured to determine a ring node target for each ring in the ring list and a graph size target associated with the selected first subgraph. The ring node target of the corresponding ring may be determined based on at least one of the size of the selected first subgraph, the graph size target, or a ring weight of the corresponding ring. The graph size target may be determined based on at least one of the size of the selected first subgraph, the target number of nodes, the target number of edges, or a combination of the target number of nodes and the target number of edges.

[0122] For example, the graph size target associated with first subgraph 116A (i.e., the count of nodes that may be included in the reduced subgraph) may be determined as “8” based on the size of first subgraph 116A (e.g., “13” nodes and “14” edges), the target number of nodes (e.g., “7” nodes), the target number of edges (e.g., “8” edges), or a combination of the target number of nodes or target number of edges.

[0123] For example, the ring list included in the tuple representing the first subgraph 116A may include four rings, i.e., the first ring 410, the second ring 416, the third ring 422, and the fourth ring 428 (if the hop limit is set to 3). The processor 204 may be configured to determine a ring node target for each of the four rings based on the determined graph size target (i.e., “8”), the determined size of the first subgraph 116A (i.e., “13” nodes and “14” edges), and the corresponding ring weight. The ring node target for each of the four rings may further be determined based on whether each of the four rings is protected.

[0124] At block 706, a ring may be selected from the ring list as the current ring based on a determination that the selected current ring is not protected. In an embodiment, the processor 204 may be configured to select a ring from the ring list as the current ring based on a determination that the selected current ring is not protected. Here, the ring or nodes surrounded by edges that are protected may be retained during the contraction of the selected first subgraph. For example, the processor 204 may select the second ring 416 as the current ring. The first ring 410 may be a protected ring, while the second ring 416, the third ring 422, and the fourth ring 428 may be unprotected. Because the first ring 410 is protected, the first ring 410 may not be selected for contraction. The selection of the second ring 416 may be based on a determination that the second ring 416 is not protected. A ring node goal for the second ring 416 (i.e., a count of nodes enclosed by the ring that may be removed to reduce the first subgraph) may be determined as “1.” Thus, any one non-extracted node enclosed by the second ring 416 may be randomly selected for removal to obtain a reduced subgraph corresponding to the first subgraph 116A.

[0125] At block 708, a third set of operations may be performed to obtain a reduced subgraph of the set of reduced subgraphs corresponding to the selected first subgraph. In an embodiment, the processor 204 may be configured to perform the third set of operations to obtain a reduced subgraph of the set of reduced subgraphs corresponding to the selected first subgraph. For example, a final reduced subgraph 602C corresponding to the first subgraph 116A may be obtained based on performing the third set of operations. The third set of operations may include block 708A, block 708B, block 708C, block 708D, block 708E, block 708F, block 708G, block 708H, and block 708I.

[0126] At block 708A, a node surrounded by the selected current ring may be selected. The selection of the node may be a random selection. In an embodiment, the processor 204 may select a node surrounded by the selected current ring, and the selection of the node may be a random selection. For example, the non-extracting node 412B surrounded by the second ring 416 may be selected randomly.

[0127] At block 708B, the selected random node and edges associated with the selected random node may be removed from the selected first subgraph. In one embodiment, the processor 204 may remove the selected random node and edges associated with the selected random node from the selected first subgraph. For example, the processor 204 may remove the selected non-extracted node 412B and edges associated with the non-extracted node 412B, i.e., edges 414B, 420A, and 420B, from the first subgraph 116A (to obtain the first intermediate reduced subgraph 602A).

[0128] At block 708C, it may be determined whether a disconnected node exists in the selected first subgraph based on the removal. In an embodiment, the processor 204 may determine whether a disconnected node exists in the selected first subgraph based on the removal. For example, the processor 204 may determine whether a disconnected node exists in the first intermediate reduced subgraph 602A.

[0129] At block 708D, the disconnected nodes and edges associated with the disconnected nodes may be removed from the selected first subgraph (i.e., the first intermediate reduced subgraph 602A) based on the determination of the presence of the disconnected nodes. In one embodiment, the processor 204 may remove the disconnected nodes and edges associated with the disconnected nodes from the selected first subgraph based on the determination of the presence of the disconnected nodes. For example, based on the determination of the disconnected nodes (i.e., the non-extracted nodes 418B and 424C), the processor 204 may remove the non-extracted nodes 418B and 424C and the edge 426C (associated with the non-extracted nodes 418B and 424C) from the first intermediate reduced subgraph 602A. Based on the removal of the non-extracted nodes 418B and 424C and the edge 426C, the second intermediate reduced subgraph 602B may be obtained.

[0130] At block 708E, it may be determined whether there is a node that is more than the hop limit away from the extraction ID (i.e., the extraction node 408). In an embodiment, the processor 204 may determine whether there is a node that is more than the hop limit away from the extraction ID. For example, the processor 204 may determine whether there is a node in the second intermediate reduced subgraph 602B that is more than the hop limit (i.e., more than three hops away from the extraction node 408).

[0131] At block 708F, based on the determination of the presence of nodes that have exceeded the hop limit, the nodes that have exceeded the hop limit and the edges associated with those nodes may be removed from the selected first subgraph (i.e., the second intermediate reduced subgraph 602B). In an embodiment, the processor 204 may remove the nodes that have exceeded the hop limit and the edges associated with such nodes from the selected first subgraph based on the determination of the presence of nodes that have exceeded the hop limit. For example, based on the determination of nodes that have exceeded the hop limit, i.e., non-extracted nodes 418A (4 or 5 hops) and 424A (5 or 6 hops), the processor 204 may remove the non-extracted nodes 418A and 424A and the edge 426A (associated with the non-extracted nodes 418A and 424A) from the second intermediate reduced subgraph 602B. Based on the removal of the non-extracted nodes 418A and 424A and the edge 426A, the final reduced subgraph 602C may be obtained.

[0132] At block 708G, it may be determined whether the graph size goal is met based on the removal of the selected random node, the disconnected node, and the node that is over the hop limit. In one embodiment, the processor 204 may determine whether the graph size goal is met based on the removal of the selected random node, the disconnected node, and the node that is over the hop limit. For example, based on the determined graph size goal (i.e., “8”) and the number of nodes in the final reduced subgraph 602C (which is also 8 nodes), the processor 204 may determine that the graph size goal is met. The removal of the non-extracted nodes 412B, 418A, 418B, 424A, and 424C and the associated edges 414B, 420A, 420B, 426A, and 426C may reduce the number of nodes (in the first subgraph 116A) from “13” to “8” (in the final reduced subgraph 602C). The graph size goal may be met if the number of nodes in the final reduced subgraph 602C is less than or equal to eight. In this case, because the count of nodes in the final reduced subgraph 602C is eight, the graph size goal is met.

[0133] At block 708H, it may be determined whether the current ring (i.e., the second ring 416) satisfies the determined ring node objective (i.e., "1"). In one embodiment, the processor 204 may determine whether the current ring satisfies the determined ring node objective. For example, based on the removal of one node (i.e., the non-extracted node 412B) surrounded by the second ring 416 from the first subgraph 116A, the processor 204 may determine that the ring node objective of the second ring 416 is met.

[0134] At block 708I, an unprotected ring from the selected first subgraph (i.e., first subgraph 116A) that follows the selected current ring may be selected as the current ring based on the termination criteria. In one embodiment, the processor 204 may select an unprotected ring from the selected first subgraph that follows the selected current ring as the current ring based on the termination criteria. The termination criteria may include a determination that the graph size goal is not met and a determination that the ring node goal of the selected current ring (i.e., second ring 416) is met. Based on the determination included in the termination criteria, the processor 204 may be configured to select the third ring 422 (i.e., the unprotected ring that follows the second ring 416, which is the selected current ring) as the current ring if the graph size goal is not met and the ring node goal of the second ring 416 is met. In the present example, the third ring 422 cannot be reselected as the current ring because the graph size goal is met.

[0135] At block 710, a reduced subgraph may be obtained from the selected first subgraph based on iterative control of the execution of the third set of operations until the graph size goal is met. In an embodiment, the processor 204 may be configured to obtain a reduced subgraph from the selected first subgraph based on iterative control of the execution of the set of operations until the selected first subgraph meets the graph size goal. For the exemplary first subgraph 116A, iterative control of the execution of the third set of operations may not be required because the final reduced subgraph 602C is obtained based on the removal of the non-extracted node 412B from the first subgraph 116A. However, if the graph size goal is determined as less than or equal to "7", the processor 204 may be configured to select the third ring 422 as the current ring. The third set of operations may then be reiterated such that the non-extracted nodes enclosed by the third ring 422 are randomly selected and removed. Furthermore, if the ring node goal is greater than "1", the ring node goal of the selected current ring (i.e., the second ring 416) may not be met. In such a scenario, the processor 204 may be configured to continue with the selection of the second ring 416 as the current ring and reiterate the third set of operations, whereby another non-extracted node surrounded by the second ring 416 may be randomly selected for removal. The processor 204 may be configured to determine whether the graph size goal is met at each instance of removal of a non-extracted node surrounded by an unprotected ring. When the graph size goal is met, a reduced subgraph corresponding to the selected first subgraph may be obtained.

[0136] According to an embodiment, the selected first subgraph may be reduced a predefined number of times to obtain a set of reduced subgraphs (such as set of reduced subgraphs 118A) corresponding to the selected first subgraph. The repeated reduction of the selected first subgraph a predefined number of times may ensure that the set of reduced subgraphs includes at least one reduced subgraph (corresponding to the selected extracted first subgraph) that may be highly correlated with the selected first subgraph. Similarly, other extracted first subgraphs of the set of extracted first subgraphs may be selected, and each extracted first subgraph may be reduced to obtain a set of reduced subgraphs. Control may proceed to an end.

[0137] Although flowchart 700 is illustrated as discrete operations such as 702, 704, 706, 708 (708A-708I), and 710, the disclosure is not so limited. However, in certain embodiments, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.

[0138] FIG. 8 illustrates a flowchart of an exemplary method for determining a closest reduced subgraph corresponding to an extracted subgraph, according to an embodiment of the present disclosure. FIG. 8 is described in conjunction with elements of FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6A, FIG. 6B, FIG. 7A, and FIG. 7B. Referring to FIG. 8, a flowchart 800 is shown. The method illustrated in the flowchart 800 may begin at 802 and may be performed by any suitable system, apparatus, or device, such as the exemplary electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated in discrete blocks, steps and operations associated with one or more of the blocks of the flowchart 800 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

[0139] At block 802, an extracted first subgraph may be selected from the set of extracted first subgraphs 304A...304N. In an embodiment, the processor 204 may be configured to select the extracted first subgraph from the set of extracted first subgraphs 304A...304N. For example, the selected extracted first subgraph may be the first subgraph 304A.

[0140] At block 804, a set of reduced subgraphs corresponding to the selected extracted first subgraph may be selected as the reduced subgraph set. In an embodiment, the processor 204 may be configured to select a set of reduced subgraphs corresponding to the selected extracted first subgraph as the reduced subgraph set. For example, a first set of reduced subgraphs corresponding to the selected extracted first subgraph 304A may be selected as the reduced subgraph set.

[0141] At block 806, a graph kernel encoder may be trained based on the set of extracted first subgraphs. In an embodiment, the processor 204 may be configured to train the graph kernel encoder based on the set of extracted first subgraphs. For example, the graph kernel encoder may be trained based on the set of extracted first subgraphs 304A...304N. In an embodiment, the training may be based on unsupervised (machine learning (ML) based) training. Based on the training, the input extracted first subgraphs and / or the input reduced subgraphs (obtained based on the reduction of the input extracted first subgraphs) may be vectorized.

[0142] At block 808, a first vector may be determined based on application of a graph kernel encoder to the selected extracted first subgraph. In an embodiment, the processor 204 may be configured to determine the first vector based on application of a graph kernel encoder to the selected extracted first subgraph. For example, the first vector may be determined based on application of a graph kernel encoder to the selected extracted first subgraph 304A.

[0143] At block 810A, a second vector may be determined based on application of a graph kernel encoder to a current reduced subgraph of the reduced subgraph set. In an embodiment, the processor 204 may be configured to determine the second vector based on application of a graph kernel encoder to a current reduced subgraph of the reduced subgraph set. A current reduced subgraph may be selected from the reduced subgraph set (i.e., the first set of reduced subgraphs 306A). For example, the reduced subgraph set may include three reduced subgraphs obtained based on reducing the first subgraph 304A. The first reduced subgraph included in the first set of reduced subgraphs 306A may be selected as the current reduced subgraph. The processor 204 may be configured to determine a second vector (e.g., second vector 1) based on applying the determined graph kernel encoder to the first reduced subgraph included in the first set of reduced subgraphs 306A. Similarly, a second vector 2 and a second vector 3 may be determined based on applying the determined graph kernel encoder to a second reduced subgraph (included in the first set of reduced subgraphs 306A) and a third reduced subgraph (included in the first set of reduced subgraphs 306A), respectively. Thus, operation 810A may be performed for each of the reduced subgraphs to obtain a second vector corresponding to each of the reduced subgraphs.

[0144] At block 810B, a correlation coefficient between the selected extracted first subgraph (i.e., the selected extracted first subgraph 304A) and the current reduced subgraph (i.e., the first reduced subgraph included in the first set of reduced subgraphs 306A) may be determined based on the determined first vector and the determined second vector (i.e., the second vector 1). In an embodiment, the processor 204 may be configured to determine a correlation coefficient between the first subgraph 304A and the current reduced subgraph (i.e., the first reduced subgraph included in the first set of reduced subgraphs 306A) based on the determined first vector and the determined second vector 1. The determined correlation coefficient may be a first correlation coefficient. The first correlation coefficient may indicate a similarity between the first subgraph 304A and the first reduced subgraph included in the first set of reduced subgraphs 306A. Similarly, if the second reduced subgraph is selected as the current reduced subgraph, the processor 204 may determine a second correlation coefficient between the first subgraph 304A and the second reduced subgraph based on the determined first vector and the determined second vector 2. The second correlation coefficient may indicate a similarity between the first subgraph 304A and the second reduced subgraph included in the first set of reduced subgraphs 306A. On the other hand, if the third reduced subgraph is selected as the current reduced subgraph, the processor 204 may determine a third correlation coefficient between the first subgraph 304A and the third reduced subgraph based on the determined first vector and the determined second vector 3. The third correlation coefficient may indicate a similarity between the first subgraph 304A and the third reduced subgraph included in the first set of first reduced subgraphs 306A. Thus, operation 810B may be performed for each of the reduced subgraphs to obtain a correlation coefficient between the extracted first subgraph and each corresponding reduced subgraph in the set of reduced subgraphs.

[0145] At block 812, a reduced subgraph may be selected from the reduced subgraph set (i.e., the first set of reduced subgraphs 306A) as a closest reduced subgraph for the extracted ID based on the determined correlation coefficient. In an embodiment, the processor 204 may be configured to select a reduced subgraph from the reduced subgraph set as a closest reduced subgraph corresponding to the selected extracted first subgraph based on the determined correlation coefficient. For example, if it is determined that the first correlation coefficient is greater than the second correlation coefficient and the third correlation coefficient, the first reduced subgraph may be selected as a reduced subgraph from the first set of reduced subgraphs 306A. If it is determined that the second correlation coefficient is greater than the first correlation coefficient and the third correlation coefficient, the second reduced subgraph may be selected as a reduced subgraph from the first set of reduced subgraphs 306A. If the third correlation coefficient is determined to be greater than the first correlation coefficient and the second correlation coefficient, the third reduced subgraph may be selected as the reduced subgraph from the first set of reduced subgraphs 306A.

[0146] According to an embodiment, another extracted first subgraph (e.g., extracted first subgraph 304B) may be selected from the set of first subgraphs 304A...304N, and a closest reduced subgraph may be selected from a corresponding set of reduced subgraphs (such as second set of reduced subgraphs 306B). The selection may be based on a correlation coefficient between the first subgraph 304B and each reduced subgraph of the second set of reduced subgraphs 306B. Control may proceed to end.

[0147] Although flowchart 800 is illustrated as discrete operations such as 802, 804, 806, 808, 810A-810B, and 812, the disclosure is not so limited. However, in certain embodiments, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.

[0148] FIG. 9 illustrates an exemplary execution pipeline for coverage analysis of a nearest reduced subgraph, according to an embodiment of the present disclosure. FIG. 9 is described in relation to elements of FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6A, FIG. 6B, FIG. 7A, FIG. 7B, and FIG. 8. Referring to FIG. 9, an execution pipeline 900 is illustrated. The exemplary execution pipeline 900 may include a sequence of operations that may be performed by the processor 204 of the electronic device 102 of FIG. 1 for coverage analysis of a nearest reduced subgraph corresponding to a first subgraph of the set of first subgraphs 304A...304N. The execution pipeline 900 illustrates a sequence of operations that may begin at 902 and end at 930.

[0149] At 902, a first list of extracted nodes may be obtained based on the set of closest reduced subgraphs 308A...308N. In at least one embodiment, the processor 204 may be configured to obtain the first list of extracted nodes based on the set of closest reduced subgraphs 308A...308N. An extracted node in each closest reduced subgraph of the set of closest reduced subgraphs 308A...308N may be selected and included in the first list of extracted nodes.

[0150] At 904, a first list of non-extracted nodes may be obtained based on the set of closest reduced subgraphs 308A...308N. In at least one embodiment, the processor 204 may be configured to obtain the first list of non-extracted nodes based on the set of closest reduced subgraphs 308A...308N. A non-extracted node in each closest reduced subgraph of the set of closest reduced subgraphs 308A...308N may be selected and included in the first list of non-extracted nodes.

[0151] At 906, a second list of extracted nodes may be obtained based on the set of first sub-graphs 304A...304N. In at least one embodiment, the processor 204 may be configured to obtain the second list of extracted nodes based on the set of first sub-graphs 304A...304N. An extracted node in each extracted first sub-graph of the set of first sub-graphs 304A...304N may be selected and included in the second list of extracted nodes.

[0152] At 908, a second list of non-extracted nodes may be obtained based on the set of first sub-graphs 304A...304N. In at least one embodiment, the processor 204 may be configured to obtain the second list of non-extracted nodes based on the set of first sub-graphs 304A...304N. A non-extracted node in each extracted first sub-graph of the set of first sub-graphs 304A...304N may be selected and included in the second list of non-extracted nodes.

[0153] At 910, a first node repetition distribution associated with the first list of extracted nodes may be determined. In at least one embodiment, the processor 204 may be configured to determine the first node repetition distribution associated with the first list of extracted nodes. The first node repetition distribution may indicate a repetition or distribution of information associated with each extracted node of the first list of extracted nodes in the nearest reduced subgraph of the set of nearest reduced subgraphs 308A...308N.

[0154] At 912, a second node repetition distribution associated with the first list of non-extracted nodes may be determined. In at least one embodiment, the processor 204 may be configured to determine the second node repetition distribution associated with the first list of non-extracted nodes. The second node repetition distribution may indicate a repetition or distribution of information associated with each non-extracted node of the first list of non-extracted nodes in the nearest reduced subgraph of the set of nearest reduced subgraphs 308A...308N.

[0155] At 914, a third node repetition distribution associated with the second list of non-extracted nodes may be determined. In at least one embodiment, the processor 204 may be configured to determine a third node repetition distribution associated with the second list of non-extracted nodes. The third node repetition distribution may indicate a repetition or distribution of information associated with each non-extracted node of the second list of non-extracted nodes in a first subgraph of the set of first subgraphs 304A...304N.

[0156] At 916, a first node degree distribution associated with the extracted nodes of the first list of extracted nodes may be determined. In at least one embodiment, the processor 204 may be configured to determine a first node degree distribution associated with the extracted nodes of the first list of extracted nodes. The processor 204 may determine a node degree of each extracted node of the first list of extracted nodes. The degree of the extracted node may indicate the number of edges emanating from the extracted node. Based on the determined degree of each extracted node of the first list of extracted nodes, the processor 204 may determine a first node degree distribution of the extracted nodes among the closest reduced subgraphs of the set of closest reduced subgraphs 308A...308N. The first node degree distribution may indicate the variation of the node degree of each extracted node of the first list of extracted nodes among the closest reduced subgraphs of the set of closest reduced subgraphs 308A...308N.

[0157] At 918, a second node degree distribution associated with the extracted nodes of the second list of extracted nodes may be determined. In at least one embodiment, the processor 204 may be configured to determine a second node degree distribution associated with the extracted nodes of the second list of extracted nodes. The processor 204 may determine a node degree of each extracted node of the second list of extracted nodes. Based on the determined degree of each extracted node of the second list of extracted nodes, the processor 204 may determine a second node degree distribution of the extracted nodes among the nearest reduced subgraphs of the extracted first subgraph of the set of first subgraphs 304A...304N. The second node degree distribution may indicate a variation of the node degree of each extracted node of the second list of extracted nodes among the first subgraphs of the set of first subgraphs 304A...304N.

[0158] At 920, a distribution skew may be determined based on the first node repetition distribution. In at least one embodiment, the processor 204 may be configured to determine the distribution skew based on the first node repetition distribution. The distribution skew may be a first coverage metric of the set of coverage metrics. A higher distribution skew may indicate an over-representation of information associated with some extracted nodes of the first list of extracted nodes and an under-representation of information associated with other extracted nodes of the first list of extracted nodes in the nearest reduced subgraphs of the set of nearest reduced subgraphs 308A...308N.

[0159] At 922, a first correlation coefficient may be determined based on the first node degree distribution and the second node degree distribution. In at least one embodiment, the processor 204 may be configured to determine the first correlation coefficient based on the first node degree distribution and the second node degree distribution. The first correlation coefficient may be a second coverage metric of the set of coverage metrics. A lower value of the first correlation coefficient may indicate that the first node degree distribution and the second node degree distribution are dissimilar. Meanwhile, a higher value of the first correlation coefficient may indicate that the first node degree distribution and the second node degree distribution are similar.

[0160] At 924, a second correlation coefficient may be determined based on the second node repeat distribution and the third node repeat distribution. In at least one embodiment, the processor 204 may be configured to determine the second correlation coefficient based on the second node repeat distribution and the third node repeat distribution. The second correlation coefficient may be a third coverage metric of the set of coverage metrics. A lower value of the second correlation coefficient may indicate that the second node repeat distribution and the third node repeat distribution are dissimilar. Meanwhile, a higher value of the second correlation coefficient may indicate that the second node repeat distribution and the third node repeat distribution are similar.

[0161] At 926, conformance of the distribution skew to a first coverage condition of the set of coverage conditions may be determined. In at least one embodiment, the processor 204 may be configured to determine whether the distribution skew conforms to the first coverage condition of the set of coverage conditions. If the distribution skew is less than a threshold distribution skew, the distribution skew may conform to the first coverage condition. If the information associated with all extracted nodes of the first list of extracted nodes is uniformly distributed among the nearest reduced subgraphs of the set of nearest reduced subgraphs 308A...308N, the distribution skew may be less than the threshold distribution skew. On the other hand, if there is an over-representation of information associated with some extracted nodes of the first list of extracted nodes in the nearest reduced subgraphs of the set of nearest reduced subgraphs 308A...308N, the distribution skew may be greater than the threshold distribution skew (i.e., the distribution skew may not be conformed).

[0162] At 928, a fit of the first correlation coefficient to a second coverage condition of the set of coverage conditions may be determined. In at least one embodiment, the processor 204 may be configured to determine whether the first correlation coefficient fits the second coverage condition of the set of coverage conditions. If the first correlation coefficient is greater than a threshold first correlation coefficient, the first correlation coefficient may fit the second coverage condition. If the first node degree distribution and the second node degree distribution are similar, the first correlation coefficient may be determined to be greater than the threshold first correlation coefficient. The processor 204 may determine that the reduction of the set of first subgraphs 304A...304N (resulting in obtaining a corresponding closest reduced subgraph of the set of closest reduced subgraphs 308A...308N) is biased when removing a threshold number of certain edges from the extracted first subgraph if the first correlation coefficient is less than the threshold first correlation coefficient (i.e., the first correlation coefficient is not fit).

[0163] At 930, a fit of the second correlation coefficient to a third coverage condition of the set of coverage conditions may be determined. In at least one embodiment, the processor 204 may be configured to determine whether the second correlation coefficient fits the third coverage condition of the set of coverage conditions. If the second correlation coefficient is determined to be greater than a threshold second correlation coefficient, the second correlation coefficient fits the third coverage condition. If the second node repetition distribution and the third node repetition distribution are similar, the second correlation coefficient may be greater than the threshold second correlation coefficient. The processor 204 may determine that the reduction of the set of first subgraphs 304A...304N (resulting in obtaining a corresponding closest reduced subgraph of the set of closest reduced subgraphs 308A...308N) is biased in removing a significant number of specific nodes if the second correlation coefficient is greater than the threshold second correlation coefficient (i.e., if the second correlation coefficient is not fitted).

[0164] According to an embodiment, the processor 204 may be configured to restart reducing the set of extracted first sub-graphs 304A...304N (e.g., operation 306 in FIG. 3 ) if at least one of the distribution skews does not match, if the first correlation coefficients do not match, or if the second correlation coefficients do not match.

[0165] On the other hand, if the distribution skew is matched, the first correlation coefficient is matched, and the second correlation coefficient is matched, a set of second subgraphs 314A...314N may be obtained. The GXAI engine may use the set of second subgraphs 314A...314N to build an explainable prediction model 110 for predicting explainable inference results. The information contained in the set of second subgraphs 314A...314N may contribute significantly to generating a predicted output (corresponding to the connections between the nodes of the input subgraphs). Training the explainable prediction model 110 is further described, for example, in operation 316 of FIG. 3.

[0166] FIG. 10 illustrates a flowchart of an exemplary method of graph reduction for explainable artificial intelligence (XAI), according to an embodiment of the present disclosure. FIG. 10 is described in conjunction with elements of FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6A, FIG. 6B, FIG. 7A, FIG. 7B, FIG. 8, and FIG. 9. Referring to FIG. 10, a flowchart 1000 is shown. The method illustrated in the flowchart 1000 may begin at 1002 and may be performed by any suitable system, apparatus, or device, such as the exemplary electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated in discrete blocks, steps and operations associated with one or more blocks of the blocks of the flowchart 1000 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the specific implementation.

[0167] At block 1002, a graph (e.g., graph 114) representing the domain and a label associated with each node of the set of nodes of graph 114 may be received. In an embodiment, processor 204 may be configured to receive graph 114 representing the domain and a label associated with each node of the set of nodes of graph 114. Receiving the graph is further described, for example, in FIG. 3 (operation 302).

[0168] At block 1004, a set of first subgraphs (e.g., a set of first subgraphs 116A...116N) may be extracted from the received graph 114. In an embodiment, the processor 204 may be configured to extract the set of first subgraphs 116A...116N from the received graph 114. Extracting the set of first subgraphs is further described, for example, in FIG. 3 (operation 304).

[0169] At block 1006, each first subgraph in the set of extracted first subgraphs 116A...116N may be reduced to obtain a set of reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. In an embodiment, the processor 204 may be configured to reduce each first subgraph in the set of extracted first subgraphs 116A...116N to obtain a set of reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. The reduction of the set of extracted first subgraphs is further described, for example, in FIG. 3 (operation 306).

[0170] At block 1008, a first set of operations may be performed to obtain a set of second subgraphs 120A...120N from the set of extracted first subgraphs 116A...116N based on the reduction of each first subgraph in the set of extracted first subgraphs 116A...116N. In an embodiment, the processor 204 may be configured to perform the first set of operations to obtain a set of second subgraphs 120A...120N from the set of extracted first subgraphs based on the reduction of each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may include blocks 1008A, 1008B, 1008C, and 1008D.

[0171] At block 1008A, a closest reduced subgraph may be determined from the set of reduced subgraphs (e.g., set of reduced subgraphs 1 118A). In an embodiment, the processor 204 may determine the closest reduced subgraph from the set of reduced subgraphs. The closest reduced subgraph may correspond to each first subgraph (e.g., first subgraph 116A) in the set of extracted first subgraphs 116A...116N. Determining the closest reduced subgraph is further described, for example, in FIG. 3 (operation 308).

[0172] At block 1008B, a set of coverage metrics may be determined based on the set of extracted first subgraphs 116A...116N and the determined nearest reduced subgraph corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. In an embodiment, the processor 204 may determine the set of coverage metrics based on the set of extracted first subgraphs 116A...116N and the determined nearest reduced subgraph corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. In an embodiment, the set of coverage metrics may be determined based on at least one of a first node repetition distribution, a first node degree distribution, a second node repetition distribution, a second node degree distribution, or a third node repetition distribution. The set of coverage metrics may include a distribution skew, a first correlation coefficient, and a second correlation coefficient. Determining the set of coverage metrics is further described, for example, in FIG. 3 (operation 310).

[0173] At block 1008C, it may be determined whether the determined set of coverage metrics satisfies a set of coverage conditions. In an embodiment, the processor 204 may determine whether the determined set of coverage metrics satisfies a set of coverage conditions. Determining whether a set of coverage conditions is satisfied is further described, for example, in FIG. 3 (operation 312).

[0174] At block 1008D, the reduction of the set of extracted first subgraphs 116A...116N may be reiterated based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions. In an embodiment, the processor 204 may reiterate the reduction of the set of extracted first subgraphs 116A...116N based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions. If the set of coverage metrics does not satisfy the set of coverage conditions, the processor 204 may reiterate the reduction of the set of extracted first subgraphs, e.g., as further described in FIG. 3 (operation 306). When it is determined that the set of coverage metrics satisfies the set of coverage conditions, a closest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N may be obtained.

[0175] At block 1010, a set of second subgraphs 120A...120N may be obtained from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N based on iterative control of execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. In one embodiment, the processor 204 may be configured to obtain a set of second subgraphs 120A...120N from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N based on iterative control of execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. Thus, when the nearest reduced subgraphs are obtained such that the set of coverage metrics satisfies the set of coverage conditions, the set of second subgraphs 120A...120N may be determined as the nearest reduced subgraphs. Determining the set of second subgraphs is further described, for example, in FIG. 3 (act 314).

[0176] At block 1012, a graph machine learning model may be trained based on the set of retrieved second sub-graphs 120A...120N and the received labels associated with each node of the set of nodes of the received graph 114. In an embodiment, the processor 204 may be configured to train a graph machine learning model based on the set of retrieved second sub-graphs 120A...120N and the received labels associated with each node of the set of nodes of the received graph 114. Training the graph machine learning model is further described, for example, in FIG. 3 (operation 316). Control may proceed to an end.

[0177] Although flowchart 1000 is illustrated as discrete operations such as 1002, 1004, 1006, 1008 (1008A-1008D), 1010, and 1012, the disclosure is not so limited. However, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.

[0178] Various embodiments of the disclosure may provide one or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause a system (such as the exemplary electronic device 102) to perform an operation. The operation may include receiving a graph (e.g., graph 114) representing a domain and a label associated with each node of a set of nodes of the received graph 114. The operation may further include extracting a set of first subgraphs (e.g., a set of first subgraphs 116A...116N) from the received graph 114. The operation may further include reducing each first subgraph of the set of extracted first subgraphs 116A...116N to obtain a set of reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N. The operations may further include performing a first set of operations to obtain a set of second subgraphs (e.g., a set of second subgraphs 120A...120N) from the set of extracted first subgraphs 116A...116N based on the reduction of each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may further include determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may further include determining a set of coverage metrics based on the set of extracted first subgraphs 116A...116N and the determined closest reduced subgraph corresponding to each first subgraph in the set of extracted first subgraphs 116A...116N. The first set of operations may further include determining whether the determined set of coverage metrics satisfies a set of coverage conditions. Further, the first set of operations may include reiterating the reduction of the set of extracted first sub-graphs 116A...116N based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions.The operations may further include obtaining a set of second subgraphs 120A...120N from the determined nearest reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs 116A...116N based on the iterative control of execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. The operations may further include training a graph machine learning model based on the obtained set of second subgraphs 120A...120N and the received labels associated with each node of the set of nodes of the received graph.

[0179] As used in this disclosure, the term "module" or "component" may refer to a specific hardware implementation configured to perform the actions of the module or component, and / or a software object or software routine that may be stored and / or executed on general-purpose hardware (e.g., computer-readable media, processing unit, etc.) of a computing system. In some embodiments, different components, modules, engines, and services described in this disclosure may be implemented as objects or processes that run on a computing system (e.g., as separate threads). Although some of the systems and methods described in this disclosure are generally described as being implemented in software (stored and / or executed on general-purpose hardware), specific hardware implementations or combinations of software and specific hardware implementations are also possible and contemplated. As used herein, a "computing entity" may be any computing system as previously defined in this disclosure, or a combination of any modules or sub-modules that run on a computing system.

[0180] The terms used in this disclosure, particularly in the appended claims (e.g., the body of the appended claims), are generally intended as "open" terms (e.g., the term "including" should be interpreted as "including, but not limited to," the term "having" should be interpreted as "having at least," the term "including" should be interpreted as "including, but not limited to," etc.).

[0181] Furthermore, if a specific number of claim recitations to be introduced is intended, such intent is expressly stated in the claim, and in the absence of such a statement, no such intent exists. For example, as an aid to understanding, the following appended claims may include the use of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed as meaning that the introduction of a claim recitation with the indefinite article "a" or "an" limits any particular claim that includes such an introduced claim recitation to an embodiment that includes only one such recitation, even if the same claim includes the introductory phrases "one or more" or "at least one" and an indefinite article such as "a" or "an" (e.g., "a" and / or "an" should be construed to mean "at least one" or "one or more"). The same applies to the use of definite articles used to introduce claim recitations.

[0182] In addition, even if a particular number of introduced claim recitations is explicitly recited, one of ordinary skill in the art will recognize that such recitation should be interpreted to mean at least the recited number (e.g., the recitation "two recitations" without other modifiers means at least two recitations, or more than two recitations). Furthermore, when idiomatic expressions similar to "such as at least one of A, B, and C" or "such as one or more of A, B, and C" are used, such constructions are generally intended to include A only, B only, C only, both A and B, both A and C, both B and C, or A, B, and C, etc.

[0183] Additionally, any disjunctive phrase presenting two or more alternative terms, whether in the present document, claims, or drawings, should be understood to contemplate the possibility of including one of the terms, either of the terms, or both terms. For example, the phrase "A or B" should be understood to include the possibilities of "A" or "B" or "A and B."

[0184] All examples and conditional language described in this disclosure are intended for educational purposes to aid the reader in understanding the disclosure and the concepts contributed by the inventor to advance the art, and should be construed as not being limited to such specifically described examples and conditions. Although the embodiments of the present disclosure have been described in detail, various changes, substitutions, and alterations can be made without departing from the spirit and scope of the present disclosure.

[0185] The following supplementary notes are further disclosed regarding the embodiments including the above examples. (Appendix 1) 1. A processor-implemented method, the method comprising: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; method. (Appendix 2) 2. The method of claim 1, wherein the first set of subgraphs is extracted from the received graph based on at least one of a hop limit, a node type associated with the received graph, or a combination of the hop limit and the node type. (Appendix 3) 2. The method of claim 1, wherein the reduced set of subgraphs is obtained based on at least one of a number of nodes, a number of edges, or a set of hyperparameters associated with the extracted first set of subgraphs. (Appendix 4) 2. The method of claim 1, wherein the graph machine learning model corresponds to a graph explainable artificial intelligence (GXAI) engine. (Appendix 5) 5. The method of claim 4, further comprising training an explainable predictive model based on the GXAI engine and the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs. (Appendix 6) receiving an input subgraph associated with the domain; applying the trained explainable predictive model to the received input subgraph; determining a predictive output based on application of the trained explainable predictive model; The method of claim 5, further comprising: (Appendix 7) identifying extracted nodes and non-extracted nodes from the set of nodes of the received graph to obtain a list of extracted nodes; selecting a first extraction node from the list of extraction nodes as an extraction identifier (ID); adding the first ring as a current ring to a ring list associated with the extracted ID; performing a second set of operations to obtain a tuple associated with the extraction ID, the second set of operations comprising: For each neighbor of each node enclosed by the latest ring, Determine whether the neighbor is enclosed in the latest ring; adding the neighboring node to the outside of the latest ring based on a determination that the neighboring node is not enclosed by the latest ring; Add the edges related to the added neighbors to the edge list, Add a ring surrounding the added neighbor to the ring list; determining whether the most recent ring is the last ring in the ring list; setting the added ring as a most recent ring and reiterating the second set of operations based on a determination that the most recent ring is not the last ring in the ring list; and obtaining the tuple including the extraction ID, the ring list, and the edge list based on iteratively controlling execution of the second set of operations until a most recent ring is determined to be the last ring in the ring list; The extraction of the first set of subgraphs is further based on the obtained tuples. The method described in Appendix 1. (Appendix 8) selecting a first subgraph from the set of extracted first subgraphs that is associated with an extraction ID; determining a ring node target for each ring in the ring list and a graph size target associated with the selected first subgraph; the ring node goal of the corresponding ring is determined based on at least one of a size of the selected first subgraph, the graph size goal, or a ring weight of the corresponding ring; the graph size goal is determined based on at least one of a size of the selected first subgraph, a goal number of nodes, a goal number of edges, or a combination of the goal number of nodes and the goal number of edges; selecting a ring from the ring list as a current ring, the selection being based on a determination that the selected current ring is not protected; nodes enclosed by a protected ring are retained during reduction of the selected first subgraph; performing a third set of operations to obtain a reduced subgraph of the set of reduced subgraphs corresponding to the selected first subgraph, the third set of operations comprising: Randomly selecting a node surrounded by the selected current ring; removing a selected random node and an edge associated with the selected random node from the selected first subgraph; determining whether there are any disconnected nodes in the selected first subgraph based on the removal; based on the determination of the existence of a disconnected node, removing the disconnected node and an edge associated with the disconnected node from the selected first subgraph; determining whether there is a node that is more than a hop limit away from the extracted ID; based on the determination of the existence of nodes that have exceeded the hop limit, removing the nodes that have exceeded the hop limit and edges associated with those nodes from the selected first subgraph; determining whether the graph size goal has been met based on the removal of the selected random node, the disconnected nodes, and nodes that have exceeded the hop limit; Determine whether the current ring meets the determined ring node objectives; reselecting an unprotected ring after the selected current ring from the selected first subgraph as a current ring based on a termination criterion, the termination criterion including: a determination that the graph size goal has not been met; or Determining that said ring node objective for the selected current ring is satisfied and and obtaining the reduced subgraph from the selected first subgraph based on iteratively controlling execution of the third set of operations until the graph size goal is met. The method described in Appendix 1. (Appendix 9) selecting the extracted first subgraph from the set of extracted first subgraphs; selecting a set of the reduced subgraphs corresponding to the selected extracted first subgraph as a reduced subgraph set; training a graph kernel encoder based on the extracted first set of subgraphs; determining a first vector based on application of the graph kernel encoder to the selected extracted first subgraph; For each reduced subgraph in the set of reduced subgraphs, determining a second vector based on application of the graph kernel encoder to a current reduced subgraph of the set of reduced subgraphs; determining a correlation coefficient between the selected extracted first subgraph and the current reduced subgraph based on the determined first vector and the determined second vector; stages and; and selecting a reduced subgraph from the reduced subgraph set as a closest subgraph corresponding to the selected extracted first subgraph based on the determined correlation coefficient. The method described in Appendix 1. (Appendix 10) obtaining a first list of extracted nodes and a first list of non-extracted nodes in the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs; obtaining a second list of extracted nodes and a second list of non-extracted nodes based on the extracted first set of subgraphs; determining a first node repetition distribution and a first node degree distribution associated with the first list of extracted nodes; determining a second node repetition distribution associated with the first list of non-extracted nodes; determining a second node degree distribution associated with the second list of extracted nodes; determining a third node repetition distribution associated with the second list of non-extracted nodes; Further comprising: The set of coverage metrics is: the first node repetition distribution; the first node degree distribution; the second node repetition distribution; the second node degree distribution; or The third node repetition distribution 2. The method of claim 1, wherein the determination is based on at least one of the following: (Appendix 11) determining a distribution skew based on the first node repetition distribution; determining a first correlation coefficient based on the first node degree distribution and the second node degree distribution; determining a second correlation coefficient based on the second node repetition distribution and the third node repetition distribution; determining whether the determined distribution skew complies with a first coverage condition of the set of coverage conditions, the determined first correlation coefficient complies with a second coverage condition of the set of coverage conditions, and the determined second correlation coefficient complies with a third coverage condition of the set of coverage conditions; the first coverage condition is met if the determined distribution skew is less than a threshold distribution skew; the second coverage condition is met if the determined first correlation coefficient is greater than a threshold first correlation coefficient; the third coverage condition is met if the determined second correlation coefficient is greater than a threshold second correlation coefficient; 11. The method of claim 10, further comprising: (Appendix 12) 2. The method of claim 1, wherein the domain corresponds to at least one of a financial domain, a credit card fraud detection domain, an e-commerce domain, a social network domain, or a citation network domain. (Appendix 13) the domain corresponds to the credit card fraud detection domain; the set of nodes of the received graph corresponds to at least one of a credit card entity, a cardholder entity, or a point of sale entity; the set of edges of the received graph corresponds to a transaction entity, a card owning entity, or a business owning entity; The method described in Appendix 1. (Appendix 14) One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause an electronic device to perform operations, the operations including: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; One or more non-transitory computer-readable storage media. (Appendix 15) 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the first set of subgraphs is extracted from the received graph based on at least one of a hop limit, a node type associated with the received graph, or a combination of the hop limit and the node type. (Appendix 16) 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the reduced set of subgraphs is obtained based on at least one of a number of nodes, a number of edges, or a set of hyperparameters associated with the extracted first set of subgraphs. (Appendix 17) 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the graph machine learning model corresponds to a graph explainable artificial intelligence (GXAI) engine. (Appendix 18) 18. The one or more non-transitory computer-readable storage media of claim 17, wherein the operations further include training an explainable predictive model based on the GXAI engine and the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs. (Appendix 19) The action further comprises: receiving an input subgraph associated with the domain; applying the trained explainable predictive model to the received input subgraph; determining a predictive output based on application of the trained explainable predictive model; 19. The one or more non-transitory computer-readable storage media of claim 18, further comprising: (Appendix 20) a memory storing instructions; and An electronic device comprising a processor coupled to the memory and executing the instructions to perform a process, the process comprising: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; Electronic devices. [Explanation of symbols]

[0186] 102 Electronic Devices 108 Graph Machine Learning Models 110 Explainable Predictive Models 112 Communication Networks 114 Graphs 116... First set of subgraphs 118A Set of reduced subgraphs 1 118B Set of reduced subgraphs 2 118N Set of reduced subgraphs N 120… second set of subgraphs 202 System 204 Processor 206 Memory 208 Persistent Data Storage 212 Network Interface 210 I / O Devices 210A Display Device 302 Graph received 302A Graph 304 Extracting the first set of subgraphs 304A...304N First set of subgraphs 306 Reducing the Set of First Subgraphs 306A First set of reduced subgraphs 306B Second set of reduced subgraphs 306N The Nth set of reduced subgraphs 304A...304N First set of subgraphs 308 Determining the Set of Closest Subgraphs 308A...308N The set of closest reduced subgraphs 310 Coverage Analysis of Sets of Closest Subgraphs 312 Coverage conditions met? 314 Get the second subgraph set 314A...314N Second set of subgraphs 316 Explainable Predictive Model Training 502 Identify extracted nodes and non-extracted nodes from the set of nodes of the received graph to obtain a list of extracted nodes. 504 Select the first extraction node from the list of extraction nodes as the extraction identifier (ID). 506 Add the first ring surrounding the extract ID to the ring list associated with the extract ID. 508 Perform a second set of operations to get the tuple associated with the extraction ID. (Below) For each neighbor of each node enclosed by the latest ring, 508A Determine if a neighborhood is enclosed by the latest ring 508B Add a neighbor outside the latest ring based on determining that the neighbor is not enclosed by the latest ring 508C Add the edges associated with the added neighborhood to the edge list 508D Add the ring surrounding the added neighborhood to the ring list 508E Determine if the latest ring is the last ring in the ring list 508F Set the added ring as the most recent ring and reiterate the set of actions based on the determination that the most recent ring is not the last ring in the ring list. 510. Based on the iterative control of the execution of the second set of operations, a tuple including an extraction ID, a ring list, and an edge list is obtained until the latest ring is determined as the last ring in the ring list. Extraction of the set of first subgraphs is further based on the obtained tuple. 702 From the extracted set of first subgraphs, select the first subgraph associated with the extraction ID. 704 Determine a ring node target for each ring in the ring list and a graph size target associated with the selected first subgraph, where: A ring node goal for the corresponding ring is determined based on at least one of a size of the selected first subgraph, a graph size goal, or a ring weight for the corresponding ring; The graph size goal is determined based on at least one of a size of the selected first subgraph, a goal number of nodes, a goal number of edges, or a combination of the goal number of nodes and the goal number of edges. 706 Select a ring from the ring-list as a current ring based on a determination that the selected current ring is not protected, where nodes enclosed by the protected ring are to be retained during contraction of the selected first subgraph. 708 performing a third set of operations to obtain a reduced subgraph of the set of reduced subgraphs corresponding to the selected first subgraph. 708A Select a node surrounded by the currently selected ring. Node selection is random. 708B removes a selected random node and an edge associated with the selected random node from the selected first subgraph. 708C Based on the removal, determine whether there is a disconnected node in the selected first subgraph. 708D Based on the determination of the existence of a disconnected node, the disconnected node and the edge associated with the disconnected node are removed from the selected first subgraph. 708E Determine if there is a node that is farther away from the extraction ID than the hop limit 708F Based on the determination of the existence of a node that has exceeded the hop limit, remove the node that has exceeded the hop limit and the edge associated with the node from the selected first subgraph. 708G Determine if graph size goals are met based on removing randomly selected nodes, disconnected nodes, and nodes exceeding the hop limit 708H Determine whether the current ring meets the determined ring node goal 708I Select an unprotected ring from the selected first subgraph that follows the selected current ring as the current ring based on termination criteria. The termination criteria include at least one of a determination that the graph size goal is not met or a determination that the ring node goal of the selected current ring is met. Obtain a reduced subgraph from the selected first subgraph based on iterative control of execution of the third set of operations until a graph size goal is met. 802 Select the first extracted subgraph from the set of first extracted subgraphs. 804 Select a set of reduced subgraphs corresponding to the selected extracted first subgraph as a reduced subgraph set. 806 Train a graph kernel encoder based on the first set of extracted subgraphs 808 Determine a first vector based on applying a graph kernel encoder to the selected extracted first subgraph. (Below that) for each reduced subgraph within the reduced subgraph 810A determines a second vector based on applying a graph kernel encoder to the current reduced subgraph of the reduced subgraph set. 810B Determine a correlation coefficient between the selected extracted first subgraph and the current reduced subgraph based on the determined first vector and the determined second vector. Based on the determined correlation coefficient, select a reduced subgraph from the reduced subgraph set as the closest reduced subgraph corresponding to the selected extracted first subgraph. 902 Get the first list of extracted nodes 904 Get the first list of non-extracted nodes 906 Get the second list of extracted nodes 908 Get the second list of non-extracted nodes 910 Determine the first node iteration distribution 912 Determining the Second Node Repetition Distribution 914 Determining the third node repetition distribution 916 Determining the First Node Degree Distribution 918 Determining the Second Node Degree Distribution 920 Determining Distribution Skew 922 Determination of the first correlation coefficient 924 Determination of the second correlation coefficient 926 Skew Fits? 928 First correlation fits? 930 Second correlation fits? 1002 Receive a graph representing the domain, and a label associated with each node of the set of nodes in the received graph. 1004 Extract a first set of subgraphs from the received graph. 1006. Contract each first subgraph of the set of extracted first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the set of extracted first subgraphs. 1008. Performing a first set of operations to obtain a set of second subgraphs from the set of extracted first subgraphs based on a reduction of each first subgraph in the set of extracted first subgraphs. 1008A determines, from the set of reduced subgraphs, a closest reduced subgraph corresponding to each first subgraph of the extracted set of first subgraphs. 1008B determines a set of coverage metrics based on the set of extracted first subgraphs and the determined closest reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs. 1008C Determine whether the determined set of coverage metrics satisfies a set of coverage conditions. 1008D. Reiterating the reduction of the set of extracted first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions. 1010. Obtain a set of second subgraphs from the determined closest subgraphs corresponding to each first subgraph of the extracted set of first subgraphs based on the iterative control of the execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions. 1012. Training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graph.

Claims

1. 16. A processor-implemented method, the method comprising: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; method.

2. 2. The method of claim 1 , wherein the first set of subgraphs is extracted from the received graph based on at least one of a hop limit, a node type associated with the received graph, or a combination of the hop limit and the node type.

3. 2. The method of claim 1, wherein the reduced set of subgraphs is obtained based on at least one of a number of nodes, a number of edges, or a set of hyperparameters associated with the extracted first set of subgraphs.

4. The method of claim 1 , wherein the graph machine learning model corresponds to a graph explainable artificial intelligence (GXAI) engine.

5. 5. The method of claim 4, further comprising: training an explainable predictive model based on the GXAI engine and the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs.

6. receiving an input subgraph associated with the domain; applying the trained explainable predictive model to the received input subgraph; determining a predictive output based on application of the trained explainable predictive model; The method of claim 5 further comprising:

7. identifying extracted nodes and non-extracted nodes from the set of nodes of the received graph to obtain a list of extracted nodes; selecting a first extraction node from the list of extraction nodes as an extraction identifier (ID); adding the first ring as a current ring to a ring list associated with the extraction ID; performing a second set of operations to obtain a tuple associated with the extraction ID, the second set of operations comprising: For each neighbor of each node enclosed by the latest ring, Determine whether the neighbor is enclosed in the latest ring; adding the neighboring node to the outside of the latest ring based on a determination that the neighboring node is not enclosed by the latest ring; Add the edges related to the added adjacent nodes to the edge list; adding a ring surrounding the added neighbor node to the ring list; determining whether the most recent ring is the last ring in the ring list; setting the added ring as a most recent ring and reiterating the second set of operations based on a determination that the most recent ring is not the last ring in the ring list; obtaining the tuple including the extraction ID, the ring list, and the edge list based on iteratively controlling execution of the second set of operations until a current ring is determined to be the last ring in the ring list; The extraction of the first set of subgraphs is further based on the obtained tuples. The method of claim 1.

8. selecting a first subgraph from the set of extracted first subgraphs that is associated with an extraction ID; determining a ring node goal for each ring in the ring list and a graph size goal associated with the selected first subgraph; the ring node goal of the corresponding ring is determined based on at least one of a size of the selected first subgraph, the graph size goal, or a ring weight of the corresponding ring; the graph size goal is determined based on at least one of a size of the selected first subgraph, a goal number of nodes, a goal number of edges, or a combination of the goal number of nodes and the goal number of edges; selecting a ring from the ring list as a current ring, the selection being based on a determination that the selected current ring is not protected; nodes enclosed by a protected ring are retained during reduction of the selected first subgraph; performing a third set of operations to obtain a reduced subgraph of the set of reduced subgraphs corresponding to the selected first subgraph, the third set of operations comprising: Randomly selecting a node surrounded by the selected current ring; removing a selected random node and an edge associated with the selected random node from the selected first subgraph; determining whether there are any disconnected nodes in the selected first subgraph based on the removal; based on a determination of the existence of a disconnected node, removing the disconnected node and an edge associated with the disconnected node from the selected first subgraph; determining whether there is a node that is more than a hop limit away from the extracted ID; based on the determination of the existence of nodes that have exceeded the hop limit, removing the nodes that have exceeded the hop limit and edges associated with those nodes from the selected first subgraph; determining whether the graph size goal is met based on removing the selected random node, the disconnected nodes, and nodes that have exceeded the hop limit; determining whether the current ring satisfies the determined ring node objective; reselecting an unprotected ring after the selected current ring from the selected first subgraph as a current ring based on a termination criterion, the termination criterion being: a determination that the graph size goal is not being met; or Determining that said ring node goal for the selected current ring is met. and and obtaining the reduced subgraph from the selected first subgraph based on iteratively controlling execution of the third set of operations until the graph size goal is met. The method of claim 1.

9. selecting the extracted first subgraph from the set of extracted first subgraphs; selecting a set of the reduced subgraphs corresponding to the selected extracted first subgraph as a reduced subgraph set; training a graph kernel encoder based on the extracted first set of subgraphs; determining a first vector based on application of the graph kernel encoder to the selected extracted first subgraph; For each reduced subgraph in the set of reduced subgraphs: determining a second vector based on application of the graph kernel encoder to a current reduced subgraph of the set of reduced subgraphs; determining a correlation coefficient between the selected extracted first subgraph and the current reduced subgraph based on the determined first vector and the determined second vector; Stages and; selecting a reduced subgraph from the reduced subgraph set as a closest subgraph corresponding to the selected extracted first subgraph based on the determined correlation coefficient. The method of claim 1.

10. obtaining a first list of extracted nodes and a first list of non-extracted nodes in the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs; obtaining a second list of extracted nodes and a second list of non-extracted nodes based on the extracted first set of subgraphs; determining a first node repetition distribution and a first node degree distribution associated with the first list of extracted nodes; determining a second node repetition distribution associated with the first list of non-extracted nodes; determining a second node degree distribution associated with the second list of extracted nodes; determining a third node repetition distribution associated with the second list of non-extracted nodes; Further comprising: The set of coverage metrics is: the first node repetition distribution; the first node degree distribution; the second node repetition distribution; the second node degree distribution; or The third node repetition distribution The method of claim 1 , wherein the determination is based on at least one of:

11. determining a distribution skew based on the first node repetition distribution; determining a first correlation coefficient based on the first node degree distribution and the second node degree distribution; determining a second correlation coefficient based on the second node repeat distribution and the third node repeat distribution; determining whether the determined distribution skew complies with a first coverage condition of the set of coverage conditions, the determined first correlation coefficient complies with a second coverage condition of the set of coverage conditions, and the determined second correlation coefficient complies with a third coverage condition of the set of coverage conditions; the first coverage condition is met if the determined distribution skew is less than a threshold distribution skew; the second coverage condition is met if the determined first correlation coefficient is greater than a threshold first correlation coefficient; the third coverage condition is met if the determined second correlation coefficient is greater than a threshold second correlation coefficient; The method of claim 10 further comprising:

12. The method of claim 1 , wherein the domain corresponds to at least one of a financial domain, a credit card fraud detection domain, an e-commerce domain, a social network domain, or a citation network domain.

13. the domain corresponds to the credit card fraud detection domain; the set of nodes of the received graph corresponds to at least one of a credit card entity, a cardholder entity, or a point-of-sale entity; the set of edges of the received graph corresponds to a transaction entity, a card owning entity, or a business owning entity; The method of claim 1.

14. One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause an electronic device to perform operations, the operations including: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; One or more non-transitory computer-readable storage media.

15. 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the first set of subgraphs is extracted from the received graph based on at least one of a hop limit, a node type associated with the received graph, or a combination of the hop limit and the node type.

16. 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the reduced set of subgraphs is obtained based on at least one of a number of nodes, a number of edges, or a set of hyperparameters associated with the extracted first set of subgraphs.

17. 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the graph machine learning model corresponds to a graph explainable artificial intelligence (GXAI) engine.

18. 20. The one or more non-transitory computer-readable storage media of claim 17, wherein the operations further include training an explainable predictive model based on the GXAI engine and the determined nearest reduced subgraph corresponding to each first subgraph of the set of extracted first subgraphs.

19. The operations further include: receiving an input subgraph associated with the domain; applying the trained explainable predictive model to the received input subgraph; determining a predictive output based on application of the trained explainable predictive model; 20. The one or more non-transitory computer-readable storage media of claim 18, further comprising:

20. A memory storing instructions; and An electronic device comprising a processor coupled to the memory and executing the instructions to perform a process, the process comprising: receiving a graph representing a domain and a label associated with each node of a set of nodes of the received graph; extracting a first set of subgraphs from the received graph; reducing each first subgraph of the extracted set of first subgraphs to obtain a set of reduced subgraphs corresponding to each first subgraph of the extracted set of first subgraphs; performing a first set of operations to obtain a set of second subgraphs from the extracted set of first subgraphs based on a reduction of each first subgraph in the extracted set of first subgraphs, the first set of operations comprising: determining a closest reduced subgraph from the set of reduced subgraphs corresponding to each first subgraph in the extracted set of first subgraphs; determining a set of coverage metrics based on the extracted set of first subgraphs and the determined nearest reduced subgraph corresponding to each first subgraph in the extracted set of first subgraphs; determining whether the determined set of coverage metrics satisfies a set of coverage conditions; reiterating the reduction of the extracted set of first subgraphs based on a determination that the determined set of coverage metrics does not satisfy the set of coverage conditions; obtaining the set of second subgraphs from the determined nearest reduced subgraphs corresponding to each first subgraph in the set of extracted first subgraphs based on iteratively controlling execution of the first set of operations until the determined set of coverage metrics satisfies the set of coverage conditions; training a graph machine learning model based on the resulting set of second subgraphs and the received labels associated with each node of the set of nodes of the received graphs; Electronic devices.