Edge ML Inference Service Hardware Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In IoT systems, deploying machine learning models on edge devices is challenging due to varying hardware capabilities, leading to inefficient resource usage and complex configuration processes.

Innovation Solution

A machine learning inference generation tool configures core ML models into respective versions tailored for each edge system's hardware, utilizing specialized hardware like GPUs, TPUs, and hardware accelerators, and manages runtime environments and memory usage to optimize model execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If ML models are deployed on edge devices with varying hardware capabilities, then inference capability is provided at the edge, but resource consumption increases and performance degrades

Engineering Contradiction:
Improveinference capabilityVSAvoidresource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by configuring ML models specifically for each edge device's hardware capabilities. The system analyzes individual device characteristics (CPU, GPU, TPU, NPU availability, memory, storage) and generates customized model configurations that optimize resource usage for each specific device type, rather than using a uniform deployment approach across all edge devices.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system changes parameters by dynamically adjusting ML model configurations based on detected hardware parameters. It modifies model architecture, precision, and resource allocation parameters according to the specific computational resources available on each edge device, enabling efficient inference while adapting to varying hardware capabilities.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If ML models are configured for each different hardware configuration type, then execution efficiency is optimized, but configuration complexity increases

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

Solution Approach 1:

The system applies self-service by automatically detecting edge device hardware capabilities and generating optimized ML model configurations without manual intervention. The configuration service autonomously analyzes device parameters, selects appropriate model variants, and deploys them, eliminating the need for complex manual configuration processes for each hardware type.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system manages complexity by dynamically changing model parameters based on detected hardware characteristics. Rather than maintaining separate static configurations for each device type, the system automatically adjusts model parameters (architecture, precision, resource allocation) according to the specific computational resources available, simplifying the deployment process while optimizing execution efficiency.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If hardware accelerators are utilized to execute ML models, then inference performance is improved, but device compatibility requirements increase

Engineering Contradiction:
Improveinference performanceVSAvoiddevice compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent applies universality by creating a unified ML model deployment system that works across diverse edge device types. The configuration service generates model variants that can execute on different hardware accelerators (CPU, GPU, TPU, NPU) or fall back to software-based inference, making the system universally compatible with various device capabilities while maintaining optimized performance where hardware acceleration is available.

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

Solution Approach 2:

The system applies dynamics by enabling runtime adaptation of ML model execution based on detected hardware capabilities. The configuration can dynamically select between hardware-accelerated inference paths and software-based fallback paths, allowing the system to adapt to different device types and maintain compatibility across the entire edge device ecosystem while maximizing performance on capable devices.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20200356415A1Apparatus and method for depoying a machine learning inference as a service at edge systems
Publication Date: 2020.11.12 NUTANIX INC
  • US20200356415A1 patent drawing
  • US20200356415A1 patent drawing
  • US20200356415A1 patent drawing

AI summary

An example edge system of an Internet of Things system may include a memory configured to store a machine learning (ML) model application having a ML model a machine, and a processor configured to cause a ML inference service to receive a request for an inference from a ML model application having a ML model, and load the ML model application from the memory into an inference engine in response to the request. The processor is further configured to cause the MT inference service to select a runtime environment from the ML model application to execute the ML model based on a hardware configuration of the edge system, and execute the ML model using the selected to provide inference results. The inference results are provided at an output, such as to a data plane or to be stored in the memory.