HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

DeLighT: Deep and Light-weight Transformer

Sachin Mehta Marjan Ghazvininejad Srinivasan Iyer Luke Zettlemoyer Hannaneh Hajishirzi

DeLighT: Deep and Light-weight Transformer

Abstract

We introduce a deep and light-weight transformer, DeLighT, that delivers similar or better performance than standard transformer-based models with significantly fewer parameters. DeLighT more efficiently allocates parameters both (1) within each Transformer block using the DeLighT transformation, a deep and light-weight transformation, and (2) across blocks using block-wise scaling, which allows for shallower and narrower DeLighT blocks near the input and wider and deeper DeLighT blocks near the output. Overall, DeLighT networks are 2.5 to 4 times deeper than standard transformer models and yet have fewer parameters and operations. Experiments on benchmark machine translation and language modeling tasks show that DeLighT matches or improves the performance of baseline Transformers with 2 to 3 times fewer parameters on average. Our source code is available at: \url{https://github.com/sacmehta/delight}

Code Repositories

sacmehta/delight
Official
pytorch
Mentioned in GitHub
pranay185417/delight
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
language-modelling-on-wikitext-103DeLighT
Number of params: 99M
Test perplexity: 24.14
machine-translation-on-iwslt2014-germanDeLighT
BLEU score: 35.3
machine-translation-on-wmt2016-english-1DeLighT
BLEU score: 34.7
machine-translation-on-wmt2016-english-frenchDeLighT
BLEU score: 40.5
machine-translation-on-wmt2016-english-germanDeLighT
BLEU score: 28.0

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
DeLighT: Deep and Light-weight Transformer | Papers | HyperAI