Elamur Research

Cracking the Contextual Commonsense Code: Understanding Commonsense Reasoning Aptitude of Deep Contextual Representations

Paper · 2019 · Jeff Da and Jungo Kasai

Summary

A story can describe someone making orange juice without explaining how the oranges were cut or when the juicer was plugged in. A reader can answer questions about those details by drawing on familiar routines and object properties. Jeff Da and Jungo Kasai ask how much of that everyday knowledge can be recovered from BERT’s representations, and whether finding weaknesses in those representations can help BERT answer questions. They start with a task that isolates a small part of commonsense reasoning. Given an object and a proposed property, can a classifier tell whether people associate the property with the object? The judgments come from CSLB, a collection of object properties elicited from human participants.

The authors turn each object–property pair into a short sentence, take BERT’s representation of the sentence, and use it to predict whether the property applies to an object held out during classifier training. BERT reaches a median F1 fit score of 82.7 on the paper’s percentage scale, compared with 46.1 for GloVe. The gain extends across the CSLB categories, but performance varies considerably by property. BERT recovers some classifications and physical features perfectly under the probe while still having difficulty with properties such as chewiness and strong smells. Adding relation information from ConceptNet raises the median to 90.7, although ConceptNet alone scores 23.2. The paper also compares property fit with accuracy on related development questions from MCScript 2.0. Weakly fitted properties are associated with less consistent answers, though the relationship across all the points is unclear. GloVe · Evaluation & benchmarks

The authors try to improve MCScript 2.0 test accuracy in two ways. They continue BERT’s language training on RACE examples whose wording overlaps with weak properties, then fine-tune BERT to choose answers. The selected 44 K examples yield 84.5 test accuracy, compared with 84. For a randomly selected subset of equal size, 0, and 84.3 for all of RACE. In a separate approach, the authors look up relationships between expressions in the question-answering input and train a component that supplies those relationships to the answer classifier. Using all the tested knowledge sources yields 83.3 test accuracy. Combining their relation information with selected RACE training gives the strongest reported result, 85.5, compared with 82.3 for BERT Large on its own. The experiments connect a targeted diagnostic to a practical improvement in everyday reading comprehension, while leaving open how much of that improvement comes from repairing the particular weaknesses the diagnostic identified. Fine-tuning · Knowledge graph · Question answering

Deep dive: Cracking the Contextual Commonsense Code: Understanding Commonsense Reasoning Aptitude of Deep Contextual Representations

A study of which everyday object properties BERT can recover and how targeted reading data and knowledge graphs improve its answers. · about 32 minutes to read

The problem and its context

What ordinary descriptions leave to the reader

Everyday writing leaves a great deal for its readers to supply. A person describing breakfast may explain why it was a special occasion and how the juice tasted. There is little reason to spell out every action that makes juicing possible. Yet a question about the sequence of those actions can have a plausible answer, because the reader brings expectations about utensils, ingredients, and how people use them. The problem for a system trained on written language is that the details people expect one another to know may be the very details they seldom write down.

The paper calls this mismatch reporting bias. The issue concerns what gets recorded as well as how frequently a word appears. A corpus may contain plenty of references to an object while offering relatively few direct statements about its smell, texture, or ordinary use. A property can be easy for a person to name when explicitly asked and still be difficult to recover from the contexts in which the object is normally discussed. The authors connect that gap to a broader concern about performance on examples that differ from the training data. A system that relies on regularities in the descriptions it has seen can struggle when a question makes an omitted fact important. Commonsense Reasoning and Commonsense Knowledge in Artificial Intelligence · Reasoning

There is a distinction between knowing an ordinary property and knowing how to use it in a story. A property judgment asks whether a description generally applies to a kind of thing. A story question may require deciding whether the property matters in this situation, who used the object, or which action came first. Da and Kasai take the more focused judgment as a starting point. It gives them a way to ask what a representation makes available about a particular property before they try to interpret success or failure on a whole passage. Their design then brings the richer task back into the investigation by asking whether the same properties help account for differences in answer accuracy.

Why test representations with object properties?

Earlier work had already used semantic norms in computational studies of meaning. A semantic norm collects properties that people report for a concept when asked to describe it. A participant can supply a feature of an animal, food, or tool directly, regardless of whether that feature would come up in an ordinary narrative. That makes such data appropriate for testing aspects of meaning that may be implicit in text. The authors distinguish this collection process from the way an external resource such as ConceptNet organizes explicit relations. In this study the human judgments supply the questions and labels for the property probe, while the graph can serve as another source of evidence for making its predictions. A Study on Similarity and Relatedness Using Distributional and WordNet-based Approaches · Distributional Semantics in Technicolor

The closest methodological precedent the paper identifies is the work of Lucy and Gauthier. They used logistic regression to test whether representations at the word-type level supported judgments about grounded properties. A type-level representation assigns a word the same vector across its occurrences. The probe tests that vector by learning from other objects and then predicting the label of an object left out of training. This turns the vague question of whether an embedding contains commonsense knowledge into a question with a test procedure. Given examples of objects with and without a particular property, can a simple decision rule recover the distinction for a held-out object?

