Slim Neural Network Model With Binary XNOR Convolution Blocks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Convolutional neural networks (CNNs) face challenges with increased model size and operation time due to deepening and widening for high performance, leading to inefficiencies in processing large datasets.

Innovation Solution

A neural network structure is designed to be slim and lightweight, utilizing a basic block comprising a batch normalization layer, quantization layer, convolution layer, and activation layer, driven by operations including sign function, bitwise convolution, and residual connections, with components like a comparator, XNOR gate, and MAC operator for efficient data processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a convolutional neural network is deepened and widened to be trained with more data and achieve high performance, then the performance of the neural network is improved, but the size of the model and operation time increase

Engineering Contradiction:
ImproveperformanceVSAvoidmodel size
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by transitioning from standard floating-point arithmetic to binary arithmetic (0 and 1) through quantization layers. This changes the representation parameters of weights and activations to reduce model size while maintaining computational functionality. The binary quantization reduces the number of bits required to store and process data, directly addressing the model size issue while preserving the network's ability to learn from data.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical arithmetic operations with bitwise operations. Instead of using conventional multiply-and-accumulate operations, the system uses XOR, XNOR, and other bitwise operations to perform convolution. This substitution reduces computational complexity and operation time while maintaining the essential function of the neural network layers.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If a convolutional neural network is deepened and widened to be trained with more data and achieve high performance, then the performance of the neural network is improved, but the operation time increases

Engineering Contradiction:
ImproveperformanceVSAvoidoperation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces traditional mechanical arithmetic operations with bitwise operations. Instead of using conventional multiply-and-accumulate operations, the system uses XOR, XNOR, and other bitwise operations to perform convolution. This substitution reduces computational complexity and operation time while maintaining the essential function of the neural network layers.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent applies parameter changes by transitioning from standard floating-point arithmetic to binary arithmetic (0 and 1) through quantization layers. This changes the representation parameters of weights and activations to reduce model size while maintaining computational functionality. The binary quantization reduces the number of bits required to store and process data, directly addressing the model size issue while preserving the network's ability to learn from data.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If a neural network structure is designed to be slim and lightweight, then the model size is reduced, but the computational operations become more complex

Engineering Contradiction:
Improvemodel sizeVSAvoidcomputational operations
Core Design Contradiction:
Device complexityVSEase of manufacture

Solution Approach 1:

The patent replaces traditional mechanical arithmetic operations with bitwise operations. Instead of using conventional multiply-and-accumulate operations, the system uses XOR, XNOR, and other bitwise operations to perform convolution. This substitution reduces computational complexity and operation time while maintaining the essential function of the neural network layers.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent merges multiple operations into unified computational blocks. The quantization layer combines normalization and quantization operations, while the convolution layer integrates bitwise convolution with activation functions. This merging reduces the number of separate computational steps and simplifies the overall architecture, making the slim network easier to implement despite using complex bitwise operations.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12430541B2Method and device with neural network model
Publication Date: 2025.09.30 SAMSUNG ELECTRONICS CO LTD
  • US12430541B2 patent drawing
  • US12430541B2 patent drawing
  • US12430541B2 patent drawing

AI summary

A device includes: a comparator; an exclusive-NOR (XNOR) gate; an accumulator; and a multiplication and accumulation (MAC) operator, wherein a basic block of a neural network comprises a first batch normalization layer, a quantization layer, a convolution layer, an active layer, and a second batch normalization layer, and wherein the basic block is driven by the device by a combination of a first batch normalization operation, a sign function operation, a bitwise convolution operation, an activation function operation, a second batch normalization operation, and a residual connection operation.