# US 2025/0384258 A1 · Complementary deep neural network accelerator having heterogeneous convolutional neural network and spiking neural network core architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0384258 A1
- Document ID: US20250384258A1
- Status: Published application
- Kind: A1
- Application number: 18/878,082
- Filed: 2024-02-20
- Published: 2025-12-18
- Earliest claimed: 2023-02-28
- Assignees: Korea Advanced Institute of Science and Technology
- Applicants: Korea Advanced Institute of Science and Technology
- Inventors: Hoi Jun YOO; Sang Yeob KIM
- Web page: https://patentgrep.com/patent/US20250384258A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 3/065: Analogue means
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/049: Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A complementary deep neural network accelerator includes: an accumulator array spiking neural network array processing module; a multiplier-accumulator convolutional neural network processing module; a highest RISC controller responsible for controlling the spiking neural network processing module and the convolutional neural network processing module, and processing an activation function and batch normalization; an attention module; and a neural network operation allocator.

## Claims

### Claim 1

A complementary deep neural network accelerator having a heterogeneous convolutional neural network and a spiking neural network core architecture in which a spiking neural network processing module and a convolutional neural network processing module are combined, the complementary deep neural network accelerator comprising:
the spiking neural network processing module in an accumulator array configured to generate a voltage of a neuron by accumulating a weight of a synapse when a spike is generated;
the convolutional neural network processing module in a multiplier/accumulator array configured to accumulate a product of input and a weight of a neural network and generate an output value of the neuron;
a top-level RISC controller responsible for controlling the spiking neural network processing module and the convolutional neural network processing module, and processing an activation function and batch normalization;
an attention module configured to perform channel-wise pooling on the input, and then perform convolution using a pre-trained weight to generate an attention map; and
a neural network operation allocator configured to divide the input into several tiles, calculate a frequency of a spike generated for each tile to estimate a neural network processing module consuming less energy, and transfer a tile to the neural network processing module to allow an operation to be performed.

### Claim 2 (depends on 1)

The complementary deep neural network accelerator according to claim 1, further comprising:
a global L2 cache configured to store a weight required for a neural network operation and transfer a weight required for a convolutional neural network core of the spiking neural network processing module or a spiking neural network core of the convolutional neural network processing module; and
a sparsity generator configured to obtain a forward gradient average value of a synapse connected to the neuron and cause a convolutional neural network PE of the convolutional neural network processing module to skip error backpropagation for the neuron when the average value is less than a threshold value.

### Claim 3 (depends on 1)

The complementary deep neural network accelerator according to claim 1, wherein the spiking neural network processing module includes a plurality of spiking neural network clusters each including a plurality of spiking neural network cores and is assigned a spiking operation to perform the spiking operation.

### Claim 4 (depends on 3)

The complementary deep neural network accelerator according to claim 3, wherein each of the spiking neural network cores comprises:
a spike encoder including a multiplexer and a counter and configured to receive data from an input memory and convert the input data into a spike pattern;
a linear-feedback shift register (LFSR) including a register and XOR logics and configured to generate a random value to determine a start point of a spike pattern when the spike encoder operates;
a local gradient unit including a subtractor and a lookup table and configured to obtain a time difference between an output spike and an input spike and convert the time difference into a gradient;
a spiking neural network PE including an inference logic configured to calculate a neuron potential by accumulating a weight when a spike is input from the spike encoder and a gradient accumulation logic configured to receive a gradient from the local gradient unit and accumulate the gradient;
an adder tree & firing logic configured to vertically accumulate operation results of spiking neural network PEs to generate neuron voltages and generate an output spike when a threshold value is exceeded; and
a global counter used to simultaneously obtain time differences between input spikes and output spikes.

### Claim 5 (depends on 4)

The complementary deep neural network accelerator according to claim 4, wherein, L1 caches are integrated, and the spiking neural network PE imports a weight for a pre-synaptic neuron from the global L2 cache to an L1 cache consuming low read operation power, and reuses a weight stored in the L1 cache for operations of the same pre-synaptic neurons without accessing the global L2 cache after one time step.

### Claim 6 (depends on 1)

The complementary deep neural network accelerator according to claim 1, wherein the convolutional neural network processing module includes a plurality of convolutional neural network clusters each including a plurality of convolutional neural network cores and is assigned a convolution operation to perform the convolution operation.

### Claim 7 (depends on 6)

The complementary deep neural network accelerator according to claim 6, wherein each of the convolutional neural network cores comprises:
a convolutional neural network PE including a multiplier/accumulator and a sparsity processor, and configured to perform a convolution operation required in a complementary deep neural network during inference, and to skip backpropagation for an unnecessary weight and calculate a gradient exclusively for a weight required to be learned during training;
an input memory configured to store input data used in an operation of a convolutional neural network;
an input loader configured to load input data required for each cycle in the convolutional neural network PE;
a weight memory configured to store weight data used in an operation of the convolutional neural network;
a weight loader configured to load weight data required for each cycle in the convolutional neural network PE;
a multiplier/accumulator configured to perform a convolution operation by obtaining a product of a received weight and input and accumulating the product with a previously calculated result; and
an operation skip controller configured to control the input load and the weight loader so that propagation for an unnecessary weight is skipped and a gradient is allowed to be calculated for a weight required to be learned during training.

### Claim 8 (depends on 1)

The complementary deep neural network accelerator according to claim 1, wherein the attention module comprises:
a maximum pooling unit configured to fine a largest value in data of a plurality of input channels present in each pixel direction for input, and eliminate other values except for the corresponding value from the input channels, thereby reducing a size of the input channels;
an average pooling unit configured to find an average value in data of a plurality of input channels present in each pixel direction for input, and eliminate other values except for the corresponding value from the input channels, thereby reducing a size of the input channels;
a multiplier & accumulator configured to perform a convolution operation by performing multiplication of a weight and input and accumulating a resultant value with a previous result value using a multiplier and an accumulator; and
a multiplier configured to receive a weight and input, perform multiplication, and transfer a result value to the accumulator.
