Structured Attention Networks

02/03/2017
by   Yoon Kim, et al.
0

Attention networks have proven to be an effective approach for embedding categorical inference within a deep neural network. However, for many tasks we may want to model richer structural dependencies without abandoning end-to-end training. In this work, we experiment with incorporating richer structural distributions, encoded using graphical models, within deep networks. We show that these structured attention networks are simple extensions of the basic attention procedure, and that they allow for extending attention beyond the standard soft-selection approach, such as attending to partial segmentations or to subtrees. We experiment with two different classes of structured attention networks: a linear-chain conditional random field and a graph-based parsing model, and describe how these models can be practically implemented as neural network layers. Experiments show that this approach is effective for incorporating structural biases, and structured attention networks outperform baseline attention models on a variety of synthetic and real tasks: tree transduction, neural machine translation, question answering, and natural language inference. We further find that models trained in this way learn interesting unsupervised hidden representations that generalize simple attention.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/07/2017

Structured Attentions for Visual Question Answering

Visual attention, which assigns weights to image regions according to th...
research
01/07/2017

Structural Attention Neural Networks for improved sentiment analysis

We introduce a tree-structured attention neural network for sentences an...
research
11/15/2017

Dialogue Act Recognition via CRF-Attentive Structured Network

Dialogue Act Recognition (DAR) is a challenging problem in dialogue inte...
research
06/09/2021

Bayesian Attention Belief Networks

Attention-based neural networks have achieved state-of-the-art results o...
research
05/22/2019

AttentionRNN: A Structured Spatial Attention Mechanism

Visual attention mechanisms have proven to be integrally important const...
research
04/22/2019

A Unified Framework for Structured Graph Learning via Spectral Constraints

Graph learning from data represents a canonical problem that has receive...
research
12/20/2021

Encoding Hierarchical Information in Neural Networks helps in Subpopulation Shift

Over the past decade, deep neural networks have proven to be adept in im...

Please sign up or login with your details

Forgot password? Click here to reset