Elamur Research

COCO-EX: A Tool for Linking Concepts from Texts to ConceptNet

Paper · 2021 · Maria Becker, Katharina Korfhage and Anette Frank

Summary

A text can mention a familiar concept without using the form under which most of its knowledge graph relations are stored. ConceptNet, a graph of everyday knowledge, keeps separate nodes for brain and brains. A literal search for the plural reaches the edges attached to that spelling and leaves the edges of the singular outside its result. The same search can also find graph entries for expressions that contribute little to the meaning of a passage. The authors present COCO-EX, a tool that selects phrases from text and links each phrase to a collection of suitable ConceptNet nodes. Its purpose is to make more of the graph's existing knowledge available while keeping the selected concepts relevant to the text.

COCO-EX starts with noun, verb, and adjective phrases, retaining both full phrases and shorter chunks. It uses lemmatization to bring inflected forms, such as singulars and plurals, under a common lookup key. The lookup returns the original graph nodes, each with its own incoming and outgoing relations. A phrase with several content words calls for nodes that match those words together. When graph entries distinguish grammatical categories, the tool also checks part of speech against the input sentence. A final filter compares the phrase and the proposed node by length and similarity, since sharing a word can bring back a node about a different activity or situation.

The authors compare COCO-EX with literal string matching on questions and answer choices from CommonsenseQA and OpenBookQA. Both methods start from the same kinds of phrases. In manually reviewed question samples, COCO-EX raised the share of returned concepts judged informative from 69% to 99% on CommonsenseQA and from 62% to 72% on OpenBookQA. Its informative links also gave access to more incident graph edges on both samples. Coverage, measured by whether a question had all its meaningful concepts represented, favored COCO-EX on CommonsenseQA and string matching on OpenBookQA. The comparison measures the quality of the links and the graph relations they make available. It leaves open how frequently those relations help a system choose the correct answer.

Deep dive: COCO-EX: A Tool for Linking Concepts from Texts to ConceptNet

COCO-EX links phrases to ConceptNet nodes and tests whether the resulting links recover useful concepts and give access to more graph relations. · about 32 minutes to read

The problem and its context

What it takes to find the knowledge attached to a phrase

A graph stores knowledge by connecting entries through named relations. In ConceptNet, the entries can describe things, actions, or more elaborate situations. Dog and domestic animal, for instance, are the endpoints of an IsA relation. An application that has identified the dog in a passage can follow such relations to obtain background information that the passage leaves implicit. For that to happen, the application first needs an address in the graph. COCO-EX addresses this step between the words of the passage and the endpoints of the stored relations.

The graph distinguishes the label used for a node from the relations connected to it. A useful link must account for both. If the same general concept appears under several labels, retrieving just the label whose wording agrees with the passage can give a narrow view of what the graph records about it. The paper illustrates this with brains, which has 131 incident edges, and brain, which has 1799. The figures describe the connectivity of the two graph nodes. They give a concrete reason for caring about spelling and inflection at lookup time, even if an application eventually pays attention to only a few of the edges it finds.

A separate decision concerns which words in a passage are worth looking up. The presence of a matching node makes it possible to create a link, but the graph admits entries for common words such as there and yes. The authors regard such entries as poor starting points for many downstream uses. A system that links every available match may therefore return a sizeable set of nodes while doing a poor job of identifying the concepts around which the passage is organized. Improving the number of meaningful matches and reducing incidental matches are both part of the task.

The problem extends beyond inflection. Some ConceptNet labels describe a situation in enough detail to contain multiple nested phrases. A label about buying the ingredients for a recipe combines an action with the things bought and their relation to a recipe. A phrase extracted from a passage can express a similarly complicated event and still differ in its details from any phrase stored in the graph. At the other extreme, a single word such as dog occurs in graph labels for activities, personal preferences, and idioms. A useful lookup has to accommodate variation in form and decide how much additional meaning a graph phrase can introduce before it becomes a poor match.

How ConceptNet acquired this shape

The paper traces ConceptNet to Open Mind Common Sense, which collected everyday assertions through a web-based contribution process. The graph later incorporated sources of several kinds. The authors name WordNet and JMdict among expert-created resources and Wiktionary among crowdsourced ones. They also mention knowledge gathered through a game and knowledge extracted automatically. The resulting graph contains assertions about categories, properties, purposes, locations, and other relations. The paper describes ConceptNet 5 as having 37 relations.

A relation is represented as a triple. The endpoints identify the concepts involved, and the relation says how they are connected. This organization gives an application a consistent way to ask for assertions around a node even when its label is a free-form phrase. The variation is in how those endpoints are written. A phrase for making a cake may appear in base and progressive verb forms and with a singular or plural noun. Variations in spacing and punctuation can also create distinct nodes, as in the paper's examples around bin bag. Maintaining these entries as separate addresses disperses the corresponding relations across the graph.

