Anonymous information source network entity disambiguation method, device and storage medium

By constructing an anonymous information source network and using role-oriented random walk and negative sample adaptive sampling technology, the accuracy and privacy protection issues of entity disambiguation in the anonymous information source network are solved, and the accuracy of entity disambiguation with the same name is improved.

CN118378107BInactive Publication Date: 2024-09-13HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410804242.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing entity disambiguation methods based on network representation learning cannot be applied to anonymous information source networks, and do not consider the role information of network nodes, making it difficult to achieve accurate same-name entity disambiguation in a privacy environment.

Method used

By obtaining the information source data set, construct entity-entity network, information source-information source network and entity-information source network, calculate the role-oriented random walk probability value, obtain the random walk sequence and negative samples, establish a loss function and train the model , using hierarchical clustering or DBSCAN clustering method for entity disambiguation.

Benefits of technology

In the anonymous information source network, role discovery and negative sample adaptive sampling are considered, which improves the capture of the relationship between information sources and entities and significantly improves the accuracy of disambiguation of entities with the same name.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378107B
    Figure CN118378107B
Patent Text Reader

Abstract

The present invention relates to the field of data query, and provides an anonymous information source network entity disambiguation method, device and storage medium, the method is: obtaining entity-entity network, information source-information source network and entity-information source network; calculating the role-oriented random walk probability value in each network, and obtaining the random walk sequence of each network respectively; according to the random walk sequence of each network, obtaining the positive sample of the random walk sequence of each network; calculating the negative sampling value in three networks, and adaptively sampling by value sorting, and obtaining the negative sample corresponding to each network; training according to the positive and negative samples, and using the trained network and clustering method to complete the disambiguation of the same name. The present invention can improve the accuracy of the disambiguation result of the same name entity under anonymity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data query, and in particular to an anonymous information source network entity disambiguation method, device and storage medium. Background Art

[0002] In the Internet age, the explosive growth of information has brought unprecedented convenience, but it has also brought a challenge: the widespread existence of entities with the same name.

[0003] Homonymous entities refer to people, objects, or conceptual entities with the same name in different information sources (such as web pages, PDF documents, papers, etc.). They may be names of people, places, organizations, etc.

[0004] The purpose of entity disambiguation in this paper is to accurately identify the information source set of different entities from a large number of information sources, so as to provide accurate and relevant information. This process is crucial for search engine optimization, recommendation systems, knowledge graph construction, natural language processing and other fields. For example, when a user searches for papers about Wang Wei in a search engine, there may be a large number of papers by different people named Wang Wei, and it becomes difficult to find the "real" Wang Wei that he is concerned about. Therefore, entity disambiguation becomes particularly important.

[0005] There are currently some methods for entity disambiguation, but these methods do not take privacy into consideration and therefore cannot be applied to entity disambiguation problems in privacy environments.

[0006] In a privacy environment, when researchers process sensitive data or comply with privacy regulations, they need to anonymize the data without revealing entity information and information source content.

[0007] In this case, entity disambiguation technology must not only ensure the accuracy of disambiguation, but also protect the privacy of entity objects. This requires that entity disambiguation algorithms need to adopt de-identification or other privacy protection measures when designing, and often can only use the connection relationship between entities and information sources, that is, the entity disambiguation problem of anonymous information source networks will arise.

[0008] Name Disambiguation in Anonymized Graphs using Network Embedding proposes a homonymous entity disambiguation method based on network embedding in an anonymous network. This method considers the relationship between author entity-author entity, author entity-paper information source, and paper information source-paper information source, and handles the homonymous entity disambiguation problem while protecting privacy. However, this method cannot capture the role information of network nodes, and does not do a good job of node negative sampling.

[0009] Network representation learning, also known as network embedding or graph embedding, is a technique that converts nodes in a network (such as academic networks, social networks, etc.) into vectors in a low-dimensional vector space. Through network representation learning, the high-dimensional network structure can be mapped to an easy-to-handle low-dimensional space while retaining the important relationships between nodes. Therefore, embedding the structural information of the anonymous information source network into a low-dimensional space vector through network representation learning can well store and analyze the relationship between entities and information sources.

