Mapping apparatus, mapping method, and mapping program

The method addresses the challenge of visualizing graph data by generating and mapping compound structures, enabling precise visualization and clustering of compounds with similar properties, thereby improving compound space analysis.

JP2024127382AActive Publication Date: 2024-09-20HITACHI INDUSTRY & CONTROL SOLUTIONS LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023036507
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-20
Estimated Expiration
2043-03-09

AI Technical Summary

Technical Problem

Existing methods lack a comprehensive approach for visualizing graph data, particularly in the context of compound space analysis, leading to difficulties in utilizing such data for digital transformation and ineffective plotting of compounds with similar properties.

Method used

A method involving graph generation, similarity calculation, similarity matrix generation, eigenvalue and eigenvector calculation, and mapping processing to visualize similarities based on graph structures, utilizing a mapping device and program to map structural similarities of compounds, factory piping, and electronic circuits.

Benefits of technology

Enables precise visualization of structural similarities among compounds, allowing for effective clustering and screening of compounds with similar properties, enhancing the understanding of compound spaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127382000001
    Figure 2024127382000001
Patent Text Reader

Abstract

To visualize similarity based on a structure of a graph.SOLUTION: A mapping apparatus is characterized by having: a graph generating unit 11 for generating a graph indicating connection among predetermined objects; a similarity calculating unit 12 for calculating similarity regarding two graphs; a similarity matrix generating unit 13 for generating a first similarity matrix as a matrix having similarities of a plurality of graphs as component elements of the matrix; a calculating unit 14 for calculating a plurality of first unique values based on the first similarity matrix, and calculating a plurality of first unique vectors corresponding to the respective first unique values; and a mapping processing unit 15 for acquiring a predetermined number of the first unique values in a descending order, and mapping, on a coordinate, coordinate values calculated based on the first unique vectors corresponding to the acquired first unique values, respectively, to output them to an output unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a mapping device, a mapping method, and a mapping program. [Background technology]

[0002] In recent years, data in various formats, such as text and audio, has been accumulated, and many mining methods are being considered for utilizing this data. In particular, graph data, which can express the connections between "things," has attracted attention as a new target for data mining, as it may be possible to extract information that cannot be found in natural language or images. Note that a graph is a graph that has multiple nodes and edges connecting the nodes, and is not a graph that shows the mapping relationship between one set and another set.

[0003] In the field of materials informatics, the term "compound space" is often used. "Compound space" refers to a "virtual space in which all compounds (that may exist in the world / in a database at hand) are arranged." Drug discovery and the creation of new materials are nothing more than finding useful compounds from this "compound space." Especially in the early stages of drug discovery and material creation, it is necessary to analyze (screen) candidate compound groups to see if there are any unique ones or what groups there are, and to extract structures that meet the purpose. For this reason, visualization of compound space has become a topic of interest in recent years. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] “myPresto5.0 -Screening with TGS method- USER MANUAL”, Japan Bioindustry Informatization Consortium, January 12, 2018, [Retrieved January 18, 2023], Internet<URL: https: / / www.mypresto5.jp / > [Non-Patent Document 2] Yoshifumi Fukunishi and Haruki Nakamura, “A Similarity Search Using Molecular Topological Graphs”, Journal of Biomedicine and Biotechnology, Volume 2009, Article ID 231780 Summary of the Invention [Problem to be solved by the invention]

[0005] However, there are no established general analytical methods for visualizing graph data, making it difficult to use for analysis in cases where DX (Digital Transformation) is just beginning.

[0006] In addition, in order for humans to check the compound space, the compounds need to be plotted on a plane or in space, and their positional relationships depend on which information of the compounds is being focused on. However, conventional visualization methods have problems such as the necessity to measure and calculate physical property information and the fact that compounds with similar properties are not plotted in close proximity to each other.

[0007] The present invention has been made in view of the above background, and an object of the present invention is to visualize similarities based on the structure of graphs. [Means for solving the problem]

[0008] In order to solve the above-mentioned problems, the present invention is characterized by comprising: a graph generation unit that generates a graph showing connections between specified objects; a similarity calculation unit that calculates a similarity between two of the graphs; a similarity matrix generation unit that generates a first similarity matrix, which is a matrix having the similarities of the multiple graphs as matrix elements; a calculation unit that calculates a plurality of first eigenvalues ​​based on the first similarity matrix and calculates a plurality of first eigenvectors corresponding to each of the first eigenvalues; and a mapping processing unit that acquires a predetermined number of the first eigenvalues ​​in descending order, maps them on coordinates based on coordinate values ​​calculated based on the first eigenvectors corresponding to each of the acquired first eigenvalues, and outputs them to an output unit. Other solutions will be described in the embodiments as appropriate. Effect of the Invention

