← All entries
Paper2024#557

Tuning Language Models by Mixture-of-Depths Ensemble

Summary

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.

Venue
arXiv / University of Cambridge / Imperial College London
License
CC BY 4.0
License family
Permissive
Purpose
Turn late-layer logits into a cheap trainable ensemble so PEFT can use them instead of extra LoRA on those layers
Scale
LLaMA2-7B and LLaMA3-8B; 7 arithmetic (AddSub/AQuA/GSM8K/MAWPS/MultiArith/SingleEq/SVAMP), 5 commonsense + 2 LM, MT-Bench; LoRA batch 16, lr 3e-4, 2 epochs
Time period
2024-10-16 (arXiv 2410.13077 v1); last revised 2026-06-24 (v2). HF has no paper page (API 404).
Added
Oct 1, 2026
Research status
done

From the source

Published
Oct 16, 2024
Last revised
Jun 24, 2026
arXiv categories
cs.CL, cs.AI
Citations
1
References
51

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Transformer-based Large Language Models (LLMs) traditionally rely on final-layer loss for finetuning and final-layer representations for predictions, potentially overlooking the predictive power embedded in late layers. Interpretability tools such as the logit lens show that late-layer representations already carry largely formed, task-relevant predictions; here we ask whether that observation can be turned into an actionable training signal. We find that focusing tuning effort on these layers can yield losses comparable to those of the final layer, with complementary test-time behaviour. Building on this, we introduce a tuning framework, Mixture-of-Depths Ensemble (MoDE), which treats the late layers as an ensemble that contributes to the final logits through learned routing weights. MoDE can be applied on top of any existing tuning method (e.g., LoRA) and, in our experiments, modestly improves reasoning performance at a small parameter overhead. We present MoDE as a mechanism study showing that late-layer logits can be made directly useful for tuning, and that they can substitute for substantially larger trainable modules with comparable performance.

Tags

modemixture-of-depthspeftloralogit-lenslate-layerscambridgeimperial

Topics

parameter-efficient fine-tuning, late-layer logits, ensemble routing

Research notes

  • Primary: arxiv abs (cs.CL; also cs.AI). License CC BY 4.0 on HTML at check. Cambridge (hl678@cam.ac.uk) / Imperial (l.specia@imperial.ac.uk). No official code on abs. HF has no paper page (API 404). Discord posted PDF with a note that this is a different Mixture of Depths than the other one. Uses public math/commonsense sets; no new corpus, so no datasets_local row.

Cites, within this collection 1

Similar entries