Understanding Expert Structures on Minimax Parameter Estimation in Contaminated Mixture of Experts

Fanqi Yan, Huy Nguyen, Le Quang Dung, Pedram Akbarian, Nhat Ho

Abstract

We conduct the convergence analysis of parameter estimation in the contaminated mixture of experts. This model is motivated from the prompt learning problem where ones utilize prompts, which can be formulated as experts, to fine-tune a large-scale pre-trained model for learning downstream tasks. There are two fundamental challenges emerging from the analysis: (i) the proportion in the mixture of the pre-trained model and the prompt may converge to zero during the training, leading to the prompt vanishing issue; (ii) the algebraic interaction among parameters of the pre-trained model and the prompt can occur via some partial differential equations and decelerate the prompt learning. In response, we introduce a distinguishability condition to control the previous parameter interaction. Additionally, we also investigate various types of expert structure to understand their effects on the convergence behavior of parameter estimation. In each scenario, we provide comprehensive convergence rates of parameter estimation along with the corresponding minimax lower bounds. Finally, we run several numerical experiments to empirically justify our theoretical findings.

Introduction

In the era of Large Language Models (LLMs), Parameter-Efficient Fine-Tuning (PEFT) has become the standard for adapting massive pre-trained models to downstream tasks. Prompt tuning, a popular PEFT method, involves attaching small trainable "prompts" to a frozen pre-trained model. This paper provides a theoretical foundation for this process by modeling it as a "Contaminated Mixture of Experts" (MoE). In this framework, the pre-trained model is a fixed, dominant expert, while the prompt is a small, evolving expert.

The analysis identifies two primary hurdles:

  1. Prompt Vanishing: As the sample size increases, the relative weight of the prompt may shrink, making it difficult to estimate its parameters.
  2. Prompt Merging: If the prompt's structure is too similar to the pre-trained model (e.g., both linear), their parameters become algebraically entangled, significantly slowing convergence.

Methods

The researchers utilize Maximum Likelihood Estimation (MLE) to characterize the convergence of estimated parameters as the number of samples ($n$) grows. Key technical contributions include:

  • Distinguishability Condition: A mathematical criterion to ensure the prompt can be uniquely identified from the pre-trained model.
  • PDE-based Analysis: Using the Heat Equation to model interactions between mean and variance parameters in Gaussian settings.
  • Minimax Lower Bounds: Proving that the derived convergence rates are optimal for the given model structures.

Key Results and Insights

The study reveals a hierarchy of convergence rates depending on the expert structure and the relationship between the prompt and the pre-trained model.

Summary of convergence rates for different expert structures and conditions.

The Role of Non-Linearity

A critical finding is the "Heat Equation" bottleneck. In Gaussian MoEs with linear experts, parameters for the intercept and variance are linked via the heat equation, creating a mathematical "drag" that slows convergence to $O(n^{-1/4})$ or worse. However, employing non-linear activation functions (e.g., Sigmoid, ReLU) breaks this link. By making the prompt "distinguishable" from the pre-trained model's base state, non-linearity restores the faster $O(n^{-1/2})$ convergence rate for the mixing proportion.

Empirical Validation

Numerical experiments using synthetic datasets confirm these theoretical predictions. Log-log plots of estimation errors against sample size $n$ demonstrate clear slope changes corresponding to the predicted rates for both fixed and vanishing prompt weights ($\lambda^*$).

Numerical experiments validating convergence rates for fixed (Case i) and vanishing (Case ii) prompt weights.

Conclusion

This work establishes the first comprehensive convergence analysis for contaminated MoE models as a proxy for prompt learning. It highlights that the choice of expert architecture—specifically the use of non-linear structures—is vital for efficient parameter estimation. Future work will extend these findings to multiple prompts, input-dependent gating mechanisms, and broader distribution families beyond the Gaussian assumption.

Reference: Yan, F., Nguyen, H., Le, D., Akabrian, P., & Ho, N. (2025). Understanding Expert Structures on Minimax Parameter Estimation in Contaminated Mixture of Experts. Proceedings of the 28th International Conference on Artificial Intelligence and Statistics (AISTATS).

Summary updated

BibTeX
@inproceedings{yan2025understanding,
  author = {Fanqi Yan and Huy Nguyen and Le Quang Dung and Pedram Akbarian and Nhat Ho},
  title = {{Understanding Expert Structures on Minimax Parameter Estimation in Contaminated Mixture of Experts}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=yMh0z4kTw8},
}
Figure