Are Missing Links Predictable? An Inferential Benchmark for Knowledge Graph Completion
Paper Β· 2021 Β· Yixin Cao, Xiang Ji, Xin Lv et al.
Summary
A missing link in a knowledge graph can be easy to guess, hard to infer, or impossible to settle from the facts the graph contains. A benchmark that withholds links at random can include all these cases under the same score. Cao and colleagues built InferWiki to make the distinction visible. They ask whether the graph contains evidence for the links a system is asked to predict, how that evidence varies from case to case, and whether the system can recognize when it has too little information to decide.
InferWiki starts with Wikidata and uses rules to choose which facts to expose during training and which claims to reserve for evaluation. A rule supplies a candidate conclusion and identifies the facts that support it. The authors also build longer chains by replacing a supporting fact with other facts from which it can be inferred. Since a rule can suggest an incorrect conclusion, they check claims against Wikidata and have annotators review cases that require further judgment. An incorrect claim can receive a negative label if the training facts support rejecting it. It can receive an unknown label if those facts leave the question unresolved. The resulting benchmark comes in two versions, InferWiki64k and the denser, more selective InferWiki16k.
The experiments test two skills. In link prediction, a system ranks candidates for a missing entity. AnyBURL, the rule miner also used to construct the benchmark, achieves a test Hit@1 of .714 on InferWiki16k, averaged over head and tail prediction. ConvE and TuckER reach .678 and .677 on the same measure. In triple classification, a system judges a complete claim. ConvE scores .899 F1 on the InferWiki16k test set under the binary, closed-world evaluation and .768 macro F1 under the three-class, open-world evaluation. The second task gives unknown claims a separate label, and the paper also changes how it aggregates performance, so those scores describe different tests.
The detailed comparisons show why the composition of a test set matters. Randomly corrupted claims are easier to reject than the annotated cases, and first-place accuracy generally declines as the known reasoning paths lengthen. When the authors retain only CoDEx evaluation positives with identified supporting paths, most baselines improve on the resulting benchmark. That result is compatible with InferWikiβs harder cases. Providing evidence can make a question answerable while leaving substantial work in following the evidence, choosing among plausible candidates, or recognizing that a proposed conclusion remains unsettled.
Deep dive: Are Missing Links Predictable? An Inferential Benchmark for Knowledge Graph Completion
InferWiki tests whether missing knowledge graph links have supporting evidence and whether a system can tell a false claim from an unknown one. Β· about 34 minutes to read
The problem and its context
A held-out fact still needs a basis for prediction
A knowledge graph records relationships as triples. The head is the entity the relation starts from, the relation says what kind of connection is asserted, and the tail is the entity at the other end. A graph might record a person's birthplace, a railway line's terminus, or the work from which a film was derived. Knowledge graph completion asks a system to use the facts it has seen to recover links missing from that graph. In the paper's account, better completion could help applications such as recommendation and information extraction.
Withholding recorded facts gives researchers a convenient set of known answers. A test query can conceal the head or tail, and the original triple identifies the answer the system should retrieve. The choice of which facts to withhold determines what the resulting exercise measures. If relevant evidence stays in training, the query can test whether a system connects it. If that evidence disappears, the same evaluation can reward guessing a common answer or penalize a system for failing to retrieve a fact that the training graph gives it little reason to choose. This distinction is central to the paper's treatment of reasoning.
The authors illustrate the problem with two examples from FB15k237. One asks for David's location and expects Florida. The facts shown alongside the question are that he was born in Atlanta and has United States nationality. Those facts might be relevant to some questions about David, but they provide no clear route to the particular location expected here. Knowing the correct answer from another source would let someone fill the blank. The benchmark is intended to reveal what follows from the graph it gives the system.
The other example keeps most of the months for a travel relation involving Zurich and withholds October. The remaining months make October easy to identify by elimination. The regularity that gives away the answer is the familiar calendar and the way the facts were divided. A correct answer on this item has a different interpretation from recovering a link by combining information about several people or places. Both cases can contribute to the same rank-based score even though their demands on inference are very different.
The paper groups earlier benchmarks according to how they handle this issue. Datasets such as Families, Kinship, and Country were designed around relationships with recognizable inference paths. The relations in Families, for example, can be combined to express family connections. Country focuses on geographical relations among countries, regions, and subregions. The authors see these datasets as demonstrations of how test facts can be tied to evidence. Their restricted domains also limit the variety of conclusions and inference patterns a system encounters. The paper discusses Families in connection with Composing Relationships with Translations.
A different group of benchmarks takes a public graph and divides its positive triples into training and evaluation sets. The paper places FB15k237, WN18RR, and YAGO3-10 in this group. They offer broader collections of facts, but the split can leave individual test answers with little identifiable support. Some earlier benchmarks also excluded equivalent or inverse relations to curb leakage. In FB15k-237, for instance, this was a way to avoid rewarding systems simply for recovering a held-out statement from a readily available counterpart. InferWiki revisits the decision of what to do with such patterns. The earlier benchmark is associated with Observed versus latent features for knowledge base and text inference.
A false claim and a claim the graph cannot settle
Choosing test positives is only part of evaluating a graph completion system. A classification benchmark also needs claims it expects the system to reject. The graphs discussed in the paper primarily record positive facts. An inexpensive way to make a negative example is to take an existing triple and swap its head or tail for another entity. Some benchmarks constrain the replacement to a suitable type. Even with such constraints, the new statement may be implausible for reasons that require little knowledge of the original fact, or it may happen to be true even though the graph has no record of it.
The paper distinguishes evaluations by what they ask a system to do with this uncertainty. A closed-world evaluation has a positive and a negative class. In InferWiki's implementation, claims marked unknown are assigned to the negative class for this task. An open-world evaluation treats unknown as a separate answer. It tests whether a system can distinguish a claim for which there is a basis for rejection from one for which the relevant facts fail to settle the matter. The practical difference appears when a system's output is used as a judgment about a new claim. Rejecting it and deferring judgment convey different information to the next person or system that relies on it.
CoDEx is an important predecessor in this account. It also uses Wikidata and includes manually verified hard negatives. A hard negative can look plausible enough to survive simple checks, so a useful scoring system needs more than the ability to put obviously irrelevant entities near the bottom. InferWiki retains the emphasis on harder examples and adds an explicit unknown label. It also makes the presence and character of supporting paths part of dataset construction. The authors later apply their procedure to CoDEx so that they can study the effect of selecting evaluation examples by their support while keeping the original training triples.
The mix of reasoning patterns affects the comparison
Different facts can be recovered by different operations. A symmetric relation lets evidence for one direction support the other direction. An inverse relation uses a different label when the entities swap places. A compositional inference joins several statements to reach a further conclusion. A benchmark with a heavy concentration of one pattern can favor a scoring method that handles that pattern particularly well. The paper discusses WN18RR's prevalence of symmetry in this connection and relates it to the evaluation of RotatE.
The authors also see a cost to removing short inferences altogether. If a graph uses two names for opposite directions of a relationship, learning that correspondence can be a genuine part of using the graph. The benchmark becomes less informative when these examples account for much of the score, or when their removal leaves no opportunity to test the skill. InferWiki therefore keeps several patterns and adjusts how frequently they appear. Its construction joins three decisions that a random split leaves largely to chance: whether the held-out claim has relevant evidence, how a judgment should handle uncertainty, and what kind of connection the evidence requires.
The method, step by step
Prepare a large graph for mining and a smaller one for construction
The procedure starts with two collections drawn from the September 2019 English Wikidata dump. The larger one is used to discover regularities. The smaller one is used to find concrete examples of those regularities and build the benchmark. Consider a rule that says a certain kind of family connection typically follows from a pair of other connections. Finding the rule benefits from having many families to inspect. Constructing a test item requires a particular family whose supporting facts can be placed in training and whose proposed conclusion can be checked.
How InferWiki builds an evidence-linked evaluation set
The steps in order.
The initial extraction keeps triples with two entity items and a relation with English labels. After removing duplicate triples, the authors report 40,199,175 triples, 7,734,841 entities, and 1,170 relation types. Those are counts for the extraction before the mining and construction filters. The authors manually remove relations they consider unhelpful for this purpose, giving identifiers and film ratings as examples. They also remove InstanceOf and subClassOf, following an earlier benchmark's practice, and restrict mining to the most frequent 500 remaining relation types.
The rule-mining pool focuses on the most frequent 800,000 entities and contains 8,632,777 triples. The smaller pool for construction contains 1,283,246 triples drawn from the 120,000 most frequent entities and the 300 most frequent relations. The latter count refers to the pool from which the benchmark is made. The eventual training split is smaller, and the construction procedure can suggest evaluation claims that were absent from that pool.
The distinction between the pools serves both scale and evaluation. A larger collection offers more opportunities to observe a proposed regularity and estimate how well it holds. The smaller one keeps benchmark construction and experiments manageable. It also changes the distribution on which the rules are instantiated. A rule that appears frequently in the mining pool can have few matches in the construction pool. The pools share a source and can overlap, a point that matters when interpreting the performance of the tool used to find the rules.
Mine rules and match them to entity triples
The authors use AnyBURL for rule discovery. They identify AMIE+ as another available tool and choose AnyBURL on grounds of efficiency and effectiveness. They run it on the mining pool for 500 seconds, a duration intended to allow traversal of every triple at least once. It returns 251,317 rules. The authors keep 168,996 rules whose confidence passes the selection condition.
F = {(fβ, Ξ»β)}βββα΄Ύ
F is the rule collection. Each pair contains a rule fβ and its confidence Ξ»β. The index p identifies a rule, and P is the number of rules in the collection. The braces denote the collection of pairs, with the index running from 1 through P.
Ξ»β β [0, 1]
Here Ξ»β is the confidence assigned to rule p. The membership sign β says that this score lies in the interval shown in brackets. The endpoints 0 and 1 are included. This score summarizes the rule as mined from the graph. Checking a particular conclusion remains a separate step.
Ξ»β > 0.1
The same Ξ»β denotes rule p's confidence. The greater-than sign makes 0.1 a strict cutoff for the initial selection. The rule miner can return a possible relationship without that relationship being reliable enough to retain, and even a retained rule can yield an uncertain or incorrect claim when used with particular entities.
The rules have a premise and a conclusion. The premise can contain several relation statements joined together. The conclusion contains a single relation statement. This format is a Horn rule. The paper uses a family example in which one person's spouse may be the mother of that person's child. In this notation, each relation takes an ordered pair of participants.
spouse(x, y) β§ father(x, z) β mother(y, z)
The symbols x, y, and z are variables that can be replaced by entities. In the example, x is the person who appears both in the spouse statement and as the father. The spouse variable is y, and z is the child. The names spouse, father, and mother denote relations, and parentheses enclose their ordered arguments. The conjunction sign β§ joins the two premises. The implication arrow β points to the proposed conclusion. The repeated variables require the same entities to occupy the corresponding positions wherever they appear.
Grounding a rule means finding concrete entities that satisfy its premise. In the paper's example, the construction pool contains a spouse link between LeBron James and Savannah Brinson and a father link between LeBron James and Bronny James. These two entries jointly match the rule because LeBron James fills the same variable in both. They go into training, and the relation the rule proposes between Savannah Brinson and Bronny James becomes a candidate for evaluation.
The presence requirement applies to the premises. Each fact used when matching the rule must occur in the smaller construction pool. The conclusion may already appear in Wikidata, or it may be a new proposal. This is where InferWiki's split differs from taking recorded triples and shuffling them into partitions. By assigning the evidence and target together, the procedure can associate an item with a reason to consider it. Whether the proposed relation is true, can be refuted, or remains unsettled by the graph is determined separately.
Add routes through the training graph
One evaluation claim may be supported by several paths. If the graph contains different matches that lead to the same conclusion, the authors can retain multiple routes. They can also replace a premise with facts from which a further rule derives it. The result is an extended path in which the training facts lie farther from the desired conclusion. A formerly direct supporting statement becomes an intermediate conclusion that a system may need to recover along the way.
The paper extends its family example by replacing the direct father fact about LeBron James and Bronny James. The replacement facts include LeBron James's father relation to Bryce James and Bronny James's sibling relation to Bryce James. A rule uses those facts to recover the intermediate father relation, which the original spouse-and-father rule then uses together with the spouse link. The final query stays the same while the evidence available for answering it takes a different form.
Ξ»(path) = ββ Ξ»β
Here path is the extended inference route and Ξ»(path) is its confidence. The product sign β instructs the reader to multiply the confidence values Ξ»β for the rules involved in that route, with p indexing those rules. The equation expresses the paper's construction convention for extended paths. Each additional rule contributes its confidence, so a long chain can contain individually plausible steps and still receive a lower confidence overall.
The authors organize paths by patterns as well as length. A pattern describes the role of relation labels and entity order in the inference. Some paths transfer information between triples involving the same two entities, while others connect a sequence of entities. The paper's notation for symmetry captures a case where the relation name remains the same after reversing the pair.
rβ(x, y) β rβ(y, x)
The symbol rβ is a relation and x and y are the entities in its two argument positions. The subscript distinguishes the relation from other relation symbols used below. The implication sign says that the statement on the left supports the one on the right. Both sides use rβ, but the order of x and y changes. The paper illustrates this with a partner relation between Prince Christopher and Friederike.
rβ(x, y) β rβ(y, x)
Here rβ and rβ are distinct relation labels, and x and y are again entities. The double arrow β represents implication in both directions. Swapping from rβ to rβ also swaps the argument order. The paper illustrates inversion with the capital and capitalOf relations connecting the Amravati district and Amravati. Each relation describes the connection from the corresponding end.
rβ(x, y) β rβ(y, x)
This is the direction and argument order shown in the paper's general notation for hierarchy. The symbols rβ and rβ designate the source and conclusion relations. The entities x and y occupy the indicated argument positions, and β represents a one-way implication. The accompanying hierarchy example uses derivativeWork and presentInWork for Superman and Superman Returns, with the same argument order in both triples. The example and the schematic thus differ in ordering. Both illustrate the one-way transfer from a more specific relation to another relation.
rβ(x, y) β§ Β·Β·Β· β§ rβ(y, z) β rβββ(x, z)
The symbols rβ through rβ denote relations in the premise, p indexes the last premise relation, and rβββ denotes the conclusion relation. The variables x, y, and z stand for entities. In the schematic, x and z are the endpoints and y illustrates a shared entity in the premises. The dots allow intervening premise terms, β§ joins the required statements, and β points to the inferred relation between the endpoints. The paper's family example uses mother and sibling facts to propose another sibling link across several people. Paths outside the named patterns are grouped as other.
Generate comparison claims and control the mix
Grounded rules produce claims worth inspecting, but the authors also need enough negative examples for classification. If annotation does not yield negatives in sufficient numbers, the supplementary procedure changes the head or tail of a positive test triple. The starting point matters. If a system can infer that a particular person was born in Rome, it may be able to reject an alternative birthplace even when the Rome triple itself was held out. Starting with a test positive makes that chain of reasoning possible. Starting with a fact already exposed in training would reduce the amount of inference involved.
The authors restrict this procedure to relations they treat as exclusive, with placeOfBirth as their example. They use a head-to-tail entity ratio and choose 1.2 as the heuristic threshold, applying the supplement when the ratio is smaller than that cutoff. An alternative tail for a relation that allows several true answers is especially risky as a supposed negative. A person can have multiple legitimate links under such a relation. Sampling one tail in place of another creates a proposal whose truth still needs checking. Even with the exclusivity heuristic, the authors later find errors in the randomly sampled portion.
The benchmark is also pruned to avoid letting frequent patterns dominate. The authors count evaluation examples by path length, relation type, and relation pattern. Within each of these views, they rank groups by frequency and remove randomly selected examples from the most frequent groups until human inspection finds the distributions acceptable. Relation type and relation pattern serve different purposes here. Place of birth is a type of link the graph records. Inversion and composition describe how one link can be inferred from others. A benchmark can contain many relation types while still concentrating heavily on a particular form of inference.
This balancing step aims for a range of examples rather than assigning identical frequency to every group. A long path depends on the existence of enough linked training facts and rules, and some relation labels naturally occur more frequently than others in the construction pool. Pruning changes which examples are used to measure performance. It also matters that one test claim can have several paths. In the later distribution analysis, the authors count every known path when describing patterns, but use the shortest identified path when assigning a length to a claim.
Assign labels and create the two settings
The authors first mark a generated triple positive if it is already present in Wikidata. They then manually annotate 4,053 remaining triples. For claims sent to annotators, the first question is whether the proposed fact is correct. Judges may consult external sources or use common knowledge. A claim that they cannot substantiate is put in the incorrect group at this stage. The second question, asked for those cases, concerns the evidence available from the benchmark's supporting facts. This is the step at which an incorrect candidate can be classified as unknown.
y β {1, β1}
The symbol y is the first annotation judgment. The sign β says that the judgment takes a value from the set in braces. The value 1 means the annotator accepts the triple as correct. The value β1 means the annotator marks it incorrect under the guideline, which also assigns that value when the search yields no evidence for the statement.
Ε· β {0, β1}
The symbol Ε· is the follow-up judgment for a triple placed in the incorrect group. The value 0 marks the claim unknown given the supplied facts. The value β1 keeps it in the negative class when the available evidence supports that judgment. The annotation stages answer different questions. External checking decides whether to accept a proposed fact. The follow-up asks what can be concluded from the evidence intended for the benchmark.
The examples make this distinction concrete. The guideline allows an annotator to consult a professional cycling site when checking whether a rider belonged to a particular team. It also allows consultation of railway information when deciding whether lines share a station. A candidate that fails the first step can still be hard to reject by examining the training triples. In one of the published unknown examples, facts connect railway lines indirectly through stations and other lines, yet those connections leave the claimed direct link unresolved. In one negative example, the evidence supports an alternative birthplace, creating a conflict with the proposed birthplace.
For a quality check, the authors select 300 test triples at random, with 100 from each label. The verification agrees with the assigned labels 84.3% of the time. The paper separately reports a relabeling investigation on 100 samples where judgments disagreed. It reports that humans preferred unknown 85% of the time in that investigation, whereas automatic labeling tended to choose positive or negative. The latter percentage describes the follow-up on disagreements, so it has a different meaning from overall agreement on the verification sample.
To finalize InferWiki64k, the authors discard entities outside the grounded paths and remove their triples. They then randomly put half of the evaluation pool into validation, leaving the other half for test. The smaller setting, InferWiki16k, comes from retaining a denser subset. The authors filter positives by confidence and reduce the negative and unknown groups to keep the classes in balance. The dataset analysis describes the stronger confidence criterion as follows.
Ξ» > 0.6
Here Ξ» is the confidence used to select the positive paths in the smaller setting. The greater-than sign expresses the stricter threshold as the dataset analysis states it. The construction account describes dropping positives whose confidence is smaller than 0.6. The two descriptions agree on the cutoff and leave the treatment of equality unclear. The result is a benchmark with a different concentration of structural evidence as well as a smaller entity vocabulary. The authors release both settings under the name InferWiki.
Experiments and results
The data used for evaluation
The two InferWiki settings differ in scale and selection. InferWiki64k contains 64,718 entities, 239 relations, and 782,243 training triples. It has 7,747 positives in validation and 7,747 in test. The validation set contains 6,125 negative examples and 1,605 unknowns. The test set contains 6,062 negatives and 1,685 unknowns. The authors use this setting for closed-world classification and link prediction. Its negative pool includes supplemented examples whose labels do not all have the level of verification the authors require for open-world evaluation.
InferWiki16k contains 16,288 entities, 197 relations, and 162,424 training triples. Its validation and test sets each contain 3,398 positives. Validation has 1,910 negatives and 1,456 unknowns, while test has 1,868 negatives and 1,501 unknowns. These are the label counts before the binary task folds unknowns into the negative class. The authors verify the smaller setting's test negatives by hand and use it for the open-world test as well as the other evaluations.
The comparison dataset, CoDEx-m-infer, uses the training set of CoDEx-m. The paper gives 17,050 entities, 51 relations, and 185,584 training triples for the original CoDEx-m. The inferential version restricts evaluation positives to examples with supporting paths found by the construction procedure. The reported count over validation and test falls from 20,622 positives in CoDEx-m to 7,050 in CoDEx-m-infer. Since the comparison holds the training facts fixed, it provides a way to study how selecting the evaluation questions changes performance.
Ranking entities and classifying claims
For link prediction, the system receives an incomplete triple. It can be given a relation and tail and asked to retrieve the head, or given the head and relation and asked for the tail.
(?, r, t) or (h, r, ?)
Here h denotes the head entity, r the relation, and t the tail entity. The question mark marks the position to be filled. The commas distinguish the slots, and the parentheses group them as a query triple. The word or indicates the two query forms. For each query, the system ranks candidates from the entity vocabulary. The reported overall link-prediction table averages the head and tail results.
The evaluation filters out alternative candidates whose completed triples were seen in training. This prevents such a known fact from occupying a ranked position that counts against the held-out answer. The paper adopts the filtering approach associated with Translating Embeddings for Modeling Multi-relational Data.
Mean reciprocal rank, or MRR, averages the reciprocal of the correct answer's position. A first-place answer makes the largest contribution, and the contribution falls as its rank drops. Hit@1 measures how often the right entity is ranked first. Hit@10 measures how often it appears within the first 10 positions. These measures answer related questions about the same candidate list. A system can place the answer among the leading candidates repeatedly while still having difficulty identifying which candidate should come first.
Triple classification supplies the entire triple and asks for a label. Systems first assign a real-valued score. A decision threshold converts the score to a binary label, and a pair of thresholds creates the three score regions used for the open-world task. The authors describe choosing thresholds on validation for each relation type. This is a classification procedure built on existing triple scores, so the evidence about unknowns concerns what those scores can distinguish after thresholding.
y β {β1, 0, 1}
Here y is the open-world target label. The symbol β means the label belongs to the set in braces. Its values are β1 for negative, 0 for unknown, and 1 for positive. The unknown region in the decision rule lies between the negative and positive regions. This places an assumption on how uncertainty is reflected in the score.
y β {β1, 1}
Here y is the closed-world target label, and β again denotes membership in the displayed set. The values β1 and 1 represent negative and positive. The evaluation assigns the unknown examples to β1, giving the same claims a binary interpretation. Accuracy measures the share of correct labels. Precision and recall describe different aspects of classification, and F1 combines them. The paper reports micro scores for the closed-world experiment and macro scores for the open-world experiment, where macro averaging gives the classes equal influence in the aggregate.
The baseline systems and their settings
The comparison includes systems from several families. TransE, ComplEx, and RotatE are embedding baselines, which learn numerical representations and use them to score triples. ConvE and TuckER form the rest of the embedding comparison. The paper treats Multihop as a system designed to follow paths and AnyBURL as a system that learns rules. Multihop and AnyBURL are designed for link prediction. The related methods are described in Complex Embeddings for Simple Link Prediction, TuckER, and Multi-Hop Knowledge Graph Reasoning with Reward Shaping.
The authors use OpenKE for their implementations of TransE, ComplEx, and RotatE and the original code for the other baselines. They begin with suggested settings and preliminary experiments, then search selected parameters. The reported candidate values are 256 and 512 for embedding size, 15 and 25 for the number of negative samples, and 4 and 8 for the margin. The appendix gives separate configurations for each dataset and system where those settings apply. These training negatives are part of fitting a scoring function. The annotated evaluation negatives serve a different purpose, namely judging the resulting predictions.
Triple classification with and without an unknown class
In closed-world classification, ConvE has the highest F1 of the reported baselines on each of the three datasets. Its test F1 is .884 on InferWiki64k, .899 on InferWiki16k, and .898 on CoDEx-m-infer. Its corresponding test accuracies are .881, .897, and .851. These results show why it helps to name the metric alongside the dataset. An accuracy comparison and an F1 comparison can give different impressions of how similarly the scoring procedure works across the datasets.
On InferWiki64k, RotatE has test recall of .924 and test F1 of .862, while TuckER has precision of .897 and F1 of .855. The different precision and recall values show how baselines can obtain similar aggregate scores with different judgments. On InferWiki16k, TransE has a test F1 of .820, ComplEx .805, and RotatE .825. TuckER reaches .866. These binary measurements combine annotated negatives and relabeled unknowns under the same target label, so success can come from distinguishing positives from both kinds of case, even when the patterns behind those cases differ.
Closed-world triple classification on the InferWiki16k test set by F1
ConvE leads the embedding baselines when unknown claims are scored as negatives.
The numbers
| System or setting | F1 |
|---|---|
| ComplEx | .805 |
| TransE | .820 |
| RotatE | .825 |
| TuckER | .866 |
| ConvE (this paper) | .899 |
The open-world task on InferWiki16k asks for three distinct labels. ConvE again leads the reported baselines, with test accuracy of .803, macro precision of .763, macro recall of .777, and macro F1 of .768. RotatE's test accuracy is .745 and its macro F1 is .736. The paper reports lower performance in the open-world comparison across the baseline systems. Besides introducing an extra distinction, the open-world task evaluates it using a different averaging convention. The results establish the ordering of the tested settings on their respective tasks without assigning the entire numerical change to the extra label.
Open-world triple classification on the InferWiki16k test set by macro F1
ConvE leads the comparison and RotatE is its closest competitor.
The numbers
| System or setting | macro F1 |
|---|---|
| TuckER | .618 |
| TransE | .676 |
| ComplEx | .701 |
| RotatE | .736 |
| ConvE (this paper) | .768 |
Link prediction across the benchmark settings
On InferWiki64k, AnyBURL achieves .559 test Hit@1 and .783 test Hit@10, averaged over head and tail prediction. ConvE reaches .475 Hit@1 and .747 Hit@10, while TuckER reaches .466 Hit@1 and .755 Hit@10. ConvE has test MRR of .575 and TuckER .573. The table leaves AnyBURL's MRR unreported, so its lead in the hit measures establishes its position on those measures alone.
On InferWiki16k, AnyBURL leads the same reported hit measures. Its test Hit@1 is .714 and its test Hit@10 is .892. ConvE records .678 Hit@1 and .868 Hit@10, and TuckER records .677 Hit@1 and .886 Hit@10. For the systems reporting MRR, TuckER has the highest result, .754, followed by ConvE at .748. TransE, ComplEx, and RotatE achieve InferWiki16k test MRR of .474, .537, and .629 respectively. The order among the leading embedding baselines thus depends on how the evaluation credits candidates below first place.
Link prediction on the InferWiki16k test set by head-and-tail Hit@1
AnyBURL leads first-place retrieval, with ConvE and TuckER close to one another.
The numbers
| System or setting | Hit@1 |
|---|---|
| TransE | .214 |
| ComplEx | .377 |
| RotatE | .450 |
| TuckER | .677 |
| ConvE | .678 |
| AnyBURL (this paper) | .714 |
The reported link-prediction scores on InferWiki16k are higher than those on InferWiki64k for the corresponding systems and measures. The authors associate this with the smaller benchmark's denser structure and stronger positive-path confidence. Both change in the construction of the smaller setting, alongside the entity vocabulary and evaluation membership. The comparison is consistent with denser, more selective evidence making ranking easier, while the design leaves the contributions of those changes intertwined.
The large separation within several systems between first-place retrieval and retrieval among the leading candidates helps explain the authors' interest in Hit@1. A graph can contain many entities that are easy to exclude. Once those have been ranked below the plausible candidates, choosing the correct one can still require using the connection encoded by the premises. The paper examines that last step by looking separately at relation patterns and path lengths.
What the ablations show
Selecting evidence-backed examples changes CoDEx scores
The clearest controlled comparison starts from CoDEx-m and uses the same training set for CoDEx-m-infer. The authors remove evaluation positives for which their procedure identifies no supporting path. In their comparison of triple classification F1 and link-prediction MRR, the baselines generally score higher on the inferential version. ComplEx on link prediction is the reported exception. Holding the training graph fixed makes the selection of evaluation examples the main design change being examined.
The result clarifies what the guarantee is meant to accomplish. When a benchmark asks a system for facts that the available graph provides little basis to retrieve, an aggregate can reflect gaps in the test questions as well as limitations of the system. Selecting queries with evidence can raise that aggregate. The selected set can still contain difficult questions, and its harder subsets can expose weaknesses that disappear in an average. The experiment measures the performance effect of evaluating a different collection of claims on the same training facts.
Support is defined through the procedure used to find it. The authors compare their path analysis with the original CoDEx discussion, which reports 20.56% for triples identified as symmetric or compositional through an AMIE+ analysis. InferWiki's authors find more paths using a more extensive collection of rules drawn from a large set of triples. The two analyses use different rule inventories and pattern coverage. Together they show why attaching a path to a test item is more informative than treating a count of discovered paths as an inventory of every question that can be answered.
The path distributions show another difference. The authors find no inversion and few symmetry or hierarchy patterns in the CoDEx comparison. InferWiki's pattern counts are more evenly spread. Those counts include all identified paths for a claim with several routes. A benchmark can therefore have many examples of a path type even when some of those paths support the same test claim. This is appropriate for describing evidence available in the constructed graph, and it differs from counting the number of independently scored queries.
Path extension adds depth, and deeper cases generally score lower
The path extension procedure has a direct effect on the known routes through InferWiki. The reported maximum path length is 9 after extension and 4 before it. The average is 2.9 after extension and 1.5 before it. For this analysis, when several paths support the same triple, the authors use the shortest one they found. CoDEx-m-infer, by comparison, is concentrated in paths of up to 3 hops. The counts indicate how far the identified evidence stretches after construction.
For performance by path length, the paper looks at tail-prediction Hit@1 on InferWiki64k. The curve trends downward as the path length increases, with fluctuations across individual lengths. This is consistent with a system having greater difficulty selecting the right tail when the available evidence takes more steps to connect. It is especially relevant to the tail-only Multihop comparison, which lets the paper include a path-following baseline on the task it was designed to perform.
The authors give two reasons to interpret the trend cautiously. First, the shortest path the procedure finds can be longer than a path it misses. A question in a long-path group might be answered by a shorter route available in the graph. Second, the composition of the groups changes with length. The authors observe that shorter paths contain more infrequent relation types and longer paths often involve common relations. A short case involving a rare relation can be difficult for a system that has seen few similar examples. A longer case can have more familiar components. The curve describes performance across the resulting groups, where path length and relation frequency can both matter.
This distinction also affects how the extension statistics should be read. Replacing a premise with its own supporting facts demonstrably lengthens a known route. The resulting performance analysis asks how baselines score on examples grouped by known length. It does not pair each query with two versions of the graph and measure the cost of the replacement on that same query. The before-and-after path statistics establish the construction change, while the tail-prediction curves characterize the final evaluation set.
Relation patterns expose different strengths
The paper reports InferWiki64k tail-prediction Hit@1 separately for symmetry, inversion, hierarchy, composition, and other patterns. TransE obtains .000 on symmetry and .049 on inversion. AnyBURL reaches .782 and .793 on the corresponding groups. ConvE scores .558 on symmetry and .668 on inversion. These comparisons show why a single figure for link prediction can conceal differences involving fairly short paths. Depending on the relation involved, reversing the two entities or changing the relation label can be a demanding prediction.
The authors note that ComplEx and RotatE can represent the relevant patterns yet have difficulty putting the correct entity first in this evaluation. ComplEx records .130 on symmetry and .279 on inversion. RotatE records .191 and .246 for the same groups. Being able to express a regularity in a scoring method is one component of successful retrieval. Learning the regularity from the observed facts and applying it strongly enough to outrank competing entities supply additional tests.
Hierarchy changes the ordering. On that group, ConvE reaches .855 and TuckER .850, compared with .782 for AnyBURL. The overall lead of the rule-based baseline in first-place retrieval does not imply a lead on every pattern. The composition group gives ConvE .602, TuckER .625, and AnyBURL .686. Those outcomes show how changes in the distribution of patterns could affect a comparison, even if the methods and their training procedure were unchanged. For composition in particular, the ability to follow several related facts is still consequential with evidence present.
The paper also examines the frequency of individual relation types in both InferWiki settings and compares entity and neighbor distributions with other benchmarks. Those views describe the opportunities systems have to observe repeated relations and connected entities in training. They complement the pattern breakdown. A common relation can occur in a difficult chain, while an uncommon relation can occur in a simple inversion. Reporting performance across patterns helps keep these features of the benchmark visible when interpreting a single score.
Negative provenance and thresholds explain different failures
The authors report triple classification results separately for positive examples, negatives added at random, and annotated negatives, with relabeled unknowns in the last group. The reported figure is for InferWiki16k. The randomly generated cases are the easiest for the baseline systems. Positive cases are somewhat harder, and accuracy drops on the annotated group. In that breakdown, the origin of an example describes how the candidate was obtained. The smaller benchmark's manual verification of test negatives is a separate matter of how their labels were checked.
The authors attribute much of the decline on annotated cases to claims the benchmark judges unknown in the open-world setting. Such cases lack the obvious inconsistencies that can make a random replacement easy to spot. Assigning them to the negative class in the binary evaluation asks the scoring function to group them with claims for which there is an identifiable basis for rejection. The resulting errors can reflect an inability to work with difficult evidence, ambiguity about what the evaluation treats as a negative, or both. The provenance breakdown makes those difficulties visible.
The open-world analysis examines what happens as the decision thresholds vary. The paper reports worst macro F1 scores around 10% in the threshold search. It also reports average F1 scores around 20% for ComplEx, RotatE, and TuckER much of the time in this analysis. These are summaries of behavior under alternative threshold choices, distinct from the best-setting results for open-world classification. ConvE leads the reported comparison across the best, worst, and average cases. TransE also fares better than several competitors on the average outcomes the authors discuss.
Threshold sensitivity matters because a triple scorer ranks claims by one continuous value. The open-world decision procedure uses a middle score region to represent lack of sufficient evidence. For that arrangement to work reliably, many unknown claims must land between claims the graph supports and claims it gives grounds to reject. If plausible false claims and graph-undetermined claims receive overlapping scores, the precise location of the cutoffs can change many predictions at once. The paper's threshold analysis exposes that dependence using the same underlying scoring methods.
Limitations
Limits identified by the authors
AnyBURL helps define the kind of regularity an InferWiki test example can exhibit. It also competes as a baseline. The authors explicitly acknowledge that this could favor it. Mining from a larger pool and grounding on a smaller one changes the distribution of rule matches, but the two pools overlap. The comparison may therefore reward alignment with the rule miner's preferences in addition to general ability to solve graph completion problems. The authors consider combining the output of several rule miners in a future version.
A second problem concerns negative labels in InferWiki64k. Part of its negative pool comes from random corruption under the exclusivity heuristic. The authors manually audit randomly sampled negatives and find a 15.7% error rate. Some claims may be unknown when judged under open-world assumptions. The reported rate applies to the sampled, randomly generated negatives examined in that audit. It is not an estimate for every label in InferWiki64k. The authors conduct the open-world experiments on InferWiki16k, where they verify the test negatives manually.
The authors also recognize that some grounding paths are unreasonable. Finding instances that fit the premises of a mined rule supplies a structural connection between the facts and the conclusion. A faulty rule can establish such a connection while offering little semantic reason to believe the conclusion. InferWiki16k addresses this in part through a stricter confidence cutoff and annotation. The authors identify better rule mining and automatic assessment of whether paths are reasonable as open work. They report no quantitative measure that covers the rationality of all paths in the benchmark.
A further concern is whether certain relations tend to attract the unknown label. The authors acknowledge some relation bias while giving an example of connectsWith occurring among both positives and unknowns. The path in a particular case also matters. This shows that relation labels do not determine every judgment. It leaves open how much a system can learn about class proportions from the labels alone, especially when training and evaluation share common relations. The paper balances relation frequencies and offers examples, while its reported analyses do not isolate how much those frequencies contribute to classification performance.
Limits of the experimental claims
The benchmark's notion of predictability is conditional on its evidence and rule inventory. A positive conclusion with a recorded path has an identified route through the training data. Knowing of that route does not prove that every premise is relevant in the real world, or that all competent reasoners would reach the same conclusion. Conversely, a discarded CoDEx example may have support that the mining procedure did not discover. The study examines questions selected by the presence of known support. That condition is strong enough to distinguish the evaluation design from a random split, and its strength still depends on the quality and coverage of the rules.
The path-length measure has a related constraint. It gives the shortest path found, which can be longer than the shortest path available. As a result, a system's success on a long-path example does not show it used the long path the authors recorded. A scoring function could use another route or exploit statistical regularities in the training graph. Examining how results vary by known path length can reveal which groups are hard. Establishing how an individual answer was reached would require evidence about the steps taken by the system. The ranking and classification scores observe the answer, not the reasoning process behind it.
Unknown also has a narrower operational meaning here than the full range of uncertainty a graph user might encounter. The annotation protocol begins by checking candidate claims against external information. For a claim not accepted at that stage, the annotator then considers whether the supplied graph facts support rejecting it. Lack of external confirmation can place a claim in the incorrect group, so the first-stage decision is partly constrained by what a judge can find. The final unknown label therefore describes a judgment relative to the supplied evidence and the annotation procedure. The agreement check shows that these decisions sometimes vary across judges.
The open-world baseline uses two thresholds on a single score. Its results tell us how well that particular representation separates the three labels. Systems that explicitly compare evidence for a claim with evidence against it could give different results, but the paper does not evaluate that approach. The difference between the binary and three-class results likewise cannot be attributed to a single change. The experiment adds a decision boundary, separates a formerly merged class, and reports a different averaging convention. The measured scores are informative within each of those setups.
The smaller and larger InferWiki settings also differ along several dimensions at once. The higher-confidence positives, denser structure, reduced vocabulary, and changes to evaluation composition are part of the same construction decision. Higher ranking scores on InferWiki16k show that the tested systems fare better on that setting. The comparison gives no independent estimate for the contribution of graph density or rule confidence. Holding the training graph fixed in the CoDEx comparison provides a more focused test of evaluation selection, though it still compares different questions.
Finally, the starting data shapes what the study can establish. The benchmark comes from an English-labeled Wikidata snapshot, uses frequency filters, and removes selected relations before mining. Its coverage is broad across the types it retains, but it does not test inference across separate knowledge graphs or under a shift to a different knowledge source. The authors identify cross-graph inference and transfer as future directions. The reported comparisons establish how the tested baselines handle these particular training graphs, candidate vocabularies, and judgments about evidence.
What came after
SimKGC cites InferWiki and addresses knowledge graph completion using a contrastive approach with pretrained language representations. Its stated approach concerns how to learn a completion system. InferWiki concerns the evidence a benchmark makes available and the judgments it asks a completion system to make. Those are connected questions because the value of a better ranking procedure depends in part on whether its test queries offer a way to distinguish recoverable links from unsupported guesses.
The citation establishes a connection between the works. It leaves open how directly SimKGC adopted InferWiki's procedures. In particular, it gives no basis for attributing rule-guided splitting, explicit unknown labels, or analysis by path length to SimKGC. The methodological connection that can be drawn is that a contrastive completion system and an evidence-linked benchmark address different parts of the same evaluation. One supplies a way to score candidates. The other makes it possible to ask what sort of evidence separates the correct candidate from its competitors.
InferWiki's link-prediction results illustrate the distinction that matters for such a comparison. Ranking the right entity among several likely candidates and putting it first can yield different assessments of the same system. Its classification results pose a further question about what happens when a proposed link is plausible but the graph cannot settle it. These measurements give separate meanings to success in retrieval and success in judging the evidence available for a claim.
Cite
Cite as Yixin Cao, Xiang Ji, Xin Lv, Juanzi Li, Yonggang Wen and Hanwang Zhang. 2021. Are Missing Links Predictable? An Inferential Benchmark for Knowledge Graph Completion. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).
@inproceedings{cao2021are,
title = {{Are Missing Links Predictable? An Inferential Benchmark for Knowledge Graph Completion}},
author = {Yixin Cao, Xiang Ji, Xin Lv, Juanzi Li, Yonggang Wen and Hanwang Zhang},
booktitle = {Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
year = {2021},
doi = {10.18653/v1/2021.acl-long.534},
url = {https://doi.org/10.18653/v1/2021.acl-long.534}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cao-2021-are-missing-links-predictable-inferential/