The move to contextual representations changes what enters that test. For a fixed word vector, the input can represent the object independently of a sentence. BERT instead lets the authors represent a sentence that presents the object in connection with a particular property. The same object can consequently have a different representation for different candidate properties. The paper situates this choice among recent advances from contextual representations and also notes that Forbes and colleagues investigated the commonsense information available in such representations. Da and Kasai connect the property test to performance on an everyday reading task and use the diagnostic to motivate interventions on that task. Word embeddings · Deep Contextualized Word Representations

What an answer benchmark can establish

The paper describes a line of earlier commonsense evaluations that usually use questions or answer choices. These tasks can make ordinary expectations important to a scored decision. A system must select a plausible continuation, explanation, or answer, depending on the benchmark. Such a score combines many demands. Even a question that hinges on ordinary knowledge also requires reading the wording, locating relevant events or participants, and distinguishing the candidates. An aggregate result does not identify which property a system had trouble with. Semantic norms give the authors a way to make that part of the evaluation more specific. Ordinal Common-sense Inference · SWAG · WinoGrande

MCScript 2.0 is a natural setting for checking whether the narrower property test has anything to say about reading comprehension. Its passages depict everyday activities, and its questions can call on script knowledge, the expectations readers have about what normally happens during an activity. The unit of decision is a question with competing answers. The unit of diagnosis in CSLB is a property considered across many objects. Relating the tasks therefore requires an explicit intermediate decision about which properties bear on which questions. The difference in units matters throughout the paper, since a score about the recoverability of a property and a score about answering a question capture different kinds of success.

The paper also places its interventions alongside prior work on augmenting BERT. It describes Sun and colleagues’ use of in-domain language training and cites work that adapts BERT to scientific and biomedical text. It also discusses RoBERTa’s use of RACE in conjunction with changes to pretraining. The paper’s own implicit intervention takes a narrower approach to choosing material. It asks which examples contain wording associated with properties the diagnostic found difficult. For explicit augmentation, the authors discuss ERNIE’s incorporation of external information during pretraining through fusion at the word level. Their own graph procedure instead makes a graph-derived representation available during task fine-tuning. These precedents frame the practical question of whether to change the reading material BERT sees, to give the classifier another source of evidence, or to do both. How to Fine-Tune BERT for Text Classification? · SciBERT

The method, step by step

From reported properties to classification examples

Cambridge’s Centre for Speech, Language, and the Brain collected the CSLB concept property norms that the initial stage uses. The collection contains 638 attributes supplied by 123 participants. The attributes range from things a person can see to categories, uses, and more abstract descriptions. Objects in the collection include a zebra, a wheel, and wine. The labels can capture properties people mention when asked directly, whether or not those properties are familiar from written descriptions.

The authors filter the list before comparing BERT with GloVe. They remove attributes with two-word names, attributes whose names have ambiguous meanings, and attributes without a GloVe representation. The resulting probe vocabulary contains 597 attributes. A retained attribute can still have a description such as being an ingredient or being upright. The paper distinguishes the name used in filtering from the wording used when the attribute is expressed with an object. The filter keeps the set of prediction targets comparable for the representations being evaluated.

The examples are formed by pairing the objects with the attributes. The paper gives the size of this space as a product.

N = nₒ × nₐ

Here N is the number of candidate pairs before holding out an object, nₒ is the number of objects, and nₐ is the number of retained attributes. The multiplication sign indicates that each object is paired with each retained attribute. A pair receives label 1 when the norms mark the attribute as applying to the object and 0 otherwise. The candidate pairs thus include both supported descriptions and descriptions that the classifier is expected to reject.

A separate classifier is trained for each attribute. To understand why, consider the difference between learning which objects are made of cotton and learning which objects are toys. Each decision may rely on a different combination of features, and the positive examples for each decision come from a different part of the object list. Keeping the decisions separate also lets the authors rank the fit of each property independently. A representation can support a good decision rule for one property while yielding a weak rule for another, even for some of the same objects.

Turning the pair into a sentence

A pair from the norms is a compact data record. Reading the object name followed immediately by the property text can produce an awkward phrase because the property was recorded as a feature, rather than written to follow a subject in a sentence. BERT’s input therefore takes the form of a short assertion that presents the property as a description of the object. The sentence gets an indefinite article at the beginning, a linking verb where needed, and closing punctuation. The authors also rewrite some verbal descriptions so that the verb fits the sentence.

For the shirt and cotton example, they use a description with the linking verb, so that the subject is a shirt and the predicate says what it is made from. For the balloon and deflation example, the verbal property becomes deflates, which can directly follow the subject. These changes give the pairs a more consistent grammatical form. The authors want the classifier to distinguish possible object properties with less interference from whether a raw pair happens to read like normal prose. The same operation also produces sentences for negative examples. Presenting an object and a property in grammatical form gives the classifier something to judge, regardless of the label the norms assign.