The authors contrast this design with knowledge bases such as NELL, Freebase, and YAGO. They characterize ConceptNet's entries as free-form and noncanonical. A canonical scheme would give variants a common identifier according to the scheme's rules. ConceptNet's ordinary node labels offer no general guarantee of that consolidation. Crowdsourced input adds further variation, including misspellings and highly particular descriptions. One of the paper's examples concerns a property expressed by comparing something to a pencil. Such a phrase can occur in a graph relation while being too specific to work as a general representation of what a new passage mentions.

ConceptNet's sparsity, in the authors' account, is partly a consequence of fragmenting knowledge among such nodes. Edges that a reader might consider relevant to a single concept can sit in several local neighborhoods. This affects the starting information available to applications and poses a problem for other graph operations. The paper mentions commonsense knowledge base completion, which seeks to add missing knowledge, as well as attempts to represent nodes and edges and to learn new relations. COCO-EX works on the access problem. Its lookup can collect edges already stored at different addresses.

The paper also describes a graph-merging effort by Faralli and colleagues, where 25% of the edges connected ConceptNet nodes to other databases. The authors relate that figure to ConceptNet's free-form labels and the difficulty of matching them to more standardized entries. Graph merging and linking from a passage involve different inputs, but the example illustrates a common source of friction. A label can be clear to a reader once it has been found, while still being difficult to recover through a comparison of written forms.

What earlier applications did with the graph

As the paper describes the field, ConceptNet was already used for reading comprehension, dialogue, argument classification, textual entailment, and question answering. In reading comprehension, external knowledge can supplement what the passage explicitly says, an application represented in the paper by Knowledgeable Reader. The purposes differ across these tasks, but whenever the graph supplies background for a particular passage, the application needs a way to decide which concepts in the passage will serve as entry points.

The paper names KagNet as an example of prior work using string matching for this mapping. It discusses Wang and colleagues' work in more detail. Their approach used concepts mentioned in questions and answer choices as starting points for finding multi-hop paths through ConceptNet. A path of that kind follows successive graph edges to reach concepts beyond an initial node's immediate neighbors. The set of initial nodes matters because it determines where the path search can start. Two systems could search the same graph by the same procedure and still access different material if their input phrases led them to different nodes.

String matching is a direct response to the fact that ConceptNet entries are themselves text. It treats agreement between the wording in the passage and a node label as evidence for the link. The paper's examples show where that evidence runs out. Different forms of the same word can lead to different destinations, and an exact agreement can be unhelpful if the expression is incidental to the passage. COCO-EX treats those as decisions for the linker to make. Phrase structure determines what is proposed, and a separate set of checks determines which graph labels survive.

The method, step by step

From the sentence to phrases at several scales

COCO-EX is implemented in Python 3.6, and the authors make its code available. The input is natural-language text. The output connects selected phrases from that text to original nodes in ConceptNet. The distinction between a phrase and a node is useful throughout the procedure. A phrase is a piece of the input that the pipeline proposes as a candidate. A node is an existing graph entry that the tool may assign to that candidate. One input phrase can receive several graph links, and related candidates can be extracted from overlapping stretches of the sentence.

The first stage uses the Stanford constituency parser. In constituency parsing, a sentence is analyzed as a tree, with larger units containing smaller ones. The leaves are the tokens of the sentence. Taking the leaves under a subtree gives the sequence of tokens that make up that unit. COCO-EX uses this structure to find noun phrases, verb phrases, and adjective phrases. It also selects subtrees labeled with the relevant noun, verb, and adjective tags, so an individual word can serve as a candidate when the tree identifies it under one of those labels.

The parser lets the tool distinguish between the full wording of an event and expressions inside it. Consider the paper's sorting example, be sorted into different wheelie bins. That is a relatively specific description. COCO-EX can retain it while also offering be sorted into and be sorted as shortened verb candidates. It keeps noun candidates from the part that has been detached, including different wheelie bins, wheelie bins, and bins. The candidate set therefore gives the lookup a chance to find a node about the detailed event, a node about sorting more generally, or a node about the containers.

For each extracted verb phrase, the procedure can produce chunks by dropping subordinate noun phrases, prepositional phrases, or both. A prepositional phrase in this example starts with into and includes the expression for the bins. The method retains nested phrases and can generate shorter chunks from them as well. Keeping the full phrase matters because some graph nodes also contain several nested parts. Keeping shorter forms matters because much of ConceptNet is phrased at a more general level than an event described in a particular sentence. The search begins with these alternatives available.

