[Paper Review] Align, Mask and Select: A Simple Method for Incorporating Commonsense Knowledge into Language Representation Models
The paper introduces AMS-based pre-training to inject commonsense knowledge from ConceptNet into BERT, creating MCQA-style pre-training data and yielding improved commonsense benchmarks without harming general NLP performance.
The state-of-the-art pre-trained language representation models, such as Bidirectional Encoder Representations from Transformers (BERT), rarely incorporate commonsense knowledge or other knowledge explicitly. We propose a pre-training approach for incorporating commonsense knowledge into language representation models. We construct a commonsense-related multi-choice question answering dataset for pre-training a neural language representation model. The dataset is created automatically by our proposed "align, mask, and select" (AMS) method. We also investigate different pre-training tasks. Experimental results demonstrate that pre-training models using the proposed approach followed by fine-tuning achieve significant improvements over previous state-of-the-art models on two commonsense-related benchmarks, including CommonsenseQA and Winograd Schema Challenge. We also observe that fine-tuned models after the proposed pre-training approach maintain comparable performance on other NLP tasks, such as sentence classification and natural language inference tasks, compared to the original BERT models. These results verify that the proposed approach, while significantly improving commonsense-related NLP tasks, does not degrade the general language representation capabilities.
Motivation & Objective
- Motivate incorporating commonsense knowledge into pre-trained language models without sacrificing general language understanding.
- Propose AMS to automatically construct a large-scale natural-language QA dataset aligned with a commonsense KG.
- Pre-train BERT variants on AMS data and evaluate on commonsense benchmarks and GLUE tasks.
- Show ablations to understand data creation and pre-training task effects on performance.
Proposed method
- Filter and align ConceptNet triples to English Wikipedia sentences.
- Mask one concept in a sentence to form a MCQA question and treat the masked concept as the correct answer.
- Select four distractors by finding related triples that share the same relation or concept to make confusable options.
- Pre-train BERT_CS models on the MCQA task using the AMS dataset with a softmax over candidate answers.
- Fine-tune on downstream tasks and compare to baseline BERT and state-of-the-art results.
- Provide ablations comparing MCQA to MLM pre-training and different data creation strategies.
Experimental results
Research questions
- RQ1Can AMS-based pre-training improve commonsense reasoning on CSQA and WSC?
- RQ2Does incorporating AMS data degrade or preserve performance on GLUE-style general NLP tasks?
- RQ3Which pre-training task and data creation strategy best benefits commonsense reasoning in language models?
Key findings
- BERT_CS large achieves 62.2% on CSQA test, outperforming the baseline BERT large (56.7%) and the CoS-E SOTA (58.2%).
- BERT_CS models maintain comparable GLUE performance to original BERT models, indicating no degradation of general language representation abilities.
- MCQA-based pre-training with AMS outperforms MLM-based or random distractor approaches in CSQA ablations.
- Ablation shows that natural-language sentence inputs for pre-training are preferable to purely triple-based inputs for CSQA.
- On WSC, BERT_CS large + MCQA achieves superior results across multiple evaluation facets, suggesting MCQA formatting benefits for commonsense tasks.
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.