Skip to main content
QUICK REVIEW

[Paper Review] Gated Group Self-Attention for Answer Selection

Dong Xu, Jianhui Ji|arXiv (Cornell University)|May 26, 2019
Topic ModelingComputer Science33 references5 citations
TL;DR

This paper proposes Gated Group Self-Attention (GGSA), a novel self-attention-based model for answer selection that distinguishes local and global contextual information via group self-attention and a gating mechanism. GGSA achieves state-of-the-art performance on two QA datasets, outperforming existing models including global self-attention and RNN-based methods, while reducing computational cost.

ABSTRACT

Answer selection (answer ranking) is one of the key steps in many kinds of question answering (QA) applications, where deep models have achieved state-of-the-art performance. Among these deep models, recurrent neural network (RNN) based models are most popular, typically with better performance than convolutional neural network (CNN) based models. Nevertheless, it is difficult for RNN based models to capture the information about long-range dependency among words in the sentences of questions and answers. In this paper, we propose a new deep model, called gated group self-attention (GGSA), for answer selection. GGSA is inspired by global self-attention which is originally proposed for machine translation and has not been explored in answer selection. GGSA tackles the problem of global self-attention that local and global information cannot be well distinguished. Furthermore, an interaction mechanism between questions and answers is also proposed to enhance GGSA by a residual structure. Experimental results on two popular QA datasets show that GGSA can outperform existing answer selection models to achieve state-of-the-art performance. Furthermore, GGSA can also achieve higher accuracy than global self-attention for the answer selection task, with a lower computation cost.

Motivation & Objective

  • To address the limitation of RNN-based models in capturing long-range dependencies in question-answer sequences.
  • To overcome the inability of global self-attention to differentiate between local and global contextual information in answer selection.
  • To introduce a novel interaction mechanism between questions and answers using a residual structure for improved modeling of question-aware representations.
  • To develop a self-attention-based model specifically for answer selection, a task previously dominated by RNN and CNN models.
  • To achieve higher accuracy and lower computation cost than global self-attention in answer selection tasks.

Proposed method

  • GGSA employs group self-attention to separately model local and global dependencies within questions and answers, using a sliding window approach to define local groups.
  • A global information gate is introduced to dynamically control the integration of global context into the final representation, enhancing long-range dependency modeling.
  • The model uses a residual-based interaction mechanism that computes question-aware residuals and adds them to answer representations, allowing answers to attend to relevant question content.
  • The architecture is built on multi-head self-attention with residual connections, inspired by the Transformer, but adapted for answer selection with structured local-global distinction.
  • Max-pooling is applied after GGSA to obtain fixed-size representations for ranking, and both pairwise and pointwise loss functions are evaluated for training.
  • The model is trained end-to-end on two public QA datasets, with ablation studies to validate component contributions.

Experimental results

Research questions

  • RQ1Can a self-attention-based model outperform existing RNN and CNN-based models in answer selection tasks?
  • RQ2Can distinguishing local and global context in self-attention improve performance and efficiency in answer selection?
  • RQ3Does a residual-based interaction mechanism between questions and answers enhance answer representation learning?
  • RQ4How does GGSA compare in performance and computational cost to global self-attention and other state-of-the-art models?
  • RQ5Which loss function—pairwise or pointwise—yields better results for answer selection with GGSA?

Key findings

  • GGSA achieves a P@1 score of 78.45% on the Yahoo!QA dataset using pairwise loss, representing a state-of-the-art result.
  • On the same dataset, GGSA with pairwise loss outperforms the pointwise loss variant, achieving higher P@1 (78.45% vs. 74.26%) and better MRR (85.07% vs. 86.28%) despite the trade-off in MRR.
  • GGSA achieves higher accuracy than global self-attention while requiring lower computational cost, demonstrating efficiency and effectiveness.
  • The ablation study confirms that both the group self-attention and the residual interaction mechanism contribute significantly to performance gains.
  • The pairwise loss function yields better performance on P@1, while pointwise loss performs better on MRR, indicating a trade-off in ranking metrics.
  • GGSA is the first self-attention-based model specifically designed for answer selection, establishing a new SOTA benchmark on two standard datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.