AlterNet: Adaptive-Depth Mixture-of-Experts with Learned Halting for Elastic Inference
Abstract
Most LLM architectures have fixed compute demands determined at training time. We propose a novel architecture that combines the Mixture-of-Experts architecture with shallow experts and a novel dynamic-depth system to make the extent of a forward pass dynamically adjustable. Our approach lets the model automatically determine the compute needed for a given task, paired with a system to scale it down after training without retraining when the execution environment demands faster or cheaper inference. To achieve this, we introduce an iterative computation mechanism, sequence-level depth-based routing steered by a halting mechanism within the experts, a depth encoding that lets the model track its progress in the chain, and a regularization mechanism that incentivizes the model to use allocated compute efficiently. We present initial benchmarks and discuss future research directions.
Create a lesson
Related papers
Multi-GPU MoE Inference with Adaptive Expert Offloading
Shared title terminology · William X. Zheng, Zhongjie Chen, Shuo Yang et al.
Ensemble Routing for Prompt-Adaptive Cost-Aware LLM Inference
Shared title terminology · Saul Urso, Emanuele Carlini, Patrizio Dazzi et al.
AutoEMatic: Runtime-Adaptive Mixed-Precision LLM Inference via Automatic Exponent-Mantissa Refinement
Shared title terminology · Akshat Ramachandran, Reena Elangovan, Rangharajan Venkatesan et al.
SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence
Shared title terminology · Junbo Shen
MetaSkill: Reusable Problem-Solving Methods for Adaptive Skill Orchestration in LLM Agents
Shared title terminology · Tianxing Wang, Mingming Zhao, Shuai Huang et al.
Functional Depth Is Learned: Isolating the Computation That Layers Produce Only Together
Shared title terminology · JaeSeong Kim, KyungTae Lim