[0009] According to the present invention, it is possible to visualize similarities based on the structure of a graph. a [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a mapping device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a mapping device according to the present embodiment. [Diagram 3] 4 is a flowchart showing the procedure of the entire process performed by the mapping device of the present embodiment. [Figure 4A] FIG. 1 shows a molecular graph of water. [Figure 4B] FIG. 1 shows a molecular graph of carbon dioxide. [Figure 4C] FIG. 1 shows a molecular graph of carbon monoxide. [Diagram 5] FIG. 2 illustrates a first similarity matrix in table format. [Figure 6] FIG. 13 illustrates a second similarity matrix in table form. [Figure 7] FIG. 13 illustrates a third similarity matrix in table form. [Figure 8]FIG. 11 is a diagram illustrating a first eigenvalue and a first eigenvector. [Figure 9] FIG. 13 is a diagram showing a mapping result by a mapping processing unit. [Figure 10] 10 is a flowchart showing a detailed procedure of a similarity calculation process and a first similarity matrix generation process performed by the mapping device of the present embodiment. [Figure 11] FIG. 2 shows the representation matrix of water in tabular form. [Figure 12] FIG. 2 shows a representation matrix for carbon dioxide in tabular form. [Figure 13] FIG. 1 shows the spectral series of water and carbon dioxide (part 1). [Figure 14] FIG. 1 shows a comparison of a molecular graph of water and a molecular graph of carbon dioxide. [Figure 15] FIG. 2 shows the spectral series of water and carbon dioxide (part 2). [Figure 16] FIG. 2 shows a representation matrix for carbon monoxide in tabular form. [Figure 17] This is a diagram (part 1) showing the spectral series of water and carbon monoxide. [Figure 18] FIG. 1 shows a comparison of the molecular graph of water and the molecular graph of carbon monoxide. [Figure 19] FIG. 2 shows the spectral series of water and carbon monoxide (part 2). [Figure 20] This is an example of a factory piping configuration expressed as a structure graph. [Figure 21] This is an example of an electronic circuit represented as a structure graph. [Figure 22] FIG. 13 is a diagram showing an example in which relationships between people are expressed as a structure graph. [Figure 23] FIG. 13 is a diagram showing an example of a relationship in a work site expressed as a structure graph. [Figure 24] FIG. 1 is a diagram showing an example of a structure graph (part 1). [Diagram 25] FIG. 2 is a diagram showing an example of a structure graph (part 2). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Next, a form for carrying out the present invention (referred to as an "embodiment") will be described in detail with reference to the drawings as appropriate. The mapping device 1 used in this embodiment can map the structural similarity of compounds, factory piping, electronic circuits, etc., but this embodiment will mainly describe a method for mapping the structural similarity of compounds (including a program for realizing this method). The method for mapping the structural similarity of factory piping, electronic circuits, etc. will be described at the end of this embodiment.

[0012] <Configuration of mapping device 1> FIG. 1 is a diagram showing an example of the configuration of a mapping device 1 according to this embodiment. The mapping device 1 includes a graph generation unit 11, a similarity calculation unit 12, a similarity matrix generation unit 13, a calculation unit 14, and a mapping processing unit 15. The graph generating unit 11 converts the object to be mapped (predetermined object: in this embodiment, a compound) into a graph. Note that, in this embodiment, the graph has a plurality of nodes N and edges E connecting the nodes N as shown in Figs. 4A to 4C, and is not a graph showing the mapping relationship between a certain set and another set. In other words, the graph shows the relationship between the predetermined objects, and is composed of the nodes N and edges E.

[0013] The similarity calculation unit 12 calculates the similarity between the two objects by calculating the similarity between the two graphs based on the graph generated by the graph generation unit 11. The method of calculating the similarity will be described later. The similarity matrix generation unit 13 calculates a first similarity matrix, which is a matrix whose component elements are composed of the similarities calculated by the similarity calculation unit 12. Note that a component element is each of the values ​​constituting a matrix or a vector. Furthermore, the similarity matrix generation unit 13 converts the first similarity matrix into a second similarity matrix by subtracting the first similarity matrix from a matrix having the same order as the first similarity matrix and all component elements being "1". In this way, the second similarity matrix is ​​generated. Furthermore, the similarity matrix generation unit 13 generates a third similarity matrix by performing a Young-Householder transformation on the second similarity matrix.

[0014] The calculation unit 14 calculates the eigenvalues ​​and eigenvectors of the third similarity matrix. The eigenvalues ​​calculated by the calculation unit 14 are referred to as first eigenvalues ​​301 (see FIG. 8), and the eigenvectors corresponding to the first eigenvalues ​​301 are referred to as first eigenvectors 310 (see FIG. 8).

[0015] The mapping processing unit 15 specifies coordinates for mapping the object to the coordinates based on the first eigenvalue 301 and the first eigenvector 310 calculated by the calculation unit 14, and performs mapping based on the specified coordinates.

[0016] <Hardware configuration> FIG. 2 is a diagram showing an example of the hardware configuration of the mapping device 1 according to this embodiment. 2, the mapping device 1 has an input device 104 for inputting data related to a mapping target, and a calculation device 102 for calculating similarity, mapping coordinate values, etc. The mapping device 1 also has a main memory device 101 into which programs to be executed are loaded. The mapping device 1 further has an output device 105 as an output unit for outputting the results of the calculation, and a data memory device 103 for storing the input data, data in the middle of the calculation, the results of the calculation, etc.

[0017] Data relating to an object (a compound in this embodiment) to be mapped is input (bold arrow A1) to the mapping device 1. Furthermore, the mapping result is output (bold arrow A2) from the mapping device 1.

[0018] The input device 104 is composed of a keyboard, a mouse, etc., and the output device 105 is composed of a display, etc. Also, the arithmetic device 102 is composed of a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), etc. And the data storage device 103 is composed of an HD (Hard Disk), an SSD (Solid State Drive), etc.

[0019] Also, the program stored in the data storage device 103 is loaded into the main memory device 101. And the loaded program (mapping program) is executed by the arithmetic device 102. As a result, the graph generation unit 11, the similarity calculation unit 12, the similarity matrix generation unit 13, the calculation unit 14, and the mapping processing unit 15 shown in FIG. 1 are embodied.

[0020] <Overall Processing> FIG. 3 is a flowchart showing the procedure of the overall processing performed by the mapping device 1 of the present embodiment. In the following description, steps S1 to S7 are the step numbers shown in FIG. 3.

[0021] <S1: Molecular Graph Generation: Graph Generation Step> First, the graph generation unit 11 generates a molecular graph G (see FIGS. 4A to 4C) for each compound to be mapped. The molecular graph G is a graph representing the molecular structure of a compound. FIG. 4A shows the molecular graph G1 of water (H2O), FIG. 4B shows the molecular graph G2 of carbon dioxide (CO2), and FIG. 4C shows the molecular graph G3 of carbon monoxide (CO).

[0022] In this way, the molecular graph G is a graph of a compound, with the atoms constituting the compound as nodes N and the covalent bonds in the compound as edges E.

[0023] As described above, the molecular graph G is composed of nodes N and edges E (see FIGS. 4A to 4C). In the present embodiment, the node N is an atom constituting the compound. Note that the alphabet described in the nodes N in FIGS. 4A to 4C is the atomic symbol of the atom corresponding to the node N.

[0024] Also, in each of the molecular graphs G shown in FIGS. 4A to 4C, the number of edges E indicates the type of covalent bond. That is, when there is one edge E like edge E1, it indicates a single bond, and when there are two edges E like edge E2, it indicates a double bond.

[0025] Note that the atoms of the compound correspond to a predetermined object. Thus, the molecular graph G is a graph showing the connection between predetermined objects.

[0026] <S2: Similarity calculation process: Similarity calculation step> Subsequently, the similarity calculation unit 12 calculates the similarity for all pairs of the molecular graph G. The calculation of the similarity will be described later. In the present embodiment, the similarity is the similarity of the structures of two compounds. The calculation of the similarity will be described later.

[0027] <S3: First similarity matrix generation: Similarity matrix generation step> The similarity matrix generation unit 13 generates a first similarity matrix in which each similarity is in the form of a matrix. In the first similarity matrix, the similarity calculated in step S2 is output in the form of a matrix.

[0028] FIG. 5 shows the first similarity matrix in the form of Table 200. In the example shown in FIG. 5, the first similarity matrix is shown when the mapping targets are water ("H2O"), carbon dioxide ("CO2"), and carbon monoxide ("CO"). Note that in the present embodiment, the compounds to be mapped are water ("H2O"), carbon dioxide ("CO2"), and carbon monoxide ("CO"), but are not limited to these compounds.

[0029] The component element nij of the first similarity matrix (corresponding to each column in FIG. 5) is the similarity between the i-th compound and the j-th compound. For example, in Table 200 shown in FIG. 5, the column indicated by reference numeral 201 stores the similarity between water and carbon monoxide. Each similarity is the similarity calculated in step S2. Also, since the similarity calculated in step S2 is "1" for the same compound, the similarity "1" is stored when i = j. Therefore, as shown in FIG. 5, if the number of compounds to be mapped is M, the first similarity matrix is an M×M symmetric matrix.

[0030] In this way, the first similarity matrix is a matrix having the similarities of a plurality of molecular graphs G as its component elements.

[0031] <S4: Conversion to the Second Similarity Matrix> Subsequently, the similarity matrix generation unit 13 converts the first similarity matrix into a second similarity matrix. As described above, the similarity matrix generation unit 13 subtracts the first similarity matrix from a matrix having the same number of rows and columns as the first similarity matrix and all component elements being "1". By doing so, the similarity matrix generation unit 13 converts (generates) the first similarity matrix into a second similarity matrix. FIG. 6 shows the second similarity matrix generated based on the first similarity matrix shown in FIG. 5 in the format of Table 210. The second similarity matrix generated by such processing is a matrix in which the similarity between the same compounds is "0", that is, the more similar the structures are, the smaller the value of the component element becomes. As a result, in the mapping process described later, similar compounds are mapped to positions close to each other.