The sentence pattern can be written as follows.

[CLS] cₚᵣₑ noun cₐff adj cₚₒₛₜ [SEP]

[CLS] is BERT’s classification token, whose output representation serves as the vector for the sequence. cₚᵣₑ is the context before the object, normally the indefinite article. noun is the name of the object. cₐff is the material between the object and the property, which can be a linking verb or empty. adj stands for the text that describes the attribute, including cases where that text is a verb or a longer expression. cₚₒₛₜ is the sentence ending, which supplies the period. [SEP] marks the sequence boundary in this input. The order of the terms gives their order in the sequence. Tokenization

The appendix gives the contextualization routine in pseudocode, including a rewrite that drops the auxiliary does and inflects the verb that follows it. It also gives a rule that supplies is for descriptions beginning with made. These are small, hand-written transformations. The intended output is a usable sentence in which the candidate property is easy to identify. The reported method evaluates the sentences as a way to present pairs to BERT. It does not evaluate the contextualization routine as a general system for generating grammatical descriptions.

The sequence representation matters for interpreting the test. BERT sees the property text as well as the object name when it produces the vector. The task therefore asks whether that vector distinguishes combinations backed by the norms from combinations that lack the corresponding label. It is a test of compatibility with a supplied property. An open-ended request to list what a wheel is like would introduce other decisions, such as which properties to propose in the first place and which ones to mention. Those decisions are outside the probe.

From object properties to everyday answer selection

The steps in order.

From object properties to everyday answer selectionStep 1: Pair objects with candidate properties from CSLB1. Pair objects with candidate properties from CSLBStep 2: Express each pair as a short sentence2. Express each pair as a short sentenceStep 3: Extract BERT’s sequence representation3. Extract BERT’s sequence representationStep 4: Predict property labels for held-out objects4. Predict property labels for held-out objectsStep 5: Select RACE examples linked to weak properties5. Select RACE examples linked to weak propertiesStep 6: Encode graph relations found in task inputs6. Encode graph relations found in task inputsStep 7: Fine-tune BERT to choose an answer7. Fine-tune BERT to choose an answer

The selected reading examples and the graph relations in the diagram are inputs from distinct interventions. The authors evaluate each route on its own and then use both in a combined setting. They also carry out a graph experiment within the property probe itself, where the retrieval task can be more direct because the object and the proposed property are already specified.

Fitting the probe and adding a graph signal

Logistic regression learns how to use a feature vector to score the positive label. For a given property, the examples from the training objects tell the classifier how to weight the representation features. The left-out object is then presented for prediction. The authors repeat this process, leaving out a different object each time, so that every object receives a prediction from a classifier trained without its example for that property. This is leave-one-out evaluation. Its purpose here is to check whether the decision learned from other objects carries over to the one excluded from the classifier’s training fold.

Holding out an object in this way concerns the supervised probe. The sequence for the held-out object can still be passed through BERT to produce its features. The test asks whether the rule fitted on the remaining labels transfers. GloVe, represented by pretrained vectors of 300 dimensions, provides the static baseline. The authors choose logistic regression as a simple readout and report that trying a classifier based on singular value decomposition produced no significant empirical difference. The appendix specifies an L2 penalty with coefficient 1.0, an iteration count of 200, the lbfgs optimizer, and a patience setting of 1e-4 for the regression classifier.

Property fit is measured with F1. For a given property, precision asks how many objects predicted to have it actually carry the positive label. Recall asks how many of the labeled positive objects the classifier finds. F1 combines those quantities and falls when either one is weak. This is useful because an attribute may apply to relatively few objects. Simply counting correct labels could make a rule that largely rejects pairs look good. In the results, the authors summarize the attribute scores with medians, both across the whole vocabulary and within the groups defined by CSLB.

For the graph probe, the authors query ConceptNet using the object and the attribute. They assign an index to each relationship type in advance. A match can then be represented by a trainable vector associated with that index, initialized at random. If the lookup returns several relationships for the pair, one is chosen randomly. In the combined setting the relation vector is appended to the BERT sequence vector, making features from both available to the classifier. The authors also test the graph representation by itself to see how much the matched relations can support without the contextual representation.

A lookup of this kind gives the classifier a specific signal. The inputs already identify what pair to look up, and the useful graph datum is the type of connection found between its members. The method tests whether that extra information helps recover the human property labels, even if it is available for relatively few pairs. It also makes the comparison with the downstream graph procedure easier to understand. In a reading question, a useful pair has to be found among the words of the input, so the authors build a representation that can summarize multiple matches.

Connecting properties to reading questions

