Method, system and software for tracing path in graph

By generating heterogeneous graphs with metapaths and using graph neural networks, the method effectively traces complex interactions in supply chains and social networks, improving disruption prediction and fake news detection.

JP2024116079AInactive Publication Date: 2024-08-27HITACHI LTD

Patent Information

Application Number
JP2024008699
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-15
Filing Date
2024-01-24
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing methods for tracing paths in graph-structured data, such as supply chains and social networks, fail to account for the multiple interactions and unknown correlations between entities, making it difficult to predict disruptions or trace fake news propagation effectively.

Method used

A method involving the creation of a heterogeneous graph using metapaths, where nodes and edges are defined by types and attributes, followed by sampling positive and negative metapaths and projecting nodes into embedding vectors using a spatially based graph neural network to trace paths with similarity thresholds.

Benefits of technology

Enables accurate tracing of physical flows in supply chains and propagation of fake news in social networks, enhancing prediction and prevention capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024116079000001_ABST
    Figure 2024116079000001_ABST
Patent Text Reader

Abstract

To provide a method, system and software for tracing paths in a graph.SOLUTION: In inputting a graph structure dataset, a method includes: defining types and attributes for multiple nodes and multiple edges for generating a heterogeneous graph from the input graph structure dataset; associating the multiple nodes based on similarities; defining a scheme for metapaths between the multiple nodes and the multiple edges based on a defined flow; sampling, based on the defined scheme, a positive metapath and a negative metapath for selected nodes from the heterogeneous graph; projecting the associated multiple nodes to an embedded vector; and tracing paths of the associated nodes having similarity with a start node designated by a user, larger than a threshold set in advance.SELECTED DRAWING: Figure 4A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE This disclosure relates generally to data management systems, and more particularly to methods, systems, and software for tracing paths in a graph. [Background technology]

[0002] It is often of interest to trace paths in graph-structured data such as supply chains, social networks, and contact networks. Such path tracing may include tracing the physical flow of products in a supply chain to mitigate losses after a supply chain disruption, tracing the information flow of news in a social network to identify the source of information or maximize the impact, or tracing the infection route of an epidemic to predict and even prevent the epidemic.

[0003] Figure 1 illustrates an example of physical flows within a supply chain: the shutdown of automobile production caused by a chip shortage. After the chip shortage, engine shortage, and shutdown of automobile production, the demand for automobile parts ultimately decreases as a result.

[0004] For an auto parts manufacturer, tracing the physical flow of cars can help predict declines in demand in advance and mitigate losses. Similarly, tracing cash flows in a supply chain can help financial institutions predict possible requirements for working capital and provide financial services in a timely manner.

[0005] However, in graph structure data, there are usually multiple paths between multiple entities, i.e., input objects and output objects of each entity. Moreover, the correspondence between input objects and output objects is usually unknown. For example, in a supply chain, each company manufactures different products. The correlation between inputs (raw materials and parts) and outputs (products) is usually confidential. Therefore, as shown in Figure 2, the physical flow of each product is never traceable, making it difficult to change parts companies when facing supply chain disruptions.

[0006] In the social network shown in Figure 3, tracing the path of fake news propagation can help social media platforms keep users away from fake information. However, in a social network, each user has multiple incoming and outgoing interactions with other users, such as reading multiple posts from other users, posting multiple messages to other users, etc. The correlation between incoming and outgoing posts is unknown, making it difficult to trace the path of fake news propagation.

[0007] Many related technology implementations have been proposed to trace paths in graph-structured data. In the case of supply chains, agent-based models, in which agents such as suppliers and procurers follow certain rules, are used to model the propagation of negative shocks. However, the models assume that each company in a sector only produces products specialized in that sector, which is not necessarily the case. For example, there may be companies that produce multiple types of products, such as lithium batteries, refrigerators, etc., which cannot be modeled by related technology implementations.

[0008] In the domain of social networks, related techniques focus on tracing fake news propagation paths in social networks. A user who posts fake news is first detected and classified, and then the user's neighbors are repeatedly traced to learn the propagation path. However, such related technique implementations assume that users post fake news because of incoming messages, which is incorrect. In the real world, users usually receive multiple incoming interactions mixed with real news and fake news. Outgoing posting of fake news is generated by only a part of the incoming interactions.

[0009] Thus, related art methods are either dependent on willingness to share information between entities or are not generally applicable. Some related art implementations accomplish tracing physical flows in a supply chain by sending questionnaires to relevant companies using an intermediary that performs survey monitoring of the supply chain. Other related art implementations use tracking technologies including Electronic Data Interchange (EDI) messages and Radio Frequency Identification Tags (RFID), respectively. In an exemplary related art implementation, a bill of materials (BOM) with relationships between assemblies, subassemblies (defined here as parts), and end products is utilized as a correlation between inputs and outputs to trace paths in graph structured data. Summary of the Invention [Problem to be solved by the invention]

[0010] Exemplary implementations described herein involve methods, systems, and software for tracing paths in graph-structured data. Such path tracing may involve tracing the physical or cash flows of each product in a supply chain, or tracing the propagation path of fake news in a social network. However, in these graph-structured data, there are multiple interactions between entities. For example, in a supply chain, each company manufactures multiple types of products using a wide variety of intermediate products and materials. In a social network, each user receives and sends multiple posts. Furthermore, the correlation between incoming and outgoing interactions (materials and products, incoming and outgoing posts) is unknown. Tracing paths in such graph-structured data is a problem addressed by the exemplary implementations described herein. [Means for solving the problem]

