[Paper Review] Human Parity on CommonsenseQA: Augmenting Self-Attention with External Attention
This paper proposes Knowledgeable External Attention for Reasoning (KEAR), a lightweight framework that enhances transformer models with external knowledge from knowledge graphs, dictionaries, and training data via simple text concatenation. By integrating retrieved external knowledge without architectural changes, KEAR achieves human parity on CommonsenseQA (89.4% test accuracy vs. human 88.9%), outperforming even large models like GPT-3.
Most of today's AI systems focus on using self-attention mechanisms and transformer architectures on large amounts of diverse data to achieve impressive performance gains. In this paper, we propose to augment the transformer architecture with an external attention mechanism to bring external knowledge and context to bear. By integrating external information into the prediction process, we hope to reduce the need for ever-larger models and increase the democratization of AI systems. We find that the proposed external attention mechanism can significantly improve the performance of existing AI systems, allowing practitioners to easily customize foundation AI models to many diverse downstream applications. In particular, we focus on the task of Commonsense Reasoning, demonstrating that the proposed external attention mechanism can augment existing transformer models and significantly improve the model's reasoning capabilities. The proposed system, Knowledgeable External Attention for commonsense Reasoning (KEAR), reaches human parity on the open CommonsenseQA research benchmark with an accuracy of 89.4\\% in comparison to the human accuracy of 88.9\\%.
Motivation & Objective
- To address the limitations of scaling up transformer models for improved reasoning by incorporating external knowledge.
- To reduce reliance on massive model sizes while improving performance on commonsense reasoning tasks.
- To enhance model interpretability and democratization by using non-parametric, updatable knowledge sources.
- To demonstrate that external knowledge integration can surpass human performance on benchmark tasks.
- To provide a lightweight, modular framework that can be easily adapted to diverse downstream NLP applications.
Proposed method
- The method retrieves relevant knowledge from three external sources: ConceptNet (knowledge graph), Wiktionary (dictionary), and training data (CommonsenseQA and 16 related datasets).
- Retrieved knowledge is directly concatenated to the input sequence, preserving the original transformer architecture without structural modifications.
- The model uses standard self-attention over the input and external knowledge combined, enabling dynamic attention over both internal and external content.
- Knowledge retrieval is performed via efficient, non-parametric methods such as keyword matching and information retrieval, minimizing computational overhead.
- An ensemble of 39 diverse models (including DeBERTa, ELECTRA, and GPT-3 variants) is used to boost performance, with majority voting for final predictions.
- The framework allows practitioners to update knowledge sources (e.g., edit knowledge graphs or Wikipedia entries) without retraining the main model.
Experimental results
Research questions
- RQ1Can external knowledge retrieval and integration improve commonsense reasoning performance without increasing model size?
- RQ2Can a lightweight, non-parametric knowledge injection method surpass human performance on CommonsenseQA?
- RQ3How does combining multiple external knowledge sources (knowledge graph, dictionary, training data) affect reasoning accuracy?
- RQ4To what extent can smaller models achieve human-level performance when augmented with external knowledge?
- RQ5Can external attention improve model interpretability and reduce dependency on massive pre-trained models?
Key findings
- The KEAR model achieves 89.4% accuracy on the CommonsenseQA test set, surpassing the human benchmark of 88.9%.
- The ensemble model reaches 93.4% accuracy on the dev set, significantly outperforming the previous best model DEKCOR by over 6%.
- A DeBERTa-xxlarge model’s performance improves from 83.8% to 90.8% on the dev set when external knowledge is added.
- Even GPT-3, a large-scale model, achieves only 73.0% accuracy on the same task, highlighting the effectiveness of the external attention approach.
- The method enables human parity using models up to 1.5 billion parameters, reducing reliance on ultra-large models.
- Case studies show that all three knowledge sources—knowledge graph, dictionary, and training data—are critical for correct reasoning in complex examples.
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.