Exponentially Faster Language Modelling
Not on the map. Why?
Abstract (arXiv)
Language models only really need to use an exponential fraction of their neurons for individual inferences. As proof, we present UltraFastBERT, a BERT variant that uses 0.3% of its neurons during inference while performing on par with similar BERT models. UltraFastBERT selectively engages just 12 out of 4095 neurons for each layer inference. This is achieved by replacing feedforward networks with fast feedforward networks (FFFs). While no truly efficient implementation currently exists to unlock the full acceleration potential of conditional neural execution, we provide high-level CPU code achieving 78x speedup over the optimized baseline feedforward implementation, and a PyTorch implementation delivering 40x speedup over the equivalent batched feedforward inference. We publish our training code, benchmarking setup, and model weights.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 8 of its 11 references that are in the map. First posted on arXiv 15 Nov 2023.
Builds on
8 of 11 references.
References · 8
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2023PaLM 2 Technical Reportcited by 1,162
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2021XtremeDistilTransformers: Task Transfer for Task-agnostic Distillationcited by 18
- 2023Fast Feedforward Networkscited by 11
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 3.
4 papers.
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2026Dynamic sparsity in tree-structured feed-forward layers at scalecited by 0
- 2026HASTE: A Framework for Training-Free, Dynamic, and Steerable Compression of Pre-Trained Convolutional Neural Networkscited by 0
- 2026The SpiNNaker2 chip: a many-core platform for flexible and scalable brain-inspired computingcited by 0
- 2026The SpiNNaker2 chip: a many-core platform for flexible and scalable brain-inspired computing27 Jul 2026
- 2026HASTE: A Framework for Training-Free, Dynamic, and Steerable Compression of Pre-Trained Convolutional Neural Networks29 Jun 2026
- 2026Dynamic sparsity in tree-structured feed-forward layers at scale18 Mar 2026
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024