[0011] Aspects of the present disclosure may involve a method of tracing a flow of nodes in a graph structure dataset through a meta-path, for an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, to generate a heterogeneous graph from the input graph structure dataset, the method may involve: defining types and attributes for the plurality of nodes and the plurality of edges, associating the plurality of nodes with each other based on similarity, defining a scheme for meta-paths between the plurality of nodes and the plurality of edges based on the defined flow, sampling positive and negative meta-paths for a selected node from the heterogeneous graph based on the defined scheme, the associated plurality of nodes, and the defined types and attributes for the associated plurality of nodes, projecting the associated plurality of nodes into an embedding vector, tracing a path of associated nodes having a similarity to the starting node greater than a pre-set threshold from a starting node specified by a user, and outputting the selected one of the nodes as the traced path via an interface. In an example implementation described herein, the heterogeneous graph involves a graph including multiple types of nodes and edges.

[0012] Aspects of the disclosure may involve a computer program for tracing a flow of nodes in a graph structure dataset through meta-paths, the computer program may include instructions for generating a heterogeneous graph from the input graph structure dataset, the computer program may include, for an input graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, the computer program may include instructions for defining types and attributes for the plurality of nodes and the plurality of edges, associating the plurality of nodes with each other based on similarity, defining a scheme for meta-paths between the plurality of nodes and the plurality of edges based on the defined flow, sampling positive and negative meta-paths for a selected node from the heterogeneous graph based on the defined scheme, the associated plurality of nodes, and the defined types and attributes for the associated plurality of nodes, projecting the associated plurality of nodes into an embedding vector, tracing a path of associated nodes having a similarity to the starting node that is greater than a pre-set threshold from a starting node specified by a user, and outputting the selected one of the nodes as the traced path via an interface. The computer programs and instructions are stored on a non-transitory computer readable medium and executable by one or more processors.

[0013] An aspect of the disclosure may involve a system for tracing a flow of nodes in a graph structure dataset through a meta-path, the system may include, for an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, to generate a heterogeneous graph from the input graph structure dataset, means for defining types and attributes for the plurality of nodes and the plurality of edges, means for associating the plurality of nodes with each other based on similarity, means for defining a scheme for meta-paths between the plurality of nodes and the plurality of edges based on the defined flow, means for sampling positive and negative meta-paths for a selected node from the heterogeneous graph based on the defined scheme, the associated plurality of nodes, and the defined types and attributes for the associated plurality of nodes, means for projecting the associated plurality of nodes into an embedding vector, means for tracing a path of associated nodes having a similarity to the starting node that is greater than a pre-set threshold from a starting node specified by a user, and means for outputting the selected one of the nodes as the traced path via an interface.

[0014] An aspect of the disclosure may involve an apparatus for tracing a flow of nodes in a graph structure dataset through meta-paths, the apparatus may involve a processor configured to: for an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, to generate a heterogeneous graph from the input graph structure dataset; define types and attributes for the plurality of nodes and the plurality of edges; associate the plurality of nodes with each other based on similarity; define a scheme for meta-paths between the plurality of nodes and the plurality of edges based on the defined flows; sample positive and negative meta-paths for a selected node from the heterogeneous graph based on the defined scheme, the associated plurality of nodes, and the defined types and attributes for the associated plurality of nodes; project the associated plurality of nodes into an embedding vector; trace a path of associated nodes that have a similarity to the starting node that is greater than a pre-set threshold from a starting node specified by a user; and output the selected one of the nodes as the traced path via an interface. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 illustrates an exemplary decrease in demand for an automotive part caused by a chip shortage in the supply chain. [Diagram 2] FIG. 1 illustrates an example trace of physical flow for each product in a supply chain requiring confidential product part information. [Diagram 3] FIG. 1 illustrates a trace infection route in a contact network. [Figure 4A] FIG. 1 illustrates a process flow for path tracing in a heterogeneous graph, in accordance with an exemplary implementation. [Figure 4B] FIG. 1 illustrates an exemplary input for a heterogeneous graph generation server, according to an exemplary implementation. [Figure 4C] FIG. 1 illustrates an exemplary input for a heterogeneous graph generation server, according to an exemplary implementation. [Figure 4D] FIG. 13 illustrates an exemplary output of a heterogeneous graph generation server according to an exemplary implementation. [Figure 4E] FIG. 13 illustrates an exemplary output of a heterogeneous graph generation server according to an exemplary implementation. [Diagram 5] FIG. 1 illustrates a process flow for heterogeneous graph generation, according to an example implementation. [Figure 6] FIG. 1 illustrates a process flow for heterogeneous graph attribute generation, according to an example implementation. [Figure 7] FIG. 1 illustrates a heterogeneous graph of a supply chain in accordance with an exemplary implementation. [Figure 8] FIG. 2 illustrates a process flow for a positive meta path and a negative meta path, according to an example implementation. [Figure 9] FIG. 1 illustrates positive and negative meta paths sampled from a heterogeneous graph, in accordance with an example implementation. [Figure 10] FIG. 1 illustrates a heterogeneous graph embedding for a supply chain, in accordance with an exemplary implementation. [Figure 11] FIG. 2 illustrates an example of a path trace server that traces the physical path of each product, according to an exemplary implementation. [Figure 12A] FIG. 2 illustrates an exemplary input of a social network table as an input to a heterogeneous graph generation server, according to an exemplary implementation. [Figure 12B] FIG. 1 illustrates a generated heterogeneous graph according to an exemplary implementation. [Figure 13] FIG. 1 illustrates a graph generated by a heterogeneous graph after fake news detection and clustering according to an exemplary implementation. [Figure 14] FIG. 1 illustrates positive meta path samples from a social network for fake news propagation, according to an exemplary implementation. [Figure 15]FIG. 1 illustrates negative meta path samples from a social network for fake news propagation, according to an example implementation. [Figure 16] FIG. 1 illustrates a heterogeneous graph embedding for social networks, in accordance with an example implementation. [Figure 17] FIG. 1 illustrates a path trace server tracing the propagation path of fake news, according to an exemplary implementation. [Figure 18] FIG. 1 illustrates a system with multiple systems networked to a management device, according to an exemplary implementation. [Figure 19] FIG. 1 illustrates an example computing environment having an example computing device suitable for use in some example implementations. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] The following detailed description provides the drawings and details of the exemplary implementation of the present application. Reference numbers and descriptions of elements that overlap between the drawings are omitted for clarity. The terms used throughout the description are provided as examples and are not intended to be limiting. For example, the use of the term "automatic" may include a fully automatic or semi-automatic implementation, including user or administrator control over certain aspects of the implementation, depending on the desired implementation of the person skilled in the art practicing the implementation of the present application. The selection may be performed by a user via a user interface or other input means, or may be implemented via a desired algorithm. The exemplary implementations as described herein may be utilized either alone or in combination, and the functionality of the exemplary implementations may be implemented via any means depending on the desired implementation.

