Scaling Efficient LLMs
Not on the map. Why?
Abstract (arXiv)
Recent LLMs have hundreds of billions of parameters consuming vast resources. Furthermore, the so called "AI scaling law" for transformers suggests that the number of parameters must scale linearly with the size of the data. In response, we inquire into efficient LLMs, i.e. those with the fewest parameters that achieve the desired accuracy on a training corpus. Specifically, by comparing theoretical and empirical estimates of the Kullback-Leibler divergence, we derive a natural AI scaling law that the number of parameters in an efficient LLM scales as Dγ where D is the size of the training data and γ ∈ [0.44, 0.72], suggesting the existence of more efficient architectures. Against this backdrop, we propose recurrent transformers, combining the efficacy of transformers with the efficiency of recurrent networks, progressively applying a single transformer layer to a fixed-width sliding window across the input sequence. Recurrent transformers (a) run in linear time in the sequence length, (b) are memory-efficient and amenable to parallel processing in large batches, (c) learn to forget history for language tasks, or accumulate history for long range tasks like copy and selective copy, and (d) are amenable to curriculum training to overcome vanishing gradients. In our experiments, we find that recurrent transformers perform favorably on benchmark tests.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 41 references that are in the map. First posted on arXiv 22 Feb 2024.
Builds on
21 of 41 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
9 more
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2023Scaling Data-Constrained Language Modelscited by 403
- 2022Predictability and Surprise in Large Generative Modelscited by 210
- 2023A Theory for Emergence of Complex Skills in Language Modelscited by 113
- 2022Block-Recurrent Transformerscited by 110
- 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 92
- 2014Zipf's law holds for phrases, not wordscited by 12
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Occam Gradient Descentcited by 0
- 2024Occam Gradient Descent30 May 2024