Neural Network DAG Conversion for Low-Power NPU Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network models face challenges in low-power neural processing units due to high computational demands, power consumption, and memory bottlenecks, particularly in edge devices requiring immediate and reliable performance.

Innovation Solution

The neural network model is updated and optimized for execution on a neural processing unit by converting it into a directed acyclic graph, applying quantization, outlier alleviation, parameter refinement, layer-wise training, and pruning, and compiling it for efficient execution on the unit, including operations like multiply-and-accumulation, convolution, and matrix multiplication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If neural network models are used with high accuracy and complexity, then inference performance is improved, but power consumption and computational demands increase

Engineering Contradiction:
Improveinference accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies quantization to change the parameter precision of the neural network model from high-precision floating-point numbers to low-precision integers. This parameter transformation reduces the computational complexity and power consumption while maintaining acceptable inference accuracy. The compiler automatically determines quantization parameters and applies them to convert the model for efficient execution on low-power NPUs.

Inventive Principle:
Principle #35Parameter changes

2Use of energy by moving object

If neural network models are optimized for low-power devices, then power consumption is reduced, but model performance and accuracy may deteriorate

Engineering Contradiction:
Improvepower consumptionVSAvoidinference accuracy
Core Design Contradiction:
Use of energy by moving objectVSMeasurement precision

Solution Approach 1:

The patent performs preliminary optimization actions during the compilation phase before the model is deployed to the low-power NPU. The compiler analyzes the model structure, determines appropriate quantization parameters, and applies optimizations in advance. This preliminary action ensures that the model is pre-adapted for low-power execution while maintaining accuracy through careful parameter selection and model transformation.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If neural network models are converted to directed acyclic graph format with quantization, then execution efficiency on NPU is improved, but model complexity increases

Engineering Contradiction:
Improveexecution efficiencyVSAvoidmodel complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a compiler as an intermediary tool that automatically handles the complex transformation process. The compiler converts the neural network model into directed acyclic graph format, applies quantization, and optimizes the model structure. This intermediary automation reduces the manual complexity burden on developers while achieving improved execution efficiency on the NPU through systematic model transformation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12536442B2Method for converting neural network
Publication Date: 2026.01.27 DEEPX CO LTD
  • US12536442B2 patent drawing
  • US12536442B2 patent drawing
  • US12536442B2 patent drawing

AI summary

A method may comprise receiving a first neural network (NN) model including one or more functions; generating a second NN model in a form of directed acyclic graph (DAG) including one or more graph modules by converting the one or more functions; calculating one or more scale values by obtaining maximum and minimum values of parameters input to the one or more graph modules; updating the parameters based on the one or more scale values; and generating a third NN model, in a form of machine code executable on a particular neural processing unit, including the updated parameters.