[0010] Therefore, how to learn a highly expressive vector representation of anonymous information source network nodes for homonym disambiguation is still a difficult problem. The mainstream entity disambiguation methods based on network representation learning are not applicable to anonymous information source networks and do not consider the role information of network nodes. Summary of the invention

[0011] The purpose of the present invention is to propose an anonymous information source network entity disambiguation method, device and storage medium to solve the problem that the existing mainstream entity disambiguation method based on network representation learning is not applicable to anonymous information source networks and does not consider the role information technology problems of network nodes.

[0012] The present invention provides a method for disambiguating anonymous information source network entities, which specifically includes the following steps:

[0013] S1: Obtain the information source data set and perform entity recognition on it to obtain the entity set of each information source, and perform anonymization to obtain the entity-entity network G aa , Information Source - Information Source Network G dd and entity-information source networks G ad ;

[0014] S2: Calculate the role-oriented random walk probability value in each network and obtain the random walk sequence of each network respectively;

[0015] S3: According to the random walk sequence of each network, obtain the positive sample of the random walk sequence of each network;

[0016] S4, calculate the negative sampling values ​​in the three networks, and adaptively sample by sorting the values ​​to obtain the negative samples corresponding to each network;

[0017] S5. According to the positive samples of all nodes in the random walk sequence of each network and the negative samples corresponding to each network, the loss function of each network is obtained, and the overall loss function is obtained according to the loss function of each network;

[0018] S6. Train according to the overall loss function until the loss function converges;

[0019] S7. After the loss function converges, if the user knows the number of entities with the same name that the user actually pays attention to, the hierarchical clustering method is used to distinguish the information sources corresponding to the real entities. Otherwise, the DBSCAN clustering method is used to obtain an adaptive disambiguation information source.

[0020] A storage medium stores instructions and data for implementing an anonymous information source network entity disambiguation method.

[0021] An anonymous information source network entity disambiguation device comprises: a processor and the storage medium; the processor loads and executes instructions and data in the storage medium to implement an anonymous information source network entity disambiguation method.

[0022] The beneficial effects provided by the present invention are: in the anonymous information homology network, the role discovery of the anonymous information source network and the adaptive sampling of negative samples are considered, so that the method can better capture the relationship between the information source and the entity and obtain better node representation. The final homonymous entity disambiguation result has a high accuracy rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic flow chart of the method of the present invention;

[0024] Figure 2 It is a schematic diagram of entity-entity network and information source-information source network;

[0025] Figure 3 It is a schematic diagram of the entity-information source network;

[0026] Figure 4 It is a schematic diagram of the working of the hardware device of an embodiment of the present invention. DETAILED DESCRIPTION

[0027] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0028] Please refer to Figure 1 , Figure 1 : is a flow chart of the method of the present invention; the present invention provides an anonymous information source network entity disambiguation method, the method specifically comprises the following steps:

[0029] S1: Obtain the information source data set and perform entity recognition on it to obtain the entity set of each information source, and perform anonymization to obtain the entity-entity network G aa , Information Source - Information Source Network G dd and entity-information source networks G ad ;

[0030] It should be noted that the information source data set can come from web pages, PDFs, papers and other related documents;

[0031] It should be noted that the method for entity recognition in the present invention adopts a public method, such as BiLSTM or BiLSTM+CRF, etc., which is only used for explanation here.

[0032] In step S1, an entity-entity network is constructed respectively G aa =( V aa , E aa ), Information Source - Information Source Network G dd =( V dd , E dd ), entity-information source network G ad =( V aa ∪ V dd , E ad );in, V aa represents the set of names of all entities, V dd Represents the set of all information sources, E aa is the edge set in the entity-entity network, It means that two entities appear in the same information source, and the number of times they appear in the information source at the same time is the edge weight. is the edge set of the information source-information source network, Indicates that the entity sets of the two information sources have intersections, and the number of intersections represents the edge weight. E ad is the edge set of the entity-information source network, Indicates that the entity has appeared in the information source, and the edge weight is 1. At the same time, initialize the entity nodes and information source nodes for f dimensional vector representation and ;

[0033] S2: Calculate the role-oriented random walk probability value in each network and obtain the random walk sequence of each network respectively; all nodes in the entity-information source network are regarded as nodes of the same type.

[0034] As an embodiment, step S2 is specifically as follows:

