Programmable Activation Function Execution Unit for Neural Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural processing units (NPUs) face challenges in efficiently processing various activation functions due to high power consumption, increased chip area, and the inability to handle new or modified activation functions without hardware modifications, leading to inference accuracy issues and increased computational complexity.

Innovation Solution

A programmable activation function execution unit (PAFE) is integrated into the NPU, allowing for the programming of non-linear activation functions using segment data that considers the characteristics of the activation function, approximation errors, and hardware options, enabling flexible and efficient processing of different activation functions without hardware changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a neural processing unit is designed to process complex mathematical activation functions, then inference accuracy is improved, but chip area and power consumption increase significantly

Engineering Contradiction:
Improveinference accuracyVSAvoidchip area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The patent applies parameter changes by transforming complex activation functions into piecewise linear approximations with adjustable parameters. Different regions of the activation function are represented by different linear equations with specific parameters, allowing the system to maintain high inference accuracy while using simpler hardware operations that reduce chip area requirements

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the activation function into multiple regions, where each region is processed by a dedicated linear approximation module. This segmentation allows the complex non-linear function to be broken down into simpler linear segments that can be processed efficiently with reduced hardware complexity and smaller chip area

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If a neural processing unit is designed to process complex mathematical activation functions, then inference accuracy is improved, but power consumption increases significantly

Engineering Contradiction:
Improveinference accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by stationary object

Solution Approach 1:

By changing the functional form from complex non-linear operations to parameter-based linear approximations, the patent reduces computational complexity and power consumption while maintaining accuracy through carefully selected parameters that best represent the original activation function in each region

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

Segmenting the activation function allows the processor to use simpler linear operations in each segment rather than computing the full complex function, thereby reducing the energy required for each activation operation while maintaining overall accuracy through the combination of segments

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If the NPU hardware is modified to handle new activation functions, then adaptability is improved, but device complexity and manufacturing cost increase

Engineering Contradiction:
Improveadaptability to new activation functionsVSAvoidhardware complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal activation function processing unit that can handle multiple types of activation functions through parameter configuration rather than hardware modification. The same hardware structure can process different activation functions by loading different parameter sets, making the system multi-functional without increasing hardware complexity

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system achieves adaptability to new activation functions through parameter changes rather than hardware changes. By modifying the parameters that define the piecewise linear approximation, the same hardware can adapt to process different activation functions, maintaining low device complexity while improving versatility

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240403615A1A neural processing unit comprising a programmed activation function execution unit
Publication Date: 2024.12.05 DEEPX CO LTD
  • US20240403615A1 patent drawing
  • US20240403615A1 patent drawing
  • US20240403615A1 patent drawing

AI summary

A method of programming an activation function is provided. The method includes generating a segment data for segmenting the activation function; segmenting the activation function into a plurality of segments using the segment data; and approximating at least one segment of the plurality of segments to a programmable segment.