[0032] <S5: Householder Transformation> Then, as described above, the similarity matrix generation unit 13 performs a Young-Householder transformation on the second similarity matrix. As a result, the second similarity matrix is converted into a third similarity matrix (a third similarity matrix is generated). FIG. 7 shows the third similarity matrix generated based on the second similarity matrix shown in FIG. 6 in the format of Table 220. The third similarity matrix is an M×M matrix in which the component element "nij" of the second similarity matrix is converted such that when the distance between the compounds indicated by i and j is regarded as the distance, each distance becomes the distance with the centroid at the position indicated by the distance as the origin.

[0033] <S6: Calculation Step for Calculating the First Eigenvalue 301 and the First Eigenvector 310> Next, the calculation unit 14 calculates all of the first eigenvalue 301 (see FIG. 8), which is an eigenvalue of the third similarity matrix, and the first eigenvector 310 (see FIG. 8), which is an eigenvector. When the third similarity matrix is M×M, M (i.e., a plurality of) first eigenvalues 301 and first eigenvectors 310 are calculated.

[0034] The first eigenvalue 301 and the first eigenvector 310 calculated based on the third similarity matrix shown in FIG. 7 are shown in FIG. 8. In FIG. 8, the first row shows the first eigenvalue 301, and the second to fourth rows (each of the thick frames in FIG. 8) show the component elements of the first eigenvector 310 corresponding to the first eigenvalue 301. For example, the first eigenvector 310 with the first eigenvalue 301 of "λ1 = 3.338" is "(0.576, 0.578, 0.578)". Also, the first eigenvector 310 with the first eigenvalue 301 of "λ2 = 0.478" is "(0.025, -0.719, 0.694)". The same applies when the first eigenvalue 301 is "λ3 = -0.013".

[0035] Generally, M first eigenvalues 301 and first eigenvectors 310 are calculated from an M×M matrix (however, the first eigenvalues 301 and first eigenvectors 310 may overlap). That is, in step S6, the calculation unit 14 calculates a plurality of first eigenvalues 301, which are the eigenvalues of the third similarity matrix, based on the third similarity matrix calculated based on the first similarity matrix. Then, the calculation unit 14 calculates a plurality of first eigenvectors 310, which are the eigenvectors of the first eigenvalues 301 that are the eigenvalues of the third similarity matrix, corresponding to each of the first eigenvalues 301. Note that the solid frames 321 to 323 and the dashed frames 331 to 333 in FIG. 8 will be described later.

[0036] <S7: Mapping Process: Mapping Process Step> Then, the mapping processing unit 15 performs a mapping process of mapping information about the compound (compound information) to the mapping coordinates 400 (see FIG. 9) based on the first eigenvalues 301 and the first eigenvectors 310 calculated in step S5. In step S7, the mapping processing unit 15 acquires m of the first eigenvalues 301 calculated in step S5, that is, a predetermined number in descending order. For example, when mapping compound information to two-dimensional mapping coordinates 400, m = 2. Similarly, when mapping compound information to three-dimensional mapping coordinates 400, m = 3.

[0037] Then, the mapping processing unit 15 maps the compound information to the mapping coordinates 400 (see FIG. 9), which are the coordinates, based on the selected first eigenvectors 310 corresponding to the first eigenvalues 301.

[0038] For example, the first eigenvalue 301 and the first eigenvector 310 calculated in step S6 are as shown in FIG. 8. In this embodiment, the compound information is mapped to a two-dimensional mapping coordinate 400 (see FIG. 9). In this case, the mapping processing unit 15 selects two of the obtained first eigenvalues ​​301 in descending order of size. When the first eigenvalues ​​301 and the first eigenvectors 310 as shown in FIG. 8 are obtained, the mapping processing unit 15 selects two, λ1=3.338 and λ2=0.478. Furthermore, the mapping processing unit 15 selects the first eigenvector 310 corresponding to the selected first eigenvalue 301, and arranges the selected first eigenvectors 310 in descending order of size (selection order) of the corresponding first eigenvalues ​​301.

[0039] Then, the mapping processing unit 15 arranges the selected first eigenvectors 310 as column vectors. The result of arranging the selected first eigenvectors 310 as column vectors is shown in Fig. 8. In the result of arranging the first eigenvectors 310 as column vectors, the two component elements in the H-th row become the mapping coordinate values ​​of the compound corresponding to the H-th row (or the H-th column) in Fig. 5.

[0040] For example, the two values ​​"(0.576, 0.025)" shown in a solid line frame 321 in FIG. 8 are mapping coordinate values ​​of water ("H2O"). The two values ​​"(0.578, -0.719)" shown in a solid line frame 322 in FIG. 8 are mapping coordinate values ​​of carbon dioxide ("CO2"). Similarly, the two values ​​"(0.578, 0.694)" shown in a solid line frame 323 in FIG. 8 are mapping coordinate values ​​of carbon monoxide ("CO"). The mapping coordinate values ​​calculated in this way are corresponding component elements between the acquired (selected) first eigenvectors 310. The mapping processing unit 15 performs mapping based on the calculated mapping coordinate values.

[0041] In this embodiment, the first eigenvector 310 corresponding to the first eigenvalue 301 having the largest value among the selected and acquired first eigenvalues ​​301 is set as the x coordinate of the mapping coordinate values. Then, the first eigenvector 310 corresponding to the first eigenvalue 301 having the second largest value is set as the y coordinate of the mapping coordinate values. However, this is not limited to the above, and the first eigenvector 310 corresponding to the first eigenvalue 301 having the largest value may be set as the y coordinate of the mapping coordinate values.

[0042] FIG. 9 is a diagram showing a result of mapping by the mapping processing unit 15. As shown in FIG. In FIG. 9, mapping is performed using mapping coordinate values ​​based on the first eigenvalue 301 and the first eigenvector 310 shown in FIG. 9, reference numeral 401 indicates the mapping result of compound information relating to water, reference numeral 402 indicates the mapping result of compound information relating to carbon dioxide, and reference numeral 403 indicates the mapping result of compound information relating to carbon monoxide.

[0043] When the compound information is mapped to the three-dimensional mapping coordinates 400, the mapping processing unit 15 selects the three first eigenvalues ​​301 shown in Fig. 8 in descending order of size. That is, the mapping processing unit 15 selects and acquires all of "λ1=3.338", "λ2=0.478", and "λ3=0.013" from among the first eigenvalues ​​301 shown in Fig. 8.

[0044] Then, the mapping processing unit 15 arranges the first eigenvectors 310 corresponding to the three selected first eigenvalues ​​301 as vertical vectors in descending order of the corresponding first eigenvalues ​​301. The result of arranging the selected first eigenvectors 310 as vertical vectors is shown in Fig. 8. Then, similar to the case of mapping to two-dimensional mapping coordinates 400, the mapping processing unit 15 determines that the three component elements in the H-th row of the arranged first eigenvectors 310 become the mapping coordinate values ​​of the compound corresponding to the H-th row (or the H-th column) in Fig. 5.

[0045] For example, the three values "(0.576, 0.025, 0.013)" shown by the dashed frame 331 in FIG. 8 are the mapping coordinate values of water ("H2O"). These are the corresponding component elements among the obtained first eigenvectors 310. Also, the three values "(0.578, -0.719, -0.241)" shown by the dashed frame 332 in FIG. 8 are the mapping coordinate values of carbon dioxide ("CO2"). Similarly, the three values "(0.578, 0.694, 0.228)" shown by the dashed frame 333 in FIG. 8 are the mapping coordinate values of carbon monoxide ("CO").

