Adaptive Resolution Inference for Neural Network Speed

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing techniques for predicting the minimum image resolution required for accurate inference in neural network models are computationally intensive, leading to prolonged inference times.

Innovation Solution

An inference apparatus comprising a resolution prediction unit, a resolution conversion unit, and an inference unit, which uses a first model to predict the minimum resolution and a second model to infer labels from the converted resolution, while reducing computational load by utilizing part of the activation output from a given layer in the first model.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the resolution of the image is reduced to shorten inference time, then the inference time is shortened, but the inference accuracy is reduced

Engineering Contradiction:
Improveinference timeVSAvoidinference accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent applies dynamics by making the image resolution adaptive rather than fixed. The resolution prediction unit dynamically determines the appropriate resolution for each input image based on its characteristics, allowing the system to adjust between high resolution (for accuracy) and low resolution (for speed) depending on the specific inference task and image content.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the resolution parameter dynamically. Instead of using a fixed resolution for all inferences, the system predicts and adjusts the resolution parameter based on the input image characteristics, enabling optimal balance between inference speed and accuracy for each specific case.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If a large amount of computation is used to predict the resolution, then the resolution prediction accuracy is improved, but the inference time is prolonged

Engineering Contradiction:
Improveresolution prediction accuracyVSAvoidinference time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the neural network model into multiple layers, where earlier layers process lower-resolution feature maps and later layers process higher-resolution feature maps. This segmentation allows the resolution prediction to be performed efficiently on downsampled feature maps rather than full-resolution images, reducing computational overhead while maintaining prediction accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary downsampling of the input image to a lower resolution before feeding it to the resolution prediction unit. This preliminary action reduces the computational burden of resolution prediction while still enabling accurate prediction, as the prediction is made on a simplified representation of the input.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If the full-resolution image is used for inference, then the inference accuracy is maintained, but the computational load increases

Engineering Contradiction:
Improveinference accuracyVSAvoidcomputational load
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent makes the inference resolution dynamic by using the predicted resolution to guide the inference process. The system infers labels at the predicted resolution rather than always using full resolution, dynamically adapting the computational resources used based on the specific inference requirements.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces an intermediate resolution level between the original full-resolution image and the final inference. The resolution prediction unit acts as an intermediary that determines the appropriate intermediate resolution, balancing the need for accuracy (closer to full resolution) with the need to reduce computational load (lower resolution).

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250173823A1Inference apparatus and inference method
Publication Date: 2025.05.29 NEC CORP
  • US20250173823A1 patent drawing
  • US20250173823A1 patent drawing
  • US20250173823A1 patent drawing

AI summary

The resolution prediction unit takes data of a certain resolution as an input and predicts a minimum resolution, among multiple resolution candidates, by which a label of the data can be inferred with a predetermined accuracy, using a first model including multiple layers. The resolution conversion unit converts a resolution of the data to the predicted resolution. The inference unit takes a resolution-converted data as an input and infers a label of the data using a second model including multiple layers and a part of activation output from a given layer in the first model.