[0035] S21. In the entity-entity network G aa =( V aa , E aa ), select any entity node , according to the role-oriented random walk strategy, calculate Go to the node Probability:

[0036]

[0037] in w is the weight of the edge or 1, which is 1 if there is no edge but the roles are the same. Z is the normalization constant, For entity nodes role; by probability Random walk L steps, get the random walk sequence ;

[0038] S22, obtain the information source-information source network respectively in the same manner as step S21 G dd =( V dd , E dd ) and entity-information source networks G ad =( V aa ∪ V dd , E ad ) .

[0039] Specifically, in the information source-information source network G dd =( V dd , E dd ) Choose an information source node , according to the role-oriented random walk strategy, calculate Go to the node Probability:

[0040]

[0041] in is the weight of the edge or 1 (1 when there is no edge but the roles are the same), Z is the normalization constant, and the probability Random walk L steps, get the random walk sequence .

[0042] In the entity-information source network G ad =( V aa ∪ V dd , E ad ) V dd and V aa Treat them as nodes of the same type for role discovery, and select any entity node or information source node , according to the role-oriented random walk strategy, calculate Go to the node Probability or Go to the node Probability:

[0043]

[0044] Where Z is the normalization constant, according to probability Random walk L steps, get the random walk sequence .

[0045] S3: According to the random walk sequence of each network, obtain the positive sample of the random walk sequence of each network;

[0046] Step S3 is specifically as follows:

[0047] In the random walk sequence of each network, a physical node is randomly selected each time, and at most the first n and last n nodes of the physical node are taken to form the positive sample of the physical node. At the same time, according to this method, the positive samples of all nodes in the random walk sequence of each network are obtained; n is the default value.

[0048] As an example, in an entity-to-entity network G aa =( V aa , E aa ) Random walk sequence S aa Each time a physical node is selected as a training node , take the node In the random walk sequence S aa At most the first n and last n entity nodes in the middle are used as training nodes The positive sample ofS aa The positive samples of each entity node in .

[0049] In the information source - information source network G dd =( V dd , E dd ) Random walk sequence S dd Each time, an information source node is selected as a training node. , take the node In the random walk sequence S dd At most the first n and last n information source nodes in the training node are used as training nodes. The positive sample of S dd The positive samples of each information source node in .

[0050] In the entity-information source network G ad =( V aa ∪ V dd , E ad ) In the random walk sequence, one information source node is selected each time as a training node , take the node In the random walk sequence S ad At most the first n and last n entity nodes in the middle are used as training nodes According to this method, we can get S ad The positive samples of each information source node in . Where n is an adjustable parameter.

[0051] S4, calculate the negative sampling values ​​in the three networks, and adaptively sample by sorting the values ​​to obtain the negative samples corresponding to each network;

[0052] It should be noted that step S4 is specifically as follows:

[0053] S41. In the entity-entity network G aa =( V aa , E aa ) in the negative sampling arbitrary entity representation node The negative sampling value as a negative sampling node is:

[0054]

[0055] Among them, the negative sampling set is not in the random walk sequence S aa The node set on All nodes in the Sort from largest to smallest, and take at most the first 2*n entity nodes as negative samples for training node k;

[0056] S42, obtain the information source and information source network respectively in the same manner as step S41 G dd and entity-information source networks G ad Negative samples.

[0057] As an example, in the information source-information source network G dd =( V dd , E dd ) in which the negative sampling arbitrary information source represents the node The negative sampling value as a negative sampling node is:

[0058]

[0059] Among them, the negative sampling set is not in the random walk sequence S dd The node set on All nodes in the Sort from large to small, and take at most the first 2*n information source nodes as negative samples of information source training node k.

[0060] In the entity-information source network G ad =( V aa ∪ V dd , E ad ) represents any entity in The negative sampling value as a negative sampling node is:

[0061]

[0062] Among them, the negative sampling set is not in the random walk sequence S ad The set of all entity nodes on All entity nodes in the negative sampling value Sort from largest to smallest, and take at most the first 2*n as the negative samples of the information source training node k.

[0063] S5. According to the positive samples of all nodes in the random walk sequence of each network and the negative samples corresponding to each network, the loss function of each network is obtained, and the overall loss function is obtained according to the loss function of each network;