The next stage uses MCScript 2.0. Each example contains a passage, a question, and two answer choices. A passage can describe someone preparing breakfast and making fresh orange juice. Questions can then ask about the way the oranges were cut or the point in the activity when the juicer was plugged in. The answers require filling in details left implicit by the narrative. Giving the system the answer candidates turns that demand into a measurable choice, even when the passage contains no sentence that states the answer directly.

For each alternative, the system reads the passage and question together with that candidate answer. A [SEP] token separates the passage–question part from the answer. The classifier uses the representation at [CLS] to give the candidate a logit, a real-valued score. The authors apply a softmax across the alternatives, turning their scores into a distribution over the choices. A candidate with the higher logit also has the higher probability under this normalization. This answer-scoring setup is the basis for the comparison with property fit and for the downstream fine-tuning experiments.

To study the relation with the probe, the authors associate questions with one or more attributes. A question about using a camera flash can involve the flash itself and descriptions concerning light or darkness. At the question level the system either selects the correct answer or misses it. At the attribute level the authors can gather the answers to questions connected to that property and measure their accuracy. A question can contribute to the readings for several attributes. An attribute with no related question contributes no point to the analysis.

The matched items come from the MCScript 2.0 development set. The analysis covers 193 questions and 92 CSLB attributes. The authors compare accuracy on the questions for an attribute with that attribute’s F1 fit in the earlier probe. Their plot uses a regression line and shows an inner 90 percent bootstrap confidence band with n = 1000 for the bootstrap procedure. The data points report results at the attribute level even though the underlying correct and incorrect decisions are made at the question level. That distinction becomes important when considering how much evidence a pattern in the plot can provide.

Continuing language training on selected RACE examples

The first downstream intervention uses RACE, a reading comprehension collection the paper describes as drawn from examinations. The authors look for examples whose words overlap with the descriptions of properties that BERT fitted poorly. They stem the words before matching, reducing related inflected forms to comparable forms. In some property descriptions they also discard common words such as is, does, and has. These words can occur in many unrelated examples. The goal is to make the filter respond to more informative parts of a property description. Stemming

The selection rule accepts an example on the basis of a matching word in the passage, question, or answer. All these locations count for selection. The matching rule also accepts an overlap with part of a description. This is how the procedure can retrieve more material than an exact search for a complete attribute phrase would. Its output is a subset of reading examples with language plausibly connected to weaknesses in the probe. A word overlap is the criterion for admission, so the rule can include examples in which the word is used in a different sense or the target property is incidental to the exercise.

The MCScript 2.0 questions are unnecessary for constructing this RACE subset. The selection uses the CSLB diagnostic and the text of the supplementary data. Having selected the examples, the authors continue training with BERT’s token masking and next sentence prediction objectives. Token masking asks the system to recover hidden tokens from their surroundings. Next sentence prediction trains it to judge a relationship between sentence segments. The authors keep the objectives themselves as in BERT so that the intervention concerns the choice of material. They note related work that changes the pretraining objectives, a different experimental choice from theirs. XLNet

The authors then fine-tune on MCScript 2.0 using the answer classification objective. This second stage trains the task-specific classifier and updates BERT’s weights. Thus the RACE material influences the parameters before training on the target answers. The RACE answer fields can help an example qualify for selection, but the intermediate training is described in terms of BERT’s language objectives. The central comparisons are against continued training on the full RACE collection and on a random subset the same size as the selected one.

Supplying graph relations at answer time

The explicit intervention uses ConceptNet, WebChild, and ATOMIC. The authors assign indices to the relation types and search a task input for occurrences of the expressions at the ends of known edges. An edge corresponds to an ordered connection with a start node, an end node, and a relation name. A match can be recorded when both endpoint expressions appear in the input. The paper illustrates this with eat and dinner, for which a ConceptNet location relation can be returned. The procedure records matched relation indices at word positions. If a start expression spans several words, the match is assigned to its first word.

A relation associated with a word is then represented by a learned vector. The authors use random initialization for embeddings associated with the graph relations and choose randomly when there is more than one eligible relationship for a word. The appendix gives an embedding size of 10 and lists 3 knowledge bases for the graph setup. The paper describes feeding a sequence of 30-dimensional graph embeddings into a bidirectional long short-term memory network, or LSTM, in the downstream procedure. A bidirectional LSTM processes the sequence in both directions. Here its role is to turn the word-position evidence from the graph lookups into a single sequence representation. The appendix lists a hidden size of 32 and dropout of 0.0 for the LSTM.

The classifier receives the graph sequence representation and the BERT sequence representation joined into one vector. The graph embeddings are trained alongside BERT during task fine-tuning. This differs in timing from continued training on RACE. RACE examples affect how BERT’s weights are fitted before training on the target classification task, while the graph component supplies features tied to the input being evaluated. The combined experiment uses BERT after the selected RACE stage and adds the graph features when fine-tuning it for answer selection.

