← Search

James Lee-Thorp

6 accepted papers

2024

Memory Augmented Language Models through Mixture of Word Experts

NAACL 2024long

Scaling up the number of parameters of language models has proven to be an effective approach to improve performance. For dense models, increasing their size proportionally increases their computational footprint. In this work, we seek to aggressively decouple learning capacity and FLOPs through Mix…

2023

CoLT5: Faster Long-Range Transformers with Conditional Computation

EMNLP 2023long main

Many natural language processing tasks benefit from long inputs, but processing long documents with Transformers is expensive -- not only due to quadratic attention complexity but also from applying feedforward and projection layers to every token. However, not all tokens are equally important, espe…

Cited by 0SourceScholar
2023

GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints

EMNLP 2023short main

Multi-query attention (MQA), which only uses a single key-value head, drastically speeds up decoder inference. However, MQA can lead to quality degradation, and moreover it may not be desirable to train a separate model just for faster inference. We (1) propose a recipe for uptraining existing multi…

Cited by 0SourceScholar
2023

Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints

ICLR 2023poster

Training large, deep neural networks to convergence can be prohibitively expensive. As a result, often only a small selection of popular, dense models are reused across different contexts and tasks. Increasingly, sparsely activated models, which seek to decouple model size from computation costs, ar…

2022

FNet: Mixing Tokens with Fourier Transforms

NAACL 2022long

We show that Transformer encoder architectures can be sped up, with limited accuracy costs, by replacing the self-attention sublayers with simple linear transformations that “mix” input tokens. Most surprisingly, we find that replacing the self-attention sublayer in a Transformer encoder with a stan…

2022

Sparse Mixers: Combining MoE and Mixing to build a more efficient BERT

EMNLP 2022finding

We combine the capacity of sparsely gated Mixture-of-Experts (MoE) with the speed and stability of linear, mixing transformations to design the Sparse Mixer encoder model. Sparse Mixer slightly outperforms BERT on GLUE and SuperGLUE, but more importantly trains 65% faster and runs inference 61% fast…