[0046] Regarding the above processing as a general case, when mapping the first eigenvector 310 to the n-dimensional coordinates that are the mapping coordinates 400, it is as follows. The mapping processing unit 15 first acquires n first eigenvalues 301 in order from the first eigenvalue 301 having a large value among the first eigenvalues 301. Then, the mapping processing unit 15 acquires n first eigenvectors 310 corresponding to each of the acquired first eigenvalues 301 among the first eigenvectors 310. After that, the mapping processing unit 15 maps the corresponding component elements among the acquired first eigenvectors 310 to the n-dimensional coordinates.

[0047] <S8: Output Processing: Mapping Processing Step> The mapping processing unit 15 outputs the result of the mapping in step S6 (see FIG. 9) to the output device 105.

[0048] In this way, the mapping processing unit 15 maps to the mapping coordinates 400 based on the coordinate values (mapping coordinate values) calculated based on the first eigenvectors 310 corresponding to each of the first eigenvalues 301 obtained in the mapping processing of step S6, and outputs them to the output device 105

[0049] Then, screening of compounds is performed using the mapping result. Regarding the screening, a generally used method may be applied, so the description in this embodiment is omitted.

[0050] <Similarity calculation process> FIG. 10 is a flowchart showing the detailed procedure of the first similarity matrix generation process of the similarity calculation process performed by the mapping device 1 of the present embodiment. The process shown in FIG. 10 corresponds to the process of step S2 in FIG. 3.

[0051] <S201: Input> For the calculation of similarity, the following two pieces of data are input to the similarity calculation unit 12. The input data is stored in the data storage device 103 and is read by the arithmetic unit 102 for arithmetic operations in subsequent processes. First input: Data related to the molecular graph G of the first compound. Second input: Data related to the molecular graph G of the second compound. Regarding the molecular graph G, as described above, more specifically, the molecular graph G is an undirected graph having the following definition. That is, a value is assigned to each node N constituting the molecular graph G. In the present embodiment, the value assigned to the node N is the atomic number of the atom corresponding to the node N. In the present embodiment, the atomic number is used as the value of the node N, but it is not limited to this. For example, a number arbitrarily assigned by the user may be used as the value of the node N.

[0052] Also, a value is assigned to each edge E. The value assigned to the edge E corresponds to the type of covalent bond corresponding to the edge E. In the present embodiment, the number of bonds is used as the type of covalent bond. For example, "1" is assigned to a single bond, and "2" is assigned to a double bond.

[0053] <S202: Generation of representation matrix> Next, the similarity calculation unit 12 generates a representation matrix for each molecular graph G based on the first input and the second input, based on the bonds of each node N and the information of the values of the nodes N. That is, the similarity calculation unit 12 generates a representation matrix based on two molecular graphs G.

[0054] The similarity calculation unit 12 generates a representation matrix "A" based on the input molecular graph G according to the following procedure. The representation matrix "A" is a K x K matrix, where "K" is the number of nodes N in one molecular graph G. The components "aij" of the representation matrix "A" have the following definition: (A1) When i=j: aij is the atomic number corresponding to the atomic symbol "ei" ("ej") corresponding to node N "i" (node ​​N "j"). In other words, when i=j, aij is the value assigned to node N of the graph (in this embodiment, the atomic number). Also, aij=aji is satisfied. (A2) If i=j is not the case (i≠j): (A2-1) When a bond exists between the atom indicated by node N "i" and the atom indicated by node N "j", the component element "aij" of the expression matrix is ​​a value obtained by adding a negative sign to the value assigned to the edge E connecting the atom indicated by node N "i" and node N "j". By adding a negative sign to the number of bonds in this way, the accuracy of the mapping performed after this process can be improved. Also, in (A2-1), the component element "aij" of the expression matrix is ​​a value obtained by adding a negative sign to the number of bonds between the atom indicated by node N "i" and node N "j", but it may be a positive value. Incidentally, in this embodiment, the bond refers to a covalent bond.

[0055] (A2-2) If there is no bond between the atom indicated by node N "i" and the atom indicated by node N "j": "aij=0"

[0056] In this way, when i ≠ j, if there is an edge E connecting the node N indicated by i and the node N indicated by j, aij becomes the value assigned to the edge E (A2-1). Also, aij becomes the negative value of the value assigned to the edge E of the molecular graph G. And, if there is no edge E connecting the node N indicated by i and the node N indicated by j, aij becomes "0".

[0057] Note that the molecular graph G and the representation matrix will be specifically described in the specific examples described later.

[0058] <S203: Spectrum sequence generation> Next, the similarity calculation unit 12 calculates the second eigenvalue "λi" (i = 1, ···, K) of the representation matrix "A". That is, the similarity calculation unit 12 calculates a plurality of second eigenvalues that are the eigenvalues of the representation matrix.

[0059] Subsequently, the similarity calculation unit 12 generates a spectrum sequence 531 (see FIGS. 13 and 17) "(λ1, ···, λK)" in which each of the calculated second eigenvalues is arranged in descending order (descending order). When the representation matrix "A" is a K×K matrix, there are K second eigenvalues (however, the second eigenvalues may overlap).

[0060] <S204: Preprocessing of spectrum sequence 531> After step S203, the similarity calculation unit 12 compares the constituent atoms of the paired molecular graphs G, and adds the atomic numbers of the missing atoms to the respective spectral sequences 531 (see FIGS. 13 and 17). As described above, the atomic number is a value assigned to the type of node N of the molecular graph G. That is, the similarity calculation unit 12 compares the set of atomic symbols assigned to the nodes N in the constituent atoms of the input compound, that is, the molecular graph G "Ga" of a certain compound and the molecular graph G "Gb" of another compound. Then, as a result of the comparison, the similarity calculation unit 12 adds and inserts the atomic numbers of the atoms not contained in each other for the molecular graph G "Ga" and the molecular graph G "Gb" into the spectral sequences 531 "Λa=(λa1,···,λaM)" and "Λb=(λb1,···,λbL)", respectively. The spectral sequence 531 with the atomic number added and inserted is referred to as the spectral sequence 532 (see FIGS. 15 and 19). After that, the similarity calculation unit 12 sorts the elements of the spectral sequences 532 "λa" and "λb" in descending order of the values. That is, the similarity calculation unit 12 arranges the second eigenvalues that make up the spectral sequence 532 with the value (atomic number) assigned to the type of node N of the molecular graph G added, in descending order of the values. Regarding the processing of step S204, a specific example will be described later. Note that depending on the processing content of step S205 described later, the processing of step S204 can be omitted.

[0061] <S205: Calculation of Norm> Furthermore, the similarity calculation unit 12 regards the sorted spectral sequence 532 as a vector, and calculates the L2 norm "c" between the two spectral sequences 532 ("Λa", "Λb") that are the objects of similarity calculation. The L2 norm corresponds to the magnitude of the spectral sequence 532. At this time, the calculated difference does not necessarily have to be the L2 norm. For example, any value that is proportional to the difference of each element of the spectral sequence 532, such as the L1 norm or the sum of the differences of each element of the spectral sequence 532, may be used. Regarding the processing of step S205, a specific example will be described later.

[0062] <S205: Output of Similarity> Finally, the similarity calculation unit 12 normalizes (standardizes) the value of the L2 norm "c" calculated in step S205 to [0, 1] using a score function "f(x)" as shown in Equation (1). That is, the similarity calculation unit 12 calculates the similarity regarding the two molecular graphs G by normalizing the magnitude of the spectrum sequence 532 to a value between 0 and 1. Then, the similarity calculation unit 12 outputs the result of the normalization as the similarity "f(c)".

