Dynamic DNN Partitioning for Edge-Cloud Inference Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for partitioning deep neural networks in edge computing environments are cumbersome and inefficient, requiring complex modeling processes to determine optimal local exit and partition points, which are static and do not adapt to environmental variables like resource utilization and network conditions.

Innovation Solution

A method using reinforcement learning to dynamically determine multiple exit points and partition points for distributed processing between edge devices and clouds, where a processor sets environment and training variables, selects actions based on experience data, and outputs optimal combinations of exit and partition points for efficient inference operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If a distributed DNN structure with static exit points is used, then inference latency is reduced, but adaptability to environmental variables deteriorates

Engineering Contradiction:
Improveinference latencyVSAvoidadaptability to environmental variables
Core Design Contradiction:
Loss of timeVSAdaptability or versatility

Solution Approach 1:

The patent transforms the static exit point structure into a dynamic one by using reinforcement learning to adaptively determine optimal exit points and partitioning strategies based on real-time environmental conditions such as network status, device resources, and inference requirements, thereby resolving the contradiction between reduced latency and adaptability

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If complex modeling processes are used to determine optimal partition points, then inference accuracy is improved, but device complexity increases

Engineering Contradiction:
Improveinference accuracyVSAvoidcomplexity of modeling processes
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system employs reinforcement learning agents that autonomously learn optimal partitioning strategies through interaction with the environment, eliminating the need for manual complex modeling processes while maintaining high inference accuracy, thus reducing device complexity

Inventive Principle:
Principle #25Self-service

3Measurement precision

If more layers are processed at the edge device, then inference accuracy is improved, but energy consumption increases

Engineering Contradiction:
Improveinference accuracyVSAvoidenergy consumption at edge device
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent dynamically adjusts the number of layers processed at the edge device versus the cloud based on real-time conditions including energy constraints, using reinforcement learning to optimize the partitioning point, thereby achieving high accuracy while minimizing energy consumption

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11521066B2Method and apparatus for partitioning deep neural networks
Publication Date: 2022.12.06 ELECTRONICS & TELECOMM RES INST
  • US11521066B2 patent drawing
  • US11521066B2 patent drawing
  • US11521066B2 patent drawing

AI summary

A processor partitions a deep neural network having a plurality of exit points and at least one partition point in a branch corresponding to each of the exit points, for distributed processing in an edge device and a cloud. The processor sets environmental variables and training variables for training, selects an action to move at least one of an exit point and a partition point from a combination of the exit point and the partition point corresponding to a current state, performs the training by accumulating experience data using a reward according to the selected action and then moves to a next state, and outputs a combination of an optimal exit point and a partition point as a result of the training.