HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Sequence Level Training with Recurrent Neural Networks

Marc'Aurelio Ranzato; Sumit Chopra; Michael Auli; Wojciech Zaremba

Sequence Level Training with Recurrent Neural Networks

Abstract

Many natural language processing applications use language models to generate text. These models are typically trained to predict the next word in a sequence, given the previous words and some context such as an image. However, at test time the model is expected to generate the entire sequence from scratch. This discrepancy makes generation brittle, as errors may accumulate along the way. We address this issue by proposing a novel sequence level training algorithm that directly optimizes the metric used at test time, such as BLEU or ROUGE. On three different tasks, our approach outperforms several strong baselines for greedy generation. The method is also competitive when these baselines employ beam search, while being several times faster.

Code Repositories

CZWin32768/seqmnist
pytorch
Mentioned in GitHub
eske/seq2seq
tf
Mentioned in GitHub
facebookarchive/mixer
pytorch
Mentioned in GitHub
facebookresearch/MIXER
Official
pytorch
Mentioned in GitHub
NPCai/Nopie
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-iwslt2015-germanWord-level LSTM w/attn
BLEU score: 20.2

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
Sequence Level Training with Recurrent Neural Networks | Papers | HyperAI