This stage also sets boundaries on what will count as a possible concept. Phrase structure supplies those boundaries before any graph search. An adjective or noun inside a larger expression can be proposed because the parse identifies it. A chance sequence of neighboring words gains no special status merely because a similar sequence could occur in the graph. Conversely, the method can consider a long phrase when the tree marks it as one constituent. It is the organization of the sentence that makes those opportunities available to later stages.

How COCO-EX links text phrases to ConceptNet

The steps in order.

How COCO-EX links text phrases to ConceptNetStep 1: Parse the sentence and select phrase candidates1. Parse the sentence and select phrase candidatesStep 2: Keep full phrases and shorter nested chunks2. Keep full phrases and shorter nested chunksStep 3: Lemmatize phrases and graph labels and remove selected words3. Lemmatize phrases and graph labels and remove selected wordsStep 4: Index original graph nodes under their retained lemmas4. Index original graph nodes under their retained lemmasStep 5: Look up lemma lists and intersect multiword matches5. Look up lemma lists and intersect multiword matchesStep 6: Exclude nodes with conflicting part-of-speech tags6. Exclude nodes with conflicting part-of-speech tagsStep 7: Filter remaining nodes by length and similarity7. Filter remaining nodes by length and similarity

Giving text and graph labels comparable forms

The next stage prepares the candidate phrases for lookup. The tool uses spaCy to obtain lemmas. A lemma is the form under which inflected versions of a word can be grouped, such as the singular noun dog for dogs. Lemmatization makes the lookup less sensitive to grammatical variation in number or verb form. It changes the units the linker searches for and leaves it possible to recover the different graph entries that contributed those units.

The authors also filter out punctuation, conjunctions, articles, interjections, adverbs, and pronouns with spaCy. These exclusions determine which words supply keys to the lookup. In walk the dog, the article contributes no key, leaving walk and dog to govern retrieval. This makes a phrase with the definite article comparable to one with the indefinite article, as in the graph entry walking a dog. The same preparation applies on the graph side, so differences that have been ignored in the input are also ignored when deciding where to file a graph node.

The original phrase and the searchable representation serve different purposes. The original phrase preserves what the sentence actually says. The searchable representation retains the lemmas used to locate possible correspondences. On the graph side, the distinction has a concrete consequence. The preparation changes what is indexed, while the node kept in the dictionary retains its original surface form. Graph relations still refer to that original node. If a plural and a singular node both match the key, the tool can go back to both addresses after lookup.

Handling the input and the graph labels symmetrically is central to this stage. Normalizing just the input would still leave the lookup dependent on whether each normalized phrase occurred as a graph label. Here, a graph label like walking a dog can contribute an entry under walk even though its verb is written as walking. It can also contribute under dog. The phrase reaches the rest of the pipeline through shared terms, with the unmodified node available for inspection and for retrieving edges.

Part of speech introduces another distinction between text and graph data. The authors obtain the tags for input words by running spaCy at sentence level. That gives the tagger access to the rest of the sentence when deciding the role of a word. Graph nodes, by comparison, carry grammatical information as metadata in cases where ConceptNet supplies it. The tool uses that information when it considers the entries returned by the lookup. It thus preserves a piece of sentence context even though shorter chunks and individual lemmas are used to search the dictionary.

Building the dictionary and looking up a phrase

The ConceptNet dictionary functions as an inverted index. An entry starts with a retained lemma and points to the graph nodes whose prepared labels include that lemma. In the paper's example, the key dog can lead to dog, dogs, and my dog, as well as longer labels involving a dog. The group is defined by the index key. Membership shows that a node has the relevant word after preparation. The subsequent filtering stage is what decides whether the whole label is close enough to the candidate phrase.

Each dictionary value can contain several forms and lengths of labels. The same node can be filed under more than one key if it contains several retained lemmas. For instance, walking a dog can be found through the lemma for the action and the lemma for the animal. This organization gives the pipeline a way to look for a complex description using the same dictionary that supports a short description. The requested phrase tells the linker which lists of nodes to consult together.

For a phrase with a single lemma, the lookup takes the list associated with that lemma into consideration. If the input yields dog, it can initially find the singular and plural nodes alongside multiword labels. This gives the tool access to the separate graph neighborhoods of the different forms. The final stages still have to determine which of the longer labels are suitable. The distinction matters because a lookup that returns every occurrence of the word inside a label can be broad even when the original phrase is quite simple.

For a phrase with several lemmas, the detailed description and worked example specify an intersection. The paper briefly refers to a union while describing the collection of candidates. Its worked example and its recap of the matching rule specify that a returned node must occur in the lists for all the candidate's keys. A union would admit a graph node associated with any key. The intersection implements the stronger requirement illustrated by walk the dog.

M(p) = ⋂_{ℓ ∈ L(p)} D(ℓ)