[0063] f(x)=4{(1 - s(x))s(x)} ···(1) s(x)=1 / {1 + exp(-rx)}

[0064] Note that the score function does not necessarily have to be the one shown in Equation (1), and any function "F(x)" that satisfies the following requirements (1-1) to (1-3) may be used. Note that "f(x)" in Equation (1) is one of the expressions included in "F(x)". Also, in this embodiment, "r" in Equation (1) is set to "1.0", but the calculated similarity can be adjusted by varying the value of "r".

[0065] [Number]

[0066] [Specific Example of Similarity Calculation] (When the number of atoms is the same) With reference to FIGS. 4A to 4C and FIGS. 11 to 19, a specific example of similarity calculation will be described. First, with reference to FIGS. 4A, 4B, and FIGS. 11 to 15, the case where the number of atoms in two compounds to be calculated for similarity, that is, the number of nodes N in the molecular graph G, is the same will be described. Note that the step numbers in the specific example indicate the step numbers shown in FIG. 10.

[0067] (S201) FIG. 4A shows a molecular graph G1 of water (H2O), and FIG. 4B shows a molecular graph G2 of carbon dioxide.

[0068] The similarity calculation unit 12 receives molecular graphs G1 and G2 of two compounds, i.e., water and carbon dioxide, as a first input and a second input, respectively, as shown in Figures 4A and 4B, and outputs the similarity between the two compounds. Note that, hereinafter, the suffix of the calculation result related to water is "w", and the suffix of the calculation result related to carbon dioxide is "c2".

[0069] (S202) When the first input and the second input are input to the mapping device 1, the similarity calculation unit 12 generates representation matrices "Aw" (3×3 matrix) and "Ac2" (3×3 matrix) of the two input molecular graphs G. The representation matrix "Aw" is shown in table 510 in Fig. 11. Moreover, the representation matrix "Ac2" is shown as table 520 in Fig. 12. The definition of the representation matrices has been described above, so a description thereof will be omitted here.

[0070] (S203) Furthermore, the similarity calculation unit 12 generates a spectral sequence 531a (531: see FIG. 13) "Λw" by arranging the second eigenvalues, which are eigenvalues ​​of the representation matrix "Aw", in descending order of value from the representation matrix "Aw". Each of the values ​​shown in the spectral sequence 531a in FIG. 13 is the second eigenvalue. The set of values ​​shown in the spectral sequence 531a in FIG. 13 is appropriately referred to as "Λw". Similarly, the similarity calculation unit 12 generates a spectral sequence 531b (531: see FIG. 13) "Λc2" by arranging the second eigenvalues, which are eigenvalues ​​of the representation matrix "Ac2", in descending order of value. Each of the values ​​shown in the spectral sequence 531b in FIG. 13 is the second eigenvalue. The set of values ​​shown in the spectral sequence 531b in FIG. 13 is appropriately referred to as "Λc2".

[0071] (S204) Next, the similarity calculation unit 12 compares sets of atoms in the molecular graph G for which similarity is to be calculated. Then, the similarity calculation unit 12 adds the atomic numbers of the missing atoms to the respective spectral sequences 531, and then sorts the elements of the spectral sequence 531 in descending order of value (preprocessing).

[0072] For example, as shown in FIG. 14, the atomic set of water is (H,H,O), and the atomic set of carbon dioxide is (C,O,O). In FIG. 14, the arrows indicate a comparison. Compared to carbon dioxide, water lacks (C,O). Therefore, the similarity calculation unit 12 adds "6.00" and "8.00", which are the atomic numbers of the missing (C,O), to the spectral sequence 531a ("Λw") shown in FIG. 13. After that, the similarity calculation unit 12 arranges (sorts) the spectral sequence 531a with the added atomic numbers in descending order of value. As a result, the spectral sequence 531a ("Λw") shown in FIG. 13 becomes the spectral sequence 532a (532) shown in FIG. 15.

[0073] Thus, in step S204, the similarity calculation unit 12 compares the two molecular graphs G with the spectral sequence 531 in which the second eigenvalues ​​have been sorted. As a result, the similarity calculation unit 12 detects nodes N in the molecular graphs G that are missing from each other. Then, the similarity calculation unit 12 adds a value (atomic number in this embodiment) assigned to the type of the missing node N. Thereafter, the similarity calculation unit 12 generates a spectral sequence 532 by sorting the second eigenvalues ​​constituting the spectral sequence 531 to which the values ​​assigned to the types of the node N in the molecular graph G have been added, and the values ​​in descending order.

[0074] In the spectral sequence 532a of FIG. 15, "8.00" and "6.00" are added elements.

[0075] Similarly, referring to the molecular graphs G1 and G2 (G) shown in Fig. 14, carbon dioxide lacks (H, H) compared to water. Therefore, the similarity calculation unit 12 adds "1.00" and "1.00", which are the atomic numbers of the missing (H, H), to the spectral sequence 531b ("Λc2") shown in Fig. 13. Thereafter, the similarity calculation unit 12 arranges (sorts) the spectral sequence 531b with the added atomic numbers in descending order of value. As a result, the spectral sequence 531b ("Λc2") shown in Fig. 13 becomes the spectral sequence 532b shown in Fig. 15.

[0076] In spectral sequence 532b of FIG. 15, the two "1.00"s are added elements.

[0077] (S205) The similarity calculation unit 12 then regards the spectral sequence 532 as a vector and calculates the L2 norm of the difference between the two spectral sequences 532 to calculate the difference value “c” of the spectral sequences 532. The L2 norm of the spectral sequence 532a (“Λw”) and the spectral sequence 532b (“Λc2”) is given by the following formula (11).

[0078]

number

[0079] Specifically, "c" is calculated using the following equation (11-1).

[0080] c={(8.27-10.0) 2 +(8.00-8.00) 2 +(6.00-6.00) 2 +(1.00-1.00) 2 +(0.73-1.00) 2} 1 / 2 =1.75 (11-1)

[0081] (S206) Furthermore, the similarity calculation unit 12 calculates the similarity "f(c)=0.504" by substituting "c" for "x" in the score function "f(x)" shown in equation (1).

[0082] (When the number of atoms is different) Next, with reference to Figures 4A, 4C, 11, and 16 to 19, a case will be described in which the number of atoms in two compounds to be subjected to similarity calculation, i.e., the number of nodes N in the molecular graph G, is different. The step numbers in this specific example are the step numbers in Figure 10.

[0083] (S201) As described above, FIG. 4A is a diagram showing the molecular graph G1 of water (H2O), and FIG. 4C is a diagram showing the molecular graph G3 of carbon monoxide. 4A and 4B, the number of edges E in the molecular graph G indicates the type of covalent bond. That is, one edge E1 (see FIG. 4A) indicates a single bond, and two edges E2 (see FIG. 4B and FIG. 4C) indicate a double bond.

[0084] The similarity calculation unit 12 receives molecular graphs G of two compounds, namely water and carbon monoxide, as a first input and a second input, as shown in Figures 4A and 4C, respectively, and outputs the similarity between the two compounds. Note that, hereinafter, the suffix of the calculation result related to water is "w", and the suffix of the calculation result related to carbon monoxide is "c1".

