Pruned Model Selection for Edge Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deploying machine learning models to edge nodes is challenging due to resource constraints and the need for data privacy, as each device has local data that should be kept private, and computing resources at many nodes are inadequate for exhaustive model training.

Innovation Solution

A system that generates and deploys pruned machine learning models by initializing candidate models at source nodes, training them using distilled datasets, pruning them based on magnitude criteria, and validating them across multiple nodes to ensure accuracy and privacy, with a central node coordinating the process to select and deploy the winning candidate model to target nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If machine learning models are trained exhaustively at edge nodes, then model accuracy is improved, but computing resource requirements increase beyond what many nodes can provide

Engineering Contradiction:
Improvemodel accuracyVSAvoidcomputing resource requirements
Core Design Contradiction:
Measurement precisionVSPower

Solution Approach 1:

The model training process is segmented into two phases: (1) centralized pre-training at a server with sufficient resources to create a high-accuracy base model, and (2) distributed fine-tuning at edge nodes to adapt the model to local data. This segmentation allows the accuracy-intensive work to be done centrally while the resource-constrained nodes perform lighter adaptation tasks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The base model is preliminarily trained and optimized at a centralized server before being deployed to edge nodes. This preliminary action includes comprehensive training on aggregated data, hyperparameter tuning, and model pruning, so that when the model reaches edge nodes, it already possesses high accuracy and requires only minimal local adaptation.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If local data is shared across nodes for model training, then model generalization is improved, but data privacy is compromised

Engineering Contradiction:
Improvemodel generalizationVSAvoiddata privacy
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

A centralized server acts as an intermediary that aggregates data from multiple nodes, trains the base model using this aggregated data, and then distributes the trained model back to nodes. This intermediary approach allows the model to learn from diverse data sources improving generalization, while individual nodes never directly share their raw data with other nodes, preserving data privacy.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Instead of sharing original data across nodes, the system creates and shares copies in the form of trained model parameters and weights. The centralized server creates a copy of the learned knowledge from aggregated data and distributes it to all nodes, enabling generalization without exposing sensitive raw data.

Inventive Principle:
Principle #26Copying

3Measurement precision

If full models are deployed to edge nodes, then model accuracy is maintained, but device resource consumption increases

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

Solution Approach 1:

The system extracts and removes unnecessary components from the full model before deploying to edge nodes. This includes pruning redundant neurons and connections, removing unused layers, and optimizing the model architecture based on what is actually needed for the specific edge application, thereby reducing resource consumption while maintaining essential accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The model parameters are changed and optimized for edge deployment by adjusting hyperparameters, quantizing weights to lower precision, and retraining with constraints on model size. These parameter changes enable the model to function with reduced computational requirements while preserving acceptable accuracy levels.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240303491A1Efficient parallel search for pruned model in edge environments
Publication Date: 2024.09.12 DELL PROD LP
  • US20240303491A1 patent drawing
  • US20240303491A1 patent drawing
  • US20240303491A1 patent drawing

AI summary

Searching for a model is disclosed. Source nodes are configured to generate pruned candidate models starting from a distribution of models. A central node receives the pruned candidate models and their associated loss values. The central mode causes the pruned candidate models to be tested in a distributed manner at generalization nodes. Loss values returned to the central mode are associated with the pruned candidate models. The pruned candidate model with a lowest loss score, based on the distributed generalization testing, is selected as a winning candidate model and deployed to target nodes.