Mixture of Experts Neural Network Subnetwork for Computational Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network systems face challenges in increasing computational capacity without significantly increasing processing time and computational resources, especially for tasks requiring high model capacity to absorb vast knowledge datasets.

Innovation Solution

Incorporating a Mixture of Experts (MoE) subnetwork between neural network layers, which includes multiple expert neural networks and a gating subsystem to selectively activate only a few networks based on input, thereby increasing computational capacity while maintaining reasonable processing time and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the number of expert neural networks is increased to improve computational capacity, then prediction accuracy is improved, but processing time and computational resources increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The neural network is segmented into multiple expert networks, each specialized in processing specific types of inputs. The gating network divides the input space and routes different inputs to different expert networks, allowing the system to achieve high prediction accuracy without requiring all experts to process every input, thus reducing processing time.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of activating all expert networks for every input, the system activates only the necessary subset of experts determined by the gating network. This partial action approach maintains high prediction accuracy for each input type while significantly reducing the computational burden and processing time compared to using all experts universally.

Inventive Principle:
Principle #16Partial or excessive action

2Productivity

If more expert neural networks are activated to increase model capacity, then computational capacity is improved, but computational resources increase

Engineering Contradiction:
Improvecomputational capacityVSAvoidcomputational resources
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The computational resources are segmented and allocated dynamically based on input requirements. The gating network acts as a resource manager that directs computational effort only to the necessary expert networks, achieving high computational capacity when needed while conserving resources during routine processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system employs partial activation of expert networks based on input characteristics. The gating network determines which subset of experts to activate, ensuring high computational capacity is available for complex inputs while minimizing resource consumption for simpler inputs, thus resolving the contradiction between capacity and resource usage.

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If a large number of expert neural networks are used to absorb vast knowledge datasets, then model performance is improved, but device complexity increases

Engineering Contradiction:
Improvemodel performanceVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The complex system is segmented into modular components: the gating network and multiple expert networks. Each expert network can be independently trained and updated, simplifying the overall system management. The gating network provides a unified interface that manages the complexity of coordinating multiple experts, making the system more adaptable while controlling device complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The gating network serves multiple functions: it routes inputs to appropriate experts, balances the workload across experts, and provides a unified output interface. This multi-functionality reduces the need for additional complex control mechanisms, allowing the system to achieve high adaptability while managing device complexity through a single versatile gating component.

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

Data Source

PatentUS20250021799A1Mixture of experts neural networks
Publication Date: 2025.01.16 GOOGLE LLC
  • US20250021799A1 patent drawing
  • US20250021799A1 patent drawing
  • US20250021799A1 patent drawing

AI summary

A system includes a neural network that includes a Mixture of Experts (MoE) subnetwork between a first neural network layer and a second neural network layer. The MoE subnetwork includes multiple expert neural networks. Each expert neural network is configured to process a first layer output generated by the first neural network layer to generate a respective expert output. The MoE subnetwork further includes a gating subsystem that selects, based on the first layer output, one or more of the expert neural networks and determine a respective weight for each selected expert neural network, provides the first layer output as input to each of the selected expert neural networks, combines the expert outputs generated by the selected expert neural networks in accordance with the weights for the selected expert neural networks to generate an MoE output, and provides the MoE output as input to the second neural network layer.