Utilizing Bidirectional Encoder Representations from Transformers for Answer Selection

Md Tahmid Rahman Laskar, Enamul Hoque, Jimmy Xiangji Huang
11/14/2020
cs.CLcs.IR
transformer-attention

Official code: tahmedge/BERT-for-Answer-Selection (12 stars, Python, Apache-2.0, last commit 2022-12-08).

Abstract

Pre-training a transformer-based model for the language modeling task in a large dataset and then fine-tuning it for downstream tasks has been found very useful in recent years. One major advantage of such pre-trained language models is that they can effectively absorb the context of each word in a sentence.

Show full abstract

However, for tasks such as the answer selection task, the pre-trained language models have not been extensively used yet. To investigate their effectiveness in such tasks, in this paper, we adopt the pre-trained Bidirectional Encoder Representations from Transformer (BERT) language model and fine-tune it on two Question Answering (QA) datasets and three Community Question Answering (CQA) datasets for the answer selection task. We find that fine-tuning the BERT model for the answer selection task is very effective and observe a maximum improvement of 13.1% in the QA datasets and 18.7% in the CQA datasets compared to the previous state-of-the-art.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Evaluating BERT for the Answer Selection Task.

125Python, Jupyter NotebookJun 4, 20203 years agoApache-2.0

Similar Papers

Cite this paper

@article{laskar2020utilizing,
  title  = {Utilizing Bidirectional Encoder Representations from Transformers for Answer Selection},
  author = {Md Tahmid Rahman Laskar and Enamul Hoque and Jimmy Xiangji Huang},
  year   = {2020},
  eprint = {2011.07208},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.07208}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.07208.svg)](https://codeofpaper.com/paper/2011.07208)

Discussion