It Takes a MAESTRO To Prune Bad Experts

Goel, Palaash, Maheshwari, Ayush, Chakraborty, Tanmoy

–arXiv.org Artificial Intelligence 

Additionally, prior MoE-centric efforts tend to rely on local, layer-isolated heuristics such as marginal performance degradation upon the removal of a subset of experts [16] or router-weighted activations produced at each layer [17]. Such criteria treat each MoE layer and/or expert independently and ignore the fact that routing decisions are correlated across layers. An expert that is moderately used at layer ℓ may, in practice, only be reached by tokens that subsequently visit a rarely-used expert at layer ℓ+1; its true contribution to the model's behavior is a property of the joint distribution over routing trajectories, not of any single layer's marginal. A principled importance signal for MoE pruning should therefore capture how routing flows through the entire stack of expert banks, not merely how often each expert is hit in isolation. In this work, we introduce such a signal in the form of MAESTRO, a framework for Markov-chain Approximated Expert Sparsification via Transition-based ROuting. We model the sequence of (layer,expert) pairs visited by a token as a Markov chain over all expert slots of an MoE model, with transitions estimated empirically over a small calibration corpus in an autoregressive manner. This yields a single, time-homogeneous kernel whose stationary distribution reflects global inter-expert dependencies and assigns each expert slot a long-run mass: the fraction of routing time the model spends in that slot under its own generation distribution. Experts with the smallest stationary mass are, by construction, the least frequently visited across all routing trajectories and are the natural candidates for removal.