Here, p is the candidate phrase, and L(p) is the set of its retained lemmas. The symbol ℓ stands for a lemma in that set, with ∈ indicating membership. D(ℓ) is the set of original ConceptNet nodes stored under the lemma. The intersection symbol ⋂ keeps the nodes shared by all those sets, and M(p) is the resulting collection before the remaining filters. The equals sign defines that collection.

In the walking example, the list for walk includes labels about walking without a reference to a dog, and the list for dog includes labels about dogs without a reference to walking. Neither kind of entry satisfies both requirements. Walking a dog and walk the dog occur on both lists in the paper's example, so they survive this stage. The original article and verb inflection differ across those graph labels. The lookup has already abstracted away from those differences when it tests the retained words.

The intersection tests for the presence of the requested lemmas. It can still admit labels with extra content. It also tests membership in sets, so the rule itself supplies no check that the terms appear in the same order or stand in the same grammatical relation as in the input. Length and similarity checks become relevant once this group of literal lemma matches has been assembled. The chunks from the first stage provide another route into the graph when the longer candidate's full set of lemmas cannot be found together.

Checking the grammatical category of a match

The authors use part of speech to resolve a particular kind of ambiguity. Fly can be a noun for an insect or a verb for an action, and flies can also belong to either category. Looking up the normalized form alone can mix graph entries for the two readings. When ConceptNet metadata distinguishes the noun and verb entries, the tag assigned in the input sentence lets COCO-EX prefer the matching category by excluding conflicting entries.

The filtering rule depends on whether the graph entry has a tag. The authors report that part-of-speech information is available for a majority of concepts in the specific tuples where they examined its use. A node without that information can still remain eligible. The procedure can thus use available grammatical evidence without requiring complete annotation of the graph. Its decision in the fly example is about the role of the word in its sentence. Two different readings within the same grammatical category would need evidence beyond this check.

This grammatical check complements the dictionary. The dictionary gathers graph records that have the right normalized words. The tag check can then distinguish records whose labels look alike but belong to different categories. It is possible to perform that check for a shortened phrase because the tagger was applied in the context of the sentence from which the phrase came. Shortening the candidate for retrieval therefore need not throw away the grammatical decision made with the longer context.

Filtering by length and similarity

The final stage deals with the breadth of a lemma match. An occurrence of dog within a label about feeding dogs, liking dogs, or raining cats and dogs satisfies the key lookup for the animal. Each phrase, however, introduces an action, an opinion, or an idiomatic reading. The authors compare each proposed label with the candidate phrase to screen out cases where the shared word gives a misleading impression of the match.

Length offers one signal. The tool can compare the difference in token counts or the difference in character counts. In the paper's example, my dog compared with dogs gives a difference of 1 in tokens and 1 in characters. Comparing my dog with many dogs gives a difference of 0 in tokens and 3 in characters. The examples illustrate why the authors expose both measures. Sharing a token count tells a reader little about the detailed wording, and a small change in character count can coincide with a change in how many words the expression contains.

The paper also tests several ways to score similarity. The Dice and Jaccard coefficients are ways of expressing overlap relative to what is being compared. Minimum edit distance measures how much editing would turn one expression into the other. These comparisons offer different ways of treating changes to the written form. The paper also considers semantic similarity using word embeddings, which represent words as vectors. For these options, distance is computed from vector representations, giving the comparison access to information beyond letter or token overlap.

The vector-based alternatives are Word Mover's Distance and cosine distance. Word Mover's Distance compares expressions through the distances among their words in the vector space. Cosine distance concerns the directions of the representations being compared. The authors try Numberbatch, GoogleNews Word2Vec, and GloVe. For multiword terms, the paper describes obtaining a vector by averaging the embeddings of the words. The resulting text representation gives the vector comparisons a way to handle entries longer than a single word.

The authors tested thresholds and inspected how well the retained nodes fit their input phrases. Based on those manual comparisons, they report a maximum token-length difference of 1 and/or a maximum character-length difference of 10, together with a minimum Dice coefficient of 0.85. The length thresholds govern how far apart the expressions may be in size. The Dice threshold governs the least overlap acceptable to that similarity check. The authors retain alternative configurations as options in the implementation. Their stated basis for the preferred settings is the balance of coverage and noise observed in the manual inspection.

The paper gives the name and cutoff for Dice but prints no equation for the coefficient or definition of the units used to compute overlap in the implementation. It describes configuration selection through inspection of the proposed links. The resulting method is a pipeline of parsing, normalization, dictionary construction, and filtering. Once a node passes the filters, its original identity gives the user access to graph relations both entering and leaving that node. This is how a change to text lookup can increase access to stored knowledge without creating a new assertion.

Experiments and results

What goes into the comparison