The appendix lists a maximum sequence length of 450, a training batch size of 32, a learning rate of 1e-5, 4 epochs, and 20% warmup for BERT fine-tuning. Warmup refers to the initial portion of training over which the learning rate rises toward its configured value. The paper describes its choices in terms of keeping the existing BERT training recipe comparable while adding or changing the information that reaches it. The two interventions can therefore be examined together without treating the combined setting as an entirely different reading architecture.

Experiments and results

Recovering attributes from CSLB

The intrinsic evaluation compares the representations by how well a logistic classifier can recover CSLB properties for held-out objects. The median F1 fit score, reported on a percentage scale, is 46.1 for GloVe and 82.7 for BERT Large. The distributions matter alongside the medians. The figure for BERT has fewer attributes below a fit of 0.5 and more at 1.0 than the figure for GloVe. Each point in those plots stands for an attribute. Its position along the score axis conveys its fit, while vertical displacement keeps points with nearby scores visible. The spread shows that the improvement extends beyond an isolated group of properties and that a wide range of scores remains.

The category medians make the differences more concrete. The paper groups attributes according to the kind of information they describe. Visual properties concern appearance. Perceptual properties in CSLB concern other sensory experience, which can include texture or smell. Functional properties describe what an object can do or what it is used for. Taxonomic properties put it in a category. Encyclopedic properties cover information such as whether an object is collectible, which the authors take to be closer to some of the abstract knowledge needed in commonsense tasks.

On visual attributes, median F1 fit is 46.2 for GloVe and 83.3 for BERT. On perceptual attributes, the medians are 49.0 and 80.0. Functional attributes have medians of 44.4 and 78.3, while encyclopedic attributes have medians of 38.9 and 76.2. The taxonomic group yields the strongest median for each representation, at 89.1 for GloVe and 100 for BERT. These are medians over property scores within each group. A category median of 100 therefore describes the distribution of fits across properties in that group. It leaves room for lower scores on individual taxonomic descriptions.

A closer reading of the examples shows how much can be hidden in a broad category name. Some of the large improvements from GloVe to BERT concern being made of wood, the ability to lock, and having a top. Some descriptions that concern strength or creepiness remain hard to classify. Examples of perfectly fitted properties include bending, growing on plants, and driving. Imperfect fits include being chewy, having a strong smell, and being a toy. The toy example is particularly relevant to the authors’ interpretation. They regard the description as one that might plausibly occur in text, yet it remains difficult under the probe. Frequency in ordinary writing is one possible explanation for the pattern across attributes, and the individual examples show why it would take further measurements to explain a particular score.

When the authors add ConceptNet features, the CSLB median rises to 90.7. ConceptNet alone has a median of 23.2. The contrast between the graph-only and combined scores shows that a resource can be useful as an additional input even if it covers too few pairs to make reliable decisions across the full attribute vocabulary. The chart compares those settings using the same fit measure.

Representation comparison on CSLB median attribute F1

The contextual representation gives the strongest standalone result, and adding ConceptNet improves it.

Representation comparison on CSLB median attribute F1ConceptNet: 23.2ConceptNet23.2GloVe: 46.1GloVe46.1BERT Large: 82.7BERT Large82.7BERT Large with ConceptNet (this paper): 90.7BERT Large with ConceptNet (this paper)90.7
The numbers
System or settingMedian F1 %
ConceptNet23.2
GloVe46.1
BERT Large82.7
BERT Large with ConceptNet (this paper)90.7

From property fit to answer accuracy

The authors next compare fit with accuracy on related MCScript 2.0 development questions. The scatter plot has many points at the high end of property fit, and many attributes are associated with questions that BERT answers correctly. The authors describe less consistent answer accuracy for attributes below 0.5 fit. They also observe that the plotted attributes with high MCScript accuracy have high fit. Across the cloud of points, however, they report no clear pattern. The results are compatible with weak property fit mattering on some questions, while high fit leaves other reasons a reader might miss an answer.

This development analysis has a different role from the downstream test tables. It asks whether a property-level diagnostic and answer performance line up on a set of associated items. The test tables ask whether changing the training or adding graph features changes the proportion of correct answers on the benchmark. The graph of per-attribute development results supplies context for interpreting the interventions. A system’s final test accuracy neither identifies the attributes responsible for correct answers nor determines the shape of the development relationship.

Selecting reading material

For the implicit intervention, continuing language training on the full RACE set yields 84.3 test accuracy on MCScript 2.0. The test table lists the full version as 98 K examples. A random 44 K subset yields 84.0, and the attribute-selected 44 K subset yields 84.5. The paper describes performance as similar across the RACE settings, each of which improves on the BERT Large result of 82.3 reported for the same downstream test benchmark. The strongest observed RACE-only result uses the selected subset, which matches the random subset in size and is smaller than the full set.

There is a discrepancy in how the paper reports the full RACE count. The data-selection discussion gives 97K and the test table gives 98 K. The chart follows the test table when labeling the runs. The selected-set size is reported there as 44 K, the same size as the random subset. This equality is important to the comparison. Between those two rows, the reported intervention changes how the examples were chosen while holding their listed number fixed.

