HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Deep Residual Output Layers for Neural Language Generation

Nikolaos Pappas; James Henderson

Deep Residual Output Layers for Neural Language Generation

Abstract

Many tasks, including language generation, benefit from learning the structure of the output space, particularly when the space of output labels is large and the data is sparse. State-of-the-art neural language models indirectly capture the output space structure in their classifier weights since they lack parameter sharing across output labels. Learning shared output label mappings helps, but existing methods have limited expressivity and are prone to overfitting. In this paper, we investigate the usefulness of more powerful shared mappings for output labels, and propose a deep residual output mapping with dropout between layers to better capture the structure of the output space and avoid overfitting. Evaluations on three language generation tasks show that our output label mapping can match or improve state-of-the-art recurrent and self-attention architectures, and suggest that the classifier does not necessarily need to be high-rank to better model natural language if it is better at capturing the structure of the output space.

Code Repositories

idiap/drill
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
language-modelling-on-penn-treebank-wordAWD-LSTM-DRILL + dynamic eval
Params: 24M
Test perplexity: 49.4
Validation perplexity: 49.5
language-modelling-on-penn-treebank-wordAWD-LSTM-DRILL
Params: 24M
Test perplexity: 55.7
Validation perplexity: 58.2
language-modelling-on-wikitext-2AWD-LSTM-DRILL
Number of params: 34M
Test perplexity: 61.9
Validation perplexity: 64.9
language-modelling-on-wikitext-2AWD-LSTM-DRILL + dynamic eval
Number of params: 34M
Test perplexity: 42.0
Validation perplexity: 43.9
machine-translation-on-wmt2014-english-germanTransformer-DRILL Base
BLEU score: 28.1
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