The authors draw the evaluation material from two multiple-choice question-answering benchmarks used in earlier work with ConceptNet. CommonsenseQA has 12,247 questions with 5 answer choices each. OpenBookQA has 6,000 questions, each with 4 options. The strings submitted to the linkers come from both the questions and the choices. The authors report retrieval counts for these categories separately, which makes it possible to see whether the systems return different amounts of material from the prompts and the possible answers.

The comparison system is a reimplementation of simple string matching. The authors give it noun, verb, and adjective candidates and their nested phrases, following the selection used by COCO-EX. It also sees full forms and shorter chunks. The same categories of words and punctuation are removed from the phrases. The reported comparison thus starts from phrases with a common linguistic preparation and examines the difference made by the linking procedures, including the normalized lookup and filtering in COCO-EX.

The baseline matters for interpreting the size and cause of any difference. A simpler experiment could have given the phrase structure and chunking to COCO-EX alone. In that design, links gained because a shorter candidate was available would be hard to distinguish from links gained because the candidate reached more graph entries. Here, both systems have access to those shorter candidates. The comparison says more about the complete matching behavior once the candidates have been generated. It can still leave several later design choices bundled together.

The evaluation has a benchmark-wide count and a closer look at sampled questions. The count asks how many concepts were linked under each method. The manual assessment asks whether the relevant concepts of each sampled question were covered and how many returned concepts were informative. The authors then count the incoming and outgoing edges available from the nodes judged informative. Each measure refers to a different stage. Counts describe the amount of output, judgments describe its suitability, and edge totals describe how much stored graph material the suitable output makes reachable.

How many concepts the linkers return

For CommonsenseQA as a whole, string matching linked 99,217 concepts from the questions and COCO-EX linked 88,631. The order reverses for the answer choices, where string matching linked 106,681 concepts and COCO-EX linked 116,941. The new method therefore changes the quantity of output in different directions depending on which part of the dataset is being processed. A general description of the method as returning more links would miss the difference between the prompts and the choices.

For OpenBookQA, the question-side counts are close. String matching gives 38,415 linked concepts, and COCO-EX gives 38,485. The answer-side counts are 53,748 for string matching and 61,313 for COCO-EX. As on CommonsenseQA, the answer choices yield more linked concepts under COCO-EX. The paper reports these numbers as output counts for the respective text categories. It does not use them to estimate the fraction of gold concepts recovered across a full benchmark.

Linked concepts from CommonsenseQA answer choices

COCO-EX links more concepts from the answer choices.

Linked concepts from CommonsenseQA answer choicesString matching: 106,681String matching106,681COCO-EX (this paper): 116,941COCO-EX (this paper)116,941
The numbers
System or settinglinked concepts
String matching106,681
COCO-EX (this paper)116,941

A count has a clear interpretation when the question is how much material each linker returns. It has a weaker interpretation when the question is whether the material belongs in the result. Common words, irrelevant longer labels, or graph entries that vary only slightly in form can all affect the quantity. Useful matches can also grow in number. The authors use the annotated samples to judge whether the changes in quantity correspond to changes in the quality of the outputs.

How the question samples were judged

The authors randomly sampled 50 questions, with 25 from CommonsenseQA and 25 from OpenBookQA. For each dataset, two annotators with a linguistic background made judgments about the outputs. The paper reports 78% agreement in terms of Cohen's kappa. Kappa measures agreement with an adjustment for the agreement expected by chance. An expert annotator, who was one of the authors, resolved the remaining disagreements.

The coverage judgment concerns the question as a whole. A question counts as covered if the annotators judge that the extracted material includes all of its meaningful concepts. This is a binary judgment. A question with a single omission falls on the same side of the score as a question with several omissions. A completely covered question contributes to coverage even if the linker also returns material that the annotators consider unnecessary. The measure captures completeness at the level of a question, according to the annotators' reading of that question.

The informativeness judgment starts from the returned concepts. The annotators decide which ones are wanted in the context of the question. The resulting ratio is a precision-like measure, with wanted concepts in the numerator and all classified outputs in the denominator.

r = W / (W + U)

In this expression, r is the ratio of informative concepts, W is the count judged wanted, and U is the count judged unwanted. The plus sign combines the two output counts, the parentheses make their sum the denominator, and the slash denotes division. The equals sign defines the ratio. The paper presents it as a percentage and gives the underlying counts from the annotated question samples.

These decisions allow useful distinctions among outputs. A question could be fully covered even though only some of the returned concepts are considered informative. Another question could have an output consisting of relevant concepts and still be missing a concept necessary for complete coverage. Furthermore, two outputs that look equally satisfactory at the concept level can point to nodes with very different numbers of edges. The authors use the separate scores to capture these possibilities.