RACE selection settings on MCScript 2.0 test accuracy

Attribute-based selection yields the highest reported accuracy among the RACE settings.

RACE selection settings on MCScript 2.0 test accuracyRandom RACE subset, 44 K: 84.0Random RACE subset, 44 K84.0Full RACE, 98 K: 84.3Full RACE, 98 K84.3Attribute-selected RACE subset, 44 K (this paper): 84.5Attribute-selected RACE subset, 44 K(this paper)84.5
The numbers
System or settingAccuracy %
Random RACE subset, 44 K84.0
Full RACE, 98 K84.3
Attribute-selected RACE subset, 44 K (this paper)84.5

Adding relations and combining the interventions

For the explicit intervention, the authors compare sources individually and in combination. BERT Large by itself scores 82.3 on the MCScript 2.0 test set. ConceptNet brings accuracy to 83.1, WebChild to 82.7, and ATOMIC to 82.5. Using all the knowledge bases reaches 83.3. The direction is consistent across the sources in the reported table, with ConceptNet the strongest individual addition. The paper suggests that ATOMIC’s longer expressions may match the task inputs less often. This explanation concerns the interaction between the resource and the lookup procedure. A graph may contain useful knowledge that fails to enter the classifier’s features because the endpoint expressions do not match the wording of a particular passage or question.

When the authors combine all the knowledge bases with extra language training on selected RACE, accuracy reaches 85.5. The paper describes this as a +1% absolute improvement over the selected RACE result of 84.5. The combined setting gives the highest test accuracy in the study. For comparison, the benchmark’s human result reproduced in the paper is 97.4 and the reported random baseline is 48.9. Those two figures give context for the scale of the answer-selection task, while the BERT Large row is the direct comparison for judging changes from additional training or graph input.

Knowledge augmentation on MCScript 2.0 test accuracy

The combined setting with all knowledge bases and selected RACE has the highest reported test accuracy.

Knowledge augmentation on MCScript 2.0 test accuracyBERT Large: 82.3BERT Large82.3BERT Large with ATOMIC: 82.5BERT Large with ATOMIC82.5BERT Large with WebChild: 82.7BERT Large with WebChild82.7BERT Large with ConceptNet: 83.1BERT Large with ConceptNet83.1BERT Large with all knowledge bases: 83.3BERT Large with all knowledge bases83.3BERT Large with all knowledge bases and selected RACE (this paper): 85.5BERT Large with all knowledge bases andselected RACE (this paper)85.5
The numbers
System or settingAccuracy %
BERT Large82.3
BERT Large with ATOMIC82.5
BERT Large with WebChild82.7
BERT Large with ConceptNet83.1
BERT Large with all knowledge bases83.3
BERT Large with all knowledge bases and selected RACE (this paper)85.5

The test results give the authors evidence that both forms of augmentation can contribute to answer selection in this setup. Their strongest run uses additional reading during language training and explicit relations during answer classification. Since the resources enter at different stages, the combined result is compatible with the idea that they provide different useful cues. The test accuracy alone leaves the nature of those cues open. It reports whether the system chose the expected answer, and the table does not trace individual correct decisions to particular relations or parts of the supplementary text.

What the ablations show

What changes when the representation changes?

The comparison between GloVe and BERT keeps the attribute inventory and the basic leave-one-out logistic test in common. It shows that the classification procedure can extract stronger evidence from the contextualized sentence representation than from the traditional static baseline. This is a comparison between complete ways of representing the examples. BERT receives a grammatical statement containing the candidate attribute, whereas GloVe supplies fixed lexical vectors. The comparison therefore locates the gain at the level of the evaluated representations and input procedures. Isolating how much comes from sentence framing, from the architecture, or from the original training would require comparisons that vary those factors separately.

The per-category and per-attribute analyses show where the gain appears and where it stops short of perfect fit. Taxonomic properties are relatively accessible under both representations. The authors suggest that text gives useful evidence about the categories objects belong to. Some physical descriptions improve substantially with BERT, while some abstract descriptions and everyday sensory features remain hard. This combination makes the list of weak properties more informative than a broad label such as physical knowledge. Some properties within a category have very different fits, and the later selection procedure can use a specific feature description as a query for additional examples.

The comparison with singular value decomposition addresses a separate question, whether the findings principally reflect the authors’ choice of logistic regression. They report no significant empirical difference from that alternative. The strongest evidence about classifier capacity, however, comes from giving the probe a different input. With ConceptNet evidence appended, the classification setup produces substantially better fits. This shows that the readout can improve when it receives features tied to explicit relations. It supports the authors’ interpretation that useful information is missing or poorly accessible in the BERT features for some pairs. It leaves open whether another probe could recover some of that information from BERT without the graph.

