Pairwise Entity Joint Disambiguation Method for Web Forms

By calculating the pair of entity mentions with the highest confidence in the table for joint disambiguation, combined with column semantic consistency, row semantic consistency and entity similarity, the problems of noise introduction and low correlation in the existing technology are solved and achieved High-quality table entity links.

CN113361283BActive Publication Date: 2024-09-24SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110720148.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-28
Publication Date
2024-09-24
Estimated Expiration
2041-06-28

AI Technical Summary

Technical Problem

Existing joint disambiguation methods have problems such as noise introduction and low correlation in table entity links. They cannot effectively handle the structural characteristics of tables and the incompleteness of knowledge graphs, affecting the accuracy of entity links.

Method used

Adopting a pairwise entity joint disambiguation method, joint disambiguation is performed by calculating the pair of entity mentions with the highest confidence, using column semantic consistency, row semantic consistency, entity consistency and similarity between entity mentions and candidate entities, and gradually Enable high-quality linking of entity mentions in tables.

Benefits of technology

It reduces the probability of noise and improves the accuracy and quality of entity linking. It is suitable for entity linking tasks in real Web tables and shows good micro and macro accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113361283B
    Figure CN113361283B
Patent Text Reader

Abstract

The present invention discloses a method for joint disambiguation of paired entities for Web tables, which is used to solve entity linking tasks for Web tables. The entity linking task for Web tables is to unambiguously link entity mentions in Web tables to entities in a knowledge base. The present invention designs a method for joint disambiguation of paired entities based on the characteristics of tables, iteratively joint disambiguates a pair of entity mentions with the highest confidence, and gradually achieves complete disambiguation of entity mentions in the entire table. The confidence calculation method comprehensively considers a variety of information, including the similarity between entity mentions and candidate entities, the consistency between linked entities, and the semantic consistency of rows and columns in the table. During the algorithm iteration process, the linked entities have a high confidence level and can provide effective auxiliary information for subsequent linking work, thereby achieving high-quality joint disambiguation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for joint disambiguation of paired entities oriented to Web tables, and belongs to the technical field of knowledge graphs. Background Art

[0002] Web tables organize data in a structured form, providing high-quality and high-density information. It is estimated that the Web contains 14.1 billion tables, of which about 154 million are related tables. In order to make use of this valuable data, computers need to be able to understand these tables at the semantic level. Entity linking of tables is an effective means to achieve table understanding.

[0003] Entity linking in tables requires associating entity mentions in table cells with corresponding entities in the knowledge graph. An effective table entity linking system should be able to unambiguously link entity mentions to corresponding entities in the knowledge graph based on the contextual information of the entity mentions in the table. Unlike the unified context structure of entity mentions in text, the context of entity mentions in tables varies in terms of cell position, row, column angle, etc. Table entity linking methods first need to identify entity mentions from the table and generate candidate entities for these entity mentions. This part of the work usually uses some heuristic methods to find the most comprehensive entity mentions and candidate entities. Subsequently, the correct and appropriate entities are selected from the candidate entities for linking based on the context of the entity mentions in the table and the relationship between the linked entities to achieve disambiguation of the candidate entities.

[0004] The recognition of entity mentions and the generation of candidate entities can usually achieve good results using engineering methods. However, candidate entity disambiguation is the main difficulty of table entity linking. This task requires the design of a ranking model to calculate the similarity between entity mentions and different candidate entities. When calculating the similarity, not only the semantic similarity between entity mentions and candidate entities should be considered, but also the correlation between linked entities. Entity disambiguation methods that use the correlation between linked entities are called joint disambiguation methods. Many current works will select as relevant entities as possible from the candidate entity set of all entity mentions during joint disambiguation to maximize the correlation of linked entities and the similarity between entity mentions and linked entities. The joint disambiguation method has achieved good disambiguation results, but it has the disadvantage of too strong assumptions and is not completely suitable for real knowledge graphs and Web tables. Entities in non-primary key columns in the same row often have a strong correlation with entities in primary key columns, but do not necessarily have a high correlation with other columns. At the same time, affected by the incompleteness of the knowledge graph, linked entities in the same column may not be particularly relevant. In view of the shortcomings of the current joint disambiguation algorithm, the present invention proposes a paired entity joint disambiguation algorithm, which performs joint disambiguation on a pair of entity mentions with the highest confidence in the table in turn, while ensuring high-quality joint disambiguation effect and reducing the probability of introducing noise. Summary of the invention

