On Parameter Estimation in Deviated Gaussian Mixture of Experts

Huy Nguyen, Khai Nguyen, Nhat Ho

Abstract: We consider the parameter estimation problem in the deviated Gaussian mixture of experts in which the data are generated from $(1 - \lambda^{\ast}) g_0(Y| X)+ \lambda^{\ast} \sum_{i = 1}^{k_{\ast}} p_{i}^{\ast} f(Y|(a_{i}^{\ast})^{\top}X+b_i^{\ast},\sigma_{i}^{\ast})$, where $X, Y$ are respectively a covariate vector and a response variable, $g_{0}(Y|X)$ is a known function, $\lambda^{\ast} \in [0, 1]$ is true but unknown mixing proportion, and $(p_{i}^{\ast}, a_{i}^{\ast}, b_{i}^{\ast}, \sigma_{i}^{\ast})$ for $1 \leq i \leq k^{\ast}$ are unknown parameters of the Gaussian mixture of experts. This problem arises from the goodness-of-fit test when we would like to test whether the data are generated from $g_{0}(Y|X)$ (null hypothesis) or they are generated from the whole mixture (alternative hypothesis). Based on the algebraic structure of the expert functions and the distinguishability between $g_0$ and the mixture part, we construct novel Voronoi-based loss functions to capture the convergence rates of maximum likelihood estimation (MLE) for our models. We further demonstrate that our proposed loss functions characterize the local convergence rates of parameter estimation more accurately than the generalized Wasserstein, a loss function being commonly used for estimating parameters in the Gaussian mixture of experts.

The Challenge of Convergence in Mixture Models

Mixture of Experts (MoE) models are fundamental components in modern machine learning, powering architectures from speech recognition systems to Large Language Models (LLMs). This paper focuses on a "deviated" MoE setup, where data is assumed to originate from a combination of a known "null" distribution ($g_0$) and an unknown mixture of Gaussian experts. This configuration is particularly relevant for goodness-of-fit testing: determining if data follows a known pattern or contains an underlying, unaccounted-for mixture.

The primary technical hurdle in these models is convergence rate analysis. When using Maximum Likelihood Estimation (MLE) to estimate parameters like means, variances, and weights, researchers need to know how quickly these estimates improve as sample size ($n$) increases. While previous research relied on the generalized Wasserstein distance, this metric often proves too "coarse," predicting uniform slow convergence rates and failing to distinguish between components that converge at different speeds based on their local environment.

Methodology: Voronoi-Based Loss Functions

To address the limitations of global metrics, the authors propose novel Voronoi-based loss functions ($D_1$ and $D_2$). The core of this approach is partitioning the parameter space into Voronoi cells centered at the true parameters of the experts. This allows for a localized analysis of how fitted components behave relative to each true expert.

Voronoi partitioning of the parameter space, showing true experts (red crosses) and fitted components (blue dots).

Beyond partitioning, the methodology leverages several key technical insights:

  1. Distinguishability Condition: A formal condition determines if the known function $g_0$ is algebraically distinct from the expert mixture.
  2. PDE Leverage: The authors utilize a heat-equation-like Partial Differential Equation (PDE) relating the Gaussian density's derivatives: $\frac{\partial^2 f}{\partial b^2} = 2 \frac{\partial f}{\partial \sigma}$.
  3. Polynomial Systems: By applying high-order Taylor expansions and grouping terms via the PDE, the estimation problem is transformed into a system of polynomial equations, where solvability dictates the final convergence rates.

Key Theoretical Results

The research distinguishes between "exact-fitted" components (where a true expert is approximated by exactly one fitted component) and "over-fitted" components (where multiple components crowd a single expert).

Summary of convergence rates for different settings and loss functions, comparing the proposed Voronoi losses to the generalized Wasserstein distance.

As summarized in the table above, the paper proves that exact-fitted parameters enjoy a fast parametric convergence rate of $O(n^{-1/2})$. In contrast, over-fitted components see significantly slower rates (e.g., $O(n^{-1/4})$). Crucially, the Voronoi loss functions $D_1$ and $D_2$ successfully capture these nuances, whereas the generalized Wasserstein distance ($\widetilde{W}$) provides a looser, suboptimal bound.

Empirical Validation and Future Directions

Simulation studies using synthetic data confirm these theoretical findings. By generating covariates from a standard normal distribution and response variables under both "Distinguishable" and "Non-distinguishable" settings, the authors used the Expectation-Maximization (EM) algorithm to verify that the empirical slopes on log-log plots match their predicted theoretical rates.

While this work provides a rigorous foundation for well-specified models with constant gating, future research is needed to extend these results to misspecified models and more complex architectures where mixing weights depend on the input $X$ (e.g., softmax or Gaussian gates).

Summary updated

BibTeX
@inproceedings{nguyen2024parameter,
  author = {Huy Nguyen and Khai Nguyen and Nhat Ho},
  title = {{On Parameter Estimation in Deviated Gaussian Mixture of Experts}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=85eOJTKsl0},
}
Figure