ABCNN: Attention-Based Convolutional Neural Network for Modeling Sentence Pairs

Wenpeng Yin, Hinrich Schütze, Bing Xiang, Bowen Zhou
12/16/2015
cs.CL

Official code: yinwenpeng/Answer_Selection (91 stars, last commit 2018-03-22).

Abstract

How to model a pair of sentences is a critical issue in many NLP tasks such as answer selection (AS), paraphrase identification (PI) and textual entailment (TE). Most prior work (i) deals with one individual task by fine-tuning a specific system; (ii) models each sentence's representation separately, rarely considering the impact of the other sentence; or (iii) relies fully on manually designed, task-specific linguistic features. This work presents a general Attention Based Convolutional Neural Network (ABCNN) for modeling a pair of sentences. We make three contributions. (i) ABCNN can be applied to a wide variety of tasks that require modeling of sentence pairs. (ii) We propose three attention schemes that integrate mutual influence between sentences into CNN; thus, the representation of each sentence takes into consideration its counterpart. These interdependent sentence pair representations are more powerful than isolated sentence representations. (iii) ABCNN achieves state-of-the-art performance on AS, PI and TE tasks.

View on arXivView PDF

Code Implementations(1)

For those who want to model the inter-sentence relations, pls use the more powerful code of "Attentive Convolution" in another repository

9131PythonOct 8, 20158 years ago

Similar Papers

Cite this paper

@article{yin2015abcnn,
  title  = {ABCNN: Attention-Based Convolutional Neural Network for Modeling Sentence Pairs},
  author = {Wenpeng Yin and Hinrich Schütze and Bing Xiang and Bowen Zhou},
  year   = {2015},
  eprint = {1512.05193},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1512.05193}
}

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

Discussion