AI Model Pruning Using Mutual Information and Subunit Ranking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern machine learning (ML) models have grown large in size due to complexity, requiring excessive resources and computation time, necessitating a reduction in size without significantly impacting performance.

Innovation Solution

The ML model is split into subunits, ranked using stochastic independence (SI) or mutual information (MI) scores, and the lowest-scoring subunits are pruned, followed by retraining to ensure acceptable accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the ML model complexity is increased to handle complex patterns, then the model accuracy is improved, but the model size and resource consumption increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidmodel size
Core Design Contradiction:
Measurement precisionVSWeight of stationary object

Solution Approach 1:

The patent divides the ML model into discrete subunits (layers, neurons, or filters) that can be independently evaluated and selectively removed. This segmentation enables the pruning process to identify and eliminate specific subunits that contribute least to model accuracy, thereby reducing model size while maintaining performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter being optimized from pure accuracy to a balanced metric that considers both accuracy and model size. By introducing stochastic independence scores and mutual information metrics as pruning criteria, the system transforms the optimization problem to find the optimal trade-off point between model complexity and performance.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If the ML model size is increased to capture complex patterns, then the model accuracy is improved, but the computation time increases

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

Solution Approach 1:

The patent extracts and removes unnecessary subunits from the ML model based on their stochastic independence scores. By taking out these redundant components, the model computation time is reduced while the essential functionality and accuracy are preserved through the careful selection of what to remove.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial pruning by removing only the least important subunits rather than eliminating entire model components. This partial action allows the model to retain sufficient complexity for accurate pattern recognition while removing enough redundancy to reduce computation time significantly.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If the ML model size is increased to handle complex datasets, then the model accuracy is improved, but the resource consumption increases

Engineering Contradiction:
Improvemodel accuracyVSAvoidresource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent discards redundant subunits from the model architecture and recovers computational resources by eliminating unnecessary calculations. The stochastic independence analysis identifies which subunits can be safely discarded without impacting model performance, thereby recovering valuable computational resources.

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

By segmenting the model into evaluatable subunits, the patent enables selective removal of resource-intensive components that contribute minimally to accuracy. This segmentation allows the system to reduce overall resource consumption by pruning specific high-cost subunits while maintaining essential model functionality.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250342390A1Systems and methods to efficiently decrease the size of machine learning and generative ai models
Publication Date: 2025.11.06 SAP SE
  • US20250342390A1 patent drawing
  • US20250342390A1 patent drawing
  • US20250342390A1 patent drawing

AI summary

Described herein are techniques for intelligently pruning a machine learning or generative AI model. The model may first be split up into subunits. Each subunit may be analyzed to calculate a suitable measure such as a stochastic independence score or mutual information score. The subunits may in turn be ranked by their associated score and the lowest ranked subunit or subunits may be pruned from the model. The pruned model is then retrained, and accuracy of the pruned model is evaluated. A determination is then made whether to prune more or to return the pruned model.