[0085] (S202) When the first input and the second input are input to the mapping device 1, the similarity calculation unit 12 generates representation matrices "Aw" (3×3 matrix) and "Ac1" (3×3 matrix) of the two input molecular graphs G. The representation matrix "Aw" is shown as table 510 in Fig. 11. Moreover, the representation matrix "Ac1" is shown as table 540 in Fig. 16.

[0086] Furthermore, the similarity calculation unit 12 generates a spectral sequence 531a (531) "Λw" shown in Fig. 17 by arranging the second eigenvalues, which are the eigenvalues ​​of the representation matrix "Aw", from the representation matrix "Aw". Similarly, the similarity calculation unit 12 generates a spectral sequence 531c (531) "Λc1" shown in Fig. 17 by arranging the second eigenvalues, which are the eigenvalues ​​of the representation matrix "Ac1".

[0087] (S204) Next, the similarity calculation unit 12 compares sets of atoms in the molecular graph G for which similarity is to be calculated. Then, the similarity calculation unit 12 adds the atomic numbers of the missing atoms to the respective spectral sequences 531, and sorts the elements of the spectral sequence 531 to which the atomic numbers have been added in descending order of value (preprocessing).

[0088] For example, as shown in the molecular graphs G1 and G3 (G) in FIG. 18, the atomic set of water is (H,H,O), and the atomic set of carbon monoxide is (C,O). In FIG. 18, the arrows indicate a comparison. Compared to carbon monoxide, water lacks (misses) "C". Therefore, the similarity calculation unit 12 adds "6", which is the atomic number of the missing "C", to the spectral sequence 531a ("Λw") shown in FIG. 17. After that, the similarity calculation unit 12 sorts the spectral sequence 531a with the added atomic number in descending order of element value. As a result, the specific form of the spectral sequence 531a ("Λw") shown in FIG. 17 becomes the spectral sequence 532d (532) shown in FIG. 19.

[0089] In the spectral sequence 532d of FIG. 19, "6.00" is the added element.

[0090] Similarly, as shown in Fig. 18, carbon monoxide is deficient (missing) in (H,H) compared to water. Therefore, the similarity calculation unit 12 adds "1.00" and "1.00", which are the atomic numbers of the missing (H,H), to the spectral sequence 531c ("Λc1") shown in Fig. 17. Thereafter, the similarity calculation unit 12 sorts the spectral sequence 531c with the added atomic numbers in descending order of element value. As a result, the specific form of the spectral sequence 531c ("Λc1") shown in Fig. 17 becomes the spectral sequence 532c (532) shown in Fig. 19.

[0091] In the spectral sequence 532c of FIG. 19, the two "1.00"s are added elements.

[0092] (S205) The similarity calculation unit 12 then regards the spectral sequence 532 as a vector and calculates the L2 norm of the difference between the two spectral sequences 532 to calculate the difference value “c” between the spectral sequences 532. The specific value of “c” is given by the following equation (21).

[0093]

number

[0094] Specifically, “c” is calculated using the following equation (21-1).

[0095] c = {(8.27-9.24) 2 +(6.00-4.76) 2 +(1.00-1.00) 2 +(0.73-1.00) 2} 1 / 2 =1.60 (21-1)

[0096] (S205) Furthermore, the similarity calculation unit 12 calculates the similarity "f(c)=0.589" by substituting "c" for "x" in the score function "f(x)" shown in equation (1).

[0097] In this embodiment, mapping is performed based on the similarity between compounds. However, the present invention is not limited to this. The mapping method shown in this embodiment can be applied to factory piping, electronic circuits, and road networks as described below.

[0098] FIG. 20 is an example of a piping configuration of a factory expressed as a structure graph G11 (graph). The structure graph G11 is a graph of the piping structure. The structure graph G11 corresponds to a molecular graph G, and the devices constituting the piping structure are nodes N, and the pipes connecting the devices are edges E. The value assigned to the edge E is a value arbitrarily assigned to the pipe corresponding to the edge E. For example, the value assigned to the edge E may be the flow rate of the liquid flowing inside the pipe, or the thickness of the pipe multiplied by "-1". The value assigned to the node N is a value uniquely assigned to the type of equipment. The value assigned to the node N may be any value as long as it can distinguish the type of equipment. For example, "1" is assigned to a pump, which is a specific object, "2" is assigned to "equipment A", which is a specific object, and "3" is assigned to "equipment B", which is a specific object.

[0099] FIG. 21 is an example of an electronic circuit expressed as a structural graph G12 (graph). The structural graph G12 is an electronic circuit expressed as a graph. The structural graph G12 corresponds to a molecular graph G, in which electronic circuit components (predetermined objects) that constitute the electronic circuit are regarded as nodes N, and wiring that connects the electronic circuit components is regarded as edges E. As shown in FIG. 21, possible electronic circuit components include IC (Integrated Circuit) chips, transistors, resistors, etc. However, electronic circuit components are not limited to IC chips, transistors, and resistors.

[0100] The value assigned to edge E is a value arbitrarily assigned to the wiring corresponding to edge E. For example, the values ​​assigned to edge E could all be "-1", or the value of the current flowing through the wiring multiplied by "-1". The value assigned to node N is a value uniquely assigned to the type of electronic circuit component. The value assigned to node N can be any value that can distinguish the electronic circuit component. For example, "1" is assigned to an IC chip, "2" is assigned to a transistor, and "3" is assigned to a resistor.

[0101] In the example shown in Fig. 20, devices corresponding to node N in the piping structure, such as a pump, "device A", and "device B", correspond to the predetermined object. In the example shown in Fig. 21, electronic circuit components, such as IC chips, transistors, and resistors, correspond to the predetermined object.

[0102] The method of this embodiment can be applied to road networks other than the examples shown in Figs. 20 and 21. When expressing a road network as a graph, intersections, T-junctions (predetermined objects), etc. become nodes N, and roads extending from intersections become edges E. The values ​​assigned to edges E can be all "-1" or the average traffic volume of the road multiplied by "-1". The value of node N is a value that is uniquely assigned to intersections and T-junctions. For example, "1" is assigned to a T-junction, "2" is assigned to a crossroad, and "3" is assigned to a five-way intersection. The value of node N may also be differentiated depending on the presence or absence of traffic lights, etc.

[0103] FIG. 22 is a diagram showing an example of expressing the relationship between people as a structure graph G13 (graph). The structure graph G13 is a graph of the relationship between certain people. The structure graph G13 corresponds to the molecular graph G, and the people constituting the relationship between people are nodes N, and the relationship between people is edges E. That is, a certain person is assigned to the node N of the structure graph G13. In this case, for example, the value of the node N may be the age of the person, and the edge E may be the intimacy between people calculated from a certain index. However, this is an example, and the value of the node N is not limited to the age of the person, and the edge E is not limited to the intimacy. In this way, the node N in this embodiment may be an attribute of a person or a living thing, not limited to an object.

[0104] FIG. 23 is a diagram showing an example of the relationship of the work site expressed as a structure graph G14 (graph). The structure graph G14 is a graph of the relationship of the work site, which is the relationship between predetermined events. The structure graph G14 corresponds to the molecular graph G, and the work constituting the relationship of the work site, which is the predetermined event, is set as a node N, and the relationship between the work is set as an edge E. That is, a predetermined event is assigned to the node N of the structure graph G13. In this case, for example, the value of the node N may be the work efficiency calculated from a predetermined index, and the edge E may be the relevance of the work content calculated from a predetermined index. The relevance of the work content may be, for example, the similarity of the work process (how many work processes with the same content exist). However, this is an example, and the value of the node N is not limited to the work efficiency, and the edge E is not limited to the relevance of the work content. In this way, the node N in this embodiment is not limited to a tangible object, and may be an attribute of a work, a place, or an event.

