arXiv:2609.13682v1 Announce Type: new Abstract: We introduce LayerRoute, a parameter-efficient method for adaptive transformer layer-skipping that combines per-layer hard-gated routing (trained via a straight-through estimator) with joint LoRA fine-tuning. LayerRoute augments each of the 24 transformer blocks in Qwen2.5-0.5B-Instruct with a lightweight per-layer router (~21.5K parameters) and LoRA adapters (rank 8, ~1.08M parameters), training both jointly under a gate-regularized language-modeling objective. Across 10 independently-seeded training runs, LayerRoute converges to an identical skip-pattern structure in every run - a consistent set of 9 middle layers (8-16) becomes skip-eligible in all 10 seeds - and delivers genuine, verified wallclock speedup in every run (1.02x-1.06x, mean 1.04x). Quality is preserved or improved in every configuration tested: joint LoRA adaptation yields a perplexity improvement over the unmodified backbone in all 10 seeds (mean delta = -1.16 and -1.11 across the two evaluation splits used). We further verify the router performs genuine, non-trivial per-input computation: gate decisions in skip-eligible layers change the actual skip/run outcome for 87-100% of held-out samples, confirming real input-dependent routing rather than a fixed pruning pattern. LayerRoute trains in under 7 minutes on a single A100 and adds negligible overhead beyond the routing decision itself. We report our full reproducibility methodology, including a systematic diagnostic investigation into what determines the router's per-input decisions, as part of this work.
LayerRoute: Adaptive Layer-Skipping with LoRA-Preserved Quality for Efficient LLM Inference
Researchers introduced LayerRoute, a parameter-efficient method for adaptive transformer layer-skipping that combines per-layer hard-gated routing with joint LoRA fine-tuning, according to an arXiv paper (2609.13682v1). Applied to each of the 24 transformer blocks in Qwen2.5-0.5B-Instruct with routers of roughly 21.5K parameters and rank-8 LoRA adapters of about 1.08M parameters, LayerRoute converged to the same skip pattern in all 10 independently-seeded training runs, making 9 middle layers (8-16) skip-eligible, and delivered verified wallclock speedups of 1.02x-1.06x (mean 1.04x) in every run. Joint LoRA adaptation improved perplexity over the unmodified backbone in all 10 seeds (mean delta of -1.16 and -1.11 across two evaluation splits), and gate decisions changed the skip/run outcome for 87-100% of held-out samples; training takes under 7 minutes on a single A100.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.