[Paper Review] Cracking the Contextual Commonsense Code: Understanding Commonsense Reasoning Aptitude of Deep Contextual Representations
This paper investigates BERT's ability to encode commonsense knowledge through attribute classification on the CSLB semantic norm dataset, revealing deficiencies in visual and perceptual attributes. It proposes two methods—implicit fine-tuning on data selected via attribute deficiency and explicit integration of knowledge graph embeddings—to improve commonsense reasoning, achieving a 2% accuracy boost with minimal data and up to 85.5% accuracy on MCScript 2.0 when combining both methods.
Pretrained deep contextual representations have advanced the state-of-the-art on various commonsense NLP tasks, but we lack a concrete understanding of the capability of these models. Thus, we investigate and challenge several aspects of BERT's commonsense representation abilities. First, we probe BERT's ability to classify various object attributes, demonstrating that BERT shows a strong ability in encoding various commonsense features in its embedding space, but is still deficient in many areas. Next, we show that, by augmenting BERT's pretraining data with additional data related to the deficient attributes, we are able to improve performance on a downstream commonsense reasoning task while using a minimal amount of data. Finally, we develop a method of fine-tuning knowledge graphs embeddings alongside BERT and show the continued importance of explicit knowledge graphs.
Motivation & Objective
- To assess how well BERT encodes grounded commonsense attributes compared to non-contextual embeddings like GloVe.
- To identify specific commonsense attribute types where BERT's representations remain deficient, particularly visual and perceptual properties.
- To improve BERT’s downstream commonsense reasoning performance by addressing these deficiencies through data- and knowledge-augmentation strategies.
- To evaluate the effectiveness of combining implicit (data-based) and explicit (knowledge graph) methods for enhancing contextual representations.
Proposed method
- Probing BERT’s contextual representations using a logistic classifier to predict object attributes from the CSLB semantic norm dataset, with (object, attribute) pairs formatted as [CLS] c_prefix noun c_affix adj. c_postfix [SEP] sequences.
- Selecting a minimal subset of RACE dataset examples based on BERT’s low performance on specific attributes to fine-tune BERT implicitly, improving downstream reasoning with less data.
- Integrating pre-trained knowledge graph embeddings (ConceptNet, WebChild, ATOMIC) during BERT fine-tuning to explicitly inject missing commonsense knowledge.
- Combining the implicit RACE fine-tuning with explicit knowledge graph embeddings to leverage complementary improvements in reasoning performance.
- Using attribute fit scores from logistic classifiers to quantify how well embeddings encode specific commonsense features, comparing GloVe and BERT across 597 attributes.
- Evaluating downstream performance on the MCScript 2.0 commonsense reasoning benchmark to link attribute probing results to real-world reasoning gains.
Experimental results
Research questions
- RQ1To what extent do BERT embeddings encode commonsense attributes such as visual, perceptual, and functional properties?
- RQ2Which types of commonsense attributes are underrepresented in BERT’s contextual representations?
- RQ3Can fine-tuning BERT on a minimal, deficiency-driven subset of RACE data improve downstream commonsense reasoning accuracy?
- RQ4Does integrating explicit knowledge graph embeddings (e.g., ConceptNet, ATOMIC) further enhance BERT’s reasoning performance?
- RQ5Can combining implicit data-based fine-tuning and explicit knowledge graph integration yield synergistic improvements in commonsense reasoning?
Key findings
- BERT significantly outperforms GloVe on attribute classification, but still underperforms on visual and perceptual attributes, indicating persistent gaps in commonsense encoding.
- Fine-tuning BERT on a minimal subset of RACE data—selected based on attribute deficiencies—achieves a 2% accuracy boost on MCScript 2.0, matching performance with the full RACE dataset.
- Incorporating knowledge graph embeddings improves downstream accuracy by up to 1.2 percentage points, with ConceptNet providing the largest boost (83.3% vs. 82.1% without KBs).
- Combining the RACE subset fine-tuning with all knowledge graph embeddings yields the highest accuracy of 85.5% on MCScript 2.0, demonstrating complementary gains.
- The improvement from knowledge graph embeddings is distinct from that of data fine-tuning, as shown by a +1% absolute improvement when both are used together.
- The semantic norm task (CSLB) is effective for identifying deficient attributes, as data selection based on this analysis leads to high-performance downstream results with minimal data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.