Sparse Sub-Network Training With Divergence Regularization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large neural networks require significant computing resources for training and inference, leading to increased processing time and resource consumption, particularly in online services demanding rapid responses.

Innovation Solution

A training technique for sparsely-activated sub-networks processes batches in two passes, randomly assigning sub-networks for each pass to minimize loss and divergence, eliminating the need for traditional gating mechanisms and ensuring balanced training across sub-networks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a large neural network is used to improve model performance, then model accuracy is improved, but computing resources and processing time increase

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

Solution Approach 1:

The neural network is divided into multiple sparsely-activated sub-networks, where each sub-network processes a subset of data. This segmentation allows the system to maintain high model accuracy through multiple specialized sub-networks while reducing processing time by activating only relevant sub-networks for each input batch, rather than processing through the entire large network.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically selects and activates different sub-networks based on the input data characteristics. During training and inference, sub-networks are randomly assigned to process different batches, creating a dynamic processing architecture that adapts to varying data requirements, thereby reducing average processing time while maintaining overall model accuracy.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If a large neural network is used to improve model performance, then model accuracy is improved, but computing resources increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidcomputing resources
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The large neural network is segmented into multiple smaller sparsely-activated sub-networks. Each sub-network contains a subset of the total parameters, and only the necessary sub-networks are activated for processing each batch. This reduces the immediate computing resource consumption and energy usage while maintaining the overall model accuracy through the collective capability of all sub-networks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different sub-networks are trained with different random assignments of parameters and activations, creating local specialization. Each sub-network develops expertise in specific regions of the parameter space, allowing the system to achieve high overall accuracy while consuming fewer resources by activating only the locally-optimal sub-networks for each input batch.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If traditional gating mechanisms are used to route inputs to experts, then input routing is achieved, but algorithmic complexity and load-balancing problems increase

Engineering Contradiction:
Improveinput routing capabilityVSAvoidalgorithmic complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The traditional gating mechanism is completely removed from the system. Instead of using complex learned gating logic to route inputs to experts, the patent extracts this function and replaces it with simple random assignment of sub-networks to batches. This eliminates the algorithmic complexity of gating mechanisms while maintaining the ability to distribute inputs across multiple sub-networks, and avoids load-balancing problems by using uniform random assignment.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12579426B2Training a neural network having sparsely-activated sub-networks using regularization
Publication Date: 2026.03.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12579426B2 patent drawing
  • US12579426B2 patent drawing
  • US12579426B2 patent drawing

AI summary

A training technique trains a neural network having sparsely-activated sub-networks. It does so by processing plural batches of training data in two respective passes of the neural network, yielding first prediction information and second prediction information. For each batch, the technique randomly assigns different sub-networks in the first and second passes of the neural network to process the batch. Over the course of training, the technique attempts to minimize loss information, which describes the difference between the first prediction information and ground-truth information, and the difference between the second prediction information and the ground-truth information. Simultaneously, the technique attempts to minimize divergence information, which describes the divergence of the first prediction information from the second prediction information (and vice versa). The technique can produce an inference-stage model by arbitrarily selecting at least one of the trained sub-networks in the neural network, for use in a production system.