Mixture of Many Zero-Compute Experts: A High-Rate Quantization Theory Perspective
Yehuda Dar
TL;DR
We study a zero-compute, 1-sparse Mixture of Experts (ZC-1SMoE) for regression by partitioning the input space into many small regions and assigning a constant predictor to each region. By leveraging high-rate quantization theory, we derive both 1D and multidimensional approximation-error characterizations, including optimal segment densities and upper bounds that connect region geometry to prediction error. We also analyze learning the region constants via least squares, proving unbiasedness and establishing a tradeoff between approximation and estimation errors as the number of experts $m$ grows, with empirical validation in 1D. The framework links MoE design to quantization-density optimization, offers guidance on choosing $m$ given data, and lays groundwork for extending to more complex sparsity patterns and segmentation-learning strategies.
Abstract
This paper uses classical high-rate quantization theory to provide new insights into mixture-of-experts (MoE) models for regression tasks. Our MoE is defined by a segmentation of the input space to regions, each with a single-parameter expert that acts as a constant predictor with zero-compute at inference. Motivated by high-rate quantization theory assumptions, we assume that the number of experts is sufficiently large to make their input-space regions very small. This lets us to study the approximation error of our MoE model class: (i) for one-dimensional inputs, we formulate the test error and its minimizing segmentation and experts; (ii) for multidimensional inputs, we formulate an upper bound for the test error and study its minimization. Moreover, we consider the learning of the expert parameters from a training dataset, given an input-space segmentation, and formulate their statistical learning properties. This leads us to theoretically and empirically show how the tradeoff between approximation and estimation errors in MoE learning depends on the number of experts.
