Automatic Extraction of Commonsense LocatedNear Knowledge
Paper · 2018 · Frank F. Xu, Bill Yuchen Lin and Kenny Zhu
Summary
A sentence can mention a dog and a cat because they are together or because someone is comparing their ages. Only the first kind of sentence gives evidence about where the animals are. Automatic Extraction of Commonsense LocatedNear Knowledge asks how to find that evidence in books and use it to learn which kinds of objects are commonly found close together. The authors call this relationship LocatedNear. It had sparse coverage in ConceptNet 5.5, with 49 entries. A larger collection of such facts could help an image recognition system decide what might be near a barely visible object or help a question answering system make sense of an ordinary physical scene.
The authors give the extractor two jobs. It first judges whether a sentence puts a specified pair of objects near each other in the scene it describes. It then pools judgments from many sentences to rank pairs by how likely they are to occur near each other in everyday life. The distinction matters because even a perfectly understood sentence describes a particular occasion, whereas a knowledge base entry makes a general claim. The authors chose a Project Gutenberg collection after finding that, among sentences mentioning at least two physical objects, 55.1% of those examined in Gutenberg conveyed proximity. The corresponding rates were 32.4% in English Wikipedia and 25.1% in the New York Times corpus. The authors released a benchmark with 5,000 sentence judgments and a separate benchmark with everyday proximity judgments for 500 object pairs.
The strongest overall sentence classifier in the comparison was LSTM+Norm, a recurrent classifier that reads a compact representation of the sentence. It preserves the wording of verbs, adverbs and prepositions in their base forms, identifies where the two objects occur, and replaces much of the remaining vocabulary with grammatical labels. It also receives information about the distance of each word from the targets and separate representations of the object words. The normalized input gave a better overall result than inputs consisting of original words or grammatical categories alone. A feature-based support vector machine was competitive, and the general-purpose DRNN classifier had slightly higher precision.
The most successful way of combining sentence judgments was to count how many mentions of a pair cleared a confidence cutoff of 0.5. This ranked the annotated object pairs with a mean average precision of 0.59. Applying the selected pair-score threshold produced 2,067 candidate LocatedNear relations absent from ConceptNet, with an estimated precision of 68% from human inspection. The results show how descriptions of individual scenes can be turned into a ranked supply of new commonsense facts. They also show the value of keeping the sentence judgment, the ranking of general facts and the precision of the resulting collection distinct.
Deep dive: Automatic Extraction of Commonsense LocatedNear Knowledge
Learn how LocatedNear extraction uses descriptions of physical scenes in fiction to find objects that are usually near each other. · about 34 minutes to read
The problem and its context
What a knowledge base says about a scene
Much of the information a reader brings to a scene concerns things that ordinarily go together. A chair is frequently near a table. A glass is a plausible object to look for when a knife, fork and plate are already visible on a table. The paper illustrates the second example with a dim scene in which several objects are hard to see. Knowledge of their usual arrangement would give a recognition system an additional source of evidence alongside the image. The same kind of background knowledge could help when a description leaves part of a physical layout implicit.
The paper treats this knowledge as a relationship between kinds of objects. A knowledge graph can represent that relationship as a triple, a record with an object at each end and a named relation between them. A chair, the label LocatedNear and a table form such a record. ConceptNet also contains other kinds of information. The paper illustrates the distinction with the coldness of ice, a property of an object, and chewing as part of eating, a relationship between activities. LocatedNear makes a different kind of assertion. It records what to expect about the relative position of two things.
The word typically does considerable work in that definition. A reader can recognize a chair and a table as a familiar pairing even when a story puts its only chair outside and its only table indoors. A particular story can also place unfamiliar companions side by side. The familiar pairing is a claim about types of objects across situations. The story gives evidence about the objects in one situation. The authors need a procedure that can make both kinds of judgment and can connect them without assuming that they are interchangeable.
Nearness in the paper is also qualitative. The annotation target is whether objects are close in the setting being described or are generally found close in real life. In the table illustration, the context is a place setting. In the paper’s example of a dog led into a garden, an object occupies a place. These arrangements differ physically, yet each can provide proximity evidence in the authors’ sense. The task therefore concerns the spatial interpretation of ordinary descriptions, with the relevant scale supplied by the scene.
There is a practical reason to seek such information in text. A commonsense resource depends on someone supplying the facts, and the paper identifies manual curation and crowdsourcing as hard to scale. A fact may be familiar to a person while still missing as a searchable record. Text provides another route to discovering it. Individual authors describe where objects are, what people carry, and what they put down. A collection of such descriptions can supply evidence for relationships that nobody set out to enter into a knowledge base.
Why a relation extractor needs two judgments
The authors frame the sentence task around two named objects in a specific sentence. That setup belongs to information extraction, where the aim is to turn information expressed in text into a structured decision or record. Providing the targets narrows the question. The classifier can concentrate on what connects the selected mentions. The authors compare their approach with earlier work on relation classification, including the broad relation-classification setting represented by SemEval’s task on semantic relations between nominals. The benchmark developed here concentrates on physical proximity and includes sentences the authors describe as tending to be longer.
One technique in that earlier work is to look for the grammatical route connecting the two mentions. With dependency parsing, a sentence becomes a tree of attachments among words. A verb may connect to its subject or object, for example, and additional words may attach to one of those nouns. The shortest path in the tree between two mentions can pass through a predicate that explains their relationship. Earlier work on relation classification along shortest dependency paths provides context for the paper’s choice of features. The authors also draw on earlier convolutional relation classification for the idea of expressing each word’s position relative to the targets.
Physical proximity gives a reason to look beyond a connecting path as well. A preposition or adverb can modify one of the target nouns and carry information about the scene from a branch of the tree. If a system reads only the route between the target words, some useful modifiers may be left out. Reading the whole sentence makes those words available, along with descriptions that can be unhelpful for the decision. The paper’s representation addresses that tradeoff by keeping the whole sequence and deciding which words deserve their own vocabulary entries.
The corpus-level judgment brings in another research problem discussed by the authors, that of acquiring and completing knowledge bases from text. The paper cites distant supervision for relation extraction when discussing Wikipedia as a source corpus and returns to distant supervision as a possible way to reduce annotation effort. It also cites commonsense knowledge base completion in motivating the value of spatial knowledge for language tasks. Its own procedure starts by learning from direct sentence judgments and then asks what those judgments, taken together, say about a pair of object types.
The possible uses the authors name span vision and reasoning about physical scenes in text. In vision, knowing the likely companions of a visible object could narrow the search for an uncertain one. In reading comprehension, a reader can use a typical arrangement to interpret a partially described scene. Both uses motivate searching for general associations. A sentence about a particular chair and table may contain evidence for such an association, and the ranking task asks how much support the corpus supplies for it overall.
The method, step by step
From a book to a question about a pair
The procedure begins with a constrained vocabulary. The authors match ConceptNet concepts against entries classed as physical objects in Wikidata. They retain the overlap, work with single-word names, and manually remove some words that can refer to abstract concepts. The resulting list contains 1,169 physical-object words. This is the inventory the extractor can search for. It gives the authors a way to screen a large corpus before spending effort on the much harder task of interpreting the sentences they find.
The search corpus is a cleaned Project Gutenberg collection containing 3,036 English books by 142 authors. The authors’ reason for examining Gutenberg is that fiction frequently describes physical settings and what happens in them. Where a sentence contains two vocabulary items used as nouns, their co-occurrence supplies a candidate. The noun condition applies to the words as used in the sentence. Their appearance in the vocabulary supplies the object types, and the sentence supplies the context for judging whether those types are represented by nearby objects on that occasion.
A candidate consists of a sentence and a particular pair. The paper writes it as follows.
⟨s, eᵢ, eⱼ⟩
The angle brackets mark a grouped instance, and the commas separate its parts. The symbol s denotes the sentence. The symbols eᵢ and eⱼ denote the two target objects, with i and j serving as indices that identify them. The classifier judges proximity for this pair in this sentence. If a sentence mentions several objects, the proximity question can differ depending on which pair is selected. A judgment about one pair is therefore attached to its instance rather than assigned to the whole sentence as a blanket description.
Consider the paper’s example in which a king places his dog and cat on a table. The scene has a common destination for the animals, and the expected label for the dog–cat instance is positive. The paper sets that example beside an age comparison between a dog and a cat. In the comparison, the relation expressed concerns age, so the expected label for proximity is negative. A negative judgment here can thus mean that the sentence supplies no evidence for physical closeness. The objects need not be described as far apart.
The diagram follows the extraction procedure after the sentence classifier has been trained.
From book sentences to candidate LocatedNear facts
The steps in order.
Where the labels come from
For the annotation exercise, the authors identify 15,193 object pairs that occur together in more than 10 sentences. They randomly sample 500 pairs from that pool and choose 10 sentences per selected pair. This produces the benchmark of 5,000 sentence instances. Each instance gives annotators the immediate context and the two targets about which they must make a judgment. The sampling procedure means that a pair can give rise to multiple observations with different labels. That is a natural consequence of assigning labels to scenes. A pair may be put together in one passage and discussed in a different way in another.
The paper reports that at least three annotators label each instance. They are college students proficient in English. The majority vote gives the final label. This form of linguistic annotation requires the annotator to interpret what the sentence implies about a physical layout. The age comparison makes the distinction easy to see, but the task also includes sentences in which grammar and word choice suggest an arrangement without spelling out that the objects are close. A label records the annotators’ collective judgment about what the sentence depicts.
The 5,000 instances are randomly divided into 4,000 for training and 1,000 for testing. The sentence classifier learns from the training labels, and the test instances are used to compare sentence classifiers. The split is described at the level of instances. The collection of 500 selected pairs serves a separate evaluation purpose. The authors ask annotators whether the two kinds of objects are likely to be found near each other in real life, then use majority voting for those decisions as well. The sentence labels supervise recognition of a scene. The pair labels provide a standard for evaluating the ranking of general facts.
These two label types make it possible to test where an extraction method succeeds. A good sentence classifier should assign useful scores to textual evidence. A good aggregation rule should place plausible everyday pairings high in its output. The ranking can be assessed with the general judgments even when particular sentences support a pairing unevenly. The paper announces the release of both benchmarks and names the commonsense-locatednear repository for the data.
A classifier built from explicit features
One approach turns each instance into a fixed set of features and classifies it with a support vector machine, abbreviated SVM. A feature describes an aspect of the instance that might help distinguish the labels. The classifier learns a decision boundary from instances with known labels. A kernel controls how the classifier measures relationships among its inputs when constructing that boundary. The authors compare linear and radial basis function kernels, with different parameter settings.
The six feature groups give the classifier different views of the sentence. The bag of words, BW, records which words appear anywhere in it. A bag representation preserves word membership and sets aside sequence order. The bag of path words, BPW, takes the words on the shortest dependency path between the objects and adds words from the subtrees rooted at those objects. A subtree at an object includes the material below that object in the parse. This places the grammatical connection between the mentions and some of their local modifiers within reach of the classifier.
The bag of adverbs and prepositions, BAP, records the presence of words in those categories as binary features. These categories matter because they can convey where things are and how motion relates an object to a place. Global features, GF, summarize the sentence with its length and counts for nouns, verbs, adverbs, adjectives, determiners, prepositions and punctuation. Shortest dependency path features, SDP, apply corresponding kinds of length and category measurements to dependency-tree and path representations. These feature groups give the SVM both lexical evidence and coarser descriptions of grammatical structure.
The remaining group, SS, supplies semantic similarity features for the targets. The authors use pretrained GloVe representations, a form of word embedding in which each word is represented by a vector. Cosine similarity compares the directions of the object vectors. It gives the classifier a cue based on what kinds of objects the words denote. That cue enters alongside contextual features. A high similarity can be useful evidence in some cases, while a pair like a chair and a table illustrates why proximity and semantic resemblance are different questions.
The radial basis function kernel gave the best overall result in the authors’ kernel trials at the following settings.
{C = 100, γ = 10⁻³}
The braces group the settings, and the comma separates them. C is the SVM parameter that controls the penalty for training errors. The Greek letter γ denotes the radial basis function parameter that governs how quickly similarity declines with distance between inputs. The superscript ⁻³ denotes a negative power of 10. The equals signs assign the values reported by the authors. The study also tests how the classifier fares when each of its feature groups is omitted.
What survives sentence normalization
The recurrent approach starts from a different representation. Its sentence component reads the words in order using a long short-term memory network, abbreviated LSTM. In this use, the network processes the sequence while carrying a state forward, so the representation of a sentence can reflect the context around individual tokens. The authors’ concern is that a small labeled collection has to support learning across varied vocabulary. Many words describe the people and objects in a story in detail while contributing little to the spatial decision for the selected pair.
The paper illustrates this with two versions of a scene in which a dog is led into a garden. The person leading it and the adjective describing the garden change. The dog, its movement and its destination remain the basis for judging proximity. The authors want the classifier to recognize that shared structure even when much of the original phrasing varies. Normalization makes more of the two inputs look alike and preserves the lexical material that differentiates this arrangement from other kinds of events.
The first transformation marks the two target nouns with E₁ and E₂. These markers tell the classifier which words are participating in the relation being scored. Their roles in the sentence branch are tied to the current instance. The original object names are set aside for a separate part of the classifier, where their identities can still affect the prediction.
The next transformation preserves the lemmas of verbs, adverbs and prepositions. A lemma is a base form, so a verb such as led can be represented by lead. Keeping the preposition into preserves the identity of a word that gives the motion a destination. A representation made purely from grammatical categories would collapse words with distinct contributions to a scene into the same category. Retaining these lemmas lets the classifier learn from their differences while reducing variation from inflection.
The authors use additional markers for selected dependency roles. They call out nominal subjects and direct objects of verbs and the case link associated with prepositions in the dependency trees. The illustration distinguishes markers for subjects and objects. These markers let the sequence encode selected structural roles even when the original noun has been removed. For material still unaccounted for, the authors substitute the output of part-of-speech tagging, such as noun or adjective. A part-of-speech tag describes a word’s grammatical class. A dependency role indicates the job a word or phrase does in connection with another word.
The result is a sequence in which consecutive positions may contain different sorts of information. A target position identifies the object under examination. A verb or preposition can still appear as a recognizable word. A role marker describes how a participant fits into the sentence. A grammatical category can stand in for descriptive material of lower priority. Sentence order remains available, and the classifier can still encounter words outside the direct dependency path. The normalization is selective about lexical identity while retaining a broad span of the sentence.
How the classifier uses the sequence and the pair
For each token in the normalized sequence, the authors also encode its distance from E₁ and its distance from E₂ as position embeddings. An embedding here gives a learned representation to positional information, in the same broad sense that a word embedding gives a vector to a word. The two distances allow the classifier to distinguish a cue close to one target from the same cue elsewhere in the sentence. These are distances in the input sequence. The prediction concerns distance within the world described by that sequence.
The LSTM encodes the entire input, combining the normalized tokens with their position information. A separate branch receives the pretrained GloVe vectors of the original object words and passes them through a dense hidden layer. A dense layer learns how to combine the components of the vectors it receives. In the SVM, semantic similarity is supplied through a cosine comparison. In the recurrent architecture, the dense layer receives the object embeddings themselves. This lets the object branch contribute information about the pair after the sentence branch has replaced the target names with markers.
The authors concatenate the outputs of the two branches, meaning that the learned representations are joined into one input for the final prediction. A sigmoid activation supplies the sentence score on a probability scale. The training objective is binary cross-entropy, which penalizes assigning low probability to the label the annotators chose. RMSProp is the optimizer used to update the learned parameters. The authors apply dropout at a rate of 0.5 in the LSTM and embedding layer. Dropout limits reliance on particular components during training and is intended to reduce overfitting, a concern the authors connect to the vocabulary demands of the original sentences.
The input variants in the comparison differ in what the sequence tokens represent. LSTM+Word uses original words. LSTM+POS reads part-of-speech tags. LSTM+Norm reads the mixed sequence of target markers, selected lemmas, dependency roles and tags. The comparison asks how much information to preserve at each position. Original words offer the finest lexical distinctions. Tags compress the vocabulary most aggressively. Normalization preserves word identity for chosen grammatical categories while using simpler labels elsewhere.
From sentence confidence to a score for a fact
Once the sentence classifier has been trained, the procedure applies it across the corpus. Each sentence containing a candidate pair yields a proximity score for that instance. The scores are grouped by object pair. A single pair can therefore accumulate evidence from sentences with quite different settings, verbs and constructions. A ranking rule turns the collection of scores into one number that can be compared across pairs.
The paper compares five rules. They vary in whether they pay attention to the classifier’s confidence, whether they count only high-confidence instances, and whether they divide by the number of occurrences. The simplest rule assigns the pair its raw mention count.
f₀ = m
Here f₀ is the first aggregation rule’s score, with the subscript distinguishing it from the other rules. The symbol m is the number of corpus sentences containing both objects for the pair being scored, and the equals sign assigns that count as the score. A large value means the two words appear together often. The classifier’s reading of the scenes has no part in this baseline.
The next rule adds the scores supplied by the classifier.
f₁ = ∑ₖ₌₁ᵐ conf(sₖ, eᵢ, eⱼ)
The symbol f₁ denotes the total-confidence score. The summation symbol ∑ tells the reader to add the terms indexed by k, with k starting at 1 and ending at m, the number of sentences mentioning the pair. The function conf returns the classifier’s confidence that sentence sₖ places the objects eᵢ and eⱼ close together. The parentheses enclose the function’s inputs, and the commas separate them. The equals sign defines the score as that sum. Each sentence contributes according to its confidence. As a result, a pair can build a large score through repeated mentions as well as through especially convincing individual instances.
The third rule averages those confidence scores.
f₂ = (1/m) ∑ₖ₌₁ᵐ conf(sₖ, eᵢ, eⱼ)
The symbol f₂ denotes mean confidence. The factor in parentheses is 1 divided by m, where m is the number of available sentences for the pair. The product scales the sum to an average. The symbol ∑ adds terms over sentence index k from 1 through m. The function conf takes sentence sₖ and object identifiers eᵢ and eⱼ as its comma-separated inputs and returns the classifier score for that instance. The equals sign assigns the result to f₂. A pair can rank high by this rule on the strength of a small set of consistently convincing mentions.
The fourth rule counts only the instances that pass a threshold.
f₃ = ∑ₖ₌₁ᵐ 1{conf(sₖ, eᵢ, eⱼ) > 0.5}
The symbol f₃ denotes the count of high-confidence instances. The sum ∑ ranges over k from 1 to m, with m counting the pair’s sentences. The function conf returns the sentence score for sₖ and objects eᵢ and eⱼ, separated by commas inside its parentheses. The expression beginning with 1 is an indicator. It contributes one when the condition in braces holds and zero otherwise. The greater-than sign makes the comparison with 0.5 strict. The equals sign assigns the sum to f₃. Thus an instance just above the cutoff and a much more confident instance count equally under this rule. A sentence at the cutoff contributes zero.
The final rule uses the same criterion and divides the count by the number of mentions.
f₄ = (1/m) ∑ₖ₌₁ᵐ 1{conf(sₖ, eᵢ, eⱼ) > 0.5}
The symbol f₄ denotes the fraction of mentions that clear the threshold. As before, m counts all available sentences for the pair, and the factor in parentheses is 1 divided by m. The symbol ∑ adds one term per sentence index k, beginning at 1 and ending at m. The function conf scores the sentence sₖ for the pair eᵢ and eⱼ, its comma-separated arguments. The indicator gives one if its braced condition holds and zero otherwise, and > requires a confidence strictly greater than 0.5. The equals sign assigns the resulting proportion to f₄. Greater consistency helps under this rule, and the scale is adjusted for how frequently the pair is mentioned.
The distinction between the sentence threshold and the eventual extraction threshold is important. The former determines whether a particular sentence counts towards the pair’s score under f₃. The latter determines which pairs have accumulated enough evidence to enter the candidate collection. At that stage, a pair’s score describes support within the corpus. The ranking evaluation tests how well that support corresponds to the human judgments of everyday proximity.
Experiments and results
How often the corpora provide a usable scene
Before committing to Gutenberg, the authors examine how often sentences that mention multiple physical objects actually put those objects near each other. The rate is conditional on the presence of at least two physical-object mentions. It measures the yield of a candidate search, instead of the share of all sentences in a source that can be used as proximity evidence. That qualification matters for a workflow whose first step is to find object nouns.
Of the corpora examined, Gutenberg has the highest observed positive rate, 55.1%. The percentage in English Wikipedia is 32.4%, and the percentage in the New York Times corpus is 25.1%. These are observations about positive sentences under the authors’ corpus comparison. They support the choice of books as a source of scenes for the annotation and extraction experiments. The broader question of which source best predicts everyday proximity would also require evaluating the facts extracted from each source.
Positive scene rate among candidate sentences in Gutenberg, Wikipedia and the New York Times corpus
Gutenberg has the highest share of candidate sentences that describe physical proximity.
The numbers
| System or setting | positive sentences % |
|---|---|
| Project Gutenberg (this paper) | 55.1 |
| English Wikipedia | 32.4 |
| New York Times corpus | 25.1 |
The benchmark constructed from Gutenberg includes 5,000 instances. The authors compare its scale with the more popular relations in the SemEval task and describe the Gutenberg sentences as tending to be longer. A longer sentence can contain more information about the setting and also more material unrelated to the selected pair. The benchmark tests whether the classifier can find the relation within the sentence it receives.
The sentence annotations have a reported Cohen’s kappa of 0.711. Kappa measures agreement with an adjustment for the agreement expected by chance. For the separately annotated set of 500 pairs, the reported agreement is 0.703. The authors characterize both levels as substantial. The pair-level agreement pertains to ordinary real-world proximity, whereas the sentence-level agreement concerns the content of a narrated scene. Their proximity as numbers leaves the tasks and their standards of evidence distinct.
The comparison on sentence labels
The held-out sentence evaluation uses the 1,000 test instances from the random split. The learned approaches include the feature-based SVM and its feature-removal variants, the recurrent input variants, and DRNN, an earlier general-purpose relation classifier. DRNN represents an approach centered on the dependency path. The authors also include Random, which assigns either label with equal probability, and Majority, which calls every instance positive. The latter captures what a system can do by accepting every candidate as a description of proximity.
The comparison reports accuracy, precision, recall and F1. Accuracy gives the share of decisions that match the test labels. Precision asks how many instances predicted to be positive actually have a positive label. Recall asks how many of the positively labeled instances the classifier retrieves. Taking the harmonic mean of precision and recall gives the F1 score. These metrics give different views of the extraction stage. A rule can recover a larger share of the scenes with proximity while admitting more scenes that fail to establish it.
That difference carries forward when the sentence classifier is used on books. Missing a positive sentence can deprive a genuine pair of support. Assigning high confidence to a negative sentence can put support behind a pair whose mentions concern something other than its physical arrangement. For the rule that counts high-confidence sentences, a recurring mistake can help a pair accumulate a large score. The sentence test measures errors on instances. The pair benchmark then tests the behavior of the resulting ranking.
LSTM+Norm gives the best overall sentence classification result in the authors’ comparison. On the test instances, DRNN has the highest reported precision, 0.658, while LSTM+Norm reaches 0.654. The authors describe the precision difference as insignificant. They identify LSTM+Word as the strongest on recall among the learned classifiers. The best-performing feature-based SVM variant leaves out Global Features. This combination of findings matters more than a simple ordering by familiarity or complexity. The leading method depends on which aspect of performance is being measured, and the authors carry the strongest overall variant forward to extraction.
Positive-class precision on the Gutenberg sentence classification test split
DRNN has slightly higher precision than the normalized recurrent classifier.
The numbers
| System or setting | precision |
|---|---|
| DRNN | 0.658 |
| LSTM+Norm (this paper) | 0.654 |
The precision chart captures a narrower result than the overall comparison. A positive prediction from DRNN was slightly more likely to match the annotators’ positive label at the reported operating point. LSTM+Norm was the preferred choice when considering its performance across the sentence evaluation. LSTM+Word’s recall result likewise concerns a specific part of the tradeoff. A reader interested in the full extractor needs the pair-ranking measurements as well, because the aggregation rules use sentence confidence scores and the project’s final output is a collection of pair-level facts.
Ranking pairs and selecting the new relations
The pair experiment uses LSTM+Norm scores and compares the five aggregation rules on the same benchmark of 500 object pairs. Holding the sentence classifier fixed means the comparison changes how its evidence is used. In particular, the raw count baseline measures how useful repeated co-mention is on its own. The thresholded rules ask whether counting or taking the proportion of sufficiently confident mentions gives a better ranking.
The ranking metrics are mean average precision, abbreviated MAP, and precision at K. Average precision rewards retrieving genuinely positive pairs early. It considers the precision reached as relevant pairs appear in the ranked output. MAP expresses performance through the reported mean average precision measure. Precision at K looks only at the first K entries, where K specifies how deep into the ranking to inspect. It answers a practical question about the top of the list. If only that many candidates can be reviewed, their precision determines how much valid material is likely to be found there.
The cumulative rules f₁ and f₃ generally fare better in the ranking comparison. The authors select f₃, the count of sentences with confidence greater than 0.5. It achieves a MAP of 0.59 on the pair benchmark. The MAP describes how the ordering of the annotated pairs matches their human labels. It is a different measurement from the precision of a set selected by a fixed pair cutoff. The paper also shows 15 examples of pairs with high f₃ scores to illustrate what appears near the top of the ranking.
For producing a collection of new facts, the authors set the pair-score threshold to 40.0. They choose it because it is the lowest non-zero f₃ score among true pairs in the 500-pair benchmark. The criterion uses the positive labels and the observed support for those pairs to pick an operating point. Under f₃, that score measures how many sentences have supplied a positive vote above the sentence-confidence cutoff. It is measured in supported mentions, rather than in the probability units of the original sentence scores.
At this threshold, the authors obtain 2,067 LocatedNear relations absent from ConceptNet. Human inspection gives a precision estimate of 68% for the extracted relations. The count measures the size of the candidate output. The inspection measures the share judged valid among the entries examined. The two figures are useful together. They give the scale of the additional material the procedure finds and an indication of how well that material meets the everyday interpretation of LocatedNear.
The pair ranking and the final extraction check serve different purposes. The ranking benchmark places every labeled pair in an ordering, and the result depends on where the positives appear. The final check concerns the output admitted by the threshold after corpus-wide scoring. A system can have useful precision for a restricted output even if its ordering of many lower-ranked pairs is imperfect. The paper reports the ranking measurement to compare aggregation rules and uses human inspection to assess the collection those rules make possible.
What the ablations show
Which features help the support vector machine
The SVM ablation removes each feature group in turn. This tests whether the other groups work better with or without the information supplied by the omitted group. In this design, a feature’s measured contribution depends on the other features that remain. A group can duplicate a cue already available elsewhere. Its removal may also change the relative influence of the lexical, grammatical and similarity information.
The strongest SVM configuration omits Global Features. Those features summarize the entire sentence through its length and grammatical counts. The authors interpret the finding in favor of dependency-focused evidence and note the value of word features concentrated around syntactic connections. The comparison itself establishes that dropping the global counts helps within these SVM variants. A narrower interpretation is appropriate because the winning configuration still has access to a whole-sentence bag of words. A poor showing for sentence-wide counts leaves room for individual words located anywhere in the sentence to help.
There is a concrete reason those counts can be weak cues. A scene can place a dog in a garden with a movement verb and a preposition. A sentence can use those same grammatical categories while describing an completely different relationship. A count conveys how many occurrences there are of each category. It supplies much less about which words express motion or what participants they connect. The path and subtree features direct attention to the neighborhood of the target mentions, where this distinction is more accessible.
The SVM result is also a check on what the recurrent classifier adds. The authors explicitly temper their conclusion about the advantage of the LSTM over simpler feature-based classification. The SVM already includes linguistic information chosen for the task, from words near the objects in the dependency tree to their semantic similarity. The paper’s comparison is between specific ways of using contextual evidence, and the more complex classifier’s advantage over that baseline is limited.
How much wording the sequence needs
The three input settings for the recurrent classifier compare different levels of abstraction. The original words give the classifier access to every lexical distinction. Its strong recall shows that this input can recover many of the positive scenes. The part-of-speech input removes those distinctions much more broadly by turning words into their grammatical classes. The normalized input keeps terms the authors expect to carry spatial clues and generalizes much of the surrounding material. Its leading overall result is evidence for that combination on the Gutenberg benchmark.
One interpretation offered by the authors concerns the size of the vocabulary. Treating different surface forms and descriptive words as separate inputs asks the classifier to learn how to use them from a relatively small labeled collection. Lemmas give related verb forms a shared representation, and grammatical tags let many words with the same broad job share a token. By keeping the words that describe motion and position, normalization reduces this learning burden while retaining useful semantic distinctions. The results support the mixed representation as a package. The variants leave open how much benefit came from each kind of replacement individually.
The other explanation concerns the placement of spatial clues in the dependency tree. Prepositions and adverbs can occur among the descendants of a target word, off the direct path that connects the two nouns. DRNN’s view of the path can therefore exclude them. LSTM+Norm has access to those positions and still sees the relevant words in their base forms. This is a plausible account of where the normalized sequence helps. The comparison includes differences in both architecture and representation, so the precision result against DRNN alone cannot measure a separate effect for those descendants.
The feature and recurrent experiments draw on complementary intuitions about grammar. The SVM can explicitly select the path and the two target subtrees. The normalized sequence can keep the original word order and preserve grammatical clues wherever they occur. Both choices give more weight to material that bears on the relation. Their difference is in how they make that material available to the classifier. The SVM organizes the evidence into manually chosen groups. The recurrent classifier reads a sequence whose vocabulary was designed to distinguish several types of evidence.
Whether rankings benefit from repetition
The aggregation comparison holds the sentence scores fixed and changes their contribution to each pair. It consequently tells a clearer story about repeated support than a comparison between entirely different extraction systems would. The sum of confidence scores and the count of high-confidence mentions both allow a pair’s score to grow as it receives more support. They generally perform better than the alternatives tested, including the rules that average over mentions.
The closest comparison for interpreting the role of repetition is between f₃ and f₄. Each recognizes exactly the same sentences as confident evidence. The difference is the denominator. The count can reward a commonly mentioned pair that has many positive scenes among its appearances. The fraction favors a pair whose appearances are consistently positive, including one with less total textual support. The selected count rule indicates that the absolute amount of positive evidence was useful for ranking the sampled pairs in this collection.
The raw co-occurrence count provides another control. A pair may be discussed repeatedly in books without being placed in the same physical setting. Using a sentence classifier before counting gives the extraction procedure a way to distinguish such mentions from depictions of proximity. The chosen f₃ rule also differs from the confidence sum because scores below the cutoff make no contribution. Repeated weak scores can add up under the sum. Repeated calls above the cutoff provide the only way to increase the count. In these experiments, the authors prefer that latter form of accumulated evidence.
This result concerns a benchmark built by first selecting pairs with enough occurrences to be sampled. Frequent mention makes more textual evidence available, and it may also reflect what the writers of these books choose to describe. Those two influences can coexist. The ranking result shows which rule works better for the candidate population studied and leaves open how much of the advantage would carry over to a different corpus or to pairs with fewer mentions.
Limitations
Limits the authors identify
The authors conclude that the strongest recurrent classifier has a limited edge over simpler feature-based classification. They single out sentence normalization as the useful result. This confines the architectural claim to the comparison they made. The experiment supports the representation for this proximity task and collection, with a competitive SVM result and a general-purpose classifier that retains a small precision advantage.
They also identify the human effort required to obtain direct annotations as an area for further work. Distant supervision is one avenue they propose exploring to reduce that effort. Their own training and evaluation depend on people reading sentences, interpreting scenes, and deciding whether pairs are likely to occur near one another in real life. Majority decisions make those judgments usable as labels, while the reported agreement measures quantify how consistently annotators reach them.
The authors name graph embeddings and downstream applications as additional future directions. The study measures sentence classification, pair ranking and extraction precision. It uses object detection and spatial reasoning to explain why the resulting facts could matter. The example of a glass near items on a table illustrates how a fact might serve as a prior in a visual task. Whether that prior improves object detection, reading comprehension or question answering remains outside the experiments reported here.
What the sampling setup leaves open
The vocabulary restricts which facts can be discovered. An object must have a single-word name accepted by the authors’ resource intersection and filtering procedure. The name must also occur as a noun in a candidate sentence. This gives the procedure a clear search space and makes the manual labeling tractable. It also confines the experiments to a particular way of identifying object mentions. Relations involving phrases outside that inventory, or scenes whose connection must be inferred across several sentences, fall beyond what the evaluation covers.
Polysemy can matter even within the inventory. The authors manually filter some words with abstract meanings and enforce the noun condition at candidate generation. A noun can still have several senses, and the plausibility of proximity may depend on which sense is in use. The sentence branch has context with which to make that judgment, while the same object word can contribute evidence across texts. The reported results apply to the combined effect of those choices. The paper gives no separate estimate for cases where identifying the intended physical sense is the main difficulty.
The sentence test is formed by randomly dividing instances from the sampled collection. Since several sentences were chosen for each pair before that split, the design permits a pair to be represented in both the training and test sets. The reported evaluation therefore concerns new sentence instances under that sampling procedure. Generalization to entirely unfamiliar pairs would require a test that reserves their identities. This matters particularly because the classifier receives original object embeddings and therefore has access to information about the pair independently of how the current sentence is phrased.
The pair benchmark likewise comes from pairs that had more than 10 co-mentions. This gives the experiment pairs with repeated opportunities to supply evidence. It leaves less information about objects that appear infrequently together, even if their pairing would be plausible to human readers. A count-based cutoff places a practical constraint on what can be recovered from sparse mentions. An everyday relation can be easy for an annotator to recognize while the corpus contains too little evidence to admit it into the output.
Gutenberg’s high positive rate makes it attractive for collecting examples. The density comparison measures how frequently a sampled candidate sentence describes proximity. Fiction, an encyclopedia and a news corpus may have different ways of representing places and objects, and density alone cannot establish how well their extracted facts would transfer to actual settings. The general pair annotations offer a link to everyday expectations for the experiment’s candidate pairs. A comparison of extraction quality across the three sources would be needed to compare that link directly.
What a positive score establishes
A pair count combines how frequently the objects occur together in the text with how often the classifier reads those occurrences as spatial. This is useful as a ranking signal and is different in meaning from an estimate of how frequently the objects stand near each other in real life. A frequently depicted scene can have a great deal of literary evidence. A rarely described arrangement can have less evidence even if it is familiar. The annotators’ pair judgments provide the criterion for ranking quality, while the corpus counts remain measurements of textual support.
Neither label type specifies a physical distance or a precise context in which the relationship applies. The sentence label records whether the current description places the objects nearby. The object-pair label records whether annotators take the pairing to be generally plausible. A triple produced by the extractor has the names of the objects and the relationship. The score can indicate support, while conditions such as a shared activity or particular setting are not recorded as part of that relation. This qualifies what another application could infer from the extracted fact.
The confidence cutoff of 0.5 turns graded sentence predictions into votes. It was used in the ranking comparison, which evaluates whether those votes are useful when combined. The paper gives no separate test of whether sentence confidences can be interpreted as calibrated probabilities. For f₃ to be useful, the cutoff needs to distinguish enough strong evidence from weak evidence to produce a good ordering. Reliability of the numerical confidence as a probability is a separate question.
The pair-score threshold of 40.0 is chosen from the labeled pair benchmark. The subsequent human inspection provides a precision check on the extracted collection. It leaves open the recall of the extraction procedure, which would require knowing how many valid relations existed in the candidate space and were missed. The reported precision and output size also leave the uncertainty around the inspection estimate unspecified. They support a claim that the procedure finds a substantial collection of candidates with measured quality, with the coverage of genuine LocatedNear relations still undetermined.
What came after
KagNet appeared in 2019 and cites the LocatedNear study. Its title, KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning, places it at the reasoning end of a problem the extraction paper approaches from the evidence end. The LocatedNear study starts with books and seeks relation triples that could be made available to a knowledge-aware system. KagNet concerns the use of graph structure in commonsense reasoning. The citation establishes a connection between those research questions. The specific role of the proximity facts or the extraction procedure in KagNet is unspecified.
The distinction between acquiring a graph edge and using it is substantive. For acquisition, the researcher asks whether many sentences supply enough evidence to enter a relationship in a graph. For reasoning, the question is what an available relationship contributes when a system must draw a conclusion. The example of the glass illustrates the connection. An extractor could supply a record of what tends to share a setting with the objects on a table. A reasoning system would still need to determine whether that background fact is relevant to the scene at hand. That is the relationship between the directions represented by the two papers, without attributing a particular LocatedNear experiment to KagNet.
The 2019 survey Recent Advances in Natural Language Inference also cites the paper. The survey’s title identifies its scope as benchmarks, resources and approaches for determining what follows from language. The LocatedNear study contributes two kinds of benchmark relevant to that scope. One tests the ability to judge what a sentence conveys about a scene. The other collects background judgments a reader might bring to a sentence. The citation shows that the extraction study entered the literature surveyed in natural language inference. How the survey characterizes or assesses the extraction procedure is unspecified.
The two citing works thus connect the paper to graph-based commonsense reasoning and to a survey of language inference resources and methods. The LocatedNear experiments occupy an earlier stage of that research problem. They establish how to collect and evaluate one specific kind of spatial knowledge from text. Evidence about whether the resulting facts improve a reasoning system would require a downstream evaluation that measures their contribution.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Reasoning · 1,948 works
Cite
Cite as Frank F. Xu, Bill Yuchen Lin and Kenny Zhu. 2018. Automatic Extraction of Commonsense LocatedNear Knowledge. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).
@inproceedings{xu2018automatic,
title = {{Automatic Extraction of Commonsense LocatedNear Knowledge}},
author = {Frank F. Xu, Bill Yuchen Lin and Kenny Zhu},
booktitle = {Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
year = {2018},
doi = {10.18653/v1/p18-2016},
eprint = {1711.04204},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/p18-2016}
}References
- Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference (https://doi.org/10.18653/v1/D15-1075). In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632–642. Association for Computational Linguistics. our card
- Ido Dagan, Bill Dolan, Bernardo Magnini, and Dan Roth. 2009. Recognizing textual entailment: Rational, evaluation and approaches (https://doi.org/10.1017/S1351324909990234). Natural Language Engineering, 15(4):i–xvii. OpenAlex ↗ · Scholar ↗
- Iris Hendrickx, Su Nam Kim, Zornitsa Kozareva, Preslav Nakov, Diarmuid Ó Séaghdha, Sebastian Padó, Marco Pennacchiotti, Lorenza Romano, and Stan Szpakowicz. 2010. Semeval-2010 task 8: Multi-way classification of semantic relations between pairs of nominals (http://www.aclweb.org/anthology/S10-1006). In Proceedings of the 5th International Workshop on Semantic Evaluation, pages 33–38. Association for Computational Linguistics. our card
- Shibamouli Lahiri. 2014. Complexity of word collocation networks: A preliminary structural analysis (https://doi.org/10.3115/v1/E14-3011). In Proceedings of the Student Research Workshop at the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 96–105. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- J. Richard Landis and Gary G. Koch. 1977. The measurement of observer agreement for categorical data. (https://doi.org/10.2307/2529310) Biometrics, 33 1:159–74. OpenAlex ↗ · Scholar ↗
- Xiang Li, Aynaz Taheri, Lifu Tu, and Kevin Gimpel. 2016. Commonsense knowledge base completion (https://doi.org/10.18653/v1/P16-1137). In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), Berlin, Germany, August. Association for Computational Linguistics, pages 1445–1455. our card
- Mike Mintz, Steven Bills, Rion Snow, and Daniel Jurafsky. 2009. Distant supervision for relation extraction without labeled data (http://www.aclweb.org/anthology/P09-1113). In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, pages 1003–1011. Association for Computational Linguistics. our card
- Jeffrey Pennington, Richard Socher, and Christopher Manning. 2014. Glove: Global vectors for word representation (https://doi.org/10.3115/v1/D14-1162). In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1532–1543. Association for Computational Linguistics. our card
- Sebastian Riedel, Limin Yao, and Andrew McCallum. 2010. Modeling relations and their mentions without labeled text (https://link.springer.com/content/pdf/10.1007/978-3-642-15939-8_10.pdf). Machine learning and knowledge discovery in databases, pages 148–163. OpenAlex ↗ · Scholar ↗
- Robert Speer and Catherine Havasi. 2012. Representing general relational knowledge in conceptnet 5 (http://www.aclweb.org/anthology/L12-1639). In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC-2012). European Language Resources Association (ELRA). OpenAlex ↗ · Scholar ↗
- Denny Vrandečić and Markus Krötzsch. 2014. Wikidata: A free collaborative knowledgebase (https://doi.org/10.1145/2629489). Communications of ACM, 57:78–85. our card
- Yan Xu, Ran Jia, Lili Mou, Ge Li, Yunchuan Chen, Yangyang Lu, and Zhi Jin. 2016. Improved relation classification by deep recurrent neural networks with data augmentation (http://www.aclweb.org/anthology/C16-1138). In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 1461–1470. The COLING 2016 Organizing Committee. OpenAlex ↗ · Scholar ↗
- Yan Xu, Lili Mou, Ge Li, Yunchuan Chen, Hao Peng, and Zhi Jin. 2015. Classifying relations via long short term memory networks along shortest dependency paths (https://doi.org/10.18653/v1/D15-1206). In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1785–1794. Association for Computational Linguistics. our card
- Mark Yatskar, Vicente Ordonez, and Ali Farhadi. 2016. Stating the obvious: Extracting visual common sense knowledge (https://doi.org/10.18653/v1/N16-1023). In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 193–198. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. 2014. Recurrent neural network regularization (https://arxiv.org/abs/1409.2329). arXiv preprint arXiv:1409.2329. our card
- Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. 2014. Relation classification via convolutional deep neural network (http://www.aclweb.org/anthology/C14-1220). In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 2335–2344. Dublin City University and Association for Computational Linguistics. our card
- Yuke Zhu, Alireza Fathi, and Li Fei-Fei. 2014. Reasoning about object affordances in a knowledge base representation (https://doi.org/10.1007/978-3-319-10605-2_27). In European conference on computer vision, pages 408–424. Springer. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/xu-2018-automatic-extraction-commonsense-locatednear-knowledge/