[0064] In step S5, the entity-entity network G aa , Information Source - Information Source Network G dd and entity-information source networks G ad The loss functions are:

[0065]

[0066] Among them, the training node k In different types of networks, there are corresponding different types of nodes;

[0067] logσ (par1, par2), where par1 represents the positive sample of the corresponding network, and par2 represents the negative sample of the corresponding network; the overall loss function .

[0068] Specifically, and Represent the positive and negative samples of entity node k respectively; and Respectively represent the positive samples and negative samples of the information source node k; and They represent the positive sample entity and negative sample entity of the information source node k respectively.

[0069] S6. Train according to the overall loss function until the loss function converges;

[0070] S7. After the loss function converges, if the user knows the number of entities with the same name that the user actually pays attention to, the hierarchical clustering method is used to distinguish the information sources corresponding to the real entities. Otherwise, the DBSCAN clustering method is used to obtain an adaptive disambiguation information source.

[0071] It should be noted that some concepts of steps S1 to S4 are as follows: Figure 2-Figure 3 As shown in the figure, three network role-oriented random walk sequences and positive samples and negative sample sets corresponding to training nodes are shown with 7 entities and 4 information sources as specific examples. The degree-based role discovery algorithm is used (nodes with the same node degree have the same role).

[0072] Please refer to Figure 4 , Figure 4 40 is a schematic diagram of the working of the hardware device of an embodiment of the present invention, wherein the hardware device specifically comprises: an anonymous information source network entity disambiguation device 401, a processor 402 and a storage medium 403.

[0073] An anonymous information source network entity disambiguation device 401: The anonymous information source network entity disambiguation device 401 implements the anonymous information source network entity disambiguation method.

[0074] Processor 402: The processor 402 loads and executes the instructions and data in the storage medium 403 to implement the anonymous information source network entity disambiguation method.

[0075] Storage medium 403: The storage medium 403 stores instructions and data; the storage medium 403 is used to implement the anonymous information source network entity disambiguation method.

[0076] The key points of the present invention are:

[0077] 1. Role discovery, random walks, and positive sample sampling on entity-information source networks:

[0078] When executing the role discovery algorithm on the entity-information source network, all entities and information source nodes are considered to be nodes of the same type, and then the role discovery algorithm based on node degree is used to mark nodes with the same role (entity nodes and information source nodes may also have the same role). When executing the random walk algorithm based on this, each time an information source node is selected as the starting point, the next reachable node may be an entity node with an edge connection or an entity node with the same role. Similarly, when an entity node is selected as the starting point, the next reachable node may be an information source node with an edge connection or an information source node with the same role. When selecting positive samples from the walk sequence generated by the entity-information source network, one information source node on the sequence is selected each time, and then other information source nodes on the sequence are removed, and then up to n entity nodes before and after it are taken as positive samples.

[0079] 2. Adaptive sampling of negative samples on entity-information source networks:

[0080] When performing adaptive negative sample sampling on the entity-information source network, for each sequence of information source training node k, its negative sample set is all entity nodes that are not in the sequence. Calculate the negative sample set to be selected The sampling values ​​of all entity nodes in are sorted from large to small according to the sampling values, and at most 2*n entity nodes are taken as negative samples.

[0081] In summary, the beneficial effects of the present invention are: in the anonymous information homology network, the role discovery of the anonymous information source network and the adaptive sampling of negative samples are considered, so that the method can better capture the relationship between the information source and the entity and obtain better node representation. The final homonymous entity disambiguation result has a high accuracy rate.

