Graph evaluation apparatus, processing apparatus, graph evaluation method, processing method, and program
The graph evaluation method assesses reproducibility in simplified graphs using likelihood calculations, ensuring accurate analysis and identification of network bottlenecks by maintaining essential flow and order information.
Patent Information
- Application Number
- JP2023023716
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2043-02-17
AI Technical Summary
Existing graph simplification methods fail to maintain the order and flow information of nodes, leading to reduced reproducibility and accuracy in network analysis, particularly in complex logistics networks.
A graph evaluation method that calculates a likelihood of actual node passage patterns using probability parameters to determine a first evaluation index, assessing the reproducibility of simplified graphs based on maximum likelihood or log likelihood.
Enables accurate evaluation of reproducibility in simplified graphs, allowing for effective identification of bottlenecks and improving analysis accuracy by maintaining essential network information.
Smart Images

Figure 2024117560000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a graph evaluation device, a graph evaluation method, and a program for evaluating a graph represented using nodes and edges, and a processing device and a processing method for processing information obtained by these. [Background technology]
[0002] A graph is a collection of nodes and edges, and can model the interrelationships (networks) between the nodes. Such graphs make it possible to represent the elements (nodes) and connections (edges) of, for example, a transportation network or a logistics network. Based on the graph, it is possible to perform analyses such as efficiency and productivity.
[0003] For example, in the steelmaking process, the final product is obtained through the processing of intermediate materials in many processes. In order to improve productivity, it is important to maximize the operating rate of the equipment in each process, and in order to improve the operating rate of the equipment, it is necessary to accurately predict and control the inventory status of the storage area where intermediate materials are temporarily stored between the equipment. For example, if there is a shortage of materials in the front storage area where materials to be processed by the equipment are stored, the equipment will not have enough materials to process, which will cause the equipment to stop operating. In addition, if the rear storage area where processed materials completed by the equipment are stored becomes congested, the equipment will not be able to discharge the processed materials, which will lead to a decrease in the operating rate of the equipment. For this reason, by visualizing the logistics in the steelmaking process using graphs, it is possible to identify the equipment, storage areas, and transport equipment that are bottlenecks, and to consider measures necessary to improve productivity.
[0004] If all the configurations and connections of the network to be graphed are represented in the graph as is, the more complex the network, the more complicated the graph becomes, and the lower the visibility of the graph becomes. In addition, when a simulation is performed based on the created graph, the simulation load also increases. For this reason, the graph is simplified by aggregating or deleting nodes so that information in the graph is not lost.
[0005] For example, there is a network analysis technique that excavates characteristic subgraphs from a large-scale graph. For example, in the field of graph theory, a network analysis technique has been proposed that simplifies a graph by maximizing an index (modularity) that represents the quality of clustering in the Min-cut method, which divides nodes so that the number of edges within a cluster is maximized and the number of edges between clusters is minimized. Patent Document 1 also discloses a technique in which a node that has only one edge included in input graph data is considered to be in the same cluster as the node and its adjacent nodes, and is aggregated into one node. Patent Document 2 discloses a technique in which graph nodes are divided into N groups, the graph is classified into clusters from the N groups according to modularity, and multiple nodes that are in the same cluster are aggregated into one node.
[0006] In addition, there is a process mining technology that estimates the structure of a process as a network from performance data. In the process mining technology, a method for simplifying the network is also considered. For example, Non-Patent Document 1 proposes a method for deleting or aggregating nodes and edges that appear infrequently. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2013-156698 A [Patent Document 2] JP 2017-204161 A [Non-patent literature]
[0008] [Non-Patent Document 1] Christian W. Gueunther and Wil MP van der Aalst “Fuzzy Mining - Adaptive Process Simplification Based on Multi-perspective Metrics”, Business Process Management. BPM 2007. Lecture Notes in Computer Science, vol 4714. [Retrieved September 22, 2022], Internet〈URL:https: / / doi.org / 10.1007 / 978-3-540-75183-0_24〉 Summary of the Invention [Problem to be solved by the invention]
[0009] However, the network analysis techniques described in Patent Documents 1, 2, etc. focus only on the relationship between two nodes and summarize the graph structure according to an index that represents the quality of clustering. Therefore, the graph simplified by the techniques described in Patent Documents 1, 2, etc. does not take into account the order of passing through the nodes, and if the original graph represents a network with a passing order and flow, such as a logistics network, information from the original graph will be missing.
[0010] Furthermore, in the process mining technology described in the above Non-Patent Document 1, etc., nodes and edges are deleted or aggregated without considering the role of the node. Therefore, when the original graph represents a network with a passing order and flow, such as a logistics network, the graph simplified by the method described in the above Non-Patent Document 1 may lack a possible flow or may have nodes with different roles aggregated, resulting in a large deviation from the graph representing the actual network.
[0011] In this way, in graphs representing networks, the degree to which a simplified graph maintains the information of the original graph (i.e., the reproducibility of data by the graph) may be low. If the simplified graph cannot maintain the information of the original graph, the simplified graph may not be used to correctly recognize the state of the network, or the accuracy of analysis may decrease. For this reason, a method for evaluating the reproducibility of data by a simplified graph is desired.
[0012] Therefore, the present invention has been made in consideration of the above problems, and an object of the present invention is to provide a graph evaluation device, a graph evaluation method, and a program capable of evaluating the reproducibility of data using graphs represented using nodes and edges, as well as a processing device and a processing method for processing information obtained by these. [Means for solving the problem]
[0013] In order to solve the above problems, according to one aspect of the present invention, a graph evaluation device is provided, which includes an evaluation index calculation processing unit that calculates an index for evaluating a graph model represented by a graph structure represented using nodes and edges and a probability parameter that represents the occurrence probability of each node passing pattern of the graph structure, and the evaluation index calculation processing unit has: a likelihood calculation unit that calculates the likelihood of an actual passing pattern, which is an actual node passing pattern in the graph model, based on the probability parameters for each node passing pattern, and an evaluation index calculation unit that calculates a first evaluation index for evaluating the reproducibility of the actual passing pattern based on the likelihood of the actual passing pattern.
[0014] The probability parameter is a value set so as to maximize the likelihood of the actual passing pattern, and the evaluation index calculation unit may calculate the maximum likelihood or maximum log-likelihood of the actual passing pattern as the first evaluation index.
[0015] The probability parameter is a value set so as to maximize the likelihood of the actual passing pattern based on the number of occurrences of the actual passing pattern included in the smoothed node passing pattern, and the evaluation index calculation unit may calculate the maximum likelihood or maximum log-likelihood of the actual passing pattern based on the number of occurrences of each node passing pattern after smoothing.
[0016] The evaluation index calculation processing unit may have an actual passing pattern generation unit that generates an actual passing pattern from actual data, a node passing pattern generation unit that generates a node passing pattern based on the graph structure of the graph model, and a probability parameter setting unit that sets a probability parameter for each node passing pattern of the graph model.
[0017] The evaluation index calculation unit may calculate a second evaluation index that indicates the complexity of the graph model based on the number of node passing patterns included in the graph model and the weighting coefficient.
[0018] The evaluation index calculation section may calculate the sum of the first evaluation index and the second evaluation index as the evaluation index of the graph model.
[0019] The graph evaluation device may include a search unit that searches for an optimal graph model that best matches a purpose based on the reproducibility and complexity of the graph model based on the evaluation index. In this case, the evaluation index calculation processing unit calculates an evaluation index for each of a plurality of different graph models, and the search unit determines the graph model with the smallest evaluation index among the plurality of graph models as the optimal graph model.
[0020] The evaluation index calculation processing unit may output at least one of the graph structure of the graph model for which the first evaluation index has been calculated, the probability parameter, or an index for evaluating the graph model to the processing device.
[0021] In addition, in order to solve the above problem, according to another aspect of the present invention, a processing device is provided that receives at least one of the graph structure, probability parameters, or indicators for evaluating the graph model calculated by the above-mentioned graph evaluation device, and processes the received information.
[0022] Furthermore, in order to solve the above problem, according to another aspect of the present invention, there is provided a graph evaluation method using a graph evaluation device, the graph evaluation method including: a likelihood calculation step for calculating the likelihood of an actual passing pattern, which is an actual node passing pattern, based on the probability parameters for each node passing pattern for a graph model represented by a graph structure represented using nodes and edges and probability parameters representing the occurrence probability of each node passing pattern of the graph structure; and a first evaluation index calculation step for calculating an evaluation index including a first evaluation index for evaluating the reproducibility of the actual passing pattern by the graph model based on the likelihood of the actual passing pattern, as an index for evaluating the graph model.
[0023] In addition, in order to solve the above problem, according to another aspect of the present invention, a processing method is provided which receives at least one of the graph structure, probability parameters, or indicators for evaluating the graph model calculated by the above-mentioned graph evaluation method, and processes the received information.
[0024] Furthermore, in order to solve the above problem, according to another aspect of the present invention, a program is provided to cause a computer to execute the following steps: for a graph model represented by a graph structure represented using nodes and edges and probability parameters representing the occurrence probability of each node passing pattern of the graph structure, calculate the likelihood of an actual passing pattern, which is an actual node passing pattern, based on the probability parameters for each node passing pattern; and calculate a first evaluation index for evaluating the reproducibility of the actual passing pattern by the graph model based on the likelihood of the actual passing pattern, as an index for evaluating the graph model. Effect of the Invention
[0025] As described above, according to the present invention, it is possible to evaluate the reproducibility of data using a graph represented by nodes and edges. Information obtained in this process can be used for presenting the evaluation results of the graph, analyzing networks, simulating, and other processing. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is an explanatory diagram showing an example of a graph representing a logistics network and a simplified graph. [Diagram 2] 1 is a flowchart illustrating a method for evaluating the reproducibility of data using a graph in the present invention. [Diagram 3] 1 is a functional block diagram of a graph evaluation device according to a first embodiment of the present invention. [Figure 4] 13 is a flowchart illustrating an example of a graph evaluation method according to the embodiment. [Diagram 5] FIG. 13 is an explanatory diagram illustrating an example of performance data of a logistics network for coils. [Figure 6] 6 is a graph showing an example of an original graph and a simplified graph created from the performance data of FIG. 5. [Figure 7] FIG. 2 is an explanatory diagram showing an adjacency matrix obtained by converting the graph structure of graph A into a matrix, as an example of graph structure data. [Figure 8] 1 is a table showing an actual passing pattern of graph A as an example of the actual passing pattern. [Figure 9] 13 is a table showing a node passing pattern of a graph B as an example of a node passing pattern. [Figure 10] 13 is a table showing maximum likelihood estimates calculated as probability parameters for each node passing pattern for graph B. [Figure 11] 13 is a table showing the results of calculating the likelihood and log-likelihood of the actual passing pattern for graph B. [Figure 12] FIG. 5 is a functional block diagram of a graph evaluation device according to a second embodiment of the present invention. [Figure 13]13 is a flowchart illustrating an example of a graph evaluation method according to the embodiment. [Figure 14] FIG. 2 is an explanatory diagram showing an example of a group of simplified graphs (graphs C to I) obtained as neighborhood solutions of graph B. [Figure 15] 1 is a bar graph showing the values of the evaluation indexes for graphs A to I. [Figure 16] FIG. 1 is a block diagram showing an example of a hardware configuration of an information processing device that functions as a graph evaluation device of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are designated by the same reference numerals, and duplicated explanations will be omitted.
[0028] [1. Overview] The present invention relates to a method for evaluating a graph model represented by a graph structure represented by nodes and edges and a probability parameter representing the occurrence probability of each node passing pattern of the graph structure.
[0029] For example, in the steelmaking process, by visualizing the logistics network, which shows the processes through which the product (intermediate material) is distributed in the facilities, storage areas, and transport equipment, as a graph, it becomes possible to identify the processes that are bottlenecks that reduce production volume, such as a decrease in the operation rate of the facilities. Figure 1 shows an example of a graph Go that shows a logistics network and a simplified graph Gs that simplifies the graph Go. The graph Go on the left side of Figure 1 shows the connections (edges) in logistics between all the target elements (nodes), such as the facilities, storage areas, and transport equipment, as a graph. In a complex network such as the logistics network of the steelmaking process, although the graph Go accurately represents the information, it is complicated and it is difficult to identify the process that is the bottleneck at a glance. Therefore, by simplifying and modeling the elements and connections of the network represented by the graph Go by deleting or aggregating nodes and edges, the visibility of the process that is the bottleneck and the processes that affect it is improved.
[0030] For example, as shown on the right side of Figure 1, a simplified graph Gs is created by simplifying graph Go using nodes (○, □, ◇) of processes that are bottleneck factors and processes that affect them, and edges that show the connections between these nodes. The thickness of the edge lines represents the volume of goods distributed, with thicker lines representing a larger volume of goods distributed. Using such a simplified graph Gs, it is easy to identify processes where goods are concentrated, and measures to eliminate bottlenecks can be considered.
[0031] Here, since the simplified graph Gs is created by aggregating and deleting nodes and edges, there is a possibility that information of the original graph Go is missing or that information that is not actually possible is included. If the simplified graph Gs cannot maintain the information of the original graph Go, the state of the network cannot be correctly recognized using the simplified graph Gs, or the accuracy of the analysis decreases. Therefore, in the present invention, a method is proposed for evaluating the reproducibility of a graph model represented by a graph structure of a graph to be evaluated (e.g., a simplified graph Gs, etc.) represented using nodes and edges, and a probability parameter representing the occurrence probability of each node passing pattern of the graph structure.
[0032] FIG. 2 shows the flow of the method for evaluating the reproducibility of a graph model in the present invention.
[0033] First, as shown in FIG. 2, the likelihood of an actual passing pattern in a graph model is calculated based on a probability parameter that indicates the occurrence probability of each node passing pattern of the graph model (S10). The graph model to be evaluated is represented by a graph structure represented by nodes and edges, and a probability parameter that indicates the occurrence probability of each node passing pattern of the graph structure. A node passing pattern is a route represented by nodes and edges, and indicates the order in which an object passes through a process in a logistics network, for example. In other words, a node passing pattern can also be said to be a route that exists in a graph structure. In addition, the probability parameter indicates the probability that a node passing pattern of a graph model can actually occur. The value of the probability parameter is a value that can be set arbitrarily, and for example, a value set so that the likelihood of the actual passing pattern is maximized (i.e., a maximum likelihood estimate) may be used. In step S10, the likelihood of the actual passing pattern is calculated based on the probability parameters of all node passing patterns represented by the graph model.
[0034] Next, based on the likelihood of the actual passing pattern calculated in step S10, a first evaluation index for evaluating the reproducibility of the graph model is calculated as an index for evaluating the graph model (S20). Here, the reproducibility of the graph model refers to the degree to which the original actual data is maintained when the actual data is displayed based on the graph model. The actual data is data including route information (see FIG. 5 described later) indicating a route with a proven track record in the actual network to be represented by the graph structure (graph). Note that the actual data displayed based on the graph model and the original actual data may be the same or different. The first evaluation index can be expressed by, for example, maximum likelihood, maximum logarithmic likelihood, etc. By calculating the first evaluation index for the graph model of the simplified graph Gs, for example, the degree of information loss can be known from the difference from the first evaluation index of the original graph Go, and a graph model with higher reproducibility can be specified from the difference from the first evaluation index of another graph model.
[0035] Hereinafter, a graph evaluation device and a graph evaluation method using the same according to one embodiment of the present invention will be specifically described.
[0036] [2. First embodiment] [2-1.Graph evaluation device] First, a graph evaluation device 100 according to a first embodiment of the present invention will be described with reference to Fig. 3. Fig. 3 is a functional block diagram of the graph evaluation device 100 according to this embodiment. As shown in Fig. 3, the graph evaluation device 100 according to this embodiment has a performance data acquisition unit 110, a graph acquisition unit 120, and an evaluation index calculation processing unit 130.
[0037] (Actual data acquisition department) The performance data acquisition unit 110 acquires performance data from the performance data storage unit 210, which stores performance data in a network. The performance data storage unit 210 stores, as performance data, the order of processes represented by the nodes and edges of a graph. For example, the performance data storage unit 210 stores, as performance data, the order of processes through which a coil manufactured in a steelmaking process has passed (see FIG. 5, described later). The performance data acquisition unit 110 outputs the acquired performance data to the graph acquisition unit 120.
[0038] (Graph acquisition section) The graph acquisition unit 120 acquires graph structure data representing the graph structure of the graph model to be evaluated. The graph structure is information representing the relationship between the nodes using nodes and edges. The graph structure represents a directed graph represented by the nodes and edges.
[0039] The graph acquisition unit 120 may acquire already-created graph structure data from, for example, the graph structure data storage unit 220. The graph structure data storage unit 220 stores a plurality of different graph structure data. These graph structure data represent graph structures of a plurality of different graph models that are simplified by aggregating or deleting nodes and edges of a graph representing a network. The graph structure data stored in the graph structure data storage unit 220 may be created by a user, or may be automatically created from the graph structure of an original graph by executing a program that aggregates or deletes nodes and edges of the graph.
[0040] Alternatively, the graph acquisition unit 120 may acquire graph structure data by creating a graph structure of a graph model by aggregating or deleting nodes and edges based on the graph structure of the original graph obtained from the performance data acquired by the performance data acquisition unit 110.
[0041] The graph acquiring unit 120 may acquire, as the graph structure data, for example, an adjacency matrix (see FIG. 7 described later) in which the graph structure is converted into a matrix. The graph acquiring unit 120 outputs the acquired graph structure data to the evaluation index calculation processing unit 130.
[0042] (Evaluation index calculation processing unit) The evaluation index calculation processing unit 130 calculates a first evaluation index for evaluating the reproducibility of the graph model as an index for evaluating the graph model. The evaluation index calculation processing unit 130 first sets a probability parameter for each node passing pattern for the graph structure data acquired by the graph acquisition unit 120. The probability parameter may be set to any value, and may be a value set so as to maximize the likelihood of the actual passing pattern, for example.
[0043] The value of the probability parameter that maximizes the likelihood of the actual passing pattern can be calculated using, for example, a maximum likelihood estimation method. Specifically, the evaluation index calculation processing unit 130 first creates the node passing patterns (i.e., actual passing patterns) that have actually occurred and are shown in the original graph from the actual data acquired by the actual data acquisition unit 110. Then, the evaluation index calculation processing unit 130 calculates the occurrence probability that these actual passing patterns occur in each node passing pattern of the graph model, and sets it as the value of the probability parameter of each node passing pattern.
[0044] After setting the probability parameters for each node passing pattern in this way, the evaluation index calculation processing unit 130 calculates the likelihood of the actual passing pattern in the graph model based on the set probability parameters. The likelihood of the actual passing pattern may be expressed as a value obtained by dividing the probability parameters for each node passing pattern of the actual passing pattern by the number of types of patterns included in the node passing pattern. The likelihood may be a logarithmic likelihood.
[0045] Then, the evaluation index calculation processing unit 130 calculates a first evaluation index for evaluating the reproducibility of the graph model based on the calculated likelihood of the actual passing pattern. The evaluation index calculation processing unit 130 may calculate the first evaluation index only for the graph model, or may calculate the first evaluation index for the graph model and the original graph. When the probability parameter is a value set so that the likelihood of the actual passing pattern is maximized, the evaluation index calculation processing unit 130 may calculate, for example, the maximum likelihood or its logarithm, the maximum log-likelihood, as the first evaluation index.
[0046] The evaluation index calculation processing unit 130 that performs such processing has, for example, as shown in FIG. 3, an actual passing pattern generation unit 131, a node passing pattern generation unit 133, a probability parameter setting unit 135, a likelihood calculation unit 137, and an evaluation index calculation unit 139.
[0047] The actual passing pattern generation unit 131 generates a set of actual passing patterns from the actual data acquired by the actual data acquisition unit 110. The node passing pattern generation unit 133 generates a node passing pattern of a graph model based on the graph structure data acquired by the graph acquisition unit 120. The probability parameter setting unit 135 sets a probability parameter for each node passing pattern of the graph model generated by the node passing pattern generation unit 133. The likelihood calculation unit 137 calculates the likelihood of the actual passing pattern using the probability parameter set by the probability parameter setting unit 135. The evaluation index calculation unit 139 calculates an index for evaluating the graph model. The evaluation index calculation unit 139 calculates a first evaluation index of the graph model based on the likelihood of the actual passing pattern calculated by the likelihood calculation unit 137, for example.
[0048] The evaluation index calculation processing unit 130 outputs an index for evaluating the calculated graph model (in this embodiment, a first evaluation index) to the display device 300. Note that it is sufficient for the evaluation index calculation processing unit 130 to output at least one of the graph structure of the calculated graph model, the probability parameters, or an index for evaluating the graph model to the display device 300. Therefore, the evaluation index calculation processing unit 130 may output the created graph structure to the display device 300, or may output both the graph structure and the evaluation index to the display device 300.
[0049] The display device 300 is, for example, a display, and is communicatively connected to the graph evaluation device 100. The display device 300 outputs, for example, a first evaluation index calculated by the graph evaluation device 100 to a user who evaluates the graph model. This allows the user to quantitatively evaluate the reproducibility of the graph model based on the first evaluation index of the graph model. Furthermore, by outputting the graph structure to the display device 300, the user can easily grasp the state of the network at each point in time from the graph displayed on the display device 300.
[0050] The graph evaluation device 100 may execute processing at a predetermined timing, such as when the performance data is updated or periodically, and may create a graph structure based on the evaluation index from the acquired performance data, and output it to the display device 300. This allows the user to check the latest graph structure. Therefore, it is possible to perform network analysis in real time, such as identifying a process that is causing a bottleneck.
[0051] In this embodiment, the graph evaluation device 100 outputs information such as the first evaluation index to the display device 300 as shown in Fig. 3, but the present invention is not limited to this example. For example, the graph evaluation device 100 may output information to a processing device that processes information output from the evaluation index calculation processing unit 130. The processing device receives at least one of the graph structure of the graph model, the probability parameters, and the index for evaluating the graph model calculated by the graph evaluation device 100, and processes the received information.
[0052] The processing device is a device connected to the graph evaluation device 100 directly or via a communication network (see FIG. 16 described later), and is an output device 923, a removable recording medium 925, an external device 927, or an external information processing device 931 connected via a communication network 929 in FIG. 16. The display device 300 shown in FIG. 3 is an example of the processing device, and corresponds to the output device 923 in FIG. 16. The display device 300 performs display processing of information received from the graph evaluation device 100, and displays a graph or an evaluation index on a screen. In addition, for example, the processing device may be an analysis device that analyzes a logistics network, a simulation device that simulates logistics, or the like. The analysis device and the simulation device may be, for example, an external information processing device 931 connected via a communication network 929 in FIG. 16.
[0053] The graph evaluation device 100 according to the present invention may have a function of calculating an index (in this embodiment, the first evaluation index) for evaluating a graph model, and may at least include the likelihood calculation unit 137 and the evaluation index calculation unit 139 of the evaluation index calculation processing unit 130. In this embodiment, the graph evaluation device 100 evaluates a graph model generated by setting a probability parameter for each node passing pattern by the probability parameter setting unit 135 for the graph structure acquired by the graph acquisition unit 120. However, the present invention is not limited to such an example, and the graph evaluation device 100 may evaluate a graph model generated by another device. Therefore, the result data acquisition unit 110, the graph acquisition unit 120, the result passing pattern generation unit 131, the node passing pattern generation unit 133, and the probability parameter setting unit 135 may be configured by one or more devices different from the graph evaluation device 100.
[0054] It is possible to create a computer program for realizing each function of the graph evaluation device 100 and install it in a personal computer or the like. It is also possible to provide a computer-readable recording medium in which such a computer program is stored. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. The above computer program may also be distributed, for example, via a network, without using a recording medium.
[0055] [2-2. Graph evaluation method] Next, the graph evaluation method according to this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an example of the graph evaluation method according to this embodiment. In the following description, a logistics network for coils manufactured in a steelmaking process will be considered as a specific example. A graph representing this logistics network shows the order of steps (facilities, storage areas, transport equipment) through which the coils pass in the manufacturing process.
[0056] (S100: Acquire performance data) First, as shown in Fig. 4, the performance data acquisition unit 110 acquires performance data from the performance data storage unit 210 (S100). The performance data storage unit 210 stores performance data in the network. Fig. 5 shows an example of performance data of a logistics network for coils.
[0057] 5 represents three processes that the coil passes through in order, and the coil number (CoilNo), which is the coil's identification number, is associated with the first process, the second process, and the third process that the coil passes through. For example, the coil with coil number C0000 represents that the coil passes through the processes in the order of process A (node A), process AGV1 (node AGV1), and process C (node C). The performance data acquisition unit 110 acquires a predetermined number of performance data or a predetermined period of time from the performance data storage unit 210, and outputs the data to the graph acquisition unit 120.
[0058] (S110: Obtain graph structure data) Next, the graph acquiring unit 120 acquires graph structure data representing the graph structure of the graph model to be evaluated (S110). The graph structure represents a directed graph that represents the relationship between nodes using nodes and edges. The graph acquiring unit 120 may acquire, for example, graph structure data that has already been created from the graph structure data storage unit 220. Alternatively, the graph acquiring unit 120 may acquire graph structure data by creating the graph structure of the graph model by aggregating or deleting nodes and edges based on the graph structure of the original graph obtained from the performance data acquired by the performance data acquiring unit 110. The performance data acquiring unit 110 may also acquire graph structure data of the original graph that represents elements and connections as they are.
[0059] For example, consider graph A (original graph) shown in Figure 6, which represents all the elements and connections of the performance data in Figure 5 as is, and graph B (simplified graph), which is a simplified model of graph A. In graphs A and B, the numbers written corresponding to the edges connecting the nodes represent the number of coils that moved between the nodes (processes) connected by the edges. Graph B is a simplified graph represented by a graph structure that aggregates node AGV1 and node AGV2 of graph A. A simplified graph has fewer nodes or edges than the original graph.
[0060] In step S110, the graph acquisition unit 120 acquires graph structure data G representing the relationship between the nodes and edges of graphs A and B. As an example of the graph structure data G, FIG. 7 shows an adjacency matrix in which the graph structure of graph A in FIG. 6 is converted into a matrix. The format of the graph structure data G is not limited to an adjacency matrix, and any information capable of reproducing the graph structure may be used. In addition, if the node passing pattern reproduced from the graph structure does not reproduce any of the passing patterns included in the performance data obtained in step S100, the first evaluation index described later cannot be calculated correctly. For this reason, the graph structure data G is assumed to be capable of reproducing at least one passing pattern included in the performance data obtained in step S100.
[0061] The graph acquiring unit 120 outputs the acquired graph structure data to the evaluation index calculation processing unit 130.
[0062] (S120-S160: Calculation of the first evaluation index) Then, the evaluation index calculation processing unit 130 calculates a first evaluation index for evaluating the reproducibility of the graph model.
[0063] First, the actual passing pattern generating unit 131 generates a node passing pattern (actual passing pattern) of the original graph from the actual data acquired by the actual data acquiring unit 110 (S120).
[0064] For example, in the performance data shown in FIG. 5, the pattern in which a coil specified by each performance data passes through a process is defined as a passing pattern e. Passing pattern e is information that links the first process, the second process, and the third process that the coil passes through. For example, passing pattern e1 of the coil with coil number C0000 is expressed as "A-AGV1-C." The set of passing patterns e is defined as E={e1, . . . , e I}. Here, I represents the number of acquired performance data (i.e., the number of coils). In the example of FIG. 5, I=50.
[0065] The actual passing pattern generation unit 131 generates a set of actual passing patterns P={p1, . . . , p J} is generated. Here, the occurrence frequency of each actual passing pattern is expressed as N={N0,...,N J}∈R J Let J be the number of actual passing patterns created from the actual data. For example, when the actual data of FIG. 5 is acquired in step S100, the actual passing pattern generating unit 131 acquires six patterns (i.e., J=6) of actual passing patterns p1 to p6 shown in FIG. 8 as actual passing patterns included in the graph A of FIG. 6. The set of actual passing patterns is P={A-AGV1-C, A-AGV2-C, A-AGV2-E, B-AGV3-D, B-AGV4-D, B-AGV5-D}. At this time, the number of occurrences of each actual passing pattern is N={10, 5, 5, 10, 10, 10}. In this way, by grouping the actual passing patterns by type, the number of actual passing patterns J can be reduced, and the calculation load can be reduced.
[0066] Next, the node passing pattern generation unit 133 generates a node passing pattern of the graph model based on the graph structure data acquired by the graph acquisition unit 120 in step S110 (S130). The node passing pattern generation unit 133 generates a node passing pattern of the graph model, for example, by enumerating paths from a start point to an end point in a directed graph having a start point and an end point included in the graph structure data.
[0067] Here, the set of node passing patterns is Q={q1, ,q K}, where K is the number of node passing patterns in a graph model created based on graph structure data. For example, the node passing patterns included in the graph structure of graph B in FIG. 6 are five patterns (i.e., K=5) of actual passing patterns q1 to q5 shown in FIG. 9. The set of these node passing patterns is Q={A-<AGV1,AGV2> -C,A-<AGV1,AGV2> -E, B-AGV3-D, B-AGV4-D, B-AGV5-D}.
[0068] Then, the probability parameter setting unit 135 sets a probability parameter for each node passing pattern of the graph model (S140). K}∈R K The value of θ can be set arbitrarily, and for example, the occurrence probability of each node passing pattern of the actual passing pattern may be set. Here, in order to obtain a graph model that can most accurately reproduce the actual passing pattern, a value (i.e., a maximum likelihood estimate) θ is set as the probability parameter θ so that the likelihood of the actual passing pattern is maximized based on the maximum likelihood estimation method. ML The maximum likelihood estimate θ is used as the probability parameter θ. ML h(j) is expressed by the following formula (1).
[0069]
number
[0070] In the above formula (1), the node passing pattern q k Let C={c1, ,c K}∈R K , node passing pattern q k The actual passing patterns included in E K Let the number of actual passing patterns be |E K In addition, the actual passing pattern p jThe node pass pattern q that contains the actual pass pattern from the index j of k Let h(j) be the function that returns the index k of the input index j. That is, the function h(j) returns the actual passing pattern p j The node passing pattern q corresponding to k Output the index k of
[0071] Here, depending on the graph structure of the graph structure data G of the graph model, there may be a node passing pattern that cannot reproduce the actual passing pattern. For example, such a graph structure occurs in a graph model that aggregates many nodes. In this case, it becomes impossible to calculate the function h(j), and the maximum likelihood estimate θ used as the probability parameter θ ML It will also be impossible to calculate.
[0072] Therefore, by performing smoothing in advance using Laplace smoothing, the maximum likelihood estimate θ ML Specifically, for index j for which the function h(j) cannot be calculated, the function h(j) returns 0. In other words, the function h(j) is calculated by multiplying the actual passing pattern p j The node passing pattern q corresponding to k If there is a node passing pattern corresponding to the input index j, the index k is output. If there is no node passing pattern corresponding to the input index j, the maximum likelihood estimate θ ML h(j) can be expressed by the following formula (2).
[0073]
number
[0074] The smoothing method may be a method other than Laplace smoothing.
[0075] In Fig. 10, for graph B in Fig. 6, the maximum likelihood estimate θ ML h(j) The results of calculation based on the above formula (2) are shown in Fig. 10. As shown in Fig. 10, the maximum likelihood estimates θ ML h(j) In this way, the maximum likelihood estimate θ ML h(j) By calculating and setting the probability parameter θ, it is possible to obtain a graph model that is most likely to reproduce the actual passing pattern.
[0076] After setting the probability parameters for each node passing pattern in this way, the likelihood calculation unit 137 calculates the likelihood of the actual passing pattern in the graph model based on the probability parameters set by the probability parameter setting unit 135 (S150). The likelihood of the actual passing pattern may be expressed as a value obtained by dividing the probability parameters for each node passing pattern of the actual passing pattern by the number of types of patterns included in the node passing pattern. The likelihood may be a logarithmic likelihood.
[0077] 11 shows the results of calculating the likelihood and log-likelihood of the actual passing patterns for graph B in FIG. 6. The passing patterns shown in FIG. 11 show all the node passing patterns included in graph B in FIG. 6, and represent the reproduction of seven actual passing patterns. For each of the reproduced actual passing patterns, the occurrence count of the actual passing pattern in the actual data acquired in step S100, the node passing pattern q output by the function h(j), k The index k of the node passing pattern is the number of types of actual passing patterns included in the corresponding node passing pattern, C h(j) The values shown in FIG. 11 are those shown in FIG. 11. In the table shown in FIG. 11, h(j)=0 in the reproduced actual passing pattern "A-AGV1-E". In this case, c0 indicates the number of indexes j for which h(j)=0. ML h(j) ) and the number of types of actual passing patterns included in the corresponding node passing patterns C h(j)The likelihood and log-likelihood of the actual passing pattern are calculated from
[0078] The likelihood or log likelihood of the actual passing pattern calculated in step S150 represents the degree to which the actual data is likely to occur in each node passing pattern included in the model structure of the graph model to be evaluated.
[0079] Thereafter, the evaluation index calculation unit 139 calculates a first evaluation index of the graph model based on the likelihood of the actual passing pattern calculated by the likelihood calculation unit 137 in step S150 (S160). For example, the evaluation index calculation unit 139 may calculate a maximum likelihood or a maximum log-likelihood as the first evaluation index. The maximum likelihood ML is expressed by the following formula (3-1), and the maximum log-likelihood MLL is expressed by the following formula (3-2). In the following formula (3-1) or formula (3-2), the maximum likelihood estimate θ is used as the probability parameter θ. ML h(j) However, the value of the probability parameter θ can be set arbitrarily. For example, the maximum likelihood estimate θ ML h(j) Instead of the above, the value of the probability parameter θ may be a value obtained by learning from performance data for a period other than the analysis period, or a value set by the user.
[0080]
number
[0081] For example, when the maximum likelihood ML is calculated from the likelihood of the actual passing pattern for graph B in FIG. 11 using the above formula (3-1), it is 8.122667668864×10 -6 In other words, if the maximum likelihood ML is used as the first evaluation index, the first evaluation index for graph B is 8.122667668864×10 -6 In addition, when the maximum log-likelihood MLL is calculated from the log-likelihood of the actual passing pattern for graph B in Fig. 6 shown in Fig. 11 using the above formula (3-2), the result is -92.646. That is, when the maximum log-likelihood MLL is used as the first evaluation index, the first evaluation index for graph B is -92.646.
[0082] In addition, when smoothing is performed on the occurrence count of the node passing pattern in step S140, the evaluation index calculation unit 139 calculates the maximum likelihood or the maximum log-likelihood based on the occurrence count of each node passing pattern after smoothing. The evaluation index calculation unit 139 outputs the calculated first evaluation index of the graph model to the display device 300.
[0083] The graph evaluation method according to this embodiment has been described above.
[0084] [2-3. Evaluation of reproducibility using evaluation indices] A user who evaluates a graph model can quantitatively evaluate the reproducibility of the graph model based on the first evaluation index of the graph model output on the display device 300. By using the first evaluation index, for example, the following evaluations can be performed.
[0085] (a. Reproduction of data from the original graph by the simplified graph) For example, the first evaluation index can be used to evaluate the reproducibility of the data of the original graph by the simplified graph. By using the first evaluation index, it is possible to evaluate the degree to which graph B (simplified graph) shown in FIG. 6 reproduces the original graph A that directly represents the actual data. At this time, the maximum likelihood estimate θ is set as the probability parameter θ of the graph model so that the graph model of graph B can best reproduce the actual passing pattern. ML In other words, the maximum likelihood estimate θ calculated based on the graph structure and the actual data D is used. ML is set as a probability parameter θ, and the reproducibility of the performance data D by the graph model represented by the graph structure and the probability parameter θ is evaluated using the first evaluation index.
[0086] In this case, the best first evaluation index is the value of the original graph in which no nodes or edges are aggregated or deleted. Therefore, by checking how much the first evaluation index calculated for the graph model of the simplified graph deteriorates from the first evaluation index calculated for the graph model of the original graph, it is possible to relatively evaluate the reproducibility of the data of the original graph by the simplified graph.
[0087] For example, when the maximum log-likelihood is used as the first evaluation index, the maximum log-likelihood of the original graph is the largest, and the maximum log-likelihood of the simplified graph is smaller than the maximum log-likelihood of the original graph. As a specific example, assume that the maximum log-likelihoods shown in Table 1 below are obtained for the original graph and the simplified graphs a to f.
[0088] [Table 1]
[0089] In the example shown in Table 1, simplified graph f, which has the largest maximum log-likelihood among the simplified graphs, is the graph with the highest reproducibility of the data of the original graph, and can be said to be the graph in which appropriate node aggregation and deletion have been performed. On the other hand, simplified graph c, which has an extremely small maximum log-likelihood, is considered to have a low reproducibility of the data of the original graph, and is highly likely to have not maintained the information of the original graph. In this way, the first evaluation index makes it possible to evaluate the reproducibility of the data of the original graph by the simplified graph.
[0090] (b. Evaluation of changes in network conditions) Also, for example, a first evaluation index of a graph model representing a network can be used to evaluate changes in the state of the network. For example, a first evaluation index is calculated based on performance data obtained at a predetermined period (for example, once a month) based on a graph model of a graph structure representing a network. If the first evaluation index drops significantly from the time-series data of the first evaluation index thus obtained, it is considered that the order or flow passing through the elements in the graph representing the network has changed (for example, the state of logistics has changed in a logistics network), and it can be inferred that an abnormality may have occurred in the network.
[0091] At this time, the maximum likelihood estimate θ is set as a probability parameter θ of the graph model so that the graph model representing the network can best reproduce the actual passing pattern obtained in the network. ML In other words, the maximum likelihood estimate θ calculated based on the graph structure and the actual data D is used. ML is set as a probability parameter θ, and the reproducibility of another performance data D′ using the graph structure and a graph model represented by the probability parameter θ is evaluated using the first evaluation index.
[0092] For example, based on a graph model of a graph structure representing a logistics network, the maximum log-likelihood is calculated as the first evaluation index from the monthly performance data as shown in Table 2. Here, when April 2022 is used as the base month, the maximum likelihood estimate θ MLA graph model of the logistics network is created with the probability parameter θ. Then, in the graph model, the first evaluation index is used to evaluate the extent to which the actual data of other months is reproduced, thereby evaluating changes in logistics in the logistics network. For example, in Table 2, the first evaluation index becomes smaller after September 2022. This is presumably because the reproducibility of the actual data has decreased in the graph model of April 2022, which was used as the reference, and changes have occurred in logistics. This makes it possible to detect the possibility that an abnormality has occurred in the logistics network. In addition, it is possible to detect the possibility that the reference graph model needs to be changed from the change in the logistics network.
[0093] [Table 2]
[0094] (c. Evaluation of reproducibility using modified graph model) Furthermore, for example, when the probability parameters of the graph model are arbitrarily changed, the first evaluation index can be used to evaluate how the reproducibility of the performance data by the graph model changes. That is, the maximum likelihood estimate θ ML For a graph model in which the probability parameter θ is set to θ, the reproducibility of the performance data D by the graph model after the probability parameter θ is arbitrarily changed is evaluated using the first evaluation index.
[0095] For example, in a graph model representing a logistics network, the maximum likelihood estimate θ calculated based on the graph structure and performance data D is used as a probability parameter θ. ML is set. In this case, the operator changes at least a part of the value of the probability parameter θ to match the actual ideal logistics conditions, and calculates the first evaluation index of the graph model represented by the changed parameters for the performance data D. The change in the first evaluation index calculated in this way makes it possible to evaluate the graph model reflecting the operator's intention.
[0096] In addition, the above model structure and the maximum likelihood estimate θ ML In a graph model representing a logistics network expressed by (probability parameter θ), at least a part of the probability parameter θ is changed to a value set based on the production plan, and a first evaluation index of the graph model represented by the changed parameters is calculated for the performance data D. The difference between the production plan and the performance can be evaluated based on the change in the first evaluation index calculated in this manner.
[0097] The graph evaluation method according to the first embodiment has been described above. According to the graph evaluation method according to the present embodiment, for a graph model represented by a graph structure represented by nodes and edges and a probability parameter representing the occurrence probability of each node passing pattern of the graph structure, the likelihood of an actual passing pattern is calculated based on the probability parameter of the node passing pattern. Then, based on the calculated likelihood of the actual passing pattern, a first evaluation index such as the maximum log-likelihood is calculated. By using such a first evaluation index, it becomes possible to quantitatively evaluate the reproducibility of a graph model. As a result, it becomes possible to, for example, evaluate the reproducibility of the data of the original graph by a simplified graph, detect a change in the network situation from the reproducibility of a graph model based on reference actual data, and evaluate whether a change to be made is appropriate from the reproducibility of a changed graph model. In addition, by creating a graph based on the first evaluation index, a graph with high reproducibility can also be created.
[0098] [3. Second embodiment] Next, a graph evaluation device and a graph evaluation method using the same according to a second embodiment of the present invention will be described. In this embodiment, an evaluation index for a graph model is calculated based on a first evaluation index for evaluating the reproducibility of the graph model calculated in the first embodiment, and a second evaluation index representing the complexity of the graph model by the number of node passing patterns included in the graph model and a weighting coefficient. Furthermore, based on the calculated evaluation index, an optimal graph model that best matches the purpose is searched for. By creating a graph based on these evaluation indexes, it is possible to create a graph that is well balanced between reproducibility and complexity according to the evaluation index.
[0099] [3-1.Graph evaluation device] First, a graph evaluation device 100 according to a second embodiment of the present invention will be described with reference to Fig. 12. Fig. 12 is a functional block diagram of the graph evaluation device 100 according to this embodiment. In the following description, detailed description of the same functional configuration as in the first embodiment will be omitted.
[0100] The graph evaluation device 100 according to this embodiment includes a performance data acquisition unit 110, a graph acquisition unit 120, an evaluation index calculation processing unit 130, and a search unit 140, as shown in FIG.
[0101] (Actual data acquisition department) The performance data acquisition unit 110 acquires performance data from the performance data storage unit 210 that stores performance data in the network. The performance data acquisition unit 110 functions in the same manner as the performance data acquisition unit 110 of the first embodiment. The performance data acquisition unit 110 outputs the acquired performance data to the graph acquisition unit 120.
[0102] (Graph acquisition part) The graph acquiring unit 120 acquires graph structure data representing the graph structure of the graph model to be evaluated. The graph acquiring unit 120 functions in the same manner as the graph acquiring unit 120 of the first embodiment. The graph acquiring unit 120 may acquire, for example, already created graph structure data from the graph structure data storage unit 220. Alternatively, the graph acquiring unit 120 may acquire the graph structure data by creating the graph structure of the graph model by aggregating or deleting nodes and edges based on the graph structure of the original graph obtained from the performance data acquired by the performance data acquiring unit 110. The graph acquiring unit 120 may acquire, for example, an adjacency matrix (see FIG. 7 to be described later) in which the graph structure is converted into a matrix as the graph structure data. The graph acquiring unit 120 outputs the acquired graph structure data to the evaluation index calculation processing unit 130.
[0103] (Evaluation index calculation processing unit) The evaluation index calculation processing unit 130 calculates an index for evaluating the graph model. The evaluation index calculation processing unit 130 according to this embodiment calculates a first evaluation index for evaluating the reproducibility of the graph model and a second evaluation index representing the complexity of the graph model, and calculates an evaluation index of the graph model based on the first evaluation index and the second evaluation index. The evaluation index may be expressed as, for example, the sum of the first evaluation index and the second evaluation index.
[0104] The evaluation index calculation processing unit 130 calculates the first evaluation index in the same manner as in the first embodiment. That is, the evaluation index calculation processing unit 130 first sets a probability parameter for each node passing pattern for the graph structure data acquired by the graph acquisition unit 120. Next, the evaluation index calculation processing unit 130 calculates the likelihood of an actual passing pattern in the graph model based on the set probability parameter. Then, the evaluation index calculation processing unit 130 calculates a first evaluation index for evaluating the reproducibility of the graph model based on the calculated likelihood of the actual passing pattern.
[0105] Furthermore, the evaluation index calculation processing unit 130 multiplies the number of free parameters set based on the number of node passing patterns included in the graph model by a weighting coefficient to calculate a second evaluation index. The number of free parameters is a value obtained by subtracting 1 from the number K of node passing patterns included in the graph model. The weighting coefficient is appropriately set by, for example, a user, and can be set, for example, based on a balance with the first evaluation index. Then, the evaluation index calculation processing unit 130 adds the first evaluation index and the second evaluation index to obtain an evaluation index.
[0106] The evaluation index calculation processing unit 130 that performs such processing has, for example, an actual passing pattern generation unit 131, a node passing pattern generation unit 133, a probability parameter setting unit 135, a likelihood calculation unit 137, and an evaluation index calculation unit 139, as shown in FIG. 12.
[0107] The actual passing pattern generation unit 131, the node passing pattern generation unit 133, the probability parameter setting unit 135, and the likelihood calculation unit 137 function in the same manner as in the first embodiment. That is, the actual passing pattern generation unit 131 generates a set of actual passing patterns from the actual data acquired by the actual data acquisition unit 110. The node passing pattern generation unit 133 generates a node passing pattern of a graph model based on the graph structure data acquired by the graph acquisition unit 120. The probability parameter setting unit 135 sets a probability parameter for each node passing pattern of the graph model generated by the node passing pattern generation unit 133. The likelihood calculation unit 137 calculates the likelihood of the actual passing pattern by using the probability parameter set by the probability parameter setting unit 135.
[0108] The evaluation index calculation unit 139 calculates an index for evaluating the graph model. In this embodiment, the evaluation index calculation unit 139 calculates a first evaluation index, a second evaluation index, and an evaluation index as indexes for evaluating the graph model. That is, the evaluation index calculation unit 139 calculates a first evaluation index of the graph model based on the likelihood of the actual passing pattern calculated by the likelihood calculation unit 137. In addition, the evaluation index calculation unit 139 multiplies the number of free parameters set based on the number of node passing patterns included in the graph model by a weighting coefficient to calculate a second evaluation index. Then, the evaluation index calculation unit 139 adds the first evaluation index and the second evaluation index to calculate an evaluation index of the graph model.
[0109] The evaluation index calculation processing unit 130 outputs the calculated evaluation index to the search unit 140. As already described, the evaluation index calculation processing unit 130 may output the calculated evaluation index, its graph structure, and the probability parameter to the display device 300. At this time, the evaluation index calculation processing unit 130 may output the first evaluation index and the second evaluation index to the display device 300 in addition to the evaluation index, or may output only the first evaluation index to the display device 300. As already described, the display device 300 outputs at least one of the graph structure of the graph model, the probability parameter, or the index for evaluating the graph model calculated by the graph evaluation device 100 to a user or the like who evaluates the graph model. For example, the user can quantitatively evaluate the balance between the reproducibility and the complexity of the graph model from the evaluation index.
[0110] (Exploration Department) The search unit 140 searches for an optimal graph model that best matches the purpose based on the reproducibility and complexity of the graph model, based on the evaluation index. The search unit 140 searches for the graph model until a predetermined termination condition is satisfied. For example, the search may be terminated when the evaluation index is improved compared to the evaluation index of the original graph, or when the graph structure of the graph model is changed and the search is repeated and the fluctuation of the evaluation index converges. The search unit 140 outputs the graph model when the predetermined termination condition is satisfied to the display device 300 as the optimal graph model.
[0111] The search unit 140 holds the best of the evaluation indices calculated by the evaluation index calculation processing unit 130 for the multiple graph structures created by the graph acquisition unit 120 by repeatedly deleting edges of the graph, as the value of the evaluation index in that search stage. The evaluation index whose value is held may be only the best, or may be a predetermined number of evaluation indices from the top. Therefore, the search unit 140 can output to the display device 300 one or more graph models whose evaluation index values are a predetermined number (1 or more) from the top of the graph models obtained by the time a predetermined termination condition is satisfied. In addition, the number of graph structures that the search unit 140 causes the graph acquisition unit 120 to create in one search may be one or more.
[0112] The graph evaluation device 100 according to the present invention only needs to have a function of calculating indices for evaluating a graph model (in this embodiment, the first evaluation index, the second evaluation index, and the evaluation index), and therefore only needs to include at least the likelihood calculation unit 137 and the evaluation index calculation unit 139 of the evaluation index calculation processing unit 130. That is, the graph evaluation device 100 according to this embodiment may also evaluate a graph model generated by another device, as in the first embodiment. In addition, in order to search for an optimal graph model, the graph evaluation device 100 may further include a search unit 140. Therefore, the performance data acquisition unit 110, the graph acquisition unit 120, the performance passing pattern generation unit 131, the node passing pattern generation unit 133, the probability parameter setting unit 135, and the search unit 140 may be configured by one or more devices different from the graph evaluation device 100.
[0113] As in the first embodiment, in this embodiment, a computer program for realizing each function of the graph evaluation device 100 can be created and implemented in a computer equipped with a processor, such as a personal computer. Also, a computer-readable recording medium in which such a computer program is stored can be provided. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, etc. Also, the above computer program may be distributed, for example, via a network, without using a recording medium.
[0114] [3-2. Graph evaluation method] Next, the graph evaluation method according to this embodiment will be described with reference to Fig. 13. Fig. 13 is a flowchart showing an example of the graph evaluation method according to this embodiment. In the following description, detailed description of the same processes as those in the first embodiment will be omitted. In the following description, as a specific example, a logistics network for coils manufactured in a steelmaking process similar to that in the first embodiment will be considered.
[0115] (S201: Acquire performance data) First, as shown in Fig. 13, the performance data acquisition unit 110 acquires performance data from the performance data storage unit 210 (S201). Step S201 may be performed similarly to step S100 in Fig. 4. As in the first embodiment, the performance data acquisition unit 110 acquires a predetermined number of performance data or performance data for a predetermined period from the performance data storage unit 210 that stores performance data in a network such as that shown in Fig. 5, and outputs the data to the graph acquisition unit 120.
[0116] (S203: Obtain graph structure data) Next, the graph acquisition unit 120 acquires graph structure data representing the graph structure of the graph model to be evaluated (S203). Step S203 may be performed in the same manner as step S110 in FIG. 4. That is, the graph acquisition unit 120 may acquire, for example, graph structure data that has already been created from the graph structure data storage unit 220. Alternatively, the graph acquisition unit 120 may acquire graph structure data by creating a graph structure of a graph model by aggregating or deleting nodes and edges based on the graph structure of an original graph obtained from the performance data acquired by the performance data acquisition unit 110. In addition, the performance data acquisition unit 110 may also acquire graph structure data of the original graph that represents elements and connections as they are. The graph acquisition unit 120 outputs the acquired graph structure data to the evaluation index calculation processing unit 130.
[0117] (S205-S213: Calculation of the first evaluation index) Then, the evaluation index calculation processing unit 130 calculates a first evaluation index for evaluating the reproducibility of the graph model. Steps S205 to S213, which are the process of calculating the first evaluation index, may be performed in the same manner as steps S120 to S160 in FIG.
[0118] First, the actual passing pattern generating unit 131 generates a node passing pattern (actual passing pattern) of the original graph from the actual data acquired by the actual data acquiring unit 110 (S205). Next, the node passing pattern generating unit 133 generates a node passing pattern of the graph model based on the graph structure data acquired by the graph acquiring unit 120 in step S203 (S207).
[0119] Then, the probability parameter setting unit 135 sets a probability parameter for each node passing pattern of the graph model (S209). K}∈R K The value of is a value that can be set arbitrarily, and for example, the occurrence probability of each node passing pattern of the actual passing pattern may be set. For example, the probability parameter θ may be a value (i.e., a maximum likelihood estimate value) θ that is set so as to maximize the likelihood of the actual passing pattern based on the maximum likelihood estimation method, which may be calculated using the above formula (1) or formula (2). ML After the probability parameter setting unit 135 sets the probability parameters for each node passing pattern in this way, the likelihood calculation unit 137 calculates the likelihood of the actual passing pattern in the graph model based on the set probability parameters (S211). The likelihood may be a logarithmic likelihood.
[0120] Thereafter, the evaluation index calculation unit 139 calculates a first evaluation index of the graph model based on the likelihood of the actual passing pattern calculated in step S209 (S213). The first evaluation index may be, for example, the maximum likelihood ML expressed by the above formula (3-1) or the maximum log-likelihood MLL expressed by the above formula (3-2). Note that, when smoothing is performed on the occurrence count of the node passing pattern in step S209, the evaluation index calculation unit 139 calculates the maximum likelihood ML or the maximum log-likelihood MLL based on the occurrence count of each node passing pattern after smoothing.
[0121] (S215: Calculation of the second evaluation index) Furthermore, the evaluation index calculation unit 139 calculates a second evaluation index based on the number of node passing patterns included in the graph model and the weighting coefficient (S215). Specifically, the evaluation index calculation unit 139 calculates the second evaluation index by multiplying the number of free parameters F (=K-1), which is a value obtained by subtracting 1 from the number K of node passing patterns included in the graph model, by the weighting coefficient w. The weighting coefficient is appropriately set by, for example, a user, and can be set, for example, based on a balance with the first evaluation index. The second evaluation index represents the complexity of the graph. The larger the value of the weighting coefficient w of the second evaluation index, the stronger the simplicity of the graph model is evaluated in the evaluation index described later.
[0122] (S217: Calculation of evaluation index) Then, the evaluation index calculation unit 139 adds the first evaluation index calculated in step S213 and the second evaluation index calculated in step S215 to calculate an evaluation index (S217). For example, when the first evaluation index is expressed by the maximum log-likelihood MLL shown in the above formula (3-2), the evaluation index Z can be expressed as the following formula (4).
[0123]
number
[0124] For example, when the evaluation index is calculated for the graph model of graph B in FIG. 6, the first evaluation index is MLL=-92.646 as described above, and the second evaluation index is w×F=40, assuming that the number of free parameters is F=4 (the number of node passing patterns K=5) and the weighting coefficient w=10. Substituting these values into the above formula (4), the evaluation index Z becomes 132.65. Similarly, when the evaluation index is calculated for the graph model of graph A in FIG. 6, the evaluation index Z becomes 137.43. The closer the value of the evaluation index of the graph model of graph B is to the value of the evaluation index of the graph model of the original graph (graph A), the more the graph model of graph B can be evaluated as a graph model with a good balance between reproducibility and simplicity.
[0125] (S219-S223: Graph Model Exploration) When the evaluation index is calculated in step S217, the search unit 140 searches for an optimal graph model that best matches the purpose based on the reproducibility and complexity of the graph model, based on the evaluation index. First, the search unit 140 determines whether the graph model evaluated this time satisfies a predetermined termination condition (S219). The termination condition is set in advance, and for example, the search may be terminated when the evaluation index is improved compared to the evaluation index of the graph model of the original graph, or when the fluctuation of the evaluation index converges when the graph structure of the graph model is changed and the search is repeated. The search unit 140 determines whether to terminate the search of the graph model based on the evaluation index calculated in step S217.
[0126] For example, assume that a search termination condition is set such that the search is terminated if the evaluation index does not improve even after 100 repeated searches. When the evaluation index of the graph model evaluated this time has improved from the previous evaluation index, or when the evaluation index of the graph model evaluated this time 100 times in succession has not improved from the previous evaluation index, the search unit 140 determines that the search termination condition is not satisfied (S219: NO), and causes the graph acquisition unit 120 to recreate a new graph model in order to search for a graph structure with a better evaluation index (S221).
[0127] A new graph model is created by changing the nodes to be aggregated and the edges to be deleted. For example, a group of graph models in which the graph structure is manipulated by aggregating nodes and deleting edges for a graph model G* (evaluation index f*) with the smallest evaluation index value among the graph models searched so far is calculated as a neighborhood solution of the graph model evaluated this time. The group of graph models may be created, for example, by creating new graph structure data in which the parent node and the child node are the same in the graph structure data G of the graph model evaluated this time, and the aggregation of the nodes between them is changed. As a specific example, FIG. 14 shows an example of a group of graph models of simplified graphs (graphs C to I) created by changing the aggregation of the nodes AGV1 to AGV5 between them and deleting edges, without changing the parent nodes A and B and the child nodes C, D, and E from the graph B in FIG. 6.
[0128] When the graph acquisition unit 120 receives an instruction to recreate the graph model from the search unit 140, it creates a group of graph models of new simplified graphs with different graph structures, such as graphs C to I shown in Fig. 14. Note that the method of recreating the graph model is not limited to the above example, and for example, when the calculation capacity of the graph evaluation device 100 is high, a group of graph models of simplified graphs with all graph structures that can be conceived from the original graph may be created in order.
[0129] When the graph models of the simplified graph are recreated by the graph acquisition unit 120, the calculation of the first evaluation index (S207 to S213), the calculation of the second evaluation index (S215), and the calculation of the evaluation index (S217) are performed for each graph model of the simplified graph. Note that in the second and subsequent calculations of the first evaluation index, it is not necessary to create the actual passing pattern (S205), and it is sufficient to use the actual passing pattern created the first time.
[0130] Then, when the evaluation index of the currently evaluated graph model does not improve from the previous evaluation index even after 100 repeated searches and the search end condition is satisfied (S219: YES), the search unit 140 outputs the graph model with the smallest evaluation index up to this point as the optimal graph model to the display device 300 (S223). This enables the user to grasp the network situation more correctly by using the optimal graph model that best matches the purpose based on the reproducibility and complexity of the graph model.
[0131] For example, Fig. 15 shows the values of the evaluation index Z of the graph model calculated based on the above formula (4) for graphs A and B in Fig. 6 and graphs C to I in Fig. 14. From Fig. 15, the graph model of graph E with the smallest evaluation index is the optimal graph model. Graph E is an aggregation of nodes AGV3 and AGV5, and referring to graph A, nodes AGV3 and AGV5 are both adjacent to nodes B and D. If the graph is simplified like graph E that aggregates nodes with common adjacent nodes, no node passing patterns that do not exist in the actual passing patterns will occur, the reproducibility of the graph model will increase, and the value of the evaluation index will also decrease.
[0132] For comparison, referring to Fig. 11, graph B has a node passing pattern "A-AGV1-E" that is not included in the actual passing patterns among the reproduced actual passing patterns. For this reason, the evaluation index of the graph model of graph B is larger than that of graph E. In this way, by using the evaluation index shown in the above formula (4), it is possible to evaluate the graph model in consideration of the reproduction of passing patterns that are not included in the actual data.
[0133] [4. Hardware configuration] A hardware configuration of the graph evaluation device 100 according to this embodiment will be described with reference to Fig. 16. Fig. 16 is a block diagram showing an example of a hardware configuration of an information processing device 900 that functions as the graph evaluation device 100 according to this embodiment.
[0134] The information processing device 900 includes a processor (CPU 901 in FIG. 16), a ROM 903, and a RAM 905. The information processing device 900 also includes a bus 907, an input I / F 909, an output I / F 911, a storage device 913, a drive 915, a connection port 917, and a communication device 919.
[0135] The CPU 901 functions as an arithmetic processing device and a control device. The CPU 901 controls all or part of the operations in the information processing device 900 in accordance with various programs recorded in the ROM 903, the RAM 905, the storage device 913, or the removable recording medium 925. The ROM 903 stores programs or arithmetic parameters used by the CPU 901. The RAM 905 temporarily stores programs used by the CPU 901 or parameters that change as appropriate during program execution. These are connected to each other by a bus 907 constituted by an internal bus such as a CPU bus.
[0136] The bus 907 is connected to an external bus such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge.
[0137] The input I / F 909 is an interface that accepts input from an input device 921, which is an operation means operated by a user, such as a mouse, a keyboard, a touch panel, a button, a switch, and a lever. The input I / F 909 is configured as, for example, an input control circuit that generates an input signal based on information input by a user using the input device 921 and outputs the signal to the CPU 901. The input device 921 may be, for example, a remote control device that uses infrared rays or other radio waves, or an external device 927 such as a PDA (Personal Digital Assistant) that supports the operation of the information processing device 900. A user of the information processing device 900 can operate the input device 921 to input various data to the information processing device 900 and instruct the information processing device 900 to perform processing operations.
[0138] The output I / F 911 is an interface that outputs input information to an output device 923 that can visually or audibly notify a user. The output device 923 may be, for example, a display device such as a CRT display device, a liquid crystal display device, a plasma display device, an EL display device, or a lamp. Alternatively, the output device 923 may be an audio output device such as a speaker and a headphone, a printer, a mobile communication terminal, a facsimile, or the like. The output I / F 911 instructs the output device 923 to output, for example, a processing result obtained in various processes executed by the information processing device 900. Specifically, the output I / F 911 instructs the display device to display the processing result by the information processing device 900 as text or an image. The output I / F 911 also instructs the audio output device to convert an audio signal such as audio data instructed to be played into an analog signal and output it.
[0139] The storage device 913 is one of the storage units of the information processing device 900, and is a device for storing data. The storage device 913 is configured, for example, with a magnetic storage device such as a hard disk drive (HDD), a semiconductor storage device such as a solid state drive (SSD), an optical storage device, or a magneto-optical storage device. The storage device 913 stores the programs executed by the CPU 901, various data generated by the execution of the programs, various data acquired from the outside, and the like.
[0140] The drive 915 is a reader / writer for a recording medium, and is built in or externally attached to the information processing device 900. The drive 915 reads out information recorded in the attached removable recording medium 925 and outputs it to the RAM 905. The drive 915 can also write information to the attached removable recording medium 925. The removable recording medium 925 is, for example, a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory. Specifically, the removable recording medium 925 may be a CD medium, a DVD medium, a Blu-ray (registered trademark) medium, a CompactFlash (registered trademark) (CF), a flash memory, an SD memory card (Secure Digital memory card), or the like. The removable recording medium 925 may also be, for example, an IC card (Integrated Circuit card) equipped with a non-contact IC chip, or an electronic device, or the like.
[0141] The connection port 917 is a port for directly connecting a device to the information processing device 900. The connection port 917 is, for example, a Universal Serial Bus (USB) port, an IEEE 1394 port, a Small Computer System Interface (SCSI) port, an RS-232C port, etc. The information processing device 900 can directly obtain various data from an external device 927 connected to the connection port 917 and provide various data to the external device 927.
[0142] The communication device 919 is, for example, a communication interface configured with a communication device for connecting to a communication network 929. The communication device 919 is, for example, a wireless LAN (Local Area Network), Bluetooth (registered trademark), or an antenna for mobile communication. The communication device 919 may also be a wired LAN, a router for optical communication, a router for ADSL (Asymmetric Digital Subscriber Line), or a modem for various communications. The communication device 919 can transmit and receive signals, for example, between the Internet and other communication devices in accordance with a predetermined protocol, for example, TCP / IP. The communication network 929 connected to the communication device 919 is configured with a network connected by wire or wirelessly. For example, the communication network 929 is a wide area network (WAN) such as the Internet, a LAN, a mobile communication network, infrared communication, radio wave communication, or satellite communication.
[0143] 16, an external information processing device 931 is connected to the communication network 929. The information processing device 931 may be a device having the same hardware configuration as the information processing device 900. In this embodiment, the information processing device 931 is a processing device that processes information received from, for example, the graph evaluation device 100, and is an analysis device that analyzes a logistics network, a simulation device that simulates logistics, or the like.
[0144] The above shows an example of the hardware configuration of the information processing device 900. Each of the above-mentioned components may be configured using general-purpose members, or may be configured using hardware specialized for the function of each component. The hardware configuration of the information processing device 900 can be appropriately changed depending on the technical level at the time of implementing this embodiment.
[0145] Although the preferred embodiment of the present invention has been described in detail above with reference to the accompanying drawings, the present invention is not limited to such an example. It is clear that a person having ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or altered examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally belong to the technical scope of the present invention.
[0146] For example, in the above embodiment, an example of evaluating a graph representing a logistics network has been described, but the present invention is not limited to such an example. For example, the graph evaluation method of the present invention can evaluate a graph representing a network with a passing order and flow, such as a logistics network. Specifically, it is also possible to evaluate a graph representing a network of roads, trains, airplanes, etc., or a business network representing an office process in a company, hospital, etc.
[0147] In the above embodiment, the graph evaluation device creates and acquires an original graph or a simplified graph that directly represents the performance data, but the present invention is not limited to such an example. For example, the graph evaluation device may calculate a first evaluation index for a graph model that has been acquired in advance, or calculate an evaluation index based on the first evaluation index and the second evaluation index. [Explanation of symbols]
[0148] 100 Graph evaluation device 110 Performance Data Acquisition Department 120 Graph Acquisition Unit 130 Evaluation index calculation processing unit 131 Actual passing pattern generation unit 133 Node passing pattern generation unit 135 Probability parameter setting unit 137 Likelihood Calculation Unit 139 Evaluation Index Calculation Unit 140 Search Department 210 Performance data storage unit 220 Graph structure data storage unit 300 display device 900 Information processing device 907 Bus 913 Storage Device 915 Drive 917 Connection Port 919 Communication Equipment 921 Input Device 923 Output Device 925 Removable Recording Media 927 External equipment 929 Communication Network 931 (External) Information Processing Equipment Go Original graph Gs Simplified graph
Claims
1. an evaluation index calculation processing unit that calculates an index for evaluating a graph model represented by a graph structure represented by nodes and edges and a probability parameter representing an occurrence probability for each node passing pattern of the graph structure, The evaluation index calculation processing unit: a likelihood calculation unit that calculates a likelihood of an actual passing pattern, which is an actual node passing pattern in the graph model, based on the probability parameter for each of the node passing patterns; an evaluation index calculation unit that calculates a first evaluation index for evaluating reproducibility of the actual passing pattern based on the likelihood of the actual passing pattern; A graph evaluation device comprising:
2. the probability parameter is a value set so as to maximize the likelihood of the actual passing pattern, The graph evaluation device according to claim 1 , wherein the evaluation index calculation unit calculates a maximum likelihood or a maximum log-likelihood of the actual passing pattern as the first evaluation index.
3. the probability parameter is a value set so as to maximize the likelihood of the actual passing pattern based on the number of occurrences of the actual passing pattern included in the smoothed node passing pattern, The graph evaluation device according to claim 2 , wherein the evaluation index calculation unit calculates the maximum likelihood or the maximum log-likelihood of the actual passing pattern based on the number of occurrences of each of the node passing patterns after smoothing.
4. The evaluation index calculation processing unit: an actual passing pattern generating unit that generates the actual passing pattern from actual data; a node passing pattern generation unit that generates the node passing pattern based on a graph structure of the graph model; a probability parameter setting unit that sets the probability parameter for each of the node passing patterns of the graph model; The graph evaluation device according to claim 1 , further comprising:
5. The graph evaluation device according to claim 1 , wherein the evaluation index calculation unit calculates a second evaluation index representing a degree of complexity of the graph model based on a number of the node passing patterns included in the graph model and a weighting coefficient.
6. The graph evaluation device according to claim 5 , wherein the evaluation index calculation unit calculates a sum of the first evaluation index and the second evaluation index as the evaluation index of the graph model.
7. a search unit that searches for an optimal graph model that best matches a purpose based on the reproducibility and complexity of the graph model based on the evaluation index; the evaluation index calculation processing unit calculates the evaluation index for each of the plurality of different graph models; The graph evaluation device according to claim 6 , wherein the search section determines, from among the plurality of graph models, a graph model having a minimum evaluation index as the optimal graph model.
8. The graph evaluation device according to any one of claims 1 to 7, wherein the evaluation index calculation processing unit outputs at least one of the graph structure of the graph model from which the first evaluation index was calculated, the probability parameter, or an index for evaluating the graph model to a processing device.
9. receiving at least one of the graph structure of the graph model, the probability parameters, and an index for evaluating the graph model, the graph structure being calculated by the graph evaluation device according to claim 8; A processing unit that processes the received information.
10. A graph evaluation method using a graph evaluation device, comprising: a likelihood calculation step of calculating a likelihood of an actual passing pattern, which is an actual node passing pattern, based on the probability parameters for each node passing pattern for a graph model represented by a graph structure represented by nodes and edges and a probability parameter representing an occurrence probability for each node passing pattern of the graph structure; a first evaluation index calculation step of calculating a first evaluation index for evaluating reproducibility of the actual passing pattern based on the likelihood of the actual passing pattern as an index for evaluating the graph model; A graph evaluation method comprising:
11. the probability parameter is a value set so as to maximize the likelihood of the actual passing pattern, 11. The graph evaluation method according to claim 10, wherein in the first evaluation index calculation step, a maximum likelihood or a maximum log-likelihood of the actual passing pattern is calculated as the first evaluation index.
12. the probability parameter is a value set so as to maximize the likelihood of the actual passing pattern based on the number of occurrences of the actual passing pattern included in the smoothed node passing pattern, 12. The graph evaluation method according to claim 11, wherein in the first evaluation index calculation step, the maximum likelihood or the maximum log-likelihood of the actual passing pattern is calculated based on the occurrence count after smoothing of each of the node passing patterns.
13. an actual passing pattern generating step of generating the actual passing pattern from actual data; a node passing pattern generating step of generating the node passing pattern based on a graph structure of the graph model; a probability parameter setting step of setting the probability parameter for each of the node passing patterns of the graph model; The graph evaluation method of claim 10, comprising:
14. 11. The graph evaluation method according to claim 10, further comprising a second evaluation index calculation step of calculating a second evaluation index representing a degree of complexity of the graph model by a weighting coefficient and the number of the node passing patterns included in the graph model.
15. 15. The graph evaluation method according to claim 14, further comprising an evaluation index calculation step of calculating a sum of the first evaluation index and the second evaluation index as an evaluation index of the graph model.
16. a search step of searching for an optimal graph model that best meets a purpose based on the reproducibility and complexity of the graph model based on the evaluation index; In the evaluation index calculation step, the evaluation index is calculated for each of the plurality of different graph models; 16. The graph evaluation method according to claim 15, wherein in said searching step, a graph model having a minimum evaluation index among the plurality of graph models is determined as the optimal graph model.
17. The graph evaluation method according to any one of claims 10 to 16, further comprising an output step of outputting to a processing device at least one of the graph structure of the graph model for which the first evaluation index has been calculated, the probability parameter, or an index for evaluating the graph model.
18. receiving at least one of the graph structure of the graph model, the probability parameters, or an index for evaluating the graph model, the graph structure being calculated by the graph evaluation method according to claim 17; Processing method for processing received information.
19. On the computer, calculating a likelihood of an actual passing pattern, which is an actual node passing pattern, based on the probability parameters for each node passing pattern for a graph model represented by a graph structure represented by nodes and edges and a probability parameter representing an occurrence probability for each node passing pattern of the graph structure; calculating a first evaluation index for evaluating reproducibility of the actual passing pattern by the graph model based on the likelihood of the actual passing pattern as an index for evaluating the graph model; A program for executing the above.
Citation Information
Patent Citations
Digital content information sequence generation device, method, and program
JP2016110402A
Methods, systems and computer program products for estimating likelihood of qualifying for benefit
US11055794B1
Clustering device, method, and program
JP2013156698A
Clustering device, clustering method, and clustering program
JP2017204161A