[0105] After the factory piping, electronic circuits, road networks, etc. are represented as graphs, the structural similarities of the factory piping, electronic circuits, and road networks can be mapped by performing processing similar to that from S2 onwards in Figure 3.

[0106] In this embodiment, examples have been shown in which structural similarities between compounds, factory piping configurations, electronic circuits, and road networks are applied to the mapping method of this embodiment. However, the mapping method of this embodiment can be applied to other things than compounds, factory piping configurations, electronic circuits, and road networks, as long as they can be expressed as graphs and values ​​assigned to nodes N and edges E can be defined.

[0107] In this way, by mapping the structural similarity of a factory's piping configuration, electronic circuits, and road networks, it becomes possible to screen piping, electronic circuit products, road networks, etc. that have similar structures.

[0108] FIG. 24 is a diagram showing an example of the structure graph G15. In FIG. 24, a node N of the structure graph G15 is assigned with "device A" as a predetermined object, "person A" as a predetermined person, and "task A" as a predetermined event. In this way, a graph in which objects, people, and events are mixed may be used as the node N of the graph. In such a case, an arbitrary number or the like may be assigned to the node N. Also, a quantified value of the relationship between a person and a task, or the relationship between a device and a task, may be assigned to the edge E of the graph. For example, a user may arbitrarily evaluate the relationship between a person and a task on a scale of 10 (not limited to 10) as a value assigned to the edge E. The same applies to the value assigned to the edge E as the relationship between the device and the task, and the value assigned to the edge E indicating the relationship between a person and a device, although not shown in FIG. 24.

[0109] 25, "person A" (a specific person), "task A" and "task B" (specific tasks) are assigned to node N of structure graph G16. The value assigned to edge E in such a case may be set in the same way as in the above case. In Fig. 24, a device as a predetermined object, a person as a predetermined object, and a task as a predetermined event are all assigned to node N of structure graph G15. However, any two of these may be assigned to node N as shown in Fig. 25. In addition, the predetermined object is not limited to a compound, a device, an electronic circuit component, or an element constituting a road network (such as a crossroads), and the predetermined event is not limited to a task.

[0110] In this way, at least one of a predetermined event, a predetermined person, and a predetermined object is assigned to a node N of a graph such as the molecular graph G or the structure graphs G11 to G16. Incidentally, the molecular graph G is one form of the structure graphs G11 to G16.

[0111] According to this embodiment, in the mapping result, it is possible to map objects having similar structures (compounds, piping structures, electronic circuits) closer than in the conventional methods. In this way, according to this embodiment, it is possible to visualize similarities based on the graph structures.

[0112] Furthermore, it is possible to map things represented as graphs based on the structural similarity of the graph structures. In this way, things that can be represented as graphs can be clustered. In other words, according to the method used in this embodiment, by mapping graph data onto a plane or space, it is possible to universally apply clustering analysis, which is a general analytical method, to graph data.

[0113] Furthermore, in this embodiment, when mapping to the mapping coordinates 400 based on the third similarity matrix, the first eigenvector 310 is selected in the order of the largest first eigenvalue 301. This operation is nothing more than "regarding the value of the first eigenvector 310 having the smallest first eigenvalue 301 as zero."

[0114] Moreover, the first eigenvalue 301 indicates the contribution rate. Selecting and acquiring the first eigenvalue 301 means excluding small first eigenvalues ​​301. By excluding small first eigenvalues ​​301, i.e., those having a small contribution rate in the third similarity matrix, it is possible to perform low-dimensional and approximate projection. In particular, by applying such a method to graph data, it is possible to project the graph data onto the mapping coordinates 400 in a low-dimensional and approximate manner.

[0115] A first similarity matrix is ​​generated, whose components are the similarities between the molecular graphs G, and a second similarity matrix is ​​calculated based on the first similarity matrix. A Young-Hausdorff transformation is then performed on the second similarity matrix to calculate a third similarity matrix. In this way, when the components of the second similarity matrix are regarded as distances between compounds, the transformation can be performed so that each distance becomes a distance with the center of gravity as the origin.

[0116] However, the second similarity matrix and the third similarity matrix do not necessarily have to be calculated. The first eigenvalue 301 and the first eigenvector 310 may be calculated directly from the first similarity matrix, or a transformation other than the Young-Hausdorff transformation may be performed.

[0117] Based on the chemical principle that "compounds with similar structures have similar properties," the method used in this embodiment allows the compound space to be visualized with higher accuracy.

[0118] The technology described in Non-Patent Documents 1-2 requires information such as charge information in addition to the structure of the compound. In addition, in the technology described in Non-Patent Documents 1-2, compounds similar to the target compound are output in a list format as an output result. Therefore, the user cannot check the similarity between compounds other than the target compound.

[0119] In contrast, the method according to the present embodiment can extract the structural similarity of compounds from only the structures of the compounds. Furthermore, the method according to the present embodiment can allow the user to easily visually recognize the structural similarity between any compounds by performing mapping as shown in FIG.

[0120] The present invention is not limited to the above-described embodiment, and includes various modified examples. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to all of the configurations described.

[0121] Further, the above-mentioned configurations, functions, graph generating unit 11 to mapping processing unit 15, data storage device 103, etc. may be realized in hardware by designing some or all of them as an integrated circuit, for example. As shown in Fig. 2, the above-mentioned configurations, functions, etc. may be realized in software by a processor such as a CPU (arithmetic unit 102) interpreting and executing a program that realizes each function. Information such as the program, table, file, etc. that realizes each function can be stored in a HD, or in a memory, a recording device such as an SSD, or a recording medium such as an IC (Integrated Circuit) card, an SD (Secure Digital) card, or a DVD (Digital Versatile Disc).

[0122] In addition, in each embodiment, the control lines and information lines are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]

[0123] 1. Mapping Equipment 11 Graph Generation Unit 12 Similarity calculation unit 13 Similarity matrix generator 14 Calculation section 15 Mapping processing section 101 Main storage 102 Arithmetic equipment 103 Data storage device 104 Input Devices 105 Output device (output section) 200 table (first similarity matrix) 201 Sign (similarity) 210 table (second similarity matrix) 220 table (third similarity matrix) 301 First eigenvalue 310 First Eigenvector 321~323 Solid line frame 331~333 dashed frame 401 code 402 code 403 code 510 Table (expression matrix) 520 table (expression matrix) 531, 531a~531c Spectral sequence (second eigenvalue) 532,532a~532c Spectral series G,G1~G3 molecular graphs (graphs, where given objects are assigned to nodes) G11, G12 Structure graph (graph, a graph in which given objects are assigned to nodes) G13 Structure graph (graph, where given persons are assigned to nodes) G14 Structure graph (graph, a graph in which given events are assigned to nodes) G15 Structure Graph (a graph in which nodes are assigned specific events, specific people, and specific objects) G16 Structure graph (graph, given events and given people assigned to nodes) E,E1,E2 edges N-node S1 Molecular graph generation (graph generation step) S2 Similarity calculation process (similarity calculation step) S3 First similarity matrix generation (similarity matrix generation step) S6 Calculation of the first eigenvalue and the first eigenvector (calculation step) S7 Mapping process (mapping process step) S8 Output processing (mapping processing step)

Claims