[0017] In the exemplary implementation described herein, there is a task of tracing paths in a graph to a graph representation learning task of generating a meta-path that embeds a heterogeneous graph. Figure 4A is a diagram showing the process flow of path tracing in a heterogeneous graph according to an exemplary implementation. The process flow according to the exemplary implementation having four steps is shown in Figure 4A.

[0018] The first step S101 is building the structure of the heterogeneous graph by defining nodes, edges, their types, and attributes in the heterogeneous graph generation server. In a graph such as a supply chain or a social network, there is a set of objects (nodes) and their relationships (edges). In a heterogeneous graph, the nodes and edges can be multi-type or multi-modal. For example, the physical flow of a supply chain can be modeled as two types of nodes, i.e., company and product relationships, and two types of relationships (edges), i.e., manufacturing (company → product) and procurement (product → company). Similarly, the cash flow of a supply chain can be modeled as two types of nodes, i.e., relationships between companies and cash, and two types of relationships (edges), i.e., expenses (company → cash) and income (cash → company). In a social network, there can further be two types of nodes, i.e., users and interactions (e.g., posts), and two types of edges, i.e., incoming (e.g., read a message) and outgoing interactions (e.g., post a message).

[0019] In the heterogeneous graph generation step S101, the nodes are classified or clustered. In a supply chain, products, intermediate products, and materials are categorized by item number or description. For example, all lithium batteries are categorized as a single node, lithium batteries, regardless of the underlying supplier. Similarly, intermediate products sourced or manufactured by different companies for goods such as anodes, cathodes, aluminum, and other materials are also categorized. In a social network, posts are also classified. For example, rumors or fake news can be detected by phrases such as "true", "true?", etc. The detected rumors or fake news can be further classified by a similarity score between descriptions in the posts, such as the Jaccard coefficient.

[0020] Then, in a second step S102, a meta path is defined. A meta path is a path scheme that determines the type of nodes and edges at each position in the path. For example, a meta path for a supply chain physical flow may be defined as follows:

[0021]

number

[0022] The meta-path of the supply chain cash flow can be defined as follows:

[0023]

number

[0024] The meta path of fake news propagation in a social network can be defined as follows:

[0025]

number

[0026] According to the defined meta-path, positive and negative meta-paths are sampled from the heterogeneous graph by using methods such as restarted random walk. Thus, a positive meta-path in a supply chain is a path from a company that supplies raw materials, to raw materials, to companies that procure raw materials and manufacture parts, to parts, to companies that procure parts and manufacture products, to the final product. Similarly, a positive meta-path in a social network is a path of fake news posts and posts containing fake news by users.

[0027] Then, at S103, the meta path embedding server projects the nodes in the heterogeneous graph into an embedding using a model such as a spatially-based graph neural network (GNN). In this step, nodes such as companies, products in a supply chain, users, posts in a social network, etc. are projected into low-dimensional vectors that take into account the topological structure in the heterogeneous graph, such that the vectors of nodes in the positive meta path are similar to the vectors of nodes in the negative meta path.

[0028] Finally, at S104, the path trace server traces paths from the heterogeneous graph by selecting nodes and edges whose types are defined by the meta-path that has the most similar projection vector.

[0029] In a first exemplary implementation, the system and method traces physical flows in a supply chain. Figures 4B and 4C are diagrams illustrating exemplary inputs for a heterogeneous graph generating server according to an exemplary implementation. Specifically, Figure 4B illustrates an example of a supplier list table as an input for a heterogeneous graph generating server. In this exemplary input of a graph structure dataset, node types include companies (including suppliers and procurers) and goods (e.g., indicated by item classification and item number). Edges can be procurement or manufacturing interactions between companies and goods.

