Pith. sign in

Modeling Localness for Self-Attention Networks

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

Self-attention networks have proven to be of profound value for its strength of capturing global dependencies. In this work, we propose to model localness for self-attention networks, which enhances the ability of capturing useful local context. We cast localness modeling as a learnable Gaussian bias, which indicates the central and scope of the local region to be paid more attention. The bias is then incorporated into the original attention distribution to form a revised distribution. To maintain the strength of capturing long distance dependencies and enhance the ability of capturing short-range dependencies, we only apply localness modeling to lower layers of self-attention networks. Quantitative and qualitative analyses on Chinese-English and English-German translation tasks demonstrate the effectiveness and universality of the proposed approach.

fields

cs.CL 1

years

2019 1

verdicts

CONDITIONAL 1

representative citing papers

Improving Multi-Head Attention with Capsule Networks

cs.CL · 2019-08-31 · conditional · novelty 4.0

Capsule routing after multi-head attention gives small consistent BLEU improvements over Transformer in NMT, with EM routing slightly better than dynamic routing.

citing papers explorer

Showing 1 of 1 citing paper.

  • Improving Multi-Head Attention with Capsule Networks cs.CL · 2019-08-31 · conditional · none · ref 29 · internal anchor

    Capsule routing after multi-head attention gives small consistent BLEU improvements over Transformer in NMT, with EM routing slightly better than dynamic routing.