Neural Network Activation Function Circuit Using Bit Group Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current neural network arithmetic devices face challenges in efficiently processing and distributing activation functions, leading to suboptimal performance in extracting useful information from input data.

Innovation Solution

The implementation of a multiplying-accumulating (MAC) operator and an activation function (AF) circuit that extracts bit groups from arithmetic results, generates input distribution signals, and selects output distribution signals based on activation functions, enhancing data processing and distribution within the neural network.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a MAC operator and AF circuit are implemented to extract bit groups and generate distribution signals, then the speed and accuracy of activation operations is improved, but the device complexity increases

Engineering Contradiction:
Improveaccuracy of activation operationsVSAvoidcomplexity of arithmetic device
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The arithmetic result signal is divided into multiple bit groups (first bit group, second bit group, third bit group) that are processed separately. The AF circuit extracts these bit groups independently and generates corresponding distribution signals for each group, enabling parallel processing that improves accuracy while managing complexity through modular organization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Input distribution signals and output distribution signals are introduced as intermediary signals between the MAC operator and the final activation output. These distribution signals serve as mediators that carry processed bit group information through the AF circuit, enabling complex activation operations to be broken down into manageable signal transformation steps.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If bit groups are extracted and distribution signals are generated to enhance activation function applications, then the productivity of neural network processing is improved, but the device complexity increases

Engineering Contradiction:
Improveefficiency of activation function applicationsVSAvoidcomplexity of arithmetic device
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The activation function application process is segmented into multiple parallel paths, each handling a specific bit group. The first bit group generates an input distribution signal, the second bit group generates another input distribution signal, and the third bit group generates an output distribution signal. This segmentation enables simultaneous processing of multiple bit groups, significantly improving productivity while organizing complexity into parallel modular units.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The AF circuit performs preliminary extraction of bit groups from the arithmetic result signal before the main activation function computation. By pre-processing the arithmetic result to separate and organize bit groups into distribution signals, the system prepares data in advance for more efficient activation function application, improving overall processing throughput.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12131249B2Arithmetic devices with look-up table for neural network
Publication Date: 2024.10.29 SK HYNIX INC
  • US12131249B2 patent drawing
  • US12131249B2 patent drawing
  • US12131249B2 patent drawing

AI summary

An arithmetic device includes a multiplying-accumulating (MAC) operator and an activation function (AF) circuit. The MAC operator performs a MAC arithmetic operation for weight data and vector data to generate an arithmetic result signal. The AF circuit extracts a first bit group and a second bit group from the arithmetic result signal. In addition, the AF circuit generates an input distribution signal based on the first bit group and the second bit group. Moreover, the AF circuit selects and outputs an output distribution signal that corresponds to the input distribution signal based on an activation function.