mlsanityData to 24 Nov 2026

Nested Sparsity for Scalable Pretraining and Continual Learning

arXiv 2610.31818 ↗Submitted 22 Oct 2026cs.LGcited by 0

On the map: Mixture-of-experts → MoE large language models also fits: Mixture of LoRA experts

Abstract (arXiv)

Mixture-of-experts (MoE) transformers, the standard backbone for modern large-scale deep learning, employ conditional computation: only a sparse subset of model weights is used in each forward pass. In MoE transformers, this sparsity arises in the MoE operator, which generalizes the multi-layer perceptron in the classical transformer. In this work, we explore an alternative mechanism for conditional computation that analogously generalizes the attention operator. The sparsity induced by this mechanism naturally nests (i.e., hierarchically composes) with the sparsity induced by the MoE operator. We show that a transformer employing this nested sparsity mechanism, which we call Nestor, performs better than a conventional MoE transformer at equal compute and equal sparsity in language model pretraining. We also show that Nestor is well-suited for continual pretraining: it can be adapted to longer contexts more effectively than conventional MoEs, as well as adapt more efficiently to new domains while forgetting less on old domains. Furthermore, we demonstrate that these benefits persist as model size, dataset size, and context length grow. Our results demonstrate the potential of alternative conditional computation mechanisms for deep neural network architectures. Code and checkpoints are available on GitHub at https://github.com/Ma-Lab-Berkeley/Nestor .

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 67 of its 81 references that are in the map. Submitted 22 Oct 2026.

Builds on

67 of 81 references.

Closest ancestors · 13

Same direction, newest first

  1. 2025Qwen3 Technical Report14 May
  2. 2025MoBA: Mixture of Block Attention for Long-Context LLMs18 Feb
  3. 2025Parameters vs FLOPs: Scaling Laws for Optimal Sparsity for Mixture-of-Experts Language Models21 Jan
  4. 2025MiniMax-01: Scaling Foundation Models with Lightning Attention14 Jan
  5. 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
  6. 2024Branch-Train-MiX: Mixing Expert LLMs into a Mixture-of-Experts LLM12 Mar
  7. 2024Scaling Laws for Fine-Grained Mixture of Experts12 Feb
  8. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
  9. 2024Mixtral of Experts8 Jan
  10. 2023ModuleFormer: Modularity Emerges from Mixture-of-Experts7 Jun
  11. 2023Lifelong Language Pretraining with Distribution-Specialized Experts20 May
  12. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
1 more
  1. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan

Other references · 54

  1. 2017Attention Is All You Needcited by 62,125
  2. 2020Language Models are Few-Shot Learnerscited by 33,113
  3. 2024The Llama 3 Herd of Modelscited by 16,113
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  5. 2020Scaling Laws for Neural Language Modelscited by 7,118
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  7. 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
  8. 2020Longformer: The Long-Document Transformercited by 3,606
  9. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
  10. 2023Code Llama: Open Foundation Models for Codecited by 2,242
  11. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,231
  12. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 2,225
38 more
  1. 2020GLU Variants Improve Transformercited by 2,000
  2. 2020Reformer: The Efficient Transformercited by 1,718
  3. 2019Generating Long Sequences with Sparse Transformerscited by 1,641
  4. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
  5. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,617
  6. 2016Progressive Neural Networkscited by 1,424
  7. 2017PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruningcited by 921
  8. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
  9. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 709
  10. 2022Mixture-of-Experts with Expert Choice Routingcited by 655
  11. 2025Kimi K2: Open Agentic Intelligencecited by 636
  12. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 491
  13. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  14. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 463
  15. 2023Llemma: An Open Language Model For Mathematicscited by 410
  16. 2017PathNet: Evolution Channels Gradient Descent in Super Neural Networkscited by 378
  17. 2016Expert Gate: Lifelong Learning with a Network of Expertscited by 376
  18. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 334
  19. 2023Effective Long-Context Scaling of Foundation Modelscited by 324
  20. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 294
  21. 2022Unified Scaling Laws for Routed Language Modelscited by 266
  22. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 249
  23. 2024Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Expertscited by 236
  24. 2020Supermasks in Superpositioncited by 230
  25. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 199
  26. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 183
  27. 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 181
  28. 2024How to Train Long-Context Language Models (Effectively)cited by 168
  29. 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 136
  30. 2023A Spectral Condition for Feature Learningcited by 136
  31. 2020A Theoretical Analysis of Catastrophic Forgetting through the NTK Overlap Matrixcited by 111
  32. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 91
  33. 2026Attention Residualscited by 79
  34. 2025Command A: An Enterprise-Ready Large Language Modelcited by 69
  35. 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 62
  36. 2024Theory on Mixture-of-Experts in Continual Learningcited by 57
  37. 2024MoH: Multi-Head Attention as Mixture-of-Head Attentioncited by 49
  38. 2025Joint MoE Scaling Laws: Mixture of Experts Can Be Memory Efficientcited by 36

50 most cited of 54 All 54 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Mixture of Tokens: Continuous MoE through Cross-Example Aggregation
  2. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Models
  3. 2026Uncovering Intra-expert Activation Sparsity for Efficient Mixture-of-Expert Model Execution
  4. 2023Approximating Two-Layer Feedforward Networks for Efficient Transformers
  5. 2025DualSparse-MoE: Coordinating Tensor/Neuron-Level Sparsity with Expert Partition and Reconstruction
  6. 2023Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference
  7. 2026Sparsely gated tiny linear experts
  8. 2026Data Scarcity and Model Sparsity: Mixtures-of-Experts Overfit More to Repeated Data