[0030] Depending on the desired implementation, products may be categorized according to item number or description. For example, battery companies all make batteries but have different business performance based on their base product. Lithium batteries can be used as a commodity classification that can be used as a node for a heterogeneous graph.

[0031] In the example of FIG. 4B, a buyer, Alpha EV Inc., purchases a product from a supplier, Alpha EV giga-factory. The product is an electric vehicle with a type described by an item number. Alpha EV giga-factory procures batteries, which also have an item number, from a supplier, Beta Electronics. The batteries can be categorized together, and Beta Electronics also manufactures refrigerators for another buyer, but the refrigerators have a different item number and therefore are not categorized as the same node as the batteries.

[0032] Additionally, several materials are also used as inputs to manufacture the battery, and the materials (eg, anode, cathode, aluminum, etc.) may also be grouped by item number for classification purposes.

[0033] 4C shows an example of a sales report table as an input to the heterogeneous graph generation server, which may also be used as an input to the heterogeneous graph generation server to form weights for edges as described with respect to FIG.

[0034] 4D and 4E are diagrams illustrating exemplary outputs of a heterogeneous graph generating server according to an exemplary implementation. Specifically, FIG. 4D illustrates an exemplary manufacturing edge table as an output of a heterogeneous graph generating server that associates suppliers with items to be manufactured along with weights for the manufacturing edges. FIG. 4E illustrates an exemplary procurement edge table as an output of a heterogeneous graph generating server that associates purchasers with items to be procured along with corresponding weights.

[0035] 5 is a diagram illustrating the process flow of heterogeneous graph generation, according to an example implementation. At S1101, the flow begins by extracting all suppliers of the target company from the Supplier List table (FIG. 4B) and adding the suppliers to the Company List. At S1102, the process checks to determine if any company in the Company List has a supplier in the Supplier List table. If it does (Yes), the process proceeds to S1103; if it does not (No), the process proceeds to S1104.

[0036] In S1103, the process extracts all suppliers of the companies in the company list from the supplier list table and adds them to the company list. The flow then returns to S1102.

[0037] At S1104, the process adds two edges from each record in the companies list to the heterogeneous graph, including a manufacturing type edge from the supplier to the item, and a procurement type edge from the item to the buyer.

[0038] FIG. 6 is a diagram showing an exemplary process flow of heterogeneous graph attribute generation according to an exemplary implementation. In S1201, each company c i For the generated heterogeneous graph, the process 1,2,...J All procurement edges from ci to c i From product p 1,2,...K Select all manufacturing edges and

[0039] In S1202, the edges are weighted. 1,2,...J For a sourcing edge from to firm ci, the weight of material pi is calculated as follows:

[0040]

number

[0041] Here, F(p) jiis the price and quantity of material p in company ci considering the sales report in Figure 4C. J is the weight.

[0042] Company C i From product p 1,2,...K For the manufacturing edges up to , the weight of product pi is calculated as follows:

[0043]

number

[0044] Here, F(p) ki is the sales price and quantity of company c considering the sales report. i Product in p K is the weight.

[0045] In S1203, a determination is made as to whether all of the companies have been processed. If all have been processed (Yes), the process ends, if not (No), the process returns to S1201.

[0046] Figure 7 illustrates a heterogeneous graph of a supply chain according to an exemplary implementation. Based on the results generated through the flows of Figures 5 and 6 using the inputs described in Figures 4B and 4C, a heterogeneous graph is generated according to the outputs from Figures 4D and 4E with corresponding nodes and edges for display on the interface. The nodes may include company nodes and item nodes. The edges may include manufacturing edges and sourcing edges. Each weight indicates the influence of sourcing or manufacturing on the next node.

[0047] Then, in S104, the meta path generation server defines a scheme of meta paths and samples positive and negative meta paths from the heterogeneous graph. The meta path is a path scheme that determines the types of nodes and edges at each position of the path. When tracing the physical flow in the supply chain, a meta path with four nodes and three edges is defined, and the types of each node and edge are defined as follows:

[0048]

number

[0049] According to the definition, positive and negative meta-paths are sampled from the heterogeneous graph by a restarted random walk using a strategy that considers edge weights. The sampled positive / negative meta-paths are input to a spatial-based GNN model that learns embeddings. Specifically, the meta-paths are sampled according to the processing flow shown in Figure 8.

[0050] 8 is a diagram illustrating the process flow of the positive meta path and the negative meta path according to an exemplary implementation. At S1301, a node sequence is selected from the heterogeneous graph, which can be done via a user interface. At S1302, the process selects nodes from the sequence according to the determined order. At S1303, the process generates a positive meta path starting from the selected node by a restarted random walk, where each step reverses the direction of the edge and restarts at the selected node according to the length of the meta path. When there are multiple nodes, the process randomly selects one node with probability p, where p is the weight of the edge.

[0051] At S1304, the process generates negative meta-paths starting from the selected node by a random walk with restarts, where each step selects a node type defined by its meta-path and one hop from the current node, and the probability of moving to an unconnected node is a predefined q, while the probability to a connected node is q*(1-p), where p is the weight of the edge.

[0052] At S1305, a check is made to determine if all the nodes in the sequence have been processed. If they have been processed (Yes), the process ends; if not (No), the process returns to S1302.

