Unstructured Pruning for MLPs with Tanh Activation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep neural networks face challenges in scalability and practicality due to their high computational demands and memory footprints, particularly in resource-constrained environments like IoT and edge computing.

Innovation Solution

A method for optimizing trained neural network models by identifying and modifying neurons based on their activation values using a hyperbolic tangent (tanh) activation function, which helps in pruning unnecessary neurons and weights, thereby reducing model complexity without significantly affecting accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If deep neural networks are used to improve accuracy and performance, then predictive accuracy is improved, but computational demands and memory footprints increase

Engineering Contradiction:
Improvepredictive accuracyVSAvoidcomputational demands
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes unnecessary neurons from the neural network based on activation value analysis. By identifying neurons with consistently low or saturated activation values across training and validation datasets, the method prunes these neurons to reduce model complexity while preserving predictive accuracy on resource-constrained devices.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of neuron activation by applying threshold-based pruning criteria. Neurons are evaluated based on their activation values, and those falling below certain thresholds or exhibiting saturation patterns are removed. This parameter-based selection enables systematic reduction of computational demands while maintaining model performance.

Inventive Principle:
Principle #35Parameter changes

2Speed

If deep neural networks are deployed on edge devices, then real-time processing capability is improved, but energy consumption increases

Engineering Contradiction:
Improvereal-time processing capabilityVSAvoidenergy consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The patent removes computationally expensive neurons that contribute minimally to the output, thereby reducing the overall computational load. This extraction of unnecessary processing elements directly decreases energy consumption while preserving the real-time processing capability needed for edge device deployment.

Inventive Principle:
Principle #2Taking out (Extraction)

3Device complexity

If pruning is applied to reduce model size, then device complexity is reduced, but model performance may degrade

Engineering Contradiction:
Improvemodel sizeVSAvoidmodel performance
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent employs feedback mechanisms by evaluating neuron activation patterns across both training and validation datasets. This feedback loop ensures that pruning decisions are based on actual performance impact, allowing the method to identify and remove only those neurons that do not significantly contribute to model performance, thus preventing degradation.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary analysis of neuron activation values before pruning. By pre-identifying neurons with consistently low or saturated activations across multiple datasets, the method prepares a targeted pruning strategy that minimizes the risk of removing performance-critical neurons, thereby preserving model performance while reducing size.

Inventive Principle:
Principle #10Preliminary action

4Quantity of substance

If quantization is applied to reduce precision, then memory footprint is reduced, but numerical precision decreases

Engineering Contradiction:
Improvememory footprintVSAvoidnumerical precision
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The patent extracts and removes neurons that require high precision but contribute minimally to the overall output. By eliminating these neurons, the method reduces the total memory footprint without requiring quantization of the remaining neurons, thereby preserving numerical precision while achieving memory efficiency.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20250200373A1Unstructured pruning for multi-layer perceptrons with tanh activation
Publication Date: 2025.06.19 UNIV OF SOUTH FLORIDA
  • US20250200373A1 patent drawing
  • US20250200373A1 patent drawing
  • US20250200373A1 patent drawing

AI summary

Systems and methods for optimizing a trained neural network model are provided herein. A trained neural network model is obtained. The trained neural network model comprises a plurality of neurons. A plurality of output information of the hidden layers is received by performing a simulation of the trained neural network using a dataset. A plurality of mean activation values corresponding to neurons of the plurality of hidden layers is calculated, based on using a hyperbolic tangent (tanh) activation function. A subset of mean values corresponding to a plurality of ranges is calculated. A plurality of neurons and a plurality of associated layers corresponding to the subset of mean values is modified. An optimized neural network model that implements the modified plurality of neurons and the modified plurality of associated layers is generated.