[0005] Technical problem: In view of the structural characteristics of the table and the shortcomings of the current joint disambiguation method, a pairwise entity linking method is designed. The pairwise entity linking here means: the pair of entity mentions with the highest confidence in the table are jointly disambiguated in turn, while ensuring high-quality joint disambiguation effect, while also reducing the probability of introducing noise. The linked entities are used to provide richer and more accurate contextual information for the subsequent entity linking process, thereby achieving better entity linking effects in real Web tables.

[0006] Technical solution:

[0007] The pairwise entity joint disambiguation method of the present invention is performed by the following steps:

[0008] 1) Combine entity mentions in the same row and column in the Web table in pairs to generate all entity mention bigrams.

[0009] 2) Calculate the confidence of all entity mention binary pairs when linking, and link the pair of entity mentions with the highest confidence to their respective entities, while removing other candidate entities of this pair of entity mentions.

[0010] 3) Update the confidence values ​​between different entity mentions in the table.

[0011] 4) Iterate steps 2) and 3) until all entity mentions in the table are linked.

[0012] In a preferred embodiment of the present invention, in step 2), the confidence calculation is performed as follows:

[0013] 2-a) The confidence calculation introduces the change information of column semantic consistency during the linking process. According to the characteristics of the table, the cell contents in the same column have similar semantic characteristics. In the entity linking task, the entities linked in the same column usually belong to a certain category, which makes these linked entities have similar vector representations to a certain extent. The present invention defines column semantic consistency as the negative mean of the variance vector. Column semantic consistency CSC is calculated in the following way:

[0014] CSC=-mean(var([e 1 ,e 2 ,…,e n ]))

[0015] where e 1 ,e 2 ,…,e n Represents the vector representation of linked entities in a column, var is used to obtain the variance vector, and mean is used to average the values ​​in the variance vector to obtain a scalar value representing the semantic consistency of the column.

[0016] 2-b) The confidence calculation introduces the change information of row semantic consistency during the linking process. Row semantic consistency characterizes the consistency of the relationship formed by the linked entities in other columns and the linked entities in the primary key column. Row semantic consistency is defined as the negative mean of the relationship variance vector. The smaller the variance, the larger the negative mean of the relationship vector, the closer the relationship between different rows, and the more consistent the row semantics. Row semantic consistency RSC is calculated in the following way:

[0017] r=e non-subject -e subject

[0018] RSC=-mean(var([r 1 ,r 2 ,…,r n ]))

[0019] where e subject Represents a linked entity in the primary key column, e non-subject represents the linked entity in the non-primary key column, and r represents the relationship vector. var is used to obtain the variance vector, and mean is used to average the values ​​in the variance vector to obtain a scalar value representing the semantic consistency of the row. 1 ,r 2 ,…,r n Represents the relationship vector representation between entities linked in different rows.

[0020] 2-c) Confidence calculation introduces entity consistency information in the table during the linking process. Link entity consistency is calculated by the cosine similarity represented by the entity vector:

[0021] EES 1 ,e 2 )=cosine(e 1 ,e 2 )

[0022] where e 1 ,e 2 Refers to the entity vector representation of the two entity mentions corresponding to each other in the process of pairwise entity joint disambiguation.

[0023] 2-d) Confidence calculation introduces entity mentions and candidate entity similarity information. The similarity between entity mentions and candidate entities is calculated by combining the cosine similarity and prior probability of the entity mention context vector representation and the candidate entity context vector representation. The context of the entity mention is composed of the bag of words of all words in the same row and column, and the candidate entity context is composed of the bag of words of all words in the entity text description in the knowledge base. The entity mention context vector representation is obtained by the average value of all word vectors in its bag of words, and the candidate entity context vector representation is obtained by the average value of all word vectors in its bag of words, as shown below:

[0024] MES(m,e)=cosine(m context ,e context )+P(e|m)

[0025] Among them, m context The context vector representation of entity mention m, e context represents the context vector representation of the candidate entity e, and P(e|m) represents the probability that m is linked to e.

[0026] 2-c) Confidence calculation method for combining multiple information. Given a pair of entity mentions m i ,m j , and their corresponding candidate entity sets CS i ,CS j , this paper defines the confidence as Γ(m i ,m j ), mainly includes two parts, one is the similarity between the elements involved in the pairwise entity link, and the other is the change in the semantic consistency of the row (column) caused by the link operation. The hyperparameter β>0 is used to control the influence of the semantic consistency. The details are as follows:

[0027]

[0028] The similarity calculation mainly includes three parts: the similarity between two entity mentions and their respective candidate entities, and the correlation between the candidate entities. and The candidate entity set CS is i and CS j The candidate entities in ; MES is used to calculate the similarity between entity mentions and candidate entities; EES is used to measure the relevance between entities to be linked. ΔCSC N and ΔRSC N Indicates the entity mention m i ,m j The regularization result of the change value of row and column semantic consistency after the link operation is completed. The regularization operation is as follows:

[0029] Norm(d)=σ(d)-0.5

[0030] Where d is the change in semantic consistency. If d>0, it means that the semantic consistency increases, thereby increasing the confidence value. The σ in the formula is the logistic sigmoid function, and the regularization operation makes Norm(d)∈(-0.5,0.5).

[0031] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0032] The current table entity linking task mostly adopts a joint disambiguation strategy to disambiguate multiple entity mentions at the same time. There are mainly probabilistic graph models, random walk algorithms, iterative optimization strategies, etc. When calculating the similarity between entity mentions and candidate entities, the entity to be linked is considered to be as relevant as possible to the entity already linked in the same row and column. Entities in non-primary key columns and entities in primary key columns in the same row often have a strong correlation, but they do not necessarily have a high correlation with other columns. At the same time, affected by the incompleteness of the knowledge graph, the entities linked in the same column may not be particularly relevant. In the joint disambiguation process, when encountering entity mentions with low correlation, not only can they not provide information to each other, but they may also introduce noise, or be affected by the incompleteness of the knowledge graph, and cannot be linked to the correct entity, thereby affecting the link of other cells. However, the joint disambiguation strategy cannot be simply abandoned, which will lead to the loss of important information, thereby affecting the effect of the final entity link. The present invention is designed into a pair of entity joint disambiguation methods based on the characteristics of the table, iteratively joint disambiguates a pair of entity mentions with the highest confidence, and gradually achieves all entity mentions in the entire table. Disambiguation. The confidence calculation method comprehensively considers a variety of information to ensure the reliability of the calculation and achieve high-quality joint disambiguation.

[0033] The actual results show that the instance matching method proposed by the present invention can complete different types of Web table entity linking tasks. The present invention shows good results in both micro-accuracy and macro-accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the framework of the present invention.

[0035] Figure 2 It is a schematic diagram of row (column) consistency calculation in the present invention.

[0036] Figure 3 It is an example diagram of the paired entity linking process in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The implementation process of the present invention is described in detail below in conjunction with the embodiments and the accompanying drawings.

[0038] The present invention is designed to complete the table entity linking task by using a pairwise entity joint disambiguation algorithm, which mainly includes the following steps:

[0039] 1) Column semantic consistency calculation.

[0040] According to the characteristics of the table, the cell contents in the same column have similar semantic characteristics. In the entity linking task, the entities linked in the same column usually belong to a certain category, which makes these linked entities have similar vector representations to a certain extent. The present invention designs a calculation method for column semantic consistency based on variance.

[0041] Given a column of data in a Web table, first calculate the variance of the vector representation of the linked entities in the column element by element to obtain a variance vector whose dimension is the same as the dimension of the entity vector representation. The variance vector represents the degree of discreteness of the linked entities in the column. The smaller the variance, the more similar the linked entities are. The present invention defines the column semantic consistency as the negative mean of the variance vector. The smaller the variance, the larger the negative mean of the variance vector, the greater the column semantic consistency, and the more similar the linked entities are. Calculation process Figure 2 In the column semantics calculation, given the existing linked entities in the column, the column semantic consistency can be formalized as the following formula:

[0042] CSC=-mean(var([e 1 ,e 2 ,…,e n ]))

[0043] where e 1 ,e 2 ,…,e nRepresents the vector representation of a column of linked entities in the figure above. var is used to obtain the variance vector, and mean is used to average the values ​​in the variance vector to obtain a scalar value representing the semantic consistency of the column.

[0044] 2) Row semantic consistency calculation.

[0045] Similarly, the contents of cells in the same row of a table also have certain semantic characteristics. Unlike the semantic characteristics of columns, the contents of different cells in a row usually correspond to different types of linked entities, which do not have similar characteristics. Therefore, this paper defines row semantic consistency based on the common information of different columns in the same row of a table and the relationship between columns.

[0046] The row semantic consistency characterizes the consistency of the relationship formed by the linked entities in other columns and the linked entities in the primary key column. The primary key column represents the most important column content in a row, has an identification function for the row, and usually refers to a certain entity. In order to calculate the row semantic consistency formed by the relationship between the primary key column and other columns, the relationship vector is first obtained. The relationship vector is calculated by the difference between the linked entity vector representation in the primary key column and the linked entity vector representation in the non-primary key column. In general, the relationship between any row in the two columns should be the same, so the representation of the relationship vector should also be close. When calculating the row semantic consistency, first obtain the relationship vector between the primary key column and other columns. Then the variance of the relationship vector calculated for the elements of the two columns is calculated element by element to obtain the relationship variance vector, whose dimension is the same as the entity vector representation dimension. The variance vector represents the degree of discreteness of the relationship. The smaller the variance, the more similar the relationship between different rows in the two columns. The row semantic consistency is the negative mean of the relationship variance vector. The smaller the variance, the larger the negative mean of the relationship vector, the closer the relationship between different rows, and the more consistent the row semantics. The calculation process reference Figure 2 In the row semantics calculation, we first calculate the relationship vector representation between the given two columns of linked entities, and then calculate the row semantic consistency based on the relationship vector using a method similar to the column semantic consistency calculation.

[0047] r=e non-subject -e subject

[0048] RSC=-mean(var([r 1 ,r 2 ,…,r n ])

[0049] The above formula gives the calculation method of the relationship vector, e subject Represents a linked entity in the primary key column, e non-subject Represents a linked entity in a non-primary key column. RSC defines how row semantic consistency is calculated.

[0050] 3) Entity consistency calculation.

[0051] Entity consistency is calculated by the cosine similarity of linked entities:

[0052] EES 1 ,e 2 )=cosine(e 1 ,e 2 )

[0053] where e 1 ,e 2 Refers to the entity vector representation of the two entity mentions corresponding to each other in the process of pairwise entity joint disambiguation.

[0054] 4) Calculation of similarity between entity mentions and candidate entities.

[0055] The similarity between an entity mention and a candidate entity is calculated by combining the cosine similarity and prior probability of the entity mention context vector representation and the candidate entity context vector representation. The context of an entity mention is composed of the bag of words of all words in the same row and column, and the candidate entity context is composed of the bag of words of all words in the entity text description in the knowledge base. The entity mention context vector representation is obtained by the average of all word vectors in its bag of words, and the candidate entity context vector representation is obtained by the average of all word vectors in its bag of words, as shown below:

[0056] MES(m,e)=cosine(m context ,e context )+P(e|m)

[0057] Among them, m context The context vector representation of entity mention m, e context Represents the context vector representation of candidate entity e, P(e|m) represents the probability of m linking to e, and this probability is calculated by entity popularity. In the set of candidate entities mentioned by entities, different candidate entities often have different importance or popularity. For example, the probability of the entity mention "Chicago" linking to the entity "Chicago (city)" in the entire Web environment is greater than that of linking to the entity "Chicago (Oscar-winning movie)". This independent feature is very useful for entity linking. The present invention is based on the prior probability of Wikipedia statistics of entity mentions linking to a certain entity. First, <string, entity> tuples are collected from all anchor texts, redirection pages, and disambiguation pages, and then the proportion of the string linking to a certain entity is calculated as the prior probability of entity linking. The specific formula is shown below.

