Explore the research collection
2 entries · Follow this search
- Paper
Mixture-of-Depths: Dynamically allocating compute in transformer-based language models
MoD caps each (or every other) block to k tokens for attention+MLP; others take a residual. Expert-choice top-k keeps a static graph. IsoFLOP: 12.5% capacity every other block matches or beats vanilla at fewer FLOPs/step (up to ~50–66% faster sampling). An auxiliary router predictor enables causal decode (~99% top-k match). No official code on abs. Not the Luo/Specia Mixture-of-Depths Ensemble (papers_local 576).
- Paper
Tuning Language Models by Mixture-of-Depths Ensemble
Not the DeepMind Mixture-of-Depths (dynamic compute); Discord flagged the name collision. MoDE reads logits off late layers (logit-lens style), trains a router, and adds per-layer norm/distillation. Plug-in on LoRA/DoRA. LLaMA2-7B arithmetic avg 54.8 (LoRA+MoDE) / 55.1 (DoRA+MoDE) vs LoRA ALL 54.5 / DoRA 54.7; LLaMA3-8B 77.6 / 77.9 vs 77.2 / 77.5. Replacing late-layer LoRA with MoDE is +0.04% params vs +10.3%. Sparse top-k routing keeps most accuracy and speeds generation up to 1.6×. No official code on abs.