ConceptNet by itself is an informative control. It performs poorly in aggregate, and the paper points to coverage as the reason. Many candidate pairs have no relation available from the resource. In a combined vector, such gaps can coexist with useful matches elsewhere in the data. A graph need only help with some judgments to raise the combined median. This is consistent with the results without requiring the graph to encode a complete substitute for what BERT already supplies.

How much does selection contribute?

The comparison between attribute-selected and random RACE data holds the reported subset size at 44 K. The selected subset scores 84.5 on MCScript 2.0 test accuracy and the random one scores 84.0. The result gives some support to the selection rule beyond the effect of using a subset of that size. The full-set comparison asks a related question about the amount of supplementary data needed. The selected subset reaches a test score comparable to the 84.3 of the full run while using fewer examples in the reported setup. This makes the strongest case for selection as a way to concentrate the additional training material.

The random-subset and full-set runs also clarify what can be inferred about diagnosis. Both improve on the BERT Large test baseline in the paper. Additional reading material is therefore useful even under conditions that do not use the probe to select each example. The attribute-selected run gives the best point estimate of the RACE settings, while the paper characterizes their performance as close. There is no reported comparison that keeps every other detail of the selected corpus fixed while changing only whether it contains a particular weak attribute. The experiment evaluates the selection policy as a whole.

The property-to-question analysis provides a motivation for this policy with limits of its own. The authors see less consistent question accuracy among low-fit attributes, but the overall plot does not offer a clear relation. A weak probe result can be a reasonable lead for finding additional material even if it is an imprecise predictor of what will go wrong on an individual question. The test comparison assesses whether following that lead helps in aggregate. It does not establish a sequence of repaired properties that accounts for the improved answers.

What changes when graph sources are added?

The single-source graph runs show that the result with all sources is not driven by a comparison against BERT alone. Each graph source gives a higher test point estimate than the unaugmented BERT Large setting, and ConceptNet gives the strongest individual result. The combined graph setting does slightly better than the individual settings. With this design, the ranking is a result for the specified graphs under the specified matching and encoding procedure. The authors’ suggestion about longer ATOMIC expressions helps explain why the same retrieval rule may give the different resources unequal opportunities to contribute.

The result with both interventions answers a further practical question. Adding the graph representation can improve the selected RACE setting even after BERT has had extra language training. The authors see that as evidence that the two sources may cover different aspects of the input. The comparison has an appealing interpretation at the level of the method. One route provides more opportunities to learn from text, while the other can return a relationship for expressions in the current input. The experiments demonstrate that the two routes can be used together. They do not measure their overlap property by property, or separate the contribution of graph relation identities from the contribution of adding a trainable sequence component.

The strongest controlled comparisons thus concern usable changes to the complete system. Holding the subset size fixed tests the choice of supplementary examples. Trying each graph alone tests which resource works best with the authors’ retrieval and encoding procedure. Combining both interventions tests whether their benefits can coexist in one fine-tuned classifier. The relation between these improvements and particular everyday facts remains an explanatory hypothesis because the paper reports answer accuracy rather than attributing each prediction to a piece of evidence.

Limitations

Limits the authors identify

The authors describe substantial residual weaknesses in the property probe. BERT has imperfect fit on examples from every CSLB category, including some ordinary descriptions the authors expected to be available from text. They suggest reporting bias as a possible cause and also point to the coverage of the original data or training procedure. These explanations are plausible within the study’s motivation. The paper does not measure how often each attribute is expressed in BERT’s training material, so the results cannot determine why a particular description falls among the weak ones.

The authors are also cautious about the relationship between fit and development question accuracy. They describe the plot as lacking a clear pattern and draw narrower observations about what happens at the lower end of fit and among high-accuracy attributes. The points come only from questions associated with a retained CSLB property, and questions can involve several properties at once. As a consequence, the development plot supports a limited association in the examined items. It does not by itself establish that weak access to a given property caused a particular wrong answer.

Coverage is an explicit limitation of the graph approach. ConceptNet does not contain a match for every object–attribute pair, which the paper uses to explain its weak standalone probe result. For the downstream procedure, graph edges have to be recoverable from expressions in the task text. The paper points to the possible disadvantage of longer expressions in ATOMIC. This makes graph performance dependent on both the kind of information a source contains and whether the system can find that information in the form required by the lookup.

Limits of what the setup establishes

The semantic norms give a consistent source of labels for the probe, but the labels capture properties participants reported in that collection. A negative probe label means the pair lacks the corresponding positive label under the dataset procedure. That can differ from a claim that the property could never apply to the object. People may omit features, and some descriptions can depend on the kind of object intended or on circumstances. The filtering step also restricts the benchmark to attributes the authors can compare under their chosen setup. The reported medians characterize the retained CSLB vocabulary.

The introduction of grammatical context makes the BERT probe practical, and also gives its result a specific interpretation. The representation comes from an assertion that already names the candidate feature. Good fit establishes that a simple readout can often use the resulting representation to judge a proposed pairing on these examples. An open-ended inventory of properties would require producing plausible candidates before evaluating them. The probe also cannot establish that BERT encountered no examples involving a held-out object during its original training. The holdout applies to the supervised fitting of the property classifier.