[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for disambiguating anonymous information source network entities. Features: The following steps are involved: S1: Obtain the information source data set and perform entity recognition on it to obtain the entity set of each information source, and perform anonymization to obtain the entity-entity network G aa , Information Source - Information Source Network G dd and entity-information source networks G ad ; Information sources include: web pages, PDF documents, and papers; In step S1, BiLSTM or BiLSTM+CRF is used for entity recognition; In step S1, the entity-entity network G aa =( V aa , E aa ), Information Source - Information Source Network G dd =( V dd , E dd ), entity-information source network G ad =( V aa ∪ V dd , E ad );in, V aa represents the set of names of all entities, V dd Represents the set of all information sources, E aa is the edge set in the entity-entity network, It means that two entities appear in the same information source, and the number of times they appear in the information source at the same time is the edge weight. is the edge set of the information source-information source network, Indicates that the entity sets of the two information sources have intersections, and the number of intersections represents the edge weight. E ad is the edge set of the entity-information source network, Indicates that the entity has appeared in the information source, and the edge weight is 1; S2: Calculate the role-oriented random walk probability value in each network and obtain the random walk sequence of each network respectively; Step S2 is specifically as follows: S21. In the entity-entity network G aa =( V aa , E aa ), select any entity node , according to the role-oriented random walk strategy, calculate Go to the node Probability: in w is the weight of the edge or 1, which is 1 if there is no edge but the roles are the same. Z is the normalization constant, For entity nodes role; by probability Random walk L steps, get the random walk sequence ; S22, obtain the information source-information source network respectively in the same manner as step S21 G dd =( V dd , E dd ) and entity-information source networks G ad =( V aa ∪ V dd , E ad ) ; In the information source - information source network G dd =( V dd , E dd ) Choose an information source node , according to the role-oriented random walk strategy, calculate Go to the node Probability: in is the edge weight or 1, Z is the normalization constant, and the probability Random walk L steps, get the random walk sequence ; In the entity-information source network G ad =( V aa ∪ V dd , E ad ) V dd and V aa Treat them as nodes of the same type for role discovery, and select any entity node or information source node , according to the role-oriented random walk strategy, calculate Go to the node Probability or Go to the node Probability: Where Z is the normalization constant, according to probability Random walk L steps, get the random walk sequence ; S3: According to the random walk sequence of each network, obtain the positive sample of the random walk sequence of each network; Step S3 is specifically as follows: In the random walk sequence of each network, a physical node is randomly selected each time, and at most the first n and last n nodes of the physical node are taken to form the positive sample of the physical node. At the same time, according to this method, the positive samples of all nodes in the random walk sequence of each network are obtained; n is the default value; Among them, when selecting positive samples for the walking sequence generated by the entity-information source network, one information source node on the sequence is selected each time, and then other information source nodes on the sequence are removed, and then at most n entity nodes before and after it are taken as positive samples; S4, calculate the negative sampling values ​​in the three networks, and adaptively sample by sorting the values ​​to obtain the negative samples corresponding to each network; Step S4 is specifically as follows: S41. In the entity-entity network G aa =( V aa , E aa ) in the negative sampling arbitrary entity representation node The negative sampling value as a negative sampling node is: Among them, the negative sampling set is not in the random walk sequence S aa The node set on All nodes in the Sort from largest to smallest, and take at most the first 2*n entity nodes as negative samples for training node k; S42, obtain the information source and information source network respectively in the same manner as step S41 G dd and entity-information source networks G ad Negative samples of In the information source - information source network G dd =( V dd , E dd ) in which the negative sampling arbitrary information source represents the node The negative sampling value as a negative sampling node is: Among them, the negative sampling set is not in the random walk sequence S dd The node set on All nodes in the Sort from largest to smallest, and take at most the first 2*n information source nodes as negative samples of information source training node k; In the entity-information source network G ad =( V aa ∪ V dd , E ad ) represents any entity in The negative sampling value as a negative sampling node is: Among them, the negative sampling set is not in the random walk sequence S ad The set of all entity nodes on All entity nodes in the negative sampling value Sort from largest to smallest, and take at most the first 2*n as the negative samples of information source training node k; S5. According to the positive samples of all nodes in the random walk sequence of each network and the negative samples corresponding to each network, the loss function of each network is obtained, and the overall loss function is obtained according to the loss function of each network; S6. Train according to the overall loss function until the loss function converges; S7. After the loss function converges, if the user knows the number of entities with the same name that the user actually pays attention to, the hierarchical clustering method is used to distinguish the information sources corresponding to the real entities. Otherwise, the DBSCAN clustering method is used to obtain an adaptive disambiguation information source.

2. A storage medium, Features: The storage medium stores instructions and data for implementing the anonymous information source network entity disambiguation method described in claim 1.

3. An anonymous information source network entity disambiguation device, Features: include: Processor and storage medium; the processor loads and executes instructions and data in the storage medium to implement the anonymous information source network entity disambiguation method described in claim 1.