Word n-gram attention models for sentence similarity and inference
Lists
Only you see this
Abstract
Highlights • Bag-of-Words models boost their performance when making use of context. • Context in the form of arbitrary n-grams outperforms informed baselines. • Trainable attention over arbitrary n-grams further improves results. • Improvements of up to 41% error reduction in language inference. • Improvements of up to 38 % error reduction in textual similarity. Abstract Semantic Textual Similarity and Natural Language Inference are two popular natural language understanding tasks used to benchmark sentence representation models where two sentences are paired. In such tasks sentences are represented as bag of words, sequences, trees or convolutions, but the attention model is based on word pairs. In this article we introduce the use of word n-grams in the attention model. Our results on five datasets show an error reduction of up to 41% with respect to the word-based attention model. The improvements are especially relevant with low data regimes and, in the case of natural language inference, on the recently released hard subset of Natural Language Inference datasets.
BibTeX
@article{lopezgazpio2019word,
author = {Iñigo Lopez-Gazpio and Montse Maritxalar and M. Lapata and Eneko Agirre},
title = {{Word n-gram attention models for sentence similarity and inference}},
journal = {Expert Systems with Applications},
year = {2019},
url = {https://openreview.net/forum?id=V_4kIB-CcZo},
}Loading related content...