Radial Networks: Dynamic Layer Routing for High-Performance Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) often struggle with strict memory, latency, and power demands. To meet these demands, various forms of dynamic sparsity have been proposed that reduce compute on an input-by-input basis. These methods improve over static methods by exploiting the variance across individual inputs, which has steadily grown with the exponential increase in training data. Yet, the increasing depth within modern models, currently with hundreds of layers, has opened opportunities for dynamic layer sparsity, which skips the computation for entire layers. In this work, we explore the practicality of layer sparsity by profiling residual connections and establish the relationship between model depth and layer sparsity. For example, the residual blocks in the OPT-66B model have a median contribution of 5% to its output. We then take advantage of this dynamic sparsity and propose Radial Networks, which perform token-level routing between layers guided by a trained router module. These networks can be used in a post-training distillation from sequential networks or trained from scratch to co-learn the router and layer weights. They enable scaling to larger model sizes by decoupling the number of layers from the dynamic depth of the network, and their design allows for layer reuse. By varying the compute token by token, they reduce the overall resources needed for generating entire sequences. Overall, this leads to larger capacity networks with significantly lower compute and serving costs for large language models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 9 of its 9 references that are in the map. First posted on arXiv 7 Apr 2024.
Builds on
9 of 9 references.
References · 9
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2017Adaptive Neural Networks for Efficient Inferencecited by 163
- 2018Channel Gating Neural Networkscited by 80
- 2021Enabling Design Methodologies and Future Trends for Edge AI: Specialization and Co-designcited by 13
- 2020Precision Gating: Improving Neural Network Efficiency with Dynamic Dual-Precision Activationscited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.