[0053] Sample positive and negative meta paths are then learned by a model, such as a spatial-based GNN model. FIG. 9 illustrates positive and negative meta paths sampled from a heterogeneous graph, according to an exemplary implementation. A positive meta path indicates that a product output requires input from the indicated input through the given path. For example, the output of the item "battery" has as input a meta path from Five-star aluminium products. Conversely, a negative meta path indicates that the product output is not influenced by the indicated input and therefore requires a different input. For example, the output of the item "refrigerator" is not produced by manufacturer Beta Electrics or LGP.

[0054] A meta-path aggregation graph neural network can be used to learn embeddings, as shown in Figure 10. Figure 10 illustrates a heterogeneous graph embedding for a supply chain, according to an example implementation. As shown in the example of Figure 10, an embedding for a battery may include anode, cathode paste, and aluminum foil, while an embedding for a refrigerator may include refrigeration equipment.

[0055] Finally, the path trace server traces the physical path of each item (product) by selecting the meta-path of the node with the most similar vector. As a result, the physical flow of the battery and the refrigerator can be traced as shown in Figure 11.

[0056] FIG. 11 illustrates an example of a path trace server tracing the physical path of each product, according to an example implementation. As derived from the meta path and embedding, the physical flow for batteries can be separated from the physical flow for refrigerators, even though nodes are shared. For example, it can be determined that batteries can be sourced from Beta Electrics, LGP, or Alpha Electrics and are not affected by supply chain disruptions from such suppliers. However, a disruption in the production of cathode paste affects all of the battery suppliers that follow the physical flow. Similarly, although cathode paste is supplied to Alpha Electrics, a disruption in cathode paste does not impede Alpha Electrics' ability to manufacture refrigerators.

[0057] In a second exemplary implementation, the systems and methods described herein are applicable to trace the propagation of fake news in social networks.

[0058] 12A illustrates an exemplary input of a social network table as an input of a heterogeneous graph generation server according to an exemplary implementation. In the exemplary input of a graph structure dataset, the objects in this case may be statements associated with an author and / or posting date and a determination as to whether the social media statement is false or true.

[0059] The heterogeneous graph generation server performs Jaccard coefficient or other similarity calculation methods to obtain a similarity score between descriptions. For descriptions with similarity above a predefined threshold, an exemplary implementation creates an incoming edge from the earlier description to a later user post with a similar description. The result is shown in FIG. 12B. FIG. 12B illustrates a generated heterogeneous graph according to an exemplary implementation. Using the same techniques described herein, the nodes can include user nodes or post nodes, and the edges can represent outputs (i.e., a post is provided to another user) or inputs (a post is displayed to a user).

[0060] Then, fake news detection and clustering are performed. Meanwhile, for each user, the weight of each incoming edge is calculated as 1 / n, where n is the number of incoming edges to the user, resulting in Fig. 13, which shows the graph generated by the heterogeneous graph after fake news detection and clustering according to an exemplary implementation.

[0061] The meta path of fake news propagation in a social network can be defined as follows:

[0062]

number

[0063] Positive and negative meta paths are sampled accordingly. Through use of the exemplary implementations as described above, meta paths can similarly be determined along with graph embedding and path tracing as shown in Figures 14-17.

[0064] FIG. 14 is a diagram illustrating positive meta path samples from a social network for fake news propagation, according to an exemplary implementation.

[0065] FIG. 15 is a diagram illustrating negative meta path samples from a social network for fake news propagation, according to an exemplary implementation.

[0066] FIG. 16 is a diagram illustrating heterogeneous graph embedding for social networks, in accordance with an example implementation.

[0067] FIG. 17 is a diagram illustrating a path trace server tracing the propagation path of fake news according to an exemplary implementation.

[0068] 18 is a diagram illustrating a system with multiple systems networked to a management device, according to an exemplary implementation. One or more systems 1801 are communicatively coupled to a network 1800 (e.g., a local area network (LAN), wide area network (WAN)) via a corresponding server connected to a management device 1802. The management device 1802 manages a database 1803 that contains historical data collected from the other systems 1801. In an alternative exemplary implementation, the data can be stored in a central repository or database, such as a proprietary database that populates data from the systems, or a system such as an enterprise resource planning system, and the management device 1802 can access or retrieve the data from the central repository or database.

[0069] Figure 19 illustrates an exemplary computing environment having an exemplary computing device suitable for use in some exemplary implementations, such as the management apparatus 1802 shown in Figure 18. The computing device 1905 in the computing environment 1900 can include one or more processing units, cores, or processors 1910, memory 1915 (e.g., RAM, ROM, and / or the like), internal storage 1920 (e.g., magnetic, optical, solid-state storage, and / or organic), and / or I / O interface 1925, any of which can be coupled over a communication mechanism or bus 1930 for communicating information or incorporated into the computing device 1905. The I / O interface 1925 is further configured to receive images from a camera or provide images to a projector or display, depending on the desired implementation.

[0070] The computing device 1905 may be communicatively coupled to an input / user interface 1935 and an output device / interface 1940. Either one or both of the input / user interface 1935 and the output device / interface 1940 may be a wired or wireless interface and may be removable. The input / user interface 1935 may include any device, component, sensor, or interface, physical or virtual, that can be used to provide input (e.g., buttons, touch screen interface, keyboard, pointing / cursor control, microphone, camera, Braille, motion sensor, optical reader, and / or the like). The output device / interface 1940 may include a display, television, monitor, printer, speaker, Braille, or the like. In some example implementations, the input / user interface 1935 and the output device / interface 1940 may be incorporated with or physically coupled to the computing device 1905. In other example implementations, other computing devices may function as or provide the functionality of the input / user interface 1935 and the output device / interface 1940 for the computing device 1905 .

