English

An Iterative Contextualization Algorithm with Second-Order Attention

Computation and Language 2021-03-04 v1 Machine Learning

Abstract

Combining the representations of the words that make up a sentence into a cohesive whole is difficult, since it needs to account for the order of words, and to establish how the words present relate to each other. The solution we propose consists in iteratively adjusting the context. Our algorithm starts with a presumably erroneous value of the context, and adjusts this value with respect to the tokens at hand. In order to achieve this, representations of words are built combining their symbolic embedding with a positional encoding into single vectors. The algorithm then iteratively weighs and aggregates these vectors using our novel second-order attention mechanism. Our models report strong results in several well-known text classification tasks.

Keywords

Cite

@article{arxiv.2103.02190,
  title  = {An Iterative Contextualization Algorithm with Second-Order Attention},
  author = {Diego Maupomé and Marie-Jean Meurs},
  journal= {arXiv preprint arXiv:2103.02190},
  year   = {2021}
}