Tuning Language Models by Mixture-of-Depths Ensemble

작성자

카테고리:

← 피드로
arXiv cs.AI · Haoyan Luo, Lucia Specia · 2026-06-26 AI

[Submitted on 16 Oct 2024 (v1), last revised 24 Jun 2026 (this version, v2)]

View PDF

Abstract: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.

Submission history

From: Haoyan Luo [view email]
[v1] Wed, 16 Oct 2024 22:51:45 UTC (12,478 KB)
[v2] Wed, 24 Jun 2026 22:05:06 UTC (6,261 KB)

원문에서 계속 ↗

추출 본문 · 출처: arxiv.org · https://arxiv.org/abs/2410.13077

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다