There is a small reproducibility uncertainty in the contextualization procedure. The examples demonstrate the intended use of an indefinite article before the object, but the appendix pseudocode tests the initial word of the attribute when choosing the article. The prose also describes a linking verb decision more generally, while the pseudocode gives a specific case for made. The intended grammatical pattern is clear from the examples. The exact realization of every possible attribute phrase is harder to infer from those rules, and the paper gives no scored comparison that isolates individual template decisions.

The fit comparison also depends on what the chosen readout can recover. Poor fit can reflect a weak signal, a representation in which the distinction is harder to extract, or the limited evidence available for fitting a particular attribute. The alternative classifier and ConceptNet results narrow the interpretation by showing that another reported classifier gives similar findings and that useful extra input can raise scores. They do not establish that the probed representation contains no information about a property. Conversely, perfect fit on the labeled object inventory establishes recoverability for those judgments under the procedure, with generalization to other judgments left open.

On the reading side, matching questions to property clues is an analytical choice. The camera example illustrates how a question can concern an object part, illumination, and the circumstances of an action. Grouping by one of those properties still leaves the other demands in place. The number of questions behind any individual attribute’s accuracy can affect how informative that point is, and the paper reports aggregate counts for the matching analysis. Evaluating at the attribute level makes the link to CSLB intelligible, while the underlying overlap between groups limits how literally the plotted points can be treated as independent instances.

The interventions have boundaries of their own. A stem overlap can find related reading examples without target-task labels, but it can also match a word used in another sense or a property mentioned incidentally. Graph retrieval can miss a relationship when its endpoints occur under different wording. Randomly choosing one relation among several can discard relevant alternatives. The paper does not report a comparison of more detailed matching or of using all the returned relations. Those design choices constrain what the results say about the resources beyond this particular way of accessing them.

Finally, the answer accuracy figures are point estimates from MCScript 2.0. The paper reports a bootstrap band for the property-to-question development analysis, while the test tables give scores without run-to-run uncertainty. This matters when comparing close settings, especially the RACE variants and the individual graph sources. The experiments establish the observed ordering and show that the selected subset can be competitive with the full set in the reported runs. How stable the rankings are across other samples or training runs is open. The selection rule can be applied without seeing the target questions, but the paper tests the downstream benefit on this one benchmark.

What came after

A later study from 2020 examines the systematicity of probing contextualized word representations, taking hypernymy in BERT as its case. Hypernymy concerns class inclusion, as when a particular kind of entity belongs to a broader category. That focus connects to Da and Kasai’s finding that taxonomic properties were the strongest group in the CSLB probe. The later paper’s stated subject brings the reliability of the probing procedure itself to the foreground. Da and Kasai measured whether a readout could recover a variety of properties for held-out objects. The hypernymy study addresses probing in the narrower setting of a particular lexical relation. The citation establishes the connection between the papers. The available account leaves open whether the later study reused the CSLB data, the sentence templates, or the leave-one-out classifier. On the Systematicity of Probing Contextualized Word Representations

A 2021 study takes consistency as the subject of measurement and improvement in pretrained language systems. This is related to a distinction visible in Da and Kasai’s experiments. A probe score reports success under a specific input and readout, while downstream accuracy reports success under the conditions of an answer task. Neither measure directly asks how stable a system’s judgments are across different ways of eliciting the same knowledge. The later study’s stated focus is consistency itself. Its citation situates the property probe in the broader study of what pretrained representations make accessible, with the specific role of Da and Kasai’s method in the later experiments left unspecified. Measuring and Improving Consistency

The 2023 survey 常识问答研究综述 places the work in the literature on commonsense question answering. That is the application side of Da and Kasai’s study, where ordinary property knowledge is examined in connection with answers about everyday activities. The study is relevant to that literature because it reports both a diagnostic of object properties and a test of interventions on question answering. The survey’s stated remit is broader than either experiment. Its citation shows that the paper entered subsequent coverage of the field, while the details of how the survey discusses the diagnostic and the two interventions are unspecified. 常识问答研究综述

Cite

Cite as Jeff Da and Jungo Kasai. 2019. Cracking the Contextual Commonsense Code: Understanding Commonsense Reasoning Aptitude of Deep Contextual Representations. Proceedings of the First Workshop on Commonsense Inference in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d19-6001

@inproceedings{da2019cracking,
  title = {{Cracking the Contextual Commonsense Code: Understanding Commonsense Reasoning Aptitude of Deep Contextual Representations}},
  author = {Jeff Da and Jungo Kasai},
  booktitle = {Proceedings of the First Workshop on Commonsense Inference in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-6001},
  url = {https://doi.org/10.18653/v1/d19-6001}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/da-2019-cracking-contextual-commonsense-code-understanding/