HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Joint Source-Target Self Attention with Locality Constraints

José A. R. Fonollosa; Noe Casas; Marta R. Costa-jussà

Joint Source-Target Self Attention with Locality Constraints

Abstract

The dominant neural machine translation models are based on the encoder-decoder structure, and many of them rely on an unconstrained receptive field over source and target sequences. In this paper we study a new architecture that breaks with both conventions. Our simplified architecture consists in the decoder part of a transformer model, based on self-attention, but with locality constraints applied on the attention receptive field. As input for training, both source and target sentences are fed to the network, which is trained as a language model. At inference time, the target tokens are predicted autoregressively starting with the source sequence as previous tokens. The proposed model achieves a new state of the art of 35.7 BLEU on IWSLT'14 German-English and matches the best reported results in the literature on the WMT'14 English-German and WMT'14 English-French translation benchmarks.

Code Repositories

lkfo415579/joint
pytorch
Mentioned in GitHub
jarfo/joint
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-iwslt2014-germanLocal Joint Self-attention
BLEU score: 35.7
machine-translation-on-wmt2014-english-frenchLocal Joint Self-attention
BLEU score: 43.3
Hardware Burden:
Operations per network pass:
machine-translation-on-wmt2014-english-germanLocal Joint Self-attention
BLEU score: 29.7
Hardware Burden:
Operations per network pass:

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Joint Source-Target Self Attention with Locality Constraints | Papers | HyperAI