[0071] Examples of computing devices 1905 may include, but are not limited to, highly mobile devices (e.g., smart phones, devices mounted on vehicles and other machines, devices carried by people or animals, and the like), mobile devices (e.g., tablets, notebooks, laptops, personal computers, portable televisions, radios, and the like), and devices not designed for mobility (e.g., desktop computers, other computers, information kiosks, televisions with one or more processors embedded and / or televisions with one or more processors coupled thereto, radios, and the like).

[0072] Computing device 1905 may be communicatively coupled (e.g., via I / O interface 1925) to external storage 1945 and a network 1950 for communication with any number of networked components, devices, and systems, including one or more computing devices of the same or different configurations. Computing device 1905 or any connected computing device may function as, provide services to, or be referred to as a server, client, thin server, general purpose machine, special purpose machine, or otherwise.

[0073] The I / O interface 1925 may include, but is not limited to, wired and / or wireless interfaces using any communication or I / O protocol or convention (e.g., Ethernet, 802.11x, Universal System Bus, WiMax, modem, cellular network protocols, and the like) for communicating information to and / or from at least all connected components, devices, and networks in the computing environment 1900. The network 1950 may be any network or combination of networks (such as, for example, the Internet, a local area network, a wide area network, a telephone network, a cellular network, a satellite network, and the like).

[0074] The computing device 1905 can use and / or communicate using computer usable or computer readable media, including transitory and non-transitory media. Transitory media include transmission media (e.g., metallic cables, optical fibers), signals, carrier waves, and the like. Non-transitory media include magnetic media (e.g., disks and tapes), optical media (e.g., CD-ROMs, digital video disks, Blu-ray® disks), solid-state media (e.g., RAM, ROM, flash memory, solid-state storage), and other non-volatile storage or memory.

