TL;DR
This paper introduces a method to incorporate prior knowledge directly into BERT's attention mechanism, significantly improving its performance on semantic textual matching, especially with limited training data.
Contribution
The paper proposes a novel approach to inject prior knowledge into BERT's attention mechanism rather than creating new training tasks, enhancing efficiency and effectiveness.
Findings
Improved semantic textual matching performance over original BERT.
Most benefit observed when training data is scarce.
Method is fast and does not require additional data or tasks.
Abstract
We study the problem of incorporating prior knowledge into a deep Transformer-based model,i.e.,Bidirectional Encoder Representations from Transformers (BERT), to enhance its performance on semantic textual matching tasks. By probing and analyzing what BERT has already known when solving this task, we obtain better understanding of what task-specific knowledge BERT needs the most and where it is most needed. The analysis further motivates us to take a different approach than most existing works. Instead of using prior knowledge to create a new training task for fine-tuning BERT, we directly inject knowledge into BERT's multi-head attention mechanism. This leads us to a simple yet effective approach that enjoys fast training stage as it saves the model from training on additional data or tasks other than the main task. Extensive experiments demonstrate that the proposed knowledge-enhanced…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsLinear Layer · Linear Warmup With Linear Decay · Softmax · Adam · Multi-Head Attention · Residual Connection · Dropout · WordPiece · Attention Dropout · Refunds@Expedia|||How do I get a full refund from Expedia?