Completeness and informativeness in the samples

On the CommonsenseQA question sample, string matching achieved full coverage for 17 of 25 questions (68%). COCO-EX covered 20 of 25 (80%). In the same sample, the annotators judged 152 of 220 string-matching concepts informative (69%). For COCO-EX, they judged 190 of 192 concepts informative (99%). Here, the system with the smaller output in the annotated sample also produced more wanted concepts and covered more questions completely.

On the OpenBookQA question sample, string matching covered 16 of 25 questions (64%), and COCO-EX covered 14 of 25 (56%). The informativeness judgment again favored COCO-EX. String matching returned 92 of 148 wanted concepts (62%), and COCO-EX returned 104 of 145 (72%). The new linker found more wanted concepts in the sample while fully covering fewer questions. This combination is possible because the concept counts pool outputs across questions, while the coverage score depends on whether any meaningful element was missed in each question.

Share of linked concepts judged informative on sampled OpenBookQA questions

A larger share of the concepts returned by COCO-EX were judged informative.

Share of linked concepts judged informative on sampled OpenBookQA questionsString matching: 62String matching62COCO-EX (this paper): 72COCO-EX (this paper)72
The numbers
System or setting"%"
String matching62
COCO-EX (this paper)72

The OpenBookQA result is important alongside the CommonsenseQA result. Both support the claim that a greater share of the returned concepts was useful under the annotation criteria. The coverage result responds differently to the change in linker across the benchmarks. Full coverage of the question depends on retaining every concept judged meaningful, so a procedure that makes its output more selective can gain on informativeness while losing on the all-or-nothing question score. The published totals establish that these outcomes coexist. They do not identify which matching decision caused each omission.

The manual results are question-side measurements. The full-dataset counts show that COCO-EX returned more links from answer choices on each benchmark. The paper's informativeness and coverage figures refer to the sampled questions. Those figures provide evidence about the quality of the selected question concepts and leave the quality of the extra answer-choice links unmeasured by the same protocol.

How much of ConceptNet becomes reachable

The authors use the human judgments to choose the nodes included in the edge comparison. Starting from the concepts labeled wanted, they retrieve the incoming and outgoing edges of the graph nodes found by simple string matching or by the key-to-values lookup in COCO-EX. An incoming edge ends at the linked node, and an outgoing edge starts there. Both can contain information about the node, even though their relations are directed. The resulting counts describe the connectivity available through the selected links.

For the CommonsenseQA sample, the informative nodes found by string matching gave access to 151,526 edges in total, reported as 6,061 per question on average. The informative nodes found by COCO-EX gave access to 185,663 edges, or 7,427 per question on average. For the OpenBookQA sample, the corresponding figures were 91,938 in total and 3,678 per question for string matching, and 110,039 in total and 4,402 per question for COCO-EX.

Mean incident edge count for informative links on sampled CommonsenseQA questions

COCO-EX reaches more graph edges per question through nodes judged informative.

Mean incident edge count for informative links on sampled CommonsenseQA questionsString matching: 6,061String matching6,061COCO-EX (this paper): 7,427COCO-EX (this paper)7,427
The numbers
System or settingedges per question
String matching6,061
COCO-EX (this paper)7,427

This measurement connects the experiment to the motivating example about singular and plural nodes. A linker can recover a concept from the text and still bring back very different portions of ConceptNet depending on which graph entries it selects. The edge count measures the amount of material available at those addresses. Since the pool is restricted to informative concepts, the comparison concerns the graph neighborhoods entered through human-approved links. The approval applies to the concept. It does not extend automatically to every relation at the node.

Taken together, the results establish an output-level improvement in informativeness and available connectivity on both question samples. Completeness at the question level varies by benchmark. The benchmark-wide counts also depend on whether the input is a question or an answer choice. The experiment gives separate evidence for each of these statements because it preserves the distinctions between output volume, the relevance of a concept, and the amount of knowledge attached to it.

What the ablations show

The paper reports no component-by-component ablation experiment and instead offers a controlled comparison with string matching, a manual assessment of filter configurations, and an analysis of connectivity after annotators judge the linked concepts.

What the shared baseline allows the comparison to establish

Holding phrase generation broadly constant is the most important control in the main experiment. Both methods receive full and chunked phrases of the same grammatical types, along with their nested expressions, and both remove the same kinds of tokens. If COCO-EX finds a useful graph node for a short candidate, the baseline also had the opportunity to search using that short candidate. This makes the results evidence about the linking procedure applied to the candidates. It keeps the interpretation from depending on whether one system had a phrase boundary that was unavailable to the other.

