Neural Network Tile Segmentation for Code Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current image recognition neural network processing systems face high system costs due to large amounts of software code, which occupy significant space and hinder efficiency and development.

Innovation Solution

The method involves segmenting the image recognition neural network into tiles, classifying them based on size and padding, and generating assembly codes and tile information to enable the neural network processor to process image data using reusable code segments for each type of tile, reducing the overall software code amount and system costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the image recognition neural network uses detailed processing for each tile type, then the processing precision is improved, but the software code amount increases and system costs rise

Engineering Contradiction:
Improveprocessing precisionVSAvoidsoftware code amount
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent segments the neural network processing into distinct tile types based on size and padding characteristics. By dividing the processing space into standardized tile segments (e.g., 16x16, 8x8, 4x4 with different padding values), the system can handle diverse image regions using aĉœ‰é™ set of predefined processing templates, reducing the need for custom code for each possible tile configuration.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates universal processing templates that can handle multiple tile types. Each template is designed to process tiles with specific size and padding combinations, and these templates are reused across different network layers and tile positions. This multi-functionality allows the same code segments to serve multiple purposes, significantly reducing the overall software code amount while maintaining processing precision.

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

2Adaptability or versatility

If the neural network processor handles diverse tile sizes and padding, then the adaptability is improved, but the device complexity increases

Engineering Contradiction:
Improvetile processing adaptabilityVSAvoidprocessing system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies local quality by assigning specific processing characteristics to different tile types based on their size and padding requirements. Each tile type (e.g., 16x16 with no padding, 8x8 with padding) has an optimized processing template tailored to its specific characteristics. This allows the system to adapt to diverse tile requirements while keeping each individual processing module simple and specialized.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent manages adaptability by parameterizing tile processing based on size and padding values. Instead of creating complex handling logic for each possible tile variation, the system uses parameter changes to define different tile types and selects appropriate processing templates based on these parameters. This approach maintains high adaptability while avoiding the complexity of custom processing logic for each tile configuration.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If custom processing code is written for each tile, then the manufacturing precision is improved, but the ease of manufacture deteriorates

Engineering Contradiction:
Improveprocessing accuracyVSAvoidsoftware development efficiency
Core Design Contradiction:
Manufacturing precisionVSEase of manufacture

Solution Approach 1:

The patent implements preliminary action by pre-defining processing templates for various tile types before actual image processing begins. These templates are compiled and stored in advance, containing optimized processing logic for different tile configurations. During runtime, the system simply selects and executes the appropriate pre-compiled template rather than generating or interpreting custom code, thereby maintaining processing accuracy while dramatically improving development and maintenance efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11625911B2Image recognition neural network processing method, device and system
Publication Date: 2023.04.11 SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
  • US11625911B2 patent drawing
  • US11625911B2 patent drawing
  • US11625911B2 patent drawing

AI summary

An image recognition neural network processing method includes: a compiler segments an image recognition neural network to obtain tiles of at least one network layer group; classifies the tiles of each network layer group; and for each network layer group, generates an assembly code and tile information of the network layer group according to a tile result and a classification result of the network layer group. The same type of tiles correspond to the same assembly function, each assembly code includes a code segment of the assembly function corresponding to each type of tiles, the tile information includes block information of each tile in the network layer group, the tile information used to instruct a neural network processor to, according to the block information therein, invoke a corresponding code segment to process image data of a corresponding tile when a target image is identified by the image recognition neural network.