Learning to Exploit Structured Resources for Lexical Inference
Paper · 2015 · Vered Shwartz, Omer Levy, Ido Dagan et al.
Summary
Finding a name in a text can be easier than knowing what it refers to. A system answering a question about an artist may encounter Beyoncé without seeing the word artist nearby. To use that passage, it needs to infer that the name fits the category. The paper studies such decisions as lexical inference. Given an ordered pair of terms and examples of the relation of interest, a classifier must decide whether the first term licenses the inference to the second. WordNet offers an established way to make some of these decisions, but its coverage of proper names and recent terminology is limited. Larger resources provide more facts and a more difficult selection problem. Each has many kinds of links, and the links worth following depend on the inference being tested.
The authors turn that selection problem into supervised learning. They represent each resource as a graph that distinguishes written terms from the concepts those terms can name. For each pair, they find the shortest connections within the individual resources and record which kinds of links occur along those connections. Their strongest approach learns a list of permitted link types, called a whitelist. A connection is accepted when every link type it uses is permitted, and an accepted connection suffices for a positive prediction. Training examples label whole pairs, so the learner has to work out which kinds of links support correct decisions without being told which connection justifies each label.
On common-noun datasets, the learned lists recover the strongest hand-built WordNet choices at some points on the precision–recall curves. On the authors’ proper-name dataset, adding DBPedia, Wikidata and Yago to WordNet increases coverage, particularly recall. At a selected operating point on that dataset, the classifier reaches 97% precision at 29% recall with a whitelist of 44 edge types. A supervised comparison using word embeddings often finds more positive pairs, while the graph approach attains higher precision on some datasets. The error analysis locates much of the remaining difficulty in the evidence available to the classifier. Many missed pairs have no connection that supports the intended inference, even when the resources contain both terms.
Deep dive: Learning to Exploit Structured Resources for Lexical Inference
This paper shows how to learn which knowledge graph relations support lexical inference, especially when one of the terms is a proper name. · about 37 minutes to read
The problem and its context
What an ordered pair asks
A lexical inference can connect an expression in a text to a different expression that a task needs. If a passage identifies someone by name and a question asks for an artist, the system needs a link between the person and the category. A person’s name and a category can fit together even when their written forms give little indication of the relationship. The paper’s question-answering example puts the category to work as a filter. Beyoncé Knowles and Lloyd Blankfein both fit the financial condition in the example, and the requested category is what distinguishes the intended answer. The authors use that scenario to motivate the narrower problem of judging pairs, a problem in question answering and lexical semantics.
The order matters because the inference may go from a particular kind to a more general kind. Cat supports animal in that direction. Given animal, a reader still needs evidence to infer cat. Synonymy offers a different case. The authors treat elevator and lift as expressions that can support each other. These examples explain why relatedness alone gives an incomplete account of the task. Two terms can be close in meaning while the answer depends on which term is supplied first, what second term is proposed, and what sort of relationship the annotation calls for.
Different applications can also disagree on which relations are relevant. Class membership is appropriate when the job is to recognize an instance or subtype. A causal link can be useful when the task calls for a consequence. A relation between a place and a larger place can support one inference about them and fail to support another. The paper illustrates this with London and England. Someone living in London can be described as living in England, while someone leaving London may remain in England. The underlying geographical relation stays the same while the surrounding wording changes what follows from it. The experiments reduce the problem to pair classification, drawing the intended interpretation from the labels in each dataset.
That choice makes the annotation procedure consequential. A collection created to study lexical entailment between distributionally similar nouns can draw a different boundary from one derived from entailment between larger expressions. A dataset designed to recognize whether a name belongs to a class draws a different boundary again. The authors use the term target relation for the decision a particular set of examples defines. That relation need not have an exact counterpart among a resource’s own property names. Several properties may be informative for it, and properties that are useful on one dataset may be unusable on another.
Evidence from text and from curated relations
The authors describe earlier work that looks for evidence directly in corpora. A pattern-based approach looks for phrasing that reveals a relation between words in the same stretch of text. If a passage presents named items as examples of a category, that wording can furnish evidence about the items and the category. There is also work on comparing the patterns that express semantic relations. These approaches take the relation as something a text can express explicitly, as in Automatic Acquisition of Hyponyms from Large Text Corpora and Similarity of Semantic Relations.
A distributional approach uses contexts in which each term appears to form a representation of that term. This gives it a source of evidence even when the two terms in a candidate pair rarely appear together. The paper describes a move from mostly unsupervised corpus methods towards classifiers trained on positive and negative pairs. Under supervision, the annotated examples determine what kind of lexical inference the system should recognize. One challenge is that terms can have related contexts for several reasons. The contexts that make two nouns distributionally similar can reflect a shared subject matter, a shared category, or some other association. The paper describes corpus methods as having broad reach and frequently insufficient precision for practical use. The underlying approach is distributional semantics.
WordNet gives the system a different form of evidence. Its entries connect concepts through named relationships, and each form can lead to the concepts associated with its senses. Earlier resource-based approaches often started by choosing the relation types that could support an inference. They then looked for chains made entirely of those types. With a chain of increasingly general categories, a system can connect dog to mammal without requiring the resource to store that exact pair as a direct assertion. Another approach computes a degree of semantic similarity between senses using their position in WordNet’s hierarchy. The paper later evaluates a version based on a shared hypernym, the more general category that connects the concepts. This approach comes from Using Information Content to Evaluate Semantic Similarity in a Taxonomy.
The suitability of a relation type can become a matter of judgment even in a relatively small taxonomy. The authors report broad agreement on using synonymy and going from a narrower category to a broader one. Part–whole relations pose a harder choice. A chain through a part or a whole may support the intended conclusion for one application and license an unwanted inference for another. Adding a relation to a hand-built list thus has consequences across every pair to which it applies. A useful list for one benchmark may encode assumptions that a different benchmark does not share.
What changes when the resource gets larger
The paper contrasts WordNet’s coverage with resources whose facts extend over many named entities. Wikidata supplies facts entered by contributors for Wikimedia projects. DBPedia contains structured material from Wikipedia, including information drawn from infoboxes, redirects and disambiguation links. Yago draws on Wikipedia, WordNet and GeoNames. The authors describe previous uses of such resources in tasks including question answering and identifying when expressions refer to the same entity. They also point to earlier work that used structured Wikipedia data for lexical inference, so their proposed contribution is a way to learn which relations to use from a resource. The research setting spans knowledge graphs and ontologies, Open Information Extraction Using Wikipedia and Semantic Parsing on Freebase from Question-Answer Pairs.
The snapshots illustrate both kinds of scale. The table gives WordNet 150,000 entities and 13 properties. Yago has 10,000,000 entities and 70 properties. Wikidata has 6,000,000 entities and 1,200 properties, and DBPedia has 4,500,000 entities and 1,367 properties. Those counts describe the resources as used in the paper. More entities create opportunities to find the terms in a pair, while a wider property inventory gives the search more ways to connect them. A property that represents an occupation, an office or a connection between a work and a performer may help on different examples. Many relationships in the same inventory will be irrelevant to the task at hand.
This makes manual selection a joint problem of vocabulary and evidence. A person devising a list would need to know which properties exist, anticipate where each one is useful, and consider how it behaves when combined with other links. A list drawn up for one target relation would need reconsideration when the labels change. The authors ask whether pair-level examples can do that work. The choice to learn from pairs also preserves a practical feature of the benchmarks. A dataset can say that Beyoncé supports artist without specifying the relevant sense, the intermediate concepts, or the properties a graph search ought to use.
The method, step by step
From terms to candidate connections
The training data contain ordered term pairs with positive or negative labels. A positive means the proposed inference holds according to that dataset’s criteria. At prediction time the classifier sees the pair and queries the structured resources. It has to derive its evidence from what those resources say about the terms, then apply what it learned from the training labels.
xRy
Here x is the source term, y is the proposed conclusion term, and R is the target relation specified by the labeled examples. Writing R between the terms means that the ordered pair satisfies that relation. The same setup can be used with datasets that give R different meanings.
Each resource becomes a directed graph, denoted by G. A graph has nodes for terms and separate nodes for concepts. The term node is the starting point for the form supplied by the dataset. A concept node denotes a particular sense or entity to which the form can refer. The paper uses the distinction between a lemma and a synset to explain the two levels. In the case of a name, a concept may be the person or work the name identifies. For a common noun with several readings, one term can lead to several concept nodes. Using separate nodes preserves that difference throughout the search.
Edges connect nodes and carry property labels. Some edge types link a form with a concept. Others connect concepts, recording facts such as a person’s occupation or a relationship between a category and its parent. The endpoint links get a term pair into and out of the concept graph, where the factual or lexical relations are represented. In a path connecting Beyoncé to artist, for instance, evidence about occupation can help bridge the gap from a named person to a category. The eventual decision depends on all the edge types along the connection, including those at the ends.
With multiple resources, the graph consists of separate components. The same written form may be looked up in each resource, but the path must stay inside the component where it began. The authors illustrate the danger of connecting matching term nodes with date. A calendar entry in Wikidata and a fruit sense in WordNet may be attached to the same form. If graph components are joined at the spelling, a path can wander from the calendar concept to the fruit concept through that shared form. Connecting concepts that have been independently identified as equivalent would require a reliable mapping between resources. The authors leave that extension for future investigation.
Learning which resource links support a term-pair inference
The steps in order.
The graph is a source of candidate evidence. Much of the training work consists of deciding which evidence is trustworthy. A graph may contain several equally short links between the same endpoints. Each can tell a different story about the pair, and each is available for evaluation. This matters when an arbitrary choice of a single route would erase an alternative with more relevant properties. Conversely, collecting the shortest routes does not mean every pair gets a usable one. A term may be missing, a directed connection may be absent, or the route found may describe a relationship that has little bearing on the label.
Finding the shortest paths
The path search keeps all minimum-length connections within each resource, subject to a maximum length of 8. The authors report that restricting the representation to shortest paths gave better performance. A pair connected at a given length therefore supplies the routes tied at that length, without also supplying the longer routes within the limit. The limit addresses the cost of searching densely connected graphs. An extra step can add a large number of possibilities when many edges leave each node.
The authors use bidirectional breadth-first search. A breadth-first search extends a frontier of reachable nodes in order of distance from its starting point. Here a forward frontier starts at the source term and a backward frontier starts at the destination term. Following incoming instead of outgoing links on the backward side still respects the direction of a path from the source to the destination. When the frontiers meet, the search has found connecting routes at the relevant distance. Growing the frontiers from both ends reduces the depth to which either side must expand.
O(b^(ℓ/2))
O gives the order of growth in the authors’ search-cost comparison. The symbol b is the branching factor, which describes how many continuations a node can offer. The symbol ℓ is the path-length bound, ^ denotes exponentiation, and ℓ/2 expresses the depth of expansion when the work is divided between the ends. For a bound of 8, the paper gives the bidirectional comparison as follows.
O(b⁴)
O and b retain their meanings. The superscript ⁴ gives the exponent in the comparison at that bound. The corresponding bound in the paper for breadth-first search from one end is larger.
O(b⁸)
O again denotes the order of growth and b is the branching factor. The superscript ⁸ reflects the full search depth in the authors’ one-ended comparison. These expressions concern searching for connections. A pair with many tied routes can still require the reconstruction of multiple paths.
Path finding has two phases. The first finds the nodes that can lie on shortest paths. It temporarily sets aside the edge types, since the question at that point is where a search can move. The result is a simpler directed graph that can be stored in a sparse adjacency matrix. The matrix represents connections between nodes and can be manipulated without storing an explicit entry for every possible pair of nodes. The second phase reconstructs the paths using the relevant nodes and retrieves the edge labels. That is where two routes traversing different properties become distinct evidence for the classifier.
The appendix describes the first phase using vectors of node membership. The starting vector for each term has a mark only at the term’s node. As the search proceeds, a vector describes the nodes on the corresponding frontier. The forward update can be written as follows.
n⃗ₓ ← n⃗ₓ · A
n⃗ₓ is the frontier vector on the x side, and A is the resource’s adjacency matrix with edge types set aside. The dot denotes multiplying the vector by the matrix. The arrow assigns the resulting frontier back to n⃗ₓ. On the other side the search needs the reverse connectivity.
n⃗ᵧ ← n⃗ᵧ · Aᵀ
n⃗ᵧ is the frontier vector on the y side, and the superscript ᵀ denotes the transpose of A. Using that transpose makes an update follow incoming links in the original graph. The dot and arrow again denote multiplication and replacement of the frontier. The appendix alternates the forward and backward updates and checks whether the two frontiers overlap.
n⃗ₓ · n⃗ᵧ > 0
The vectors identify the current frontiers. Here the dot is the inner product of the two vectors, so > 0 expresses the test for at least one node reached by both sides. The meeting frontier is the intersection of those node sets.
n⃗ₓᵧ = n⃗ₓ ∩ n⃗ᵧ
n⃗ₓᵧ denotes the vector for the common nodes. The equals sign defines it, and ∩ is intersection, applied to the sets represented by the vectors. The appendix then describes working recursively from each end to that common frontier. The relevant nodes from the two parts are combined. When the remaining connection has length 1, it suffices to combine the nodes at its ends. If the search allowance runs out without a connection, the procedure returns an empty result. This phase locates nodes for reconstruction. The labels used to judge the paths come back into play afterwards.
Turning a path into features
A path can be described in full by recording the sequence of nodes and the edge at each step. The classifier instead uses a representation centered on edge types. Each possible type has a feature entry. The binary classifier records whether that type appears anywhere in the path. The weighted classifier uses its frequency in the path. The features do not identify a particular person, work or intermediate concept. The connection is discovered through particular graph nodes, but the lesson carried to future examples is about categories of links.
The resulting “bag of edges” loses most of the order information. A binary bag also gives the same representation to paths that differ only in how many times a type appears. The authors preserve a specific positional distinction by marking the first and last edges. A link from a term to its concept is expected at the beginning, and a link out to a term is expected at the end. Passing through a term in the middle can allow a path to move between senses. Marking the endpoints lets the learner treat those uses differently, in spite of using a representation that generally leaves aside the sequence.
This representation creates a hierarchy of decisions. A pair supplies a set of paths, each path supplies edge features, and the training data supply a label for the pair. A positive label gives the learner an incentive to find at least one acceptable connection. It does not positively label all the paths. A negative pair puts pressure on any selection that would accept a connection between its terms. This distinction is essential because equivalent labels at the pair level can arise from very different evidence. A positive pair can have an obvious occupation link or a connection through more general categories, and some positive pairs supply no usable path at all.
The binary decision rule
The binary approach keeps a single whitelist for a given fit. Every edge type in the representation is either permitted or excluded. To judge a path, the classifier checks that the set of types used by the path is contained in the whitelist. To judge the pair, it checks whether any of its stored paths passes that test.
∃ φ ∈ paths(x, y) : φ ⊆ w
∃ means that at least one qualifying element must exist. φ is the binary representation of a path, viewed as the set of its edge types. The symbol ∈ says that φ belongs to paths(x, y), the collection of represented paths for the ordered pair. The colon separates the element being sought from the condition it must satisfy. The symbol ⊆ means that every element of the set on the left is in the set on the right, and w is the whitelist. When there are no paths, the existence test fails. When there are several, one qualifying path is sufficient.
The rule gives a precise meaning to rejecting an edge type. A path using it fails even if the remaining links are frequently excellent evidence. The decision does not depend on the proportion of allowed edges along the path. A place relation, for example, cannot make up for a link the current whitelist excludes. The authors connect the all-edges rule to transitivity. If links are treated as supporting the target relation, chaining them is presumed to support the inference between the ends. A true pair may still lack any graph path that exhibits such a chain. A negative prediction can therefore arise from missing evidence as well as from the presence of only unsuitable links.
Learning a whitelist and choosing its operating point
An edge type earns a place through its effect on labeled pairs. The learner considers subsets of the available edge inventory and seeks one whose predictions have high training utility. There is no separate training label for an occupation edge, a membership edge or an edge from a term to a concept. Their inclusion is chosen in light of which entire paths become acceptable and how those accepted paths affect the pair-level results.
E = {e₁, …, eₙ}
E is the inventory of possible edge types. Each e with a subscript identifies an edge type, ₁ identifies the first, ₙ the last, and … stands for the intervening types. n is the size of the inventory. Braces enclose the set, and the equals sign defines E. A candidate whitelist is a subset of this inventory.
u : 2ᴱ → ℝ
u is the utility function. The colon introduces its domain and range, 2ᴱ names the set of all subsets of E, and → indicates that the function maps each candidate subset to a value in ℝ, the real numbers. Utility in the subset-selection formulation is the training score for the whitelist.
w* = arg max_{w ⊆ E} u(w)
w is a candidate with all its types in E, as required by ⊆. The notation u(w) means the utility of that candidate. arg max asks for the candidate at which utility is greatest, and the asterisk in w* marks a maximizing whitelist. The paper uses a search for a good approximation to this objective.
The score used to guide selection is the F-measure at a specified emphasis on precision or recall. Precision asks how many predicted positives are labeled positive. Recall asks how many labeled positives the classifier recovered. A strict whitelist may admit a set of paths with very few incorrect predictions and still miss many true pairs. An expanded list can help reach more of the positives, while additional accepted paths can also generate errors. The training score lets the authors explore that tradeoff systematically.
Fᵦ = ((1 + β²) · precision · recall) / (β² · precision + recall)
Fᵦ is the F-measure indexed by β, and β² is the square of the parameter that controls the relative emphasis. precision and recall are the pair-level rates just described. The equals sign defines the measure. The dots are multiplication, the plus signs give addition, and the slash divides the numerator by the denominator. The 1 is the fixed constant in the numerator, while the parentheses group the factors. Smaller values of β² emphasize precision. The authors train at a range of values so that each approach can be evaluated under different priorities.
Searching every subset is impractical for the property inventories considered. The authors tried several local search procedures and found genetic search effective. A candidate is stored as a bit vector with an inclusion bit for each edge type. Its fitness comes from the F-measure it obtains on the training examples. Large whitelists receive lower fitness scores because the authors also use L₂ regularization. Thus a candidate list is judged by the predictions it enables, with an additional cost for size. The paper explains how the candidates and their fitness are represented. Exhaustive comparison to establish that the final subset is globally optimal is outside the procedure.
The value of evaluating entire candidates becomes clear when edge types only help together. Adding one type may make no difference if every path using it still contains another excluded type. Including both can admit a path and change a prediction. Conversely, a type that helps a positive example can also complete a path for a negative example. The subset is therefore a joint choice over types. Once it is learned, the list can be inspected directly and a positive prediction can be traced to an accepted path.
The weighted alternative
The authors also test a classifier that assigns a numerical weight to each edge type. Here a path’s feature vector records frequencies. Its score is computed using logistic regression, which maps a weighted combination of those frequencies to a value that can serve as a measure of how strongly the path supports the inference.
p̂ = σ(w · φ)
p̂ denotes the estimated support from the path. σ is the logistic sigmoid function. In this formula w is the vector of weights, and φ is the vector of edge-type frequencies for the path. The dot is their inner product, which sums each feature value multiplied by its corresponding weight. The equals sign defines the path score. Each edge type thus contributes according to its learned weight and how frequently the path uses it.
The paper considers either summing path scores for a pair or using the score of its strongest path. The strongest-path variant is called max-pooling. In both cases the authors train the weights from pair labels using back-propagation and gradient ascent, optimizing for the F-measure preference. The paper points to a separate derivation of the optimization. The role of the weighting is to express degrees of support. A weak link can contribute modestly, a strong one can contribute more, and conflicting evidence can be assigned a lower weight. The binary classifier implements a stricter decision through permission and exclusion. The authors make the implementation and the data available under the name LinKeR.
Experiments and results
The datasets and what their labels test
The evaluation uses kotlerman2010, turney2014, levy2014 and proper2015. The first datasets cover common-noun inference and differ in how their pairs were derived. The last was assembled to evaluate the contribution of resources that include more named entities. All give the classifier pairs of noun phrases, but the process that produced a positive label matters to the interpretation of results. An operating point on one dataset describes performance against that dataset’s definition and distribution of examples.
kotlerman2010 has 2,940 pairs, of which 880 are positive and 2,060 are negative. The pairs were manually annotated and concern nouns with similar distributional behavior. The starting population matters. Terms selected for distributional similarity can share contexts even when a graph hierarchy does little to explain their relationship. This gives the evaluation a different set of candidate pairs from a corpus built by finding explicit instances of categories and their members.
turney2014 has 1,692 examples, including 920 positives and 772 negatives. It comes from crowdsourced semantic-relation data. The authors restrict it to nouns and put plurals into their lemma forms. Its positive pairs include relationships that can be more associative than a straightforward taxonomic link. Recognizing such pairs can require evidence about recurring practices or typical associations between things, features that are often easier to encounter in the contexts of the words.
levy2014 contains 12,602 pairs, with 945 positives and 11,657 negatives. Its source is manual entailment judgments over graphs of subject–verb–object expressions. It includes healthcare terminology and some relations involving treatments or causes. The paper treats its particular mix of vocabulary and relations as relevant when interpreting the comparison with general-purpose word vectors. The dataset derives from Focused Entailment Graphs for Open IE Propositions.
The authors omit datasets whose labels were constructed using WordNet. In their account, a WordNet-based classifier could recover the underlying relation in those datasets trivially. Evaluating with the other datasets makes it possible to see when the graph’s categories agree with a relation determined by an independent annotation process. The result still depends on what that process treats as a valid inference. The exclusion of WordNet-derived benchmarks does not put all the remaining labels under a single definition.
Creating the proper-name test
For proper2015, the source term is a proper name and the proposed conclusion is a common noun. The intended relation is is a. An instance in the paper pairs Lady Gaga with singer as a positive and with film as a negative. This task tests whether a system can recover the relevant category or description for a name. The authors include recent terminology in their motivation because an appropriate category can also be absent, or poorly connected, even when the person, organization or product itself is known.
The authors sample 70 articles covering 9 topics from a recent-events corpus of online magazines. They look within paragraphs for pairs of noun phrases and retain candidate pairs whose first phrase is a proper name. This produces 24,000 candidates. Taking both phrases from a paragraph puts names in contact with ordinary nouns that are relevant to the passage. Many of the nouns in the same paragraph still fail to name what the entity is, which gives the annotators a wide range of plausible and implausible proposals to judge.
Graduate students label the pairs using both their world knowledge and the text to resolve ambiguity. In a football passage, for instance, England can be interpreted as a team. The paper reports agreement of κ = 0.954 on a subset of 4,500 pairs, where κ is a measure of agreement that accounts for agreement expected by chance. After labeling, there are roughly 800 positives and 23,000 negatives. These are counts from the candidate annotation stage, before the final dataset is balanced.
The final proper2015 contains 1,500 pairs, with 750 positives and 750 negatives. The authors choose negatives with reference to the frequency of the second term among the positives. Accordingly, a general category noun can occur with a suitable name and with another name to which it does not apply. This makes the negatives harder than they would be if category nouns characteristic of the positives rarely appeared in them. A correct prediction has to use evidence that the category applies to the specific name.
How the comparisons were run
The authors randomly split each dataset into 70% training, 25% test and 5% validation. Candidate whitelists and classifier weights are fitted on training examples. The validation data are used to tune the regularization parameter, and the comparisons report performance on the test data. These are random splits of pairs. For the graph approach, the authors chose this setup because its trained features are edge types. The same protocol also applies to the distributional comparison, where the terms themselves determine the feature vectors.
Each plotted precision–recall curve uses fits for 40 values of β² in the interval (0, 2). The points therefore come from training with different emphases in the objective. Distinct choices can lead to the same precision and recall, which accounts for some plotted curves having fewer distinct points. This setup matters for interpreting the findings. The authors are especially interested in the portion of a curve where precision stays high as the classifier recovers additional positives. A claim about that portion can coexist with a different ranking at another operating point.
For the WordNet experiment, the authors construct 4 manual whitelists. The basic list permits synonymy, hypernymy and instance hypernymy. Each alternative extends it with a different link type. The +holo list permits a link toward a whole, the +mero list permits a link toward a part, and the +hypo list permits a link toward a narrower category. This gives the learned whitelist a set of concrete alternatives to match. The lists are evaluated using the path decision rule, so the comparison concerns choosing relation types within the same resource.
The authors also build a WordNet similarity baseline. Resnik’s score uses the lowest common hypernym of the concepts under comparison. It summarizes a kind of closeness in the hierarchy. The experiment uses that score as a single input feature for logistic regression trained with the same precision–recall objective. The classifier can thereby learn which values of similarity signal a positive pair. The path approach has access to a different distinction, since it can treat a pathway through one kind of edge differently from a pathway through another. The baseline uses semantic similarity.
Recovering manual choices and extending coverage
With WordNet alone, the binary classifier recovers the strongest manually designed whitelist for each dataset at some settings of the objective. Synonyms and links to broader categories commonly appear. Other types are selected when useful for the particular collection. The learned classifier also outperforms the Resnik baseline in most cases reported by the authors. The paper compares these outcomes using curves. Recovering a hand-built choice at a given operating point establishes that the training procedure can make useful selections from the WordNet relations. Claims about which classifier to use at another point need the rest of the curve.
For proper2015, the authors compare WordNet alone with WordNet plus DBPedia, Wikidata and Yago. The additional resources raise performance, with a particularly visible gain in recall. The all-resource classifier reaches 97% precision at 29% recall at the selected high-precision operating point. The whitelist there contains 44 edge types, drawn mainly from Wikidata and Yago. The learning procedure makes its selection from over 2,500 available types. This tests the same rule used on WordNet against a much larger property inventory.
The paper’s examples show what the extra resources contribute. Occupation helps connect Daniel Radcliffe to actor. A gender property supplies evidence for Louisa May Alcott and woman. An instance relation supplies evidence for Doctor Who and series, and position on a team supports Jason Collins and center. These are positive examples for which WordNet offers no indicative path. In some cases, a name is missing from WordNet. In others, the individual terms can be found, but WordNet lacks the relevant fact or connection. The authors also try the expanded resource set on the common-noun datasets and report that the additions did not significantly improve performance there.
Comparing the graph with distributional evidence
The distributional baseline uses pretrained word2vec word embeddings. Those vectors were trained on a corpus of 100 billion words. A feature representation is needed for the pair because the pretrained vectors represent terms individually. The authors evaluate concatenation, vector difference and a similarity feature, then train logistic regression with the precision–recall objective. The embeddings come from Distributed Representations of Words and Phrases and their Compositionality.
x⃗ ⊕ y⃗
x⃗ is the vector for the source term and y⃗ is the vector for the conclusion term. The symbol ⊕ denotes concatenation, which places the entries of the source vector before those of the conclusion vector. The resulting features preserve the identity of each term’s position in the pair.
y⃗ − x⃗
The vectors again represent the conclusion and source terms. The minus sign subtracts corresponding components, in the order shown. Reversing the pair changes the direction of the difference.
x⃗ · y⃗
x⃗ and y⃗ are the same term vectors. The dot is their inner product, the scalar similarity input considered by the authors. This operation yields the same value in either order. The paper finds concatenation strongest among these feature choices and uses it for the main distributional comparison.
On turney2014 and proper2015, the distributional classifier maintains over 80% precision at levels of recall higher than those reached by the graph classifier in the comparison. The paper reports that the embedding classifier’s precision stays in the low 80’s at best on these datasets. The binary graph approach reaches 93% precision at 27% recall on turney2014 and 97% precision at 29% recall on proper2015 at its selected high-precision points. These statements describe different parts of the curves. The reported graph measurements name both rates at an operating point, while the distributional description identifies the region in which its coverage advantage appears.
The graph approach has a substantial advantage over the distributional baseline on levy2014. At the high-precision graph setting chosen for error analysis, it reaches 87% precision and 37% recall. For kotlerman2010, the corresponding graph setting reaches 83% precision and 9% recall. This last result shows how narrow the reach of a high-precision setting can be on a dataset whose labels include relations that the graph procedure rarely finds. The chart compares the main category of missed positives across the selected binary classifier settings. Each value is a share of the false negatives for its own dataset, so the comparison concerns the composition of errors.
False negatives with no indicative path at selected settings on the lexical inference test datasets
A lack of indicative paths accounts for most missed positives on the proper-name and Turney datasets at the selected settings.
The numbers
| System or setting | false negatives with no indicative path % |
|---|---|
| kotlerman2010, basic WordNet whitelist | 35 |
| levy2014, basic WordNet whitelist | 48 |
| turney2014, WordNet whitelist with meronymy | 73 |
| proper2015, learned whitelist with all resources (this paper) | 75 |
What the ablations show
Changing the relation list
The manual WordNet comparisons isolate what happens when the same basic set is extended by a particular relation type. A relation from a whole to one of its parts and a relation in the reverse direction can have different consequences for a directed path. Allowing a link to a narrower category changes it in another way. In each comparison, the additional type can make previously disallowed paths pass the all-edges rule. The effect on precision and recall depends on whether those new paths predominantly connect labeled positives or also connect negatives. This is the behavior the learned whitelist is intended to reproduce without having the possible lists specified in advance.
The paper points to meronymy as a case where the learned choice follows the composition of a dataset. The learned WordNet whitelist includes it on turney2014, where part relations are common and informative. The whitelist for levy2014 leaves it out, where the authors judge it less informative. This observation is stronger than a claim that learning produces a generic list that works everywhere. It matches the mechanism of the classifier. The same type can complete useful paths under one labeling criterion while causing predictions the other criterion fails to reward. The analysis does not measure a separate causal contribution from each learned type in the all-resource classifier.
The comparison between binary and weighted edges tests another design choice. Both start with resource paths and receive supervision at the level of pairs. The weighted versions can express graded contributions, with either a sum or a maximum over paths. The binary version has a simpler condition and performs better on the datasets studied. The authors conjecture that there are too few training examples to fit the greater flexibility of the weighted approach effectively. The experiments establish the observed ranking. They do not vary training-set size to test that explanation, so the reason for the difference remains open.
The authors also report that retaining only shortest paths worked better in preliminary investigation. They do not give the performance of the alternatives in this comparison. The finding supports the choice used in the main experiments and leaves the tradeoff unresolved for other graph or dataset combinations. Without such a breakdown, the effect of using minimum-length paths cannot be separated from such factors as the number of paths produced or the distribution of edge types in the additional routes.
Changing which resources are available
The WordNet-only comparison on proper2015 holds the target labels fixed while increasing the source of graph evidence. It shows that the classifier can use the added resources to recover proper-name inferences that it misses with WordNet alone. Cases such as Doctor Who and series illustrate the possibility that the name itself is missing from the smaller resource. Louisa May Alcott and woman illustrates the distinct situation in which the obstacle is the relevant property. Adding resources helps through both entity coverage and fact coverage.
The common-noun experiments provide a useful counterpart. The paper reports little improvement from adding the same resources to those datasets. The larger resource collection therefore helps most clearly in the condition the authors built to test its expected advantage. The comparison adds the extra resources together. It does not remove Wikidata, Yago or DBPedia individually, so the strong presence of Wikidata and Yago types in the chosen whitelist is descriptive evidence about where accepted paths draw their links. It cannot establish how the other resources would compensate if one were removed.
The distributional comparison changes the evidence available to the classifier more broadly. For turney2014, the authors use football and playbook to illustrate an association that may be learned from usage and rarely appears as a suitable connection in the resources. For proper2015, they cite Twitter and social network when discussing terminology behind the recall gap. The paper suggests that the healthcare vocabulary in levy2014 may require embeddings trained on a more appropriate corpus. It also suggests that explicit relations such as a treatment’s application to a disease are well suited to structured resources. The experiments leave these explanations as possibilities because they do not train a domain-specific alternative or partition the results by relation type.
Inspecting the missed positives
The error analysis takes a high-precision setting for each dataset. The authors look for the highest recall they can attain while keeping precision high. On the curves, this frequently lies just before a sharp drop in precision. They find few false positives at those selected points and attribute most of the ones they inspect to resource errors or annotation errors. Their more detailed breakdown concerns false negatives. The denominator for each reported error percentage is the set of false negatives being analyzed for that dataset, rather than all pairs or all positive labels.
A missing term is one kind of failure. On proper2015, 13% of false negatives fall in that category. On turney2014, the corresponding share is 4%. The larger categories shown in the chart concern pairs for which the retained paths do not support the inference. The distinction matters because a resource can mention everything needed to state a pair and still lack a property or connection relevant to the answer. It can also describe the terms through other facts, generating routes that are valid descriptions of relationships yet unsuitable for the criterion behind the label.
Another category is a whitelist error. Here an indicative path does exist, but the whitelist excludes one or more of its types. The authors give this category 8% of false negatives on proper2015, 5% on turney2014, 3% on levy2014 and 6% on kotlerman2010. At the selected high-precision settings, these shares are smaller than the corresponding shares for a lack of indicative paths. The distinction gives the error inspection its practical meaning. Improving selection can recover a pair when useful graph evidence already exists. Pairs without such a path require some change to the evidence available or to how it is retrieved.
The authors note particular kinds of relation behind the path failures. A noun related to a quality, as in saint and holiness, can be difficult to express using the properties available for positives in turney2014. A causal relation such as germ to infection can pose a similar problem on levy2014. Sometimes a more specialized property captures a particular instance. Such cases indicate how coverage can differ between a richly described domain and a collection of concepts with little relevant structure. They also explain why the capacity of a resource to store millions of entities only partially addresses lexical inference.
On kotlerman2010, the authors attribute 40% of the false negatives they analyze to annotation errors. In their interpretation, some labels reflect association between terms such as transport and environment or financing and management. That can make it difficult even to devise a consistent hand-built list for the dataset. This category records the authors’ judgment about the labels they inspected. It is not a measurement of the error rate of every annotation in the dataset. It suggests that agreement with the benchmark and agreement with the graph’s notion of a supporting relation can diverge for reasons that additional resource coverage would leave unresolved.
Limitations
Limits identified by the authors
The authors identify recall as the principal limit. A true inference can be unavailable to the classifier because a term is missing, a relevant relation is unrecorded, or the resource has no suitable path connecting the terms. This becomes important when interpreting a negative result for a particular pair. The system’s prediction tells a reader whether a retained, acceptable path was found. The fact may hold in the world even when the graph search produces no evidence for it. The selected high-precision settings deliberately tolerate such omissions in return for accepting a more reliable subset of pairs.
Separate graph components avoid unsafe links based on shared spellings, and they also limit which paths can be found. A fact in one resource and a useful category relation in another cannot be chained by the implemented procedure. The authors propose exploring cross-resource concept mappings. Combining the resources in the existing experiments increases the number of places that can independently provide a path. It leaves open how much recall would improve if an inference could use properly aligned concepts from several resources.
The classifier also works at the level of terms without selecting a sense from the passage in which a term occurs. The authors propose extending the procedure with word sense disambiguation, potentially selecting a graph concept using the context before judging the inference. They connect this possibility with earlier resource-based sense disambiguation such as Random Walks for Knowledge-Based Word Sense Disambiguation. The proposal is especially pertinent to proper2015, where the annotators could consult the source passage to decide that a place name referred to a team. The classifier receives the term pair without that passage, so the evidence guiding human and automatic decisions can differ.
Finally, the authors propose combining the graph approach with higher-recall corpus methods. The reported comparison establishes why this is plausible. The distributional classifier reaches some pairs the graph approach misses, and the graph approach attains higher precision in parts of the evaluation. The paper evaluates the systems separately. It supplies no measured operating point for a classifier that combines them. The authors also report that they considered Freebase but lacked the computational resources to run it in their framework, which limits the inventory of graph sources directly examined.
Limits of what the setup establishes
A whitelist pools its decisions across a dataset. It treats an edge type as permissible throughout a fit, subject to the distinctions introduced for endpoints. That makes the list easy to read, but its semantics are coarse. A property can be informative in one chain and misleading in another. Internal edge order and the identity of intermediate concepts can matter to whether relations compose. Two paths with the same binary edge features receive the same decision even when their sequences express different relationships. Learning a list that works well against the observed labels demonstrates reliable behavior on some examples. It does not turn the list into a set of formally valid rules for every path.
Path discovery is also independent of the learned notion of useful evidence. The search prefers length before the whitelist judges which types are worthwhile. A short route may be disallowed even if a longer route would provide good support, and a route beyond the maximum length is outside the search. Accordingly, the category of false negatives without an indicative path concerns the paths the procedure made available to the classifier. The error analysis cannot tell how many of those pairs would be recovered by looking further through the same graph. The separate category of whitelist errors gives a clearer account of cases where the needed evidence was already present among the candidates.
Since the splits are random at the pair level, the results do not directly measure generalization to entirely unseen terms. The authors note that the distributional classifier can benefit from recurring vocabulary and cite prior work on lexical memorization. A classifier using concatenated word vectors may learn that certain terms tend to appear on one side of positive examples, which can help on another pair containing the same term. The graph approach learns edge-type parameters and has no corresponding learned feature for a term’s identity. Its test examples can nonetheless contain terms already present in training pairs. The experiment therefore gives a comparison under a shared pair split, with no separate evaluation that holds out vocabulary across conditions. The concern about memorization comes from Do Supervised Distributional Methods Really Learn Lexical Inference Relations?.
The proper-name results apply to a balanced test drawn from the paper’s construction procedure. The original annotation stage produced far more negatives, and the final negatives were selected to make the nouns resemble those seen in positive pairs. Precision depends on how frequent positives are among the candidates as well as on which negatives the classifier encounters. The 97% precision figure is an observed test result under that sampling procedure. The paper does not measure precision on the original candidate stream or in a question-answering application. Its opening example explains why high precision could be useful in such an application, while the reported evaluation establishes performance on the narrower inference task.
The analysis of false negatives is similarly tied to the selected high-precision points. Loosening the decision criterion can change the kinds of paths accepted and the distribution of remaining errors. An explanation for the errors at one point cannot be carried across an entire curve without further inspection. The strongest conclusions are about the settings actually compared. The structured resources improve recall for the proper-name dataset, useful relation types depend on the target labels, and graphs often lack warrant for the inferences still missed by the high-precision classifier.
What came after
HyperLex takes up lexical entailment as a graded evaluation problem. Shwartz and colleagues use labeled pairs to learn which resource properties should count as evidence for a positive decision. The grading in HyperLex puts a different question to an evaluation. It concerns degrees of lexical entailment, going beyond deciding whether a pair satisfies a binary criterion. This connects to the earlier paper’s distinction between selecting trusted kinds of evidence and trying to assign degrees of support to edges. The earlier paper’s changes in precision and recall describe a classifier’s decisions across operating points. A graded evaluation concerns the strength of the entailment assigned to the pair itself.
On the Systematicity of Probing Contextualized Word Representations examines hypernymy in BERT. Its focus is how systematically a probe for a relation works when its evidence comes from contextualized word representations. In the resource-based paper, testing a possible hypernymic inference amounts to looking for a path and learning which kinds of links justify accepting it. In the later work, the representations being probed carry the evidence under examination. The connection is the question of what licenses a claim that a system can recognize a lexical relation, with the later paper concentrating on a narrower relation and a different source of evidence.
These works cite the resource-based study and carry related evaluation questions into distinct settings. HyperLex’s subject is how to evaluate degrees of entailment. The hypernymy study’s subject is the systematicity of probing contextualized representations. Shwartz and colleagues supply a separate point of comparison through decisions that depend on identifiable paths and task-specific relation choices. The links among the papers concern how the target relation is defined and how the evidence for recognizing it is tested.
Cite
Cite as Vered Shwartz, Omer Levy, Ido Dagan and Jacob Goldberger. 2015. Learning to Exploit Structured Resources for Lexical Inference. Proceedings of the Nineteenth Conference on Computational Natural Language Learning.
@inproceedings{shwartz2015learning,
title = {{Learning to Exploit Structured Resources for Lexical Inference}},
author = {Vered Shwartz, Omer Levy, Ido Dagan and Jacob Goldberger},
booktitle = {Proceedings of the Nineteenth Conference on Computational Natural Language Learning},
year = {2015},
doi = {10.18653/v1/k15-1018},
url = {https://doi.org/10.18653/v1/k15-1018}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/shwartz-2015-learning-exploit-structured-resources-lexical/