arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.05744cs.CLcs.AI
收藏

新闻领域问答系统的构建

Building a Question and Answer System for News Domain

Great Learning

Sandipan Basu, Aravind Gaddala, Pooja Chetan, Garima Tiwari, Narayana Darapaneni, Sadwik Parvathaneni, Anwesh Reddy Paduri

摘要:

这个项目试图在新闻领域建立一个问答系统,其中段落将是新闻文章,任何人都可以对它提出一个问题。我们已经建立了一个基于跨度的模型,使用注意力机制,该模型预测一个问题的答案在一个段落中的开始和结束标记的位置。为了训练我们的模型,我们使用了斯坦福问答(SQuAD 2.0)数据集[1]。为了在SQuAD 2.0上做得更好,系统不仅必须在可能的情况下回答问题,而且还必须确定段落何时不支持答案,并放弃回答。我们的模型架构包括三层-嵌入层,RNN层和注意力层。对于嵌入层,我们使用了GloVe和Universal Sentence Encoder。对于RNN层,我们构建了RNN层的变体,包括bi-LSTM和Stacked LSTM,我们使用上下文来质疑注意力,并在创新的双向注意力层上即兴创作。我们使用GloVe Embedding结合Bi-LSTM和Context to Question Attention的最佳模型分别获得了33.095和33.094的F1 Score和EM。我们还利用迁移学习并使用BERT构建了一个基于Transformer的模型。基于BERT的模型的F1得分和EM分别为57.513和49.769。我们的结论是,BERT模型在回答各种类型的问题的各个方面都是优越的。

英文摘要:

This project attempts to build a Question- Answering system in the News Domain, where Passages will be News articles, and anyone can ask a Question against it. We have built a span-based model using an Attention mechanism, where the model predicts the answer to a question as to the position of the start and end tokens in a paragraph. For training our model, we have used the Stanford Question and Answer (SQuAD 2.0) dataset[1]. To do well on SQuAD 2.0, systems must not only answer questions when possible but also determine when no answer is supported by the paragraph and abstain from answering. Our model architecture comprises three layers- Embedding Layer, RNN Layer, and the Attention Layer. For the Embedding layer, we used GloVe and the Universal Sentence Encoder. For the RNN Layer, we built variations of the RNN Layer including bi-LSTM and Stacked LSTM and we built an Attention Layer using a Context to Question Attention and also improvised on the innovative Bidirectional Attention Layer. Our best performing model which uses GloVe Embedding combined with Bi-LSTM and Context to Question Attention achieved an F1 Score and EM of 33.095 and 33.094 respectively. We also leveraged transfer learning and built a Transformer based model using BERT. The BERT-based model achieved an F1 Score and EM of 57.513 and 49.769 respectively. We concluded that the BERT model is superior in all aspects of answering various types of questions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