We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LG

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Machine Learning

Title: Sparse is Enough in Scaling Transformers

Abstract: Large Transformer models yield impressive results on many tasks, but are expensive to train, or even fine-tune, and so slow at decoding that their use and study becomes out of reach. We address this problem by leveraging sparsity. We study sparse variants for all layers in the Transformer and propose Scaling Transformers, a family of next generation Transformer models that use sparse layers to scale efficiently and perform unbatched decoding much faster than the standard Transformer as we scale up the model size. Surprisingly, the sparse layers are enough to obtain the same perplexity as the standard Transformer with the same number of parameters. We also integrate with prior sparsity approaches to attention and enable fast inference on long sequences even with limited memory. This results in performance competitive to the state-of-the-art on long text summarization.
Comments: NeurIPS 2021
Subjects: Machine Learning (cs.LG); Computation and Language (cs.CL)
Cite as: arXiv:2111.12763 [cs.LG]
  (or arXiv:2111.12763v1 [cs.LG] for this version)

Submission history

From: Sebastian Jaszczur [view email]
[v1] Wed, 24 Nov 2021 19:53:46 GMT (1435kb,D)

Link back to: arXiv, form interface, contact.