Multi-granularity hierarchical attention fusion networks for reading comprehension and question answering

Wei Wang, Ming Yan, Chen Wu
11/29/2018
cs.CL

Official code: alibaba/AliceMind (2,037 stars, Python, Apache-2.0, last commit 2024-03-19).

Abstract

This paper describes a novel hierarchical attention network for reading comprehension style question answering, which aims to answer questions for a given narrative paragraph. In the proposed method, attention and fusion are conducted horizontally and vertically across layers at different levels of granularity between question and paragraph.

Show full abstract

Specifically, it first encode the question and paragraph with fine-grained language embeddings, to better capture the respective representations at semantic level. Then it proposes a multi-granularity fusion approach to fully fuse information from both global and attended representations. Finally, it introduces a hierarchical attention network to focuses on the answer span progressively with multi-level softalignment. Extensive experiments on the large-scale SQuAD and TriviaQA datasets validate the effectiveness of the proposed method. At the time of writing the paper (Jan. 12th 2018), our model achieves the first position on the SQuAD leaderboard for both single and ensemble models. We also achieves state-of-the-art results on TriviaQA, AddSent and AddOne-Sent datasets.

View on arXivView PDF

Code Implementations(1)

alibaba/AliceMindOfficial100%
Apache-2.0

ALIbaba's Collection of Encoder-decoders from MinD (Machine IntelligeNce of Damo) Lab

2,037302Python, ShellMay 21, 20212 years agoApache-2.0
bertdeep-learningnatural-language-processingnlp

Similar Papers

Cite this paper

@article{wang2018multigranularity,
  title  = {Multi-granularity hierarchical attention fusion networks for reading comprehension and question answering},
  author = {Wei Wang and Ming Yan and Chen Wu},
  year   = {2018},
  eprint = {1811.11934},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.11934}
}

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/1811.11934.svg)](https://codeofpaper.com/paper/1811.11934)

Discussion