The linking procedure combines several changes. Lemmatization makes additional surface forms available. The dictionary allows a key to open several graph addresses. Intersection constrains candidates with multiple retained words, part of speech screens some ambiguities, and length and similarity limit overly broad matches. The baseline comparison reports what happened when these choices operated together. A gain in informativeness or edge count can therefore be attributed to the combined system under the reported setup. The experiment supplies no separate numerical estimate of the contribution of each choice.

The examples help distinguish the mechanisms even though they do not isolate their effects experimentally. The walk the dog example shows how intersection can drop a label that carries only the action or only the animal. The fly example shows what conflicting grammatical metadata can rule out. The dog example shows how additional words can change the subject of a graph label in spite of shared vocabulary. These are explanations of what the rules are designed to do. The annotation totals show how the system behaved overall across the sampled questions.

What the filter inspection can establish

The configuration exercise varies similarity metrics, embedding sources where needed, and thresholds. Its purpose is to decide what makes an acceptable continuation from a candidate lemma match to a graph link. A permissive setting might recover a variant that belongs in the result and keep an unrelated label that happens to share a word. A strict setting might remove the unrelated label and discard the useful variant. The authors inspect how well the remaining labels fit their inputs and report the length limits and Dice threshold that gave the preferred balance in that exercise.

The paper presents the selected settings and the alternatives the implementation exposes. It supplies no score for each alternative or table of results for successive changes to the filters. The reported choice shows that the authors compared different ways of constraining the candidates. It gives no quantitative ranking of the unused alternatives. In particular, a reader cannot use the reported results to decide how much of the final outcome comes from token length, how much comes from character length, or how frequently the Dice score makes the deciding distinction.

The evaluation measures also differ between configuration inspection and the main benchmark comparison. The filter inspection asks whether the graph labels that survive fit their candidate phrases. The question-level coverage judgment asks whether the entire set of returned material covers a question's meaningful concepts. A filter can look appropriate on the pair it is considering and still be part of a pipeline that misses an important concept elsewhere in the question. The benchmark comparison captures that larger outcome, while the filter inspection helps explain how the authors selected a way to screen individual matches.

What the connectivity analysis adds

The edge analysis conditions the count on nodes the annotators judged informative. This matters because retrieving arbitrary additional nodes could increase incident-edge totals. By counting through wanted concepts, the authors ask whether the useful portion of the output opens more of the graph. Both samples show an increase under COCO-EX by that measure. The result is consistent with a dictionary that can reach several useful forms of an expression while screening out less suitable matches.

Connectivity and informativeness still count different things. A highly connected node can contribute many edges, while several suitable but less connected nodes can make a modest contribution to the sum. The published totals leave open how broadly the extra connectivity is distributed among concepts and questions. They also leave open how much of it represents distinct useful knowledge. The analysis establishes a greater amount of graph material available from the informative output. Examining relationships individually would answer a different question.

On OpenBookQA, the edge result favors COCO-EX even though binary coverage favors string matching. This shows in the reported measurements that access to more relations through useful concepts can coexist with fewer fully covered questions. A question may gain a more connected link for a concept that was found and still miss some other concept. The data also permit gains and losses on different questions. The table aggregates over the sample, so it gives no per-question account of which pattern occurred.

Limitations

Limits the authors identify

The method depends on lexical material that ConceptNet already contains. The authors qualify the intersection rule accordingly. A phrase can recover graph labels matching its retained lemmas only where those lemmas occur in the graph. When a candidate is long or unusually specific, the matching node might be absent. Shorter chunks can offer routes to pieces of the description or to a more general action. They can recover useful material at that level of detail, while coverage of the complete description remains conditional on what ConceptNet stores.

The paper also identifies cases where the available evidence for grammatical disambiguation is incomplete. The part-of-speech restriction applies when relevant graph metadata is present. A candidate can therefore retain a node without a tag, even though a tagged node in the wrong category would have been excluded. This choice protects retrieval from gaps in the metadata. It leaves ambiguity unresolved in some eligible links.

The authors devote particular attention to labels that share a word with a phrase while differing in the concept they describe. The similarity and length checks serve as practical filters for that problem. The preferred configurations are grounded in manual inspection, and the implementation offers the other settings the authors tried. Their wording treats an insufficiently similar label as a likely poor match. The checks use evidence from the forms and representations of phrases, so their success ultimately depends on how well that evidence tracks conceptual suitability in the input.

The experiments are explicitly about linking even though the data come from question answering. The paper examines concept yield, question coverage, informativeness, and access to incident edges. Its results concern which graph material is made available to a possible application. The authors motivate the tool with tasks that can use such material, including the projection of a subgraph from text and the identification of knowledge relations within passages. Those examples specify what the output can be used for and differ from an experimental demonstration of better performance on those tasks.

Limits that follow from the setup

