Pith. sign in

REVIEW 3 cited by

Lite Transformer with Long-Short Range Attention

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2004.11886 v1 pith:DE4MIA3I submitted 2020-04-24 cs.CL

classification cs.CL
keywords transformerlitelanguagemobilemodelingattentionbleuapplications
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Transformer has become ubiquitous in natural language processing (e.g., machine translation, question answering); however, it requires enormous amount of computations to achieve high performance, which makes it not suitable for mobile applications that are tightly constrained by the hardware resources and battery. In this paper, we present an efficient mobile NLP architecture, Lite Transformer to facilitate deploying mobile NLP applications on edge devices. The key primitive is the Long-Short Range Attention (LSRA), where one group of heads specializes in the local context modeling (by convolution) while another group specializes in the long-distance relationship modeling (by attention). Such specialization brings consistent improvement over the vanilla transformer on three well-established language tasks: machine translation, abstractive summarization, and language modeling. Under constrained resources (500M/100M MACs), Lite Transformer outperforms transformer on WMT'14 English-French by 1.2/1.7 BLEU, respectively. Lite Transformer reduces the computation of transformer base model by 2.5x with 0.3 BLEU score degradation. Combining with pruning and quantization, we further compressed the model size of Lite Transformer by 18.2x. For language modeling, Lite Transformer achieves 1.8 lower perplexity than the transformer at around 500M MACs. Notably, Lite Transformer outperforms the AutoML-based Evolved Transformer by 0.5 higher BLEU for the mobile NLP setting without the costly architecture search that requires more than 250 GPU years. Code has been made available at https://github.com/mit-han-lab/lite-transformer.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. TPCNet: Representation learning for HI mapping

    astro-ph.GA 2024-11 conditional novelty 6.0 of 10

    A CNN-Transformer hybrid with sinusoidal positional encoding predicts cold HI fraction and opacity correction from 21-cm emission, outperforming CNN baselines but biased at high column density.

  2. SEE: Sememe Entanglement Encoding for Transformer-bases Models Compression

    cs.LG 2024-12 conditional novelty 4.0 of 10

    A sememe- and morpheme-based tensor product embedding layer compresses transformer embedding parameters by up to 80x while keeping BLEU close to the uncompressed model.

  3. Transforming NLU with Babylon: A Case Study in Development of Real-time, Edge-Efficient, Multi-Intent Translation System for Automated Drive-Thru Ordering

    cs.CL 2024-11 reject novelty 4.0 of 10

    Babylon, an LSTM-pooled transformer that maps phoneme sequences to transcode action codes, reports 90.07% exact-match accuracy at 83 ms per order turn and 118 MB memory on edge CPUs.

Pith tools