[0075] The computing device 1905 may be used to implement techniques, methods, applications, processes, or computer-executable instructions in some exemplary computing environments. The computer-executable instructions may be retrieved from a transitory medium and stored in and retrievable from a non-transitory medium. The executable instructions may be from one or more of any programming language, scripting language, and machine language (e.g., C, C++, C#, Java, Visual Basic, Python, Perl, JavaScript, etc.).

[0076] The processor 1910 can run under any operating system (OS) (not shown) in a native or virtual environment. One or more applications can be deployed, including a logic unit 1960, an application programming interface (API) unit 1965, an input unit 1970, an output unit 1975, and an inter-unit communication mechanism 1995 for different units to communicate with each other, with the OS, and with other applications (not shown). The above-mentioned units and elements can differ in design, function, configuration, or implementation, and are not limited to the above description. The processor 1910 can have the form of a hardware processor, such as a central processing unit (CPU), or can be a combination of hardware and software units.

[0077] In some example implementations, when information or instructions for execution are received by the API unit 1965, it may be communicated to one or more other units (e.g., logic unit 1960, input unit 1970, output unit 1975). In some examples, logic unit 1960 may be configured to control information flow between units and direct services provided by API unit 1965, input unit 1970, output unit 1975 in some example implementations described above. For example, the flow of one or more processes or implementations may be controlled by logic unit 1960 alone or in conjunction with API unit 1965. Input unit 1970 may be configured to obtain inputs for the calculations described in the example implementations, and output unit 1975 may be configured to provide outputs based on the calculations described in the example implementations.

[0078] The processor 1910 can be configured to execute a method or instructions for tracing a flow of nodes in a graph structure dataset through a meta-path, the method or instructions including: for an input of a graph structure dataset having a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes (e.g., make, procure, post, read, etc., as shown in Figures 4B, 4C, and 12A), to generate a heterogeneous graph from the input graph structure dataset; defining types (e.g., user node, post node, company node, product node) and attributes (e.g., target, item number, item classification, description, username, etc.) for the plurality of nodes and the plurality of edges; associating the plurality of nodes with each other based on similarity (e.g., based on classification or by clustering); and associating the plurality of nodes with each other based on the defined flows (e.g., physical flows, social media flows, etc.) between the plurality of nodes and the plurality of edges. The method may involve defining a scheme for meta paths of the heterogeneous graph, sampling positive and negative meta paths for the selected node from the heterogeneous graph based on the defined scheme, associated nodes, and defined types and attributes for the associated nodes (e.g., physical flow traces, specific fake news traces, predefined probability of nodes not connected to the current node), projecting the associated nodes into an embedding vector (e.g., path-to-vector such as a GNN), tracing the sampled positive and negative meta paths from the heterogeneous graph by selecting meta paths among the sampled positive and negative meta paths of the associated nodes having a similarity greater than a predefined threshold, and outputting the selected meta paths among the sampled positive and negative meta paths via an interface, as shown in FIG. 11 and FIG. 17.

[0079] The processor 1910 can be configured to execute the method or instructions as described above, where each of the multiple nodes is associated with a company and each of the multiple edges represents a procurement or manufacturing interaction between the company and a commodity (e.g., an item), as shown in Figures 7-11.

[0080] The processor 1910 may be configured to execute the methods or instructions as described above, and may further involve monitoring a number of edges associated with the selected node.

[0081] The processor 1910 can be configured to execute methods or instructions as described above, and as shown in FIG. 6, associating multiple nodes with each other based on similarity involves classifying the multiple nodes based on the types and attributes of the physical flow of input or output items and determining a similarity score from the classification.

[0082] The processor 1910 can be configured to execute the method or instructions as described above, where each of a plurality of nodes represents a social media user and post, and each of a plurality of edges represents an input post to be read or an output post on a social media platform, as shown in Figures 12A-17.

[0083] The processor 1910 can be configured to execute a method or instructions as described above, where associating the multiple nodes with each other based on similarity involves classifying social media posts as real news or fake news based on similarity of types and attributes of social media accounts and social media posts to real news or fake news, and clustering the multiple nodes and multiple edges based on similarity of types and attributes to determine weights for the multiple edges.

[0084] The processor 1910 can be configured to execute the method or instructions as described above, where projecting the associated nodes into an embedding vector involves inputting the sampled positive and negative meta paths into a spatial-based graph neural network, as described with respect to S103.

[0085] The processor 1910 can be configured to execute methods or instructions as described above, where, as shown in FIG. 9, a positive meta path represents a possible path from a selected node to another node of the plurality of nodes, and a negative meta path represents a node of the plurality of nodes that is not reachable by the selected node.

[0086] Some portions of the detailed description are presented in terms of algorithms and symbolic representations of operations within a computer. These algorithmic descriptions and symbolic representations are the means used by those skilled in the data processing arts to convey the substance of their innovations to others skilled in the art. An algorithm is a series of defined steps leading to a desired end state or result. In exemplary implementations, the steps performed require physical manipulations of tangible quantities to achieve a tangible result.

[0087] Unless otherwise noted, and as will be apparent from the description, throughout this specification, descriptions utilizing terms such as "processing," "computing," "calculating," "determining," "displaying," or the like, are understood to include the actions and processes of a computer system or other information processing device that manipulates and converts data represented as physical (electronic) quantities in the registers and memory of the computer system into other data similarly represented as physical quantities in the memory or registers of the computer system or other information storage, transmission, or display devices.

[0088] Exemplary implementations may further relate to an apparatus for performing the operations herein. The apparatus may be specially constructed for the desired purposes or may include one or more general-purpose computers selectively activated or reconfigured by one or more computer programs. Such computer programs may be stored on a computer-readable medium, such as a computer-readable storage medium or a computer-readable signal medium. Computer-readable storage media may include tangible media, such as, but not limited to, optical disks, magnetic disks, read-only memory, random access memory, solid-state devices and drives, or any other type of tangible or non-transitory medium suitable for storing electronic information. Computer-readable signal media may include media such as carrier waves. The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. A computer program may include a pure software implementation that includes instructions for performing the operations of a desired implementation.

[0089] Various general-purpose systems may be used with the programs and modules according to the examples herein, or it may eventually be convenient to construct specialized apparatus to perform the desired method steps. Moreover, the example implementations are not described with reference to any particular programming language. It will be understood that various programming languages ​​may be used to implement the teachings of the example implementations as described herein. Instructions of the programming language may be executed by one or more processing devices, such as, for example, a central processing unit (CPU), a processor, or a controller.

[0090] As known in the art, the operations described above may be performed by hardware, software, or some combination of software and hardware. Various aspects of the exemplary implementations may be implemented using circuits and logic devices (hardware), while other aspects may be implemented using instructions stored on a machine-readable medium (software) that, when executed by a processor, cause the processor to perform a method of performing the implementation of the present application. Furthermore, some exemplary implementations of the present application may be performed exclusively in hardware, while other exemplary implementations may be performed exclusively in software. Furthermore, various functions described may be performed in a single unit or may be distributed across multiple components in any number of ways. When performed by software, the method may be executed by a processor, such as a general-purpose computer, based on instructions stored on a computer-readable medium. If necessary, the instructions may be stored on the medium in compressed and / or encrypted format.

[0091] Moreover, other implementations of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the teachings herein. Various aspects and / or components of the described exemplary implementations may be used alone or in any combination. It is intended that the specification and exemplary implementations be considered as examples only, with a true scope and spirit of the present application being indicated by the following claims. [Explanation of symbols]

[0092] 1935 Input / User Interface 1940 Output Device / Interface 1945 External Storage 1950 Network 1905 Computing Devices 1925 I / O Interface 1920 Internal Storage 1915 Memory 1910 Processor 1960 Logical Units 1965 API unit 1970 Input Unit 1975 Output Unit

Claims

1. 1. A method for tracing a flow of nodes in a graph structured dataset through a meta-path, comprising: For an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, defining types and attributes for the nodes and edges to generate a heterogeneous graph from the input graph structure dataset; Associating the plurality of nodes with each other based on similarity; defining a scheme for a meta-path between the plurality of nodes and the plurality of edges based on the defined flows; sampling positive and negative meta paths for a selected node from the heterogeneous graph based on the defined scheme, the associated nodes, and the defined types and attributes for the associated nodes; projecting the associated nodes into an embedding vector; tracing the sampled positive meta paths and the negative meta paths from the heterogeneous graph by selecting meta paths among the sampled positive meta paths and the negative meta paths of the associated nodes that have a similarity greater than a preset threshold; outputting the selected one of the sampled positive meta path and the sampled negative meta path via an interface; A method comprising:

2. The method of claim 1 , wherein each of the plurality of nodes is associated with a company and each of the plurality of edges represents a procurement or manufacturing interaction between the company and a commodity.

3. The method of claim 2 , further comprising monitoring the plurality of edges associated with the selected node.

4. 3. The method of claim 2, wherein associating the plurality of nodes with one another based on the similarity comprises categorizing the plurality of nodes based on types and attributes of physical flows of input or output products and determining a similarity score from the categorization.

5. The method of claim 1 , wherein each of the plurality of nodes represents a social media user and post, and each of the plurality of edges represents an input post to be read or an output post on a social media platform.

6. 6. The method of claim 5, wherein associating the plurality of nodes with each other based on the similarity includes classifying the social media posts as real news or fake news based on similarity of types and attributes of social media accounts and social media posts to real news or fake news, and clustering the plurality of nodes and the plurality of edges based on the similarity of the types and attributes to determine weights for the plurality of edges.

7. 2. The method of claim 1, wherein projecting the associated nodes into an embedding vector comprises inputting the sampled positive meta paths and the negative meta paths into a spatial-based graph neural network.

8. 2. The method of claim 1, wherein the positive metapath represents a possible path from the selected node to another node of the plurality of nodes, and the negative metapath represents a node of the plurality of nodes that is not reachable by the selected node.

9. 1. A non-transitory computer readable medium storing instructions for tracing a flow of nodes in a graph structure dataset through a meta-path, the instructions comprising: For an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, defining types and attributes for the nodes and edges to generate a heterogeneous graph from the input graph structure dataset; Associating the plurality of nodes with each other based on similarity; defining a scheme for a meta-path between the plurality of nodes and the plurality of edges based on the defined flows; sampling positive and negative meta paths for a selected node from the heterogeneous graph based on the defined scheme, the associated nodes, and the defined types and attributes for the associated nodes; projecting the associated nodes into an embedding vector; tracing the sampled positive meta paths and the negative meta paths from the heterogeneous graph by selecting meta paths among the sampled positive meta paths and the negative meta paths of the associated nodes that have a similarity greater than a preset threshold; outputting the selected one of the sampled positive meta path and the sampled negative meta path via an interface; A non-transitory computer readable medium comprising:

10. 10. The non-transitory computer-readable medium of claim 9, wherein each of the plurality of nodes is associated with a company and each of the plurality of edges represents a procurement or manufacturing interaction between the company and a commodity.

11. 11. The non-transitory computer-readable medium of claim 10, the instructions further comprising monitoring the plurality of edges associated with the selected node.

12. 11. The non-transitory computer-readable medium of claim 10, wherein associating the plurality of nodes with one another based on the similarity comprises categorizing the plurality of nodes based on types and attributes of physical flows of input or output products and determining a similarity score from the categorization.

13. 10. The non-transitory computer-readable medium of claim 9, wherein each of the plurality of nodes represents a social media user and post, and each of the plurality of edges represents an input post to be read or an output post on a social media platform.

14. 14. The non-transitory computer-readable medium of claim 13, wherein associating the plurality of nodes with each other based on the similarity includes classifying the social media posts as real news or fake news based on similarities of types and attributes of social media accounts and social media posts to real news or fake news, and clustering the plurality of nodes and the plurality of edges based on the similarities of the types and attributes to determine weights for the plurality of edges.

15. 10. The non-transitory computer-readable medium of claim 9, wherein projecting the associated nodes into an embedding vector comprises inputting the sampled positive meta path and the negative meta path into a spatial-based graph neural network.

16. 10. The non-transitory computer-readable medium of claim 9, wherein the positive meta path represents a possible path from the selected node to another node of the plurality of nodes, and the negative meta path represents a node of the plurality of nodes that is not reachable by the selected node.

17. 1. An apparatus configured to trace a flow of nodes in a graph structured dataset through a meta path, the apparatus comprising: For an input of a graph structure dataset including a plurality of nodes and a plurality of edges, each of the plurality of nodes representing an object and each of the plurality of edges representing an interaction between each of the plurality of nodes, defining types and attributes for the nodes and edges to generate a heterogeneous graph from the input graph structure dataset; Associating the plurality of nodes with each other based on similarity; defining a scheme for a meta-path between the plurality of nodes and the plurality of edges based on the defined flows; sampling positive and negative meta paths for a selected node from the heterogeneous graph based on the defined scheme, the associated nodes, and the defined types and attributes for the associated nodes; projecting the associated nodes into an embedding vector; tracing the sampled positive meta paths and the negative meta paths from the heterogeneous graph by selecting meta paths among the sampled positive meta paths and the negative meta paths of the associated nodes that have a similarity greater than a preset threshold; outputting the selected one of the sampled positive meta path and the sampled negative meta path via an interface; 16. An apparatus comprising: a processor configured to:

Citation Information

Patent Citations

  • Facility estimation method, device and program

    JP2016177764A

  • Information processing device and program

    JP2022090562A

Cited By

  • Malicious encrypted traffic detection method based on heterogeneous graph attention network and random walk

    CN118869360A

  • Malicious encrypted traffic detection method based on heterogeneous graph attention network and random walk

    CN118869360B

  • Dual verification customer group diffusion method fusing graph structure and semantic concept

    CN121542478A

  • A dual verification customer group diffusion method fusing graph structure and semantic concept

    CN121542478B