Adaptive ML Model Lightweighting via Depthwise Separable Convolution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing machine learning models, particularly neural networks, are resource-intensive and inefficient on devices with limited computational power, such as mobile devices, due to their high memory and computation requirements, which hinders their effective deployment in applications like real-time image processing.
Innovation Solution
A method and device for adapting machine learning models by replacing layers with lightweight layers, such as depthwise separable convolutional layers, based on available resource levels, using a parameter transformation model to reduce the number of kernel weights and computation requirements while maintaining accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a standard machine learning model is used, then accuracy is maintained, but computational resources and memory usage become excessive
Solution Approach 1:
The patent applies parameter changes by transforming the parameters of convolutional layers from standard convolutions to depthwise separable convolutions. This transformation modifies the mathematical operations and parameter structures to reduce computational complexity while maintaining model accuracy, directly addressing the contradiction between accuracy and resource consumption
Solution Approach 2:
The patent segments the convolutional operation into two distinct parts: depthwise convolution and pointwise convolution. This segmentation allows each part to perform specific functions efficiently, reducing the overall computational burden while preserving the essential feature extraction capabilities needed for accurate inference
2Measurement precision
If a standard machine learning model is used, then accuracy is maintained, but memory usage becomes excessive
Solution Approach 1:
The patent changes the parameter structure of convolutional layers by replacing standard convolution parameters with depthwise separable convolution parameters. This parameter transformation reduces the number of parameters that need to be stored in memory while maintaining the model's accuracy, effectively resolving the contradiction between memory usage and accuracy
3Productivity
If a lightweight layer is used, then computational load is reduced, but model accuracy may deteriorate
Solution Approach 1:
The patent merges depthwise convolution and pointwise convolution into a unified depthwise separable convolutional layer. This merging combines the computational efficiency of depthwise convolution with the feature mixing capabilities of pointwise convolution, achieving both reduced computational load and maintained accuracy
Solution Approach 2:
The patent uses parameter transformation models to generate optimized parameters for lightweight layers based on the original model's parameters. This parameter transformation ensures that the lightweight layers maintain the essential learning capabilities and accuracy of the original model while significantly reducing computational requirements
Data Source
AI summary
Provided is a device for lightening a machine learning model. An electronic device according to an example embodiment may transform original parameters of an original machine learning model according to a lightweighting level based on a parameter transformation model. The electronic device may generate a lightweight model using the transformed parameters. The electronic device may perform an inference operation using the generated lightweight model.


