Skip to main content
QUICK REVIEW

[Paper Review] Why Do Masked Neural Language Models Still Need Common Sense Knowledge?

Sunjae Kwon, Cheongwoong Kang|arXiv (Cornell University)|Nov 8, 2019
Topic ModelingComputer Science22 references12 citations
TL;DR

This paper investigates why masked neural language models (MNLMs) like BERT still struggle with common sense reasoning in question answering, despite their strong performance. It proposes a knowledge probing test to measure trained common sense knowledge and finds MNLMs only partially and imprecisely understand semantic relations. The study demonstrates that integrating external common sense knowledge—via manual question modification or a neural memory network—significantly improves MNLM performance on difficult, common sense-dependent questions, especially those involving synonymy or relational reasoning.

ABSTRACT

Currently, contextualized word representations are learned by intricate neural network models, such as masked neural language models (MNLMs). The new representations significantly enhanced the performance in automated question answering by reading paragraphs. However, identifying the detailed knowledge trained in the MNLMs is difficult owing to numerous and intermingled parameters. This paper provides empirical but insightful analyses on the pretrained MNLMs with respect to common sense knowledge. First, we propose a test that measures what types of common sense knowledge do pretrained MNLMs understand. From the test, we observed that MNLMs partially understand various types of common sense knowledge but do not accurately understand the semantic meaning of relations. In addition, based on the difficulty of the question-answering task problems, we observed that pretrained MLM-based models are still vulnerable to problems that require common sense knowledge. We also experimentally demonstrated that we can elevate existing MNLM-based models by combining knowledge from an external common sense repository.

Motivation & Objective

  • To investigate whether pretrained masked neural language models (MNLMs) like BERT have learned structured common sense knowledge, particularly semantic relations.
  • To identify the types of question-answering problems that remain challenging for MNLMs, especially those requiring common sense reasoning.
  • To evaluate whether integrating external common sense knowledge from repositories like ConceptNet can improve MNLM-based reading comprehension models.
  • To design and validate a neural memory network architecture that automatically fuses external common sense with MNLM representations for better reasoning.

Proposed method

  • Proposed a knowledge probing test using ConceptNet triples to assess MNLMs' understanding of common sense knowledge, focusing on semantic relations.
  • Defined problem difficulty based on lexical overlap between question and context, identifying semantic variation and common sense as key difficulty factors.
  • Designed a neural memory network that encodes external common sense triples and fuses them into MNLM hidden states using a soft attention mechanism.
  • Implemented a knowledge-aware attention module: $ I = H + \text{Softmax}(Q \cdot K) \cdot V $, where $ Q $, $ K $, and $ V $ are linear projections of MNLM and common sense representations.
  • Conducted two experiments: manually modifying questions to include external knowledge and automatically integrating knowledge via the proposed neural architecture.
  • Evaluated performance on SQuAD using exact match and F1 scores, comparing baseline MNLMs with knowledge-augmented models.

Experimental results

Research questions

  • RQ1Do MNLMs understand various types of common sense knowledge, especially semantic relations between attributes?
  • RQ2Can MNLMs distinguish between related but opposite relations, such as 'cause' vs. 'prevent'?
  • RQ3How does the difficulty of reading comprehension problems correlate with lexical overlap and semantic variation?
  • RQ4Which types of RC problems are most challenging for MNLMs, and why?
  • RQ5Can external common sense knowledge improve the performance of MNLM-based question-answering models?

Key findings

  • MNLMs only partially understand common sense knowledge and fail to accurately distinguish between opposite relations, indicating incomplete and imprecise knowledge integration.
  • Problems requiring common sense knowledge, especially those involving synonymy or relational reasoning, are significantly more difficult for MNLMs than those relying on lexical overlap.
  • Manual integration of external common sense knowledge improved the BERT large model’s performance on the hardest 100 questions in Domain A, achieving a 56% success rate.
  • The proposed neural memory network that fuses external knowledge improved the F1 score of BERT large from 80.11 to 81.87 on SQuAD, with a 78.99% exact match accuracy.
  • The knowledge-augmented model correctly answered 12 out of 100 hard questions in Domain A, all of which were of the common sense or synonymy type, confirming the effectiveness of external knowledge.
  • The results show that MNLMs remain vulnerable to semantic variation and relational reasoning, highlighting the persistent need for external knowledge integration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.