Prior-Guided Mixture of Experts Routing for Stable LLM Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning machine learning models, such as large language models (LLMs), are large, slow, and have high memory and computational demands, making them difficult to train and deploy on resource-constrained devices like mobile devices, and face challenges like expert collapse and prolonged training times.

Innovation Solution

Implementing prior-guided mixture of experts (MOEs) with a gating regularization loss and routing functions to inject priors into expert-execution patterns, ensuring more temporally consistent decisions and efficient on-device execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If deep learning models are used to achieve high quality results in various tasks, then accuracy and versatility are improved, but model size, memory demands, and computational costs increase

Engineering Contradiction:
ImproveaccuracyVSAvoidmodel size
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The model is divided into multiple expert networks, each specialized in handling specific types of tokens or tasks. The router segments the input space and directs different tokens to appropriate experts, allowing the system to achieve high accuracy for diverse tasks while keeping each expert relatively small and efficient.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The mixture of experts architecture creates a universal model that can handle multiple tasks and token types through a single unified structure. The router dynamically selects which experts to activate based on the input, enabling one model to perform versatile functions across different NLP tasks without requiring separate specialized models.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If deep learning models are used to achieve high quality results, then accuracy is improved, but processing speed decreases

Engineering Contradiction:
ImproveaccuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

By segmenting the model into specialized experts and using a router to activate only the necessary experts for each input token, the system processes tokens more efficiently. This selective activation reduces the computational burden compared to passing every token through all model parameters, thereby improving processing speed while maintaining accuracy.

Inventive Principle:
Principle #1Segmentation

3Use of energy by moving object

If mixture of experts models are used to reduce computational costs, then resource efficiency is improved, but training stability deteriorates due to expert collapse

Engineering Contradiction:
Improvecomputational costVSAvoidtraining stability
Core Design Contradiction:
Use of energy by moving objectVSStability of the object's composition

Solution Approach 1:

The auxiliary loss function provides feedback during training to monitor and regulate the activation distribution across experts. This feedback mechanism prevents any single expert from dominating (expert collapse) by encouraging more balanced utilization, thereby stabilizing training while maintaining the computational efficiency benefits of selective expert activation.

Inventive Principle:
Principle #23Feedback

4Use of energy by moving object

If mixture of experts models are used to reduce computational costs, then resource efficiency is improved, but training time increases

Engineering Contradiction:
Improvecomputational costVSAvoidtraining time
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

The auxiliary loss function guides the training process by providing continuous feedback on expert activation patterns. This feedback accelerates convergence by preventing pathological behaviors like expert collapse early in training, reducing the overall training time required to achieve stable and effective model performance.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260037774A1Prior-guided mixture of experts
Publication Date: 2026.02.05 QUALCOMM INC
  • US20260037774A1 patent drawing
  • US20260037774A1 patent drawing
  • US20260037774A1 patent drawing

AI summary

Systems and techniques are described herein for language processing. For example, a computing device can determine, using a router of a mixture of experts (MOE) machine learning model, a distribution of tokens for a respective category associated with each expert layer of a plurality of expert layers of the MOE model. The computing device can train each expert layer of the plurality of expert layers based on matching the distribution of tokens associated with each respective expert layer of the plurality of expert layers to a prior distribution of the tokens for the respective category associated with each respective expert layer of the plurality of expert layers.