Accordion: Elastic-Depth Inference via Fixed-Prefix Layer Looping
Yudong Zhang, Wei Ding, Kaili Zheng, Yuchen Ding, Zhenyu Zhang
Key points
From the paper's conclusion- We introduce Accordion, a mixture-of-experts-based model that supports five inference budgets through fixed-prefix layer looping.
Abstract
Large language models serve applications with diverse inference budgets, but training and maintaining separate models for each budget incurs substantial costs. Recent Looped Transformers enable flexible inference computation through parameter reuse, but maintaining strong performance across different inference budgets remains an open challenge. We introduce Accordion, a mixture-of-experts-based model that supports five inference budgets through fixed-prefix layer looping. Each budget follows a pre-defined execution path, while the minimum budget retains the unlooped model. Joint pretraining samples one budget per micro-batch and optimizes its next-token prediction loss without additional cross-budget consistency objectives. We further preserve these inference budgets through supervised fine-tuning and reinforcement learning, where parameter-group merging and budget-matched multi-teacher on-policy distillation integrate three domain experts into one model. After 3.6T tokens of pretraining, increasing inference depth improves Accordion-6B-A0.5B's five-category macro-average across 37 tasks by 3.01 percentage points, with the middle budget capturing 89% of this gain using half as many additional layer executions. The final model surpasses each domain expert on its corresponding task-and-budget average, while achieving strong instruction-following performance across all budgets and retaining depth-dependent gains in mathematical reasoning and code generation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Scaling Looped MoE Language Models under Matched Budgets: Information Flow and Parameter AllocationarXiv · 2026
- SMELT: Scaling Laws for Compute-Matched MoE Looped TransformersarXiv · 2026
- LoopFold: Parallelizing Recurrent Depth in Looped TransformersarXiv · 2026
- Decoding Looped Transformers Better for (Almost) FreearXiv · 2026
- Scaling Laws for Looped Mixture of ExpertsarXiv · 2026
- Looped Transformers as OptimizersarXiv · 2026