Hardware Neuron Layer Calculation with Simplified Activation Functions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Physical models used in technical systems, such as internal combustion engines, face challenges in achieving real-time calculation accuracy due to complex correlations, requiring high processing capacity, which is difficult to meet with modern processing capabilities.
Innovation Solution
A method for calculating a neuron layer of a multi-layer perceptron model using a permanently hardwired processor core configured in hardware, employing simplified sigmoid and tan h functions based on zero-point mirroring of the exponential function, avoiding division and utilizing only multiplications and additions for efficient hardware-based calculation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a data-based functional model with a large number of nodes is used to achieve sufficient modeling accuracy, then the modeling precision is improved, but the processing capacity requirement increases
Solution Approach 1:
The patent transforms the activation function calculation from a general mathematical operation into a hardware-optimized form by changing parameters: using piecewise linear approximation instead of exponential functions, avoiding division operations, and utilizing only multiplication and addition. This parameter transformation enables the hardware to achieve both high modeling accuracy with complex networks and real-time processing capabilities.
Solution Approach 2:
The patent replaces the software-based general-purpose processor calculation with a dedicated hardware circuit implementation. The activation function is hardwired into the processor core, substituting flexible software computation with fixed hardware logic that performs the same function more efficiently, thereby reducing processing capacity requirements while maintaining accuracy.
2Adaptability or versatility
If a general-purpose processor is used to calculate data-based functional models, then the adaptability is improved, but the calculation speed deteriorates
Solution Approach 1:
The patent segments the activation function calculation into distinct operational ranges (positive and negative input domains) with dedicated calculation paths for each segment. This segmentation allows the hardware to quickly determine which calculation path to follow based on the input sign, dramatically improving calculation speed while maintaining the ability to handle different model configurations through programmable parameters.
Solution Approach 2:
The patent performs preliminary classification of the input value sign before entering the main calculation logic. By checking the sign bit first and pre-selecting the appropriate calculation path, the system avoids unnecessary computational steps, thereby improving calculation speed while maintaining adaptability to different activation function types through configurable parameters.
3Manufacturing precision
If additional operational blocks are added to the hardware calculation unit to improve calculation accuracy, then the manufacturing precision is improved, but the device complexity increases
Solution Approach 1:
The patent designs the hardware activation function unit to be universal and multi-functional, capable of implementing different activation function types (sigmoid, tanh, ReLU, and their variants) using the same hardware structure with configurable parameters. This universality allows the system to achieve high calculation accuracy for multiple model types without increasing device complexity through additional specialized blocks.
Solution Approach 2:
The patent merges the activation function calculation logic directly into the existing processor core architecture, combining it with the neural network computation units. This integration eliminates the need for separate operational blocks, reducing device complexity while maintaining high calculation accuracy through shared hardware resources and optimized data flow.
Data Source
AI summary
A method for calculating a neuron layer of a multi-layer perceptron model that includes a permanently hardwired processor core configured in hardware for calculating a permanently predefined processing algorithm in coupled functional blocks, a neuron of a neuron layer of the perceptron model being calculated with the aid of an activation function, the activation function corresponding to a simplified sigmoid function and to a simplified tan h function, the activation function being formed by zero-point mirroring of the negative definition range of the exponential function.


