Vector estimation program, vector estimation device, and vector estimation method
The method addresses inefficiencies in updating KG embedding models by estimating vectors for new entities using a vector generation model, integrating peripheral nodes or re-training, ensuring efficient and high-quality vector representation for AI tasks.
Patent Information
- Application Number
- JP2020216980
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-25
AI Technical Summary
Existing KG embedding models face challenges in updating vectors efficiently when the knowledge graph is updated, as performing machine learning on the entire graph for partial updates is inefficient and difficult.
A method to estimate vectors for new entities by integrating peripheral nodes or re-training the KG embedding model, using a vector generation model based on existing entity information and new entity features, without requiring full re-learning of the entire graph.
Enables efficient estimation of vectors for new entities, reducing computational overhead and maintaining high-quality vector representations for AI tasks like knowledge completion and link estimation.
Smart Images

Figure 0007543903000006 
Figure 0007543903000011 
Figure 0007543903000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a vector estimation program, a vector estimation device, and a vector estimation method. [Background technology]
[0002] AI (Artificial Intelligence) tasks that make knowledge-based decisions are known. Examples of the use of such AI tasks include knowledge completion and link inference that estimate the likelihood of unknown facts, entity classification that estimates the category to which a target object belongs, and question answering based on knowledge search.
[0003] Knowledge may be represented, for example, by embedding knowledge in a knowledge graph (KG), which is an example of a knowledge base (KB) that collects information from various sources.
[0004] The KG may be a graph representation, in other words, graph structure data, including multiple entities (which may be referred to as "entities") representing multiple pieces of knowledge, such as multiple nodes, and relationships, such as edges, between the multiple nodes.
[0005] A KG embedding for representing knowledge represents an entity on a KG as a low-dimensional vector, and may be referred to as a "KG embedding vector," "embedding vector," or simply a "vector." The KG embedding may be obtained by machine learning based on structural information of the KG and may be used for various inferences. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] U.S. Pat. No. 10,157,226 Summary of the Invention [Problem to be solved by the invention]
[0007] KGs are updated based on new knowledge. However, it is unrealistic to machine-train a KG embedding model to obtain a KG embedding vector every time the KG is updated. In addition, KG embedding models are often machine-trained taking into account the structure of the entire graph, which can make it difficult to re-machine train a part of the graph.
[0008] In one aspect, an object of the present invention is to make it possible to estimate a vector corresponding to a second entity from a vector generated using a model based on graph structure data indicating the relationships between a group of first entities. [Means for solving the problem]
[0009] In one aspect, the vector estimation program may cause a computer to execute the following processes. The processes may include a process of acquiring a first vector and second entity information. The first vector may be generated by using a first model based on graph structure data indicating a relationship between the first entity group acquired based on first entity information related to the first entity group. The second entity information may be an updated version of the first entity information and may be information regarding the first entity group and a second entity not included in the first entity group. The processes may also include a process of generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector. The processes may also include a process of estimating a second vector corresponding to the second entity using the generated second model. Effect of the Invention
[0010] In one aspect, the present invention can make it possible to estimate a vector corresponding to a second entity from a vector generated using a model based on graph structure data indicating relationships between a first entity group. [Brief description of the drawings]
[0011] [Figure 1] FIG. 11 is a diagram for explaining an example of a first technique. [Diagram 2] FIG. 11 is a diagram for explaining an example of the premise (b) of the first and second techniques. [Diagram 3] FIG. 13 is a diagram illustrating an example of a case in which it becomes difficult to obtain a vector for a non-existent entity during machine learning. [Figure 4] FIG. 1 is a diagram showing an example of a KG. [Diagram 5] FIG. 11 is a diagram illustrating an example of a process performed by a server according to an embodiment. [Figure 6] FIG. 2 is a block diagram illustrating an example of a functional configuration of a server according to an embodiment. [Figure 7] FIG. 13 is a diagram illustrating an example of parameters of a vector generation model. [Figure 8] 11 is a flowchart illustrating an example of the operation of a machine learning process of a server according to an embodiment. [Figure 9] 11 is a flowchart illustrating an example of an operation of a vector estimation process of a server according to an embodiment. [Figure 10] FIG. 2 is a block diagram showing an example of a hardware (HW) configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. However, the embodiment described below is merely an example, and is not intended to exclude various modifications or application of techniques not specified below. For example, this embodiment can be modified in various ways without departing from the spirit of the invention. In the drawings used in the following description, parts with the same reference numerals represent the same or similar parts unless otherwise specified.
[0013] [1] One embodiment As an example of a method for acquiring vectors for entities that do not exist during machine learning, there is the first method of integrating surrounding nodes.
[0014] Fig. 1 is a diagram for explaining an example of the first method. As shown in Fig. 1, when a computer machine-learns a KG embedding model, the computer machine-learns a model including a mechanism for integrating KG embedding vectors of known peripheral nodes 100a to 100d to calculate a vector of an unknown target node 100e.
[0015] According to the first method, even if the vector of the target node 100e does not exist at the time of machine learning of the model, the computer can calculate the vector of the target node 100e by integrating the vectors of the peripheral nodes 100a to 100d. The first method may be realized by, for example, one or both of the methods described in “Knowledge Transfer for Out-of-Knowledge-Based Entities: A Graph Neural Network Approach, Takuo Hamaguchi et al., IJCAI 2017” and “Logic Attention Based Neighborhood Aggregation for Inductive Knowledge Graph Embedding, Peifeng Wang et al., AAAI 2019”.
[0016] Another example of a method for acquiring vectors for entities that do not exist during machine learning is the second method of performing model re-machine learning.
[0017] In the second method, the computer re-trains the KG embedding model according to the update of the graph. The second method may be realized, for example, by the method described in “Enriching Translation-Based Knowledge Graph Embeddings Through Continual Learning, Hyun-Je Song et al., IEEE Access 2018, October 2018”.
[0018] The above-mentioned first and second techniques are based on the following (a) and (b). (a) The computer performs machine learning using a model that corresponds to the update of the KG. In other words, the computer uses a model that takes into account the integration of nodes during the original embedding machine learning. (b) As illustrated in FIG. 2, the computer can access the embedding model 200 during machine learning when calculating the vector ve of a new entity e.
[0019] However, in the above-described first and second methods, in the following cases (A) or (B), it may be difficult to obtain a vector for an entity that does not exist during machine learning.
[0020] (A) In (a) above, the machine-learned KG embedding model does not take into account KG updates. As a model, a static graph embedding such as TransE is often used. Therefore, if the original model does not support dynamic graph updates, it may be difficult to extend the original embedding model to unknown entities even if the original embedding model is of high quality.
[0021] (B) As illustrated in FIG. 3, when calculating the vector ve of a new entity e, the embedding model 200 during machine learning cannot be accessed. An example of the above (B) is a case where only the machine-learned vector 300, and not the machine-learned model 200, is distributed.
[0022] Therefore, a computer according to one embodiment machine-learns a model for estimating a new embedding vector based on embedding vector information for an existing graph, and estimates a new embedding vector using the model.
[0023] Fig. 4 is a diagram showing an example of a KG 400. As shown in Fig. 4, in the KG 400 expressing the embedded machine-learned known knowledge 410, the address of node 411 (Mr. A) is node 412 (Tokyo), the affiliation of node 411 is node 413 (Company A), and the location of node 413 is node 414 (Shiodome). Also, in the KG 400, there exists node 415 (Hokkaido) indicating the address and node 416 (Company B) indicating the affiliation, and the location of node 416 is node 417 (Kawasaki).
[0024] For example, in one embodiment, a method is described in which an embedding vector for an entity that did not exist during machine learning (e.g., node 421 (Mr. B), which is unknown knowledge 420) is calculated while suppressing re-machine learning of the entire KG 400. This makes it possible to estimate an embedding vector for unknown knowledge 420, and the estimated embedding vector can be used for various inferences in AI tasks, such as knowledge complementation and link inference, entity classification, and question and answering.
[0025] [1-1] Description of a server according to one embodiment Fig. 5 is a diagram for explaining an example of processing by the server 1 according to an embodiment. The server 1 is an example of an information processing device or a computer. As illustrated in Fig. 5, the server 1 according to an embodiment may execute the following processes (1) to (3).
[0026] (1) The server 1 may obtain a first vector 11 and second entity information 12.
[0027] The first vector 11 may be generated using the first model 11c based on graph structure data indicating the relationship of the first entity group 11a obtained based on the first entity information 11b related to the first entity group 11a. For example, the first vector 11 may be generated by the server 1, or may be provided from outside the server 1, for example, from a computer different from the server 1.
[0028] The second entity information 12 may be an updated version of the first entity information 11b, and may be entity information related to the first entity group 11a and a second entity 12a that is not included in the first entity group 11a.
[0029] (2) The server 1 may execute a second model generation process P1 to generate a second model 13 for obtaining vector data from the second entity information 12 based on information of the first entity group contained in the second entity information 12 and the first vector 11.
[0030] (3) The server 1 may execute a second vector estimation process P2 that uses the generated second model 13 to estimate a second vector 14 corresponding to the second entity.
[0031] This enables the server 1 to estimate a second vector 14 corresponding to the second entity 12a from a first vector 11 generated using a first model 11c based on graph structure data indicating the relationship between the first entity group 11a.
[0032] [1-2] Example of functional configuration Fig. 6 is a block diagram showing an example of a functional configuration of a server 1 according to an embodiment. As shown in Fig. 6, the server 1 may exemplarily include a memory unit 2, an acquisition unit 3, a machine learning unit 4, and a vector estimation unit 5. The acquisition unit 3, the machine learning unit 4, and the vector estimation unit 5 are examples of a control unit.
[0033] The memory unit 2 is an example of a storage area, and stores various data used by the server 1. As shown in Fig. 6, the memory unit 2 may be capable of storing, for example, an existing entity embedding vector 21, existing entity input information 22, a vector generation model 23, new entity input information 24, and a new entity embedding vector 25.
[0034] The acquisition unit 3 acquires the existing entity embedding vector 21, the existing entity input information 22, and the new entity input information 24, and stores them in the memory unit 2. For example, the acquisition unit 3 may acquire the existing entity embedding vector 21 using a machine-learned KG embedding model based on graph structure data indicating the relationship between the entities acquired based on the entity information related to the existing entities. The existing entities are an example of the first entity group shown in FIG. 5.
[0035] The entity information on the existing entity group may be, for example, existing knowledge. The graph structure data may be, for example, data in which the existing knowledge is represented by a graph using a KG. The existing entity embedding vector 21 may be, for example, embedding vector information for an existing KG, and is an example of the first vector 11 shown in FIG. 5. The machine-learned KG embedding model is an example of the first model 11c shown in FIG. 5.
[0036] In addition, instead of generating the existing entity embedding vector 21, the acquisition unit 3 may receive the existing entity embedding vector 21 from outside the server 1 (for example, a computer) via a network (not shown) and store it in the memory unit 2.
[0037] The existing entity input information 22 may be, for example, a feature for an entity on an existing KG, and the new entity input information 24 may be, for example, a feature for a new (unknown) entity, in other words, an entity to be estimated. The new entity to be estimated is an example of the second entity 12a shown in FIG. 5. Moreover, the existing entity input information 22 is an example of the first entity information 11b shown in FIG. 5, and the existing entity input information 22 and the new entity input information 24 are examples of the second entity information 12 shown in FIG. 5.
[0038] The feature may include, for example, a graph structure around the target node, such as information on an entity (linked entity) linked to a node (entity node) of an existing or estimated entity. The feature may also include label text added to each entity node, title and / or category information of a web page, etc. The feature as the new entity input information 24 may be different from the feature used in the machine-learned KG embedding model.
[0039] In the machine learning phase, the machine learning unit 4 executes a machine learning process for machine learning a vector generation model 23 for estimating a new entity embedding vector 25 based on the existing entity embedding vector 21 and the existing entity input information 22. The machine learning process is an example of the second model generation process P1 shown in Fig. 5. The vector generation model 23 is an example of the second model 13 shown in Fig. 5, and the new entity embedding vector 25 is an example of the second vector 14 shown in Fig. 5.
[0040] For example, the machine learning unit 4 may perform machine learning to learn a vector generation model 23 that generates a vector similar to the existing entity embedding vector 21 from the feature amount included in the existing entity input information 22 for an entity on the existing KG.
[0041] In the following description, it is assumed that the existing entity input information 22 is a feature amount including the page title of a web page and a linked entity.
[0042] Fig. 7 is a diagram showing an example of parameters of the vector generation model 23. As shown in Fig. 7, the parameters of the vector generation model 23 may include, for example, processing layers of an encoder 23a, a plurality of transforms 23b (three in the example of Fig. 7), a pooling 23c, and a decoder 23d.
[0043] The encoder 23a receives the text of the page title (written as "title") from the feature amount of the existing entity input information 22, encodes the text, and outputs the result to the decoder 23d.
[0044] A plurality of transforms 23b are provided for each of the link destination entities (denoted as "e1", "e2", and "e3"), and convert the information of each of the link destination entities.
[0045] The pooling unit 23c performs a convolution process on the outputs from the multiple transforms 23b.
[0046] The decoder 23d outputs an estimated vector ve based on the outputs from the encoder 23a and the pooling 23c. The estimated vector ve is an example of an estimated value of an embedding vector of an input existing entity.
[0047] The configuration of each processing layer of the vector generation model 23 is not limited to the configuration exemplified in FIG. 7, and may be changed according to parameters that are the feature quantities of the existing entity input information 22.
[0048] The machine learning unit 4 may perform machine learning of the vector generation model 23, for example, updating parameters, so as to reduce the distance L between the existing entity embedding vector 21 and the estimated vector ve output from the vector generation model 23. The distance L may be calculated based on, for example, the following formula (1).
number
[0049] Here, in the above formula (1), n is the total number of entities included in the training data, e is an entity, ve is an estimated vector ve output from the vector generation model 23, and ve* is an existing entity embedding vector 21.
[0050] As an example, the machine learning unit 4 inputs the existing entity input information 22 to a neural network in response to an input of a machine learning instruction to obtain an output. Then, the machine learning unit 4 updates the parameters according to the above formula (1) so as to reduce the error between the output value of the neural network and the existing entity embedding vector 21.
[0051] The machine learning unit 4 ends the machine learning when the machine learning has been executed a predetermined number of times or when the error becomes smaller than a predetermined value, and stores various parameters and the like as a vector generation model 23 in the memory unit 2. Note that the machine learning method may employ various techniques such as an error backpropagation method.
[0052] The vector estimation unit 5 executes a vector estimation process in the estimation phase in response to a vector estimation instruction input after the machine learning unit 4 has performed machine learning on the vector generation model 23. The vector estimation process is an example of the second vector estimation process P2 shown in FIG.
[0053] For example, the vector estimation unit 5 may input new entity input information 24 relating to the entity to be estimated to a machine-learned vector generation model 23, and obtain and output a new entity embedding vector 25 as an output.
[0054] The new entity embedding vector 25 may be output, for example, by storing it in the memory unit 2 or a storage device, transmitting it outside the server 1 via a network not shown, or displaying it on an output device such as a monitor.
[0055] The vector estimation unit 5 may manage the acquired new entity embedding vector 25 by merging it with the existing entity embedding vector 21.
[0056] As described above, according to the server 1 of one embodiment, a new entity embedding vector 25 can be estimated even when the use of a machine-learned KG embedding model based on graph structure data showing the relationships between existing entities is restricted.
[0057] Furthermore, in training the vector generation model 23, the server 1 can use various features as the existing entity input information 22, not limited to the graph structure data indicating the relationship between the existing entities.
[0058] Furthermore, the server 1 does not need to perform machine learning on the entire updated KG from scratch to obtain the new entity embedding vector 25. In other words, the server 1 can use the existing entity embedding vector 21 instead of using a machine-learned KG embedding model (re-machine learning), so that the machine learning of the vector generation model 23 is expected to converge earlier than when re-machine learning is performed.
[0059] As described above, the server 1 trains the vector generation model 23 to directly estimate the new entity embedding vector 25 based on the features common to the entities (nodes) on the existing KG and the entity to be estimated. This makes it possible to use the output result of the vector generation model 23, to which the new entity input information 24 is input, as a substitute for the embedding vector related to the entity to be estimated. Therefore, the embedding vector related to the new entity can be efficiently calculated (obtained).
[0060] [1-3] Example of operation An example of the operation of the server 1 described above will now be described with reference to a flowchart.
[0061] [1-3-1] Machine learning processing FIG. 8 is a flowchart illustrating an example of the operation of the machine learning process of the server 1 according to an embodiment.
[0062] 8, the acquisition unit 3 of the server 1 acquires the existing entity embedding vector 21 and the existing entity input information 22 (step S1) and stores them in the memory unit 2. For example, the acquisition unit 3 may generate the existing entity embedding vector 21 using a KG embedding model of an existing entity, and acquire the existing entity input information 22 corresponding to the existing entity embedding vector 21. Alternatively, the acquisition unit 3 may receive the existing entity embedding vector 21 and the existing entity input information 22 from a computer used by an operator or the like via a network (not shown).
[0063] For example, when a machine learning instruction is input from the acquisition unit 3 or an operator (computer), the machine learning unit 4 refers to the memory unit 2 and performs machine learning of the existing entity input information 22 based on the existing entity embedding vector 21 (step S2). The machine learning unit 4 ends the machine learning when, for example, a predetermined number of machine learning rounds have been performed or when the error between the output value of the neural network and the existing entity embedding vector 21 becomes smaller than a predetermined value. Then, the machine learning unit 4 stores various parameters and the like in the memory unit 2 as a vector generation model 23 (step S3), and the process ends.
[0064] [1-3-2] Vector estimation processing FIG. 9 is a flowchart illustrating an example of the operation of the vector estimation process of the server 1 according to an embodiment.
[0065] 9, the acquisition unit 3 of the server 1 acquires new entity input information 24 (step S11) and stores it in the memory unit 2. For example, the acquisition unit 3 may receive the new entity input information 24 from a computer used by an operator or the like via a network (not shown).
[0066] For example, when a vector estimation instruction is input from the acquisition unit 3 or an operator (computer), the vector estimation unit 5 refers to the memory unit 2 and inputs new entity input information 24 to the machine-learned vector generation model 23. Then, the vector estimation unit 5 acquires a new entity embedding vector 25 as an output from the vector generation model 23 (step S12). The vector estimation unit 5 outputs the new entity embedding vector 25 (step S13), and the process ends.
[0067] [1-4] Hardware configuration example The server 1 according to an embodiment may be a virtual server (VM; Virtual Machine) or a physical server. The functions of the server 1 may be realized by one computer or by two or more computers. Furthermore, at least a part of the functions of the server 1 may be realized using HW (Hardware) resources and NW (Network) resources provided by a cloud environment.
[0068] Fig. 10 is a block diagram showing an example of a hardware (HW) configuration of a computer 10 that realizes the functions of the server 1. When multiple computers are used as HW resources that realize the functions of the server 1, each computer may have the HW configuration exemplified in Fig. 10.
[0069] As shown in FIG. 10, the computer 10 may include, as a HW configuration, a processor 10a, a memory 10b, a storage unit 10c, an IF (Interface) unit 10d, an IO (Input / Output) unit 10e, and a reading unit 10f, for example.
[0070] The processor 10a is an example of a processing unit that performs various controls and calculations. The processor 10a may be connected to each block in the computer 10 via a bus 10i so that they can communicate with each other. The processor 10a may be a multiprocessor including a plurality of processors, a multicore processor having a plurality of processor cores, or a configuration having a plurality of multicore processors.
[0071] Examples of the processor 10a include integrated circuits (ICs) such as a CPU, MPU, GPU, APU, DSP, ASIC, and FPGA. Note that a combination of two or more of these integrated circuits may be used as the processor 10a. CPU is an abbreviation for Central Processing Unit, and MPU is an abbreviation for Micro Processing Unit. GPU is an abbreviation for Graphics Processing Unit, and APU is an abbreviation for Accelerated Processing Unit. DSP is an abbreviation for Digital Signal Processor, ASIC is an abbreviation for Application Specific IC, and FPGA is an abbreviation for Field-Programmable Gate Array.
[0072] The memory 10b is an example of HW that stores various data, programs, and other information. Examples of the memory 10b include one or both of a volatile memory such as a dynamic random access memory (DRAM) and a non-volatile memory such as a persistent memory (PM).
[0073] The storage unit 10c is an example of HW that stores various data, programs, and other information. Examples of the storage unit 10c include various storage devices such as a magnetic disk device such as a hard disk drive (HDD), a semiconductor drive device such as a solid state drive (SSD), and a nonvolatile memory. Examples of the nonvolatile memory include a flash memory, a storage class memory (SCM), and a read only memory (ROM).
[0074] The storage unit 10c may also store a program 10g (vector estimation program) that realizes all or part of the various functions of the computer 10.
[0075] For example, the processor 10a of the server 1 can implement the functions of the server 1 (e.g., the acquisition unit 3, the machine learning unit 4, and the vector estimation unit 5) illustrated in Fig. 6 by expanding the program 10g stored in the storage unit 10c into the memory 10b and executing it. The memory unit 2 illustrated in Fig. 6 may be implemented by a storage area included in at least one of the memory 10b and the storage unit 10c. Furthermore, the vector estimation unit 5 illustrated in Fig. 6 may output and store a new entity embedding vector 25 in at least one of the memory 10b and the storage unit 10c, which are examples of storage devices.
[0076] The IF unit 10d is an example of a communication IF that controls connection and communication with a network. For example, the IF unit 10d may include an adapter that complies with a LAN (Local Area Network) such as Ethernet (registered trademark) or optical communication such as FC (Fibre Channel). The adapter may support one or both of wireless and wired communication methods. For example, the server 1 may be connected to a computer (not shown) via the IF unit 10d so that they can communicate with each other. At least a part of the functions of the acquisition unit 3 illustrated in FIG. 6 may be realized by the IF unit 10d. Also, for example, the program 10g may be downloaded from the network to the computer 10 via the communication IF and stored in the storage unit 10c.
[0077] The IO unit 10e may include one or both of an input device and an output device. Examples of the input device include a keyboard, a mouse, and a touch panel. Examples of the output device include a monitor, a projector, and a printer. For example, the vector estimation unit 5 shown in FIG. 6 may output a new entity embedding vector 25 to the output device of the IO unit 10e and display it.
[0078] The reading unit 10f is an example of a reader that reads out data or program information recorded on the recording medium 10h. The reading unit 10f may include a connection terminal or device to which the recording medium 10h can be connected or inserted. Examples of the reading unit 10f include an adapter that complies with USB (Universal Serial Bus) or the like, a drive device that accesses a recording disk, and a card reader that accesses a flash memory such as an SD card. The recording medium 10h may store a program 10g, and the reading unit 10f may read the program 10g from the recording medium 10h and store it in the storage unit 10c.
[0079] Examples of the recording medium 10h include non-transitory computer-readable recording media such as magnetic / optical disks and flash memories. Examples of the magnetic / optical disks include flexible disks, CDs (Compact Discs), DVDs (Digital Versatile Discs), Blu-ray Discs, and HVDs (Holographic Versatile Discs). Examples of the flash memory include semiconductor memories such as USB memories and SD cards.
[0080] The above-mentioned HW configuration of the computer 10 is an example. Therefore, the HW in the computer 10 may be increased or decreased (for example, adding or deleting any block), divided, integrated in any combination, or added or deleted buses, etc. may be appropriately performed. For example, in the server 1, at least one of the IO unit 10e and the reading unit 10f may be omitted.
[0081] [2] Other The technology according to the embodiment described above can be modified and changed as follows.
[0082] For example, the acquisition unit 3, the machine learning unit 4, and the vector estimation unit 5 included in the server 1 shown in FIG. 6 may be combined or each may be divided.
[0083] 6 may be configured such that a plurality of devices cooperate with each other via a network to realize each processing function. As an example, the acquisition unit 3 may be a Web server and an application server, the machine learning unit 4 and the vector estimation unit 5 may be an application server, the memory unit 2 may be a DB server, etc. In this case, the Web server, the application server, and the DB server may cooperate with each other via a network to realize each processing function of the server 1.
[0084] The technique according to an embodiment may be used in the following situations, for example.
[0085] (Usage example 1) As an example of use case 1, a publicly available machine-learned KG embedding vector is used and applied to data including a new entity. The server 1 can estimate a vector corresponding to a new entity even if a model corresponding to the machine-learned KG embedding vector is not publicly available.
[0086] (Usage example 2) An example of use case 2 is a case where a large-scale KG is subjected to static KG embedding machine learning and operated. In this case, it is cost-prohibitive to perform re-machine learning of the KG every time the KG is updated. The server 1 can reduce the cost of re-machine learning of the entire KG by using a part of the KG embedding vectors that have been machine-learned to apply a method according to an embodiment to train a vector generation model 23 for unknown vectors. In addition, for KG embedding vectors that have been machine-learned using an existing model, high-quality vectors from the existing model (original model) can be used as is.
[0087] [3] Additional Notes Regarding the above embodiment, the following supplementary notes are further disclosed.
[0088] (Appendix 1) acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; using the generated second model to estimate a second vector corresponding to the second entity; A vector estimation program that causes a computer to execute the processing.
[0089] (Appendix 2) The process of generating the second model includes a process of executing machine learning of the second model such that a distance between a vector output from the second model and the first vector when information of the first entity group included in the second entity information is input is reduced. The vector estimation program described in Appendix 1.
[0090] (Appendix 3) the information on the first entity group included in the second entity information is a feature amount of the first entity group; the information of the second entity included in the second entity information is a feature amount of the second entity, the process of generating the second model includes a process of generating the second model for estimating the second vector based on a feature amount common to the first entity group and the second entity; A vector estimation program according to appendix 1 or appendix 2.
[0091] (Appendix 4) The process of estimating the second vector includes a process of inputting information of the second entity included in the second entity information into the second model, and acquiring an output result of the second model as the second vector. A vector estimation program according to any one of Supplementary Note 1 to Supplementary Note 3.
[0092] (Appendix 5) acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; A control unit is provided to estimate a second vector corresponding to the second entity using the generated second model. Vector estimator.
[0093] (Appendix 6) the control unit, in the process of generating the second model, executes machine learning of the second model such that a distance between a vector output from the second model and the first vector when information of the first entity group included in the second entity information is input is reduced. 6. A vector estimation device as claimed in claim 5.
[0094] (Appendix 7) the information on the first entity group included in the second entity information is a feature amount of the first entity group; the information of the second entity included in the second entity information is a feature amount of the second entity, the control unit generates the second model for estimating the second vector based on a feature amount common to the first entity group and the second entity in the process of generating the second model. 7. A vector estimation device according to claim 5 or 6.
[0095] (Appendix 8) the control unit, in the process of estimating the second vector, inputs information of the second entity included in the second entity information into the second model, and acquires an output result of the second model as the second vector. The vector estimation device according to any one of Supplementary Note 5 to Supplementary Note 7.
[0096] (Appendix 9) acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; using the generated second model to estimate a second vector corresponding to the second entity; A vector estimation method in which processing is performed by a computer.
[0097] (Appendix 10) The process of generating the second model includes a process of executing machine learning of the second model such that a distance between a vector output from the second model and the first vector when information of the first entity group included in the second entity information is input is reduced. 10. A vector estimation method as described in Supplementary Note 9.
[0098] (Appendix 11) the information on the first entity group included in the second entity information is a feature amount of the first entity group; the information of the second entity included in the second entity information is a feature amount of the second entity, the process of generating the second model includes a process of generating the second model for estimating the second vector based on a feature amount common to the first entity group and the second entity; 11. The vector estimation method according to claim 9 or 10.
[0099] (Appendix 12) The process of estimating the second vector includes a process of inputting information of the second entity included in the second entity information into the second model, and acquiring an output result of the second model as the second vector. A vector estimation method according to any one of Supplementary Note 9 to Supplementary Note 11. [Explanation of symbols]
[0100] 1 Server 10. Computers 2 Memory section 21 Existing entity embedding vectors 22 Existing Entity Input Information 23 Vector generation model 23a Encoder 23b Transform 23c Pooling 23d decoder 24 New Entity Input Information 25 new entity embedding vectors 3 Acquisition part 4. Machine Learning Department 5. Vector Estimation Section
Claims
1. acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; using the generated second model to estimate a second vector corresponding to the second entity; A vector estimation program that causes a computer to execute the processing.
2. The process of generating the second model includes a process of executing machine learning of the second model such that a distance between a vector output from the second model and the first vector when information of the first entity group included in the second entity information is input is reduced. The vector estimation program according to claim 1 .
3. the information on the first entity group included in the second entity information is a feature amount of the first entity group; the information of the second entity included in the second entity information is a feature amount of the second entity, the process of generating the second model includes a process of generating the second model for estimating the second vector based on a feature amount common to the first entity group and the second entity; 3. The vector estimation program according to claim 1 or 2.
4. The process of estimating the second vector includes a process of inputting information of the second entity included in the second entity information into the second model, and acquiring an output result of the second model as the second vector. The vector estimation program according to any one of claims 1 to 3.
5. acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; A control unit is provided to estimate a second vector corresponding to the second entity using the generated second model. Vector estimator.
6. acquiring a first vector generated using a first model based on graph structure data indicating a relationship between a first entity group acquired based on first entity information related to the first entity group, and second entity information that is an updated version of the first entity information, the second entity information being related to the first entity group and a second entity not included in the first entity group; generating a second model for obtaining vector data from the second entity information based on information of the first entity group included in the second entity information and the first vector; using the generated second model to estimate a second vector corresponding to the second entity; A vector estimation method in which processing is performed by a computer.
Citation Information
Patent Citations
Knowledge graph reconstruction method and device based on free state nodes
CN110457491A
Knowledge graph completion method based on bidirectional attention mechanism
CN111949764A
Knowledge graph representation learning method in dynamic environment
CN112131403A
US10,157,226
Phrase vector learning device, method, and program
WO2019160097A1