1. a graph generator for generating a graph showing connections between predetermined objects; a similarity calculation unit for calculating a similarity between the two graphs; a similarity matrix generation unit that generates a first similarity matrix, the first similarity matrix being a matrix having the similarities of the plurality of graphs as matrix elements; a calculation unit that calculates a plurality of first eigenvalues ​​based on the first similarity matrix and calculates a plurality of first eigenvectors corresponding to the first eigenvalues, respectively; a mapping processing unit that acquires a predetermined number of the first eigenvalues ​​in descending order of size, maps the first eigenvalues ​​onto a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the acquired first eigenvalues, and outputs the mapping results to an output unit; A mapping device comprising:

2. The mapping processing unit: When mapping the first eigenvector to an n-dimensional coordinate, n first eigenvalues ​​are obtained in order from the largest first eigenvalue among the first eigenvalues; Among the first eigenvectors, n first eigenvectors corresponding to the acquired first eigenvalues ​​are acquired; Mapping corresponding components among the obtained first eigenvectors to n-dimensional coordinates.

2. The mapping device of claim 1.

3. The calculation unit is generating a second similarity matrix by subtracting the first similarity matrix from a matrix having the same number of rows and columns as the first similarity matrix and in which all components are 1; performing a Young-Householder transformation on the second similarity matrix to generate a third similarity matrix; Calculating the first eigenvalue, which is an eigenvalue of the third similarity matrix, and the first eigenvector, which is an eigenvector of the third similarity matrix 2. The mapping device of claim 1.

4. The similarity calculation unit is generating a representation matrix based on the two graphs; Calculating a plurality of second eigenvalues ​​which are eigenvalues ​​of the representation matrix; By comparing the two graphs with the aligned spectral sequence of the second eigenvalue, nodes of the graphs that are missing from each other are detected, and values ​​assigned to the types of the missing nodes are added; sorting the second eigenvalues ​​constituting a spectral sequence to which values ​​assigned to the types of the nodes of the graph have been added, and the values ​​in descending order; The magnitude of the aligned spectral sequence is calculated by considering the spectral sequence as a vector; The magnitude of the spectral sequence is normalized to a value between 0 and 1 to calculate the similarity between the two graphs.

2. The mapping device of claim 1.

5. If the components of the representation matrix are aij, then For i=j, aij is the value assigned to the node in the graph; When i≠j, if there is an edge connecting the node indicated by i and the node indicated by j, aij is the negative value of the value assigned to the edge, and if there is no edge connecting the node indicated by i and the node indicated by j, aij is 0.

5. The mapping device according to claim 4.

6. The graph is a graph of a compound, the atoms constituting the compound are the nodes, and the covalent bonds in the compound are the edges, the value assigned to the node is the atomic number of the atom corresponding to the node; The value assigned to the edge corresponds to the type of covalent bond that corresponds to the edge.

6. The mapping device according to claim 5.

7. The graph is a graph representing a piping structure, with devices constituting the piping structure being the nodes, and piping connecting the devices being the edges, the value assigned to the node is a value that is uniquely assigned to a type of device, The value assigned to the edge is a value arbitrarily assigned to the pipe corresponding to the edge.

6. The mapping device according to claim 5.

8. The graph is an electronic circuit, with electronic circuit components constituting the electronic circuit being the nodes, and wiring connecting the electronic circuit components being the edges, the value assigned to the node is a value uniquely assigned to a type of electronic circuit component, The value assigned to the edge is a value arbitrarily assigned to the wiring corresponding to the edge.

6. The mapping device according to claim 5.

9. a graph generator for generating a graph composed of nodes and edges; a similarity calculation unit for calculating a similarity between the two graphs; a similarity matrix generation unit that generates a first similarity matrix, the first similarity matrix being a matrix having the similarities of the plurality of graphs as matrix elements; a calculation unit that calculates a plurality of first eigenvalues ​​based on the first similarity matrix and calculates a plurality of first eigenvectors corresponding to the first eigenvalues, respectively; a mapping processing unit that acquires a predetermined number of the first eigenvalues ​​in descending order of size, maps the first eigenvalues ​​onto a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the acquired first eigenvalues, and outputs the mapping results to an output unit; having At least one of a predetermined event, a predetermined person, and a predetermined object is assigned to the node. A mapping device comprising:

10. The mapping device a graph generation step of generating a graph showing connections between given objects; a similarity calculation step of calculating a similarity between the two graphs; a similarity matrix generating step of generating a first similarity matrix which is a matrix having the similarities of the plurality of graphs as matrix elements; a calculation step of calculating a plurality of first eigenvalues ​​based on the first similarity matrix and calculating a plurality of first eigenvectors corresponding to the first eigenvalues; a mapping process step of acquiring a predetermined number of the first eigenvalues ​​in descending order, mapping the acquired first eigenvalues ​​on a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the respective acquired first eigenvalues, and outputting the mapping results to an output unit; A mapping method comprising:

11. The mapping device a graph generation step of generating a graph composed of nodes and edges; a similarity calculation step of calculating a similarity between the two graphs; a similarity matrix generating step of generating a first similarity matrix which is a matrix having the similarities of the plurality of graphs as matrix elements; a calculation step of calculating a plurality of first eigenvalues ​​based on the first similarity matrix and calculating a plurality of first eigenvectors corresponding to the first eigenvalues; a mapping process step of acquiring a predetermined number of the first eigenvalues ​​in descending order, mapping the acquired first eigenvalues ​​on a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the respective acquired first eigenvalues, and outputting the mapping results to an output unit; Run At least one of a predetermined event, a predetermined person, and a predetermined object is assigned to the node. A mapping method comprising:

12. The mapping device is a computer. a graph generation step of generating a graph showing connections between given objects; a similarity calculation step of calculating a similarity between the two graphs; a similarity matrix generating step of generating a first similarity matrix which is a matrix having the similarities of the plurality of graphs as matrix elements; a calculation step of calculating a plurality of first eigenvalues ​​based on the first similarity matrix and calculating a plurality of first eigenvectors corresponding to the first eigenvalues; a mapping process step of acquiring a predetermined number of the first eigenvalues ​​in descending order, mapping the acquired first eigenvalues ​​on a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the respective acquired first eigenvalues, and outputting the mapping results to an output unit; A mapping program for executing the above to function as a mapping device.

13. The mapping device is a computer. a graph generation step of generating a graph composed of nodes and edges; a similarity calculation step of calculating a similarity between the two graphs; a similarity matrix generating step of generating a first similarity matrix which is a matrix having the similarities of the plurality of graphs as matrix elements; a calculation step of calculating a plurality of first eigenvalues ​​based on the first similarity matrix and calculating a plurality of first eigenvectors corresponding to the first eigenvalues; a mapping process step of acquiring a predetermined number of the first eigenvalues ​​in descending order, mapping the acquired first eigenvalues ​​on a coordinate system based on coordinate values ​​calculated based on the first eigenvectors corresponding to the respective acquired first eigenvalues, and outputting the mapping results to an output unit; Run the command, At least one of a predetermined event, a predetermined person, and a predetermined object is assigned to the node. A mapping program that allows the device to function as a mapping device.

Citation Information

Patent Citations

  • Content guiding device and method, program, and information storage medium

    JP2007124266A

  • Personal relation graph creation device, content retrieval device, personal relation graph creation program, and content retrieval program

    JP2008112432A

  • Gene clustering program, gene clustering method, and gene cluster analyzing device

    JP2010157214A

  • Information processing device

    JP2015166991A

  • Deep neural network system for similarity-based graph representations

    US20190354689A1