← All entries
Paper2026#1447

Nested Sparsity for Scalable Pretraining and Continual Learning (Nestor)

Summary

Nestor generalizes MoE conditional computation from the MLP to attention. Each block contains several attention operators called columns; a column router sends each token to a few columns, and each column has its own experts selected by a second router, so the two sparsities nest hierarchically. Each token attends only among tokens routed to the same column. With a single column Nestor is exactly an MoE transformer; with a single expert, a dense transformer. In the experiments each block has 8 columns, and the number of columns a token uses grows with depth (3 in the first block to all 8 in the last). Pretraining (dense, MoE, Nestor at 100M/200M/500M/1B active parameters, DCLM): Nestor achieves the lowest held-out loss at every scale at equal or less compute and comparable total parameters; fitted scaling laws estimate MoE needs 1.13–1.29x Nestor's compute to match its loss, dense 3.1–4.1x, with neither factor shrinking as scale grows. Domain adaptation (books, math, code, German): all three models gain about equally on the new domain, but Nestor forgets 3% less than MoE on average while dense forgets 21% more (website's relative figures). Long-context extension 4k→64k: each column attends only within its routed subset, so per-token cost grows more slowly with length; at equal tokens Nestor preserves its pretraining advantage, at equal compute its advantage grows with context length, with saved attention FLOPs funding more continued-pretraining tokens. Theory (stylized one-layer linear-attention model with hierarchical coarse/fine labels): the nested predictor fits one pattern and row space per column from all that column's experts, while the flat MoE predictor fits one row space per expert plus C^2 pattern blocks (C(C-1) of them zero at the target but still fit from data); compute advantage grows with context length, and in the forgetting analysis non-target columns never change while the flat predictor's shared value map moves, producing forgetting that grows with row-space overlap.

Venue
arXiv cs.LG, paper submitted 2026-10-22, post 2026-10-27 3:46 AM ET; at the 2026-10-27 browser check the post showed 5,882 views, 23 reposts, 69 likes, 46 bookmarks, 1 reply (reply content hidden behind X's login gate — not read)
Source
x
Access
free
Language
en
Added
Oct 27, 2026
Verified
Oct 27, 2026
Found via
#TianzheC

Research notes

  • License: paper arXiv default nonexclusive-distrib (abs page shows no CC/custom marker; API record carries no license element — same determination as Vela #37) — no insert-time license check needed. Code repo: NO LICENSE file in the repo root at the 2026-10-27 check — flag code license unstated at insert.
  • Code: repo public, main branch, 12 commits, 4 stars at the 2026-10-27 check (created 2026-10-12); contains model, training stack, and the twelve pretraining-run configs ({dense,moe,nestor}_{100m,200m,500m,1b}); repo notes training on its 11B-token local DCLM corpus may differ slightly from the paper, exact reproduction requires the full 105B-token corpus. Abstract states code and checkpoints are available on GitHub — checkpoint files were not separately verified in this check.

Similar entries