The claim of recovering more relational information has a precise experimental meaning. COCO-EX exposed more incident edges through nodes that the annotators accepted. An edge associated with a wanted concept can still be irrelevant to the particular question, duplicate knowledge expressed elsewhere, or be too specific to support the inference at hand. The experiment evaluates the concept before counting the surrounding edges. There is consequently no edge-level estimate of how much of the additional material is useful for reasoning about a question.

The totals also provide limited evidence about consistency. A few highly connected nodes can affect an aggregate incidence count. The paper reports totals and means per sampled question, with no distribution of the counts or account of which concepts contribute the most. The comparison tells us which system had greater accessible connectivity over each sample. The reliability of that gain across individual questions or across neighborhoods of differing density remains open.

The manual comparison uses 25 questions per benchmark. Random selection gives the assessment a basis beyond handpicked examples, and the adjudication process produces a final set of judgments where annotators disagreed. The sample is still confined to questions from two benchmarks. The paper supplies no uncertainty intervals or significance tests for these comparisons. The reported percentages describe what happened in those samples and provide limited grounds for predicting how far apart the methods would be on another sample.

Binary coverage provides a particularly coarse description of missing information. A failed case may be missing an important concept central to the question or a relatively small part of the overall set of meaningful expressions. The metric makes the completeness requirement clear. It says little about the severity of an omission, how many omissions occur, or whether the omitted concept would be needed to answer a question. This matters when interpreting OpenBookQA, where informativeness rose under COCO-EX and the share of fully covered questions fell.

Similarly, the benchmark-wide counts for answer choices establish volume alone. No matching set of manual coverage or informativeness results is reported for those choices. The larger answer-side output could lead to more useful graph entry points, but a count of linked concepts leaves that possibility untested. A downstream application could also value the choices differently from question text because each option may need relations that distinguish it from the alternatives. That question is beyond what the link counts measure.

Where the matching rules can lose meaning

The use of lemmas addresses inflection by design. Its treatment of spelling variation and noise is more limited. Graph entries that share a recognizable lemma can be collected even if their surrounding wording differs. A spelling difference that yields a different key can prevent the entry from becoming a candidate. Since the similarity stage is applied after lookup, it can screen proposed entries and cannot recover an entry that was excluded before comparison. The same consideration applies to paraphrases whose retained words differ entirely from those in the input phrase.

For multiword candidates, lexical intersection establishes that all retained terms occur in a label. It does not compare the full syntactic structure of the candidate with the structure of the graph entry. The same words can participate in different roles in two phrases, particularly when the graph label is long. The additional checks can provide evidence against some of those matches, for instance when the label is much longer. The paper does not evaluate a separate test of whether both phrases express the same event or relation among their constituent words.

Removing categories such as pronouns and adverbs is another decision about how much of the original meaning to preserve at lookup time. These categories can be unnecessary for finding a general concept, as with an article in the walking example. An adverb or pronoun can also carry a distinction that matters in a particular sentence. The pipeline is designed to create useful graph entry points under a shared normalization scheme. The experiments report how the complete design performed on the benchmarks and do not give a breakdown of when deleting these words helped or hurt.

Candidate availability also depends on the parser and tagger. A useful concept must first be represented by a candidate, perhaps through a nested expression or a chunk. An error in phrase boundaries can produce a different set of candidates for matching. An incorrect part-of-speech tag can affect the use of a graph label with grammatical metadata. The shared baseline helps control the effect of phrase generation in the comparison. The paper does not measure how often preprocessing errors influenced the resulting links.

Finally, access to several node neighborhoods is a way to work around fragmentation during retrieval. The graph keeps the original nodes, and its existing edges continue to connect those nodes as before. This is central to how COCO-EX recovers access to scattered assertions. It also means the method performs no measured repair of the graph's underlying sparsity, spelling, or duplication. The evidence supports treating it as an interface to the stored knowledge. Whether that interface improves an answer, an explanation, or another final decision requires a measurement at that later stage.

What came after

There are no documented follow-up studies to discuss. The evaluation leaves a concrete question open for later work that uses the linker. COCO-EX increases the graph material available through informative question concepts, and the value of that additional material depends on what a downstream system selects from it. The paper's results end at the point where that selection can begin.

Cite

Cite as Maria Becker, Katharina Korfhage and Anette Frank. 2021. COCO-EX: A Tool for Linking Concepts from Texts to ConceptNet. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.eacl-demos.15

@inproceedings{becker2021coco,
  title = {{COCO-EX: A Tool for Linking Concepts from Texts to ConceptNet}},
  author = {Maria Becker, Katharina Korfhage and Anette Frank},
  booktitle = {Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-demos.15},
  url = {https://doi.org/10.18653/v1/2021.eacl-demos.15}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/becker-2021-coco-ex-tool-linking-concepts/