[0058]

[0059] The string m will be mentioned as an entity in the entity link, f(m,e) represents the frequency of co-occurrence of strings m and e, and f(e) represents the total number of occurrences of entity e. The prior statistics are shown in the table below.

[0060]

[0061] 5) Confidence calculation.

[0062] The pairwise entity joint disambiguation algorithm selects the pair of entity mentions with the highest confidence for joint disambiguation. The confidence is mainly composed of the row (column) semantic consistency, the similarity between the entity mention and the candidate entity, and the correlation between the entities. Given a pair of entity mentions m i ,m j , and their corresponding candidate entity sets CS i ,CS j , this paper defines the confidence as Γ(m i ,m j ). Referring to the following formula, the confidence calculation can be divided into two parts: one is the similarity between the elements involved in the pairwise entity linking, and the other is the change in the semantic consistency of the row (column) brought about by the linking operation. The hyperparameter β>0 is used to control the influence of the semantic consistency.

[0063]

[0064] Similarity calculation mainly includes three parts: the similarity between two entity mentions and their respective candidate entities, and the correlation between the candidate entities. Refer to the following formula, and The candidate entity set CS is i and CS j The MES is used to calculate the similarity between entity mentions and candidate entities, and the calculation method adopts the deep semantic matching model introduced in Section 4.1; EES is used to measure the correlation between entities to be linked, and the calculation method is the cosine similarity of pre-trained entity vectors.

[0065]

[0066] In the process of calculating confidence, the row (column) semantic consistency value is not used directly, but the change value of the row (column) semantic consistency is used. Refer to the following formula, ΔCSC N and ΔRSC N Indicates the entity mention m i ,m j The regularized result of the change in the semantic consistency of rows and columns after the link operation is completed. Calculate ΔCSC N (or ΔRSC N), the semantic consistency of the columns (or rows) before and after the link is first calculated, and then the change value of the semantic consistency is regularized.

[0067]

[0068] The regularization operation is implemented based on the following formula, where d is the change in semantic consistency. If d>0, it means that the semantic consistency increases, thereby increasing the confidence value. The σ in the formula is the logistic sigmoid function, and the regularization operation makes Norm(d)∈(-0.5,0.5).

[0069] Norm(d)=σ(d)-0.5

[0070] exist Figure 3 In this example, when the link m is completed 4 To e 4 、m 12 To e 12 After that, new link entities are added to the first and third columns. At this time, the column semantic consistency in the first and third columns and the row semantic consistency in the first and third columns have changed. When the change is positive, it means that the semantic consistency has increased, and the corresponding confidence will obtain a higher value.

[0071] 6) Pairwise entity joint disambiguation algorithm.

[0072] The pairwise entity joint disambiguation in the table is shown in Algorithm 1. The input of the algorithm is all entity mentions in the table and the corresponding candidate entity set. The algorithm first combines the entity mentions in the same row and column in the table to generate all entity mention tuples, namely mpSet, corresponding to rows 1-8 in Algorithm 1. Then the algorithm iteratively performs the pairwise entity joint disambiguation process:

[0073] 1) Use the top function to return each pair of entity mentions (m i ,m j )'s to-be-linked results and their corresponding confidences correspond to lines 9-14 in Algorithm 1, where the confidences are calculated using Formula 26.

[0074] 2) All entity mention bigrams are sorted based on confidence through the mostConf function, and the entity mention bigrams with the largest confidence are linked, corresponding to lines 15-16 in Algorithm 1.

[0075] In the pairwise entity joint disambiguation algorithm, the algorithm continuously iterates, and each iteration completes the linking of at least one entity mention, and finally achieves the linking of all entity mentions. The linking process ensures the linking quality of entity mentions and maximizes the effect of joint disambiguation.

[0076]

[0077]

[0078] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above specific embodiments. The above specific embodiments and the description in the specification are only for further illustrating the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of the present invention to be protected is defined by the claims and their equivalents.

Claims

1. A pairwise entity joint disambiguation method for Web tables, characterized in that: The method comprises the following steps: 1) Combine entity mentions in the same row and column in the Web table in pairs to generate all entity mention bigrams; 2) Calculate the confidence of all entity mentions when linking bigrams, and link the pair of entity mentions with the highest confidence to their respective entities, while removing other candidate entities mentioned by this pair of entities; 3) Update the confidence values ​​between different entity mentions in the table; 4) Iterate the steps 2) and 3) until all entity mentions in the table are linked; In step 2), the confidence is calculated as follows: 2-a) Confidence calculation introduces the change information of column semantic consistency during the linking process. Column semantic consistency is defined as the negative mean of the variance vector. Column semantic consistency CSC is calculated in the following way: CSC=-mean(var([e1,e2…,e n ])) where e1, e2, …, e n Represents a vector representation of a column of linked entities, var is used to obtain the variance vector, and mean is used to average the values ​​in the variance vector to obtain a scalar value representing the semantic consistency of the column; 2-b) Confidence calculation introduces the change information of row semantic consistency during the linking process. Row semantic consistency is defined as the negative mean of the relationship variance vector. The smaller the variance, the larger the negative mean of the relationship vector, the closer the relationship between different rows, and the more consistent the row semantics. Row semantic consistency RSC is calculated in the following way: r=e non-subject -And subject RSC=-mean(var([r1,r2,…,r n ])) where e subject Represents a linked entity in the primary key column, e non-subject represents the linked entity in the non-primary key column, r represents the relationship vector, var is used to obtain the variance vector, and mean is used to obtain a scalar value representing the semantic consistency of the row by averaging the values ​​in the variance vector, r1, r2, …, r n Represents the relationship vector representation between entities linked in different rows; 2-c) Confidence calculation introduces entity consistency information in the table during the linking process. Link entity consistency EES is calculated through the cosine similarity represented by the entity vector: EES(e1,e2)=cosine(e1,e2) Where e1 and e2 refer to the entity vector representations of the two entity mentions in the process of pairwise entity joint disambiguation; 2-d) Confidence calculation introduces entity mention and candidate entity similarity information. The similarity MES between entity mention and candidate entity is calculated by combining the cosine similarity and prior probability of the entity mention context vector representation and the candidate entity context vector representation. The context of entity mention is composed of the bag of words of all words in the same row and column. The candidate entity context is composed of the bag of words of all words in the entity text description in the knowledge base. The entity mention context vector representation is obtained by the average value of all word vectors in its bag of words. The candidate entity context vector representation is obtained by the average value of all word vectors in its bag of words, as shown below: MES(m,e)=cosine(m context ,e context )+P(e|m) Among them, m context The context vector representation of entity mention m, e context represents the context vector representation of the candidate entity e, and P(e|m) represents the probability that m is linked to e; 2-e) Confidence calculation method for combining multiple information. Given a pair of entity mentions m i ,m j , and their corresponding candidate entity sets CS i ,CS j , the confidence is defined as Γ(m i ,m j ), which contains two parts: one part is the similarity between the elements involved in the pairwise entity linking, and the other part is the change in row / column semantic consistency caused by the linking operation. The hyperparameter β>0 is used to control the influence of semantic consistency, as shown below: The similarity calculation includes three parts: the similarity between two entity mentions and their respective candidate entities, and the correlation between the candidate entities. and The candidate entity set CS is i and CS j The candidate entities in the MES are used to calculate the similarity between entity mentions and candidate entities; EES is used to measure the consistency of linked entities, ΔCSC N and ΔRSC N Indicates the entity mention m i ,m j The regularization results of the row and column semantic consistency change values ​​after the link operation are completed. The regularization operation is as follows: Norm(d)=σ(d)-0.5 Where d is the change in semantic consistency. If d>0, it means that the semantic consistency increases, thereby increasing the confidence value. The σ in the formula is the logistic sigmoid function, and the regularization operation makes Norm(d)∈(-0.5,0.5).