Edge Node Adaptive Context Length Control for IoT

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing edge computing solutions for IoT devices face challenges in maintaining the accuracy of machine learning models deployed on edge nodes while minimizing memory usage, leading to increased processing latency and costs due to outdated models and inefficient resource utilization.

Innovation Solution

A method where edge nodes dynamically adjust the input memory size of machine learning models based on error terms and confidence scores, allowing for adaptive memory management by comparing error terms to predetermined thresholds and updating the models accordingly, thereby optimizing memory usage and maintaining accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the input memory size of the machine learning model is increased to maintain accurate predictions, then the prediction accuracy is improved, but the memory usage increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent implements dynamic adjustment of the input memory size (context length) of the machine learning model based on the error term calculated from confidence scores. The system transitions from a static memory allocation to a dynamic one that adapts to the actual performance needs, increasing memory only when prediction accuracy degrades below a threshold and decreasing it when accuracy is sufficient, thereby resolving the contradiction between maintaining accuracy and minimizing memory usage

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of input memory size based on the calculated error term and confidence scores. By monitoring the model's performance through confidence scores and adjusting the context length parameter dynamically, the system optimizes the trade-off between prediction accuracy and memory consumption, using larger memory only when necessary for maintaining accurate predictions

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If the machine learning model is updated frequently to maintain accuracy with new data sequences, then the prediction accuracy is improved, but the computational resources and power consumption increase

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

Solution Approach 1:

The system implements a feedback mechanism where confidence scores from model predictions are used to calculate error terms that trigger memory size adjustments. This feedback loop allows the system to maintain accuracy by adapting to new data patterns through memory adjustment rather than frequent model retraining, thereby reducing computational overhead and power consumption while preserving prediction accuracy

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary adjustments to the input memory size based on confidence score analysis before significant performance degradation occurs. By proactively adapting the context length in response to confidence score trends, the system maintains accuracy without requiring full model retraining, thus reducing the computational and energy costs associated with frequent updates

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If the input memory size is decreased to reduce memory usage, then the memory efficiency is improved, but the prediction accuracy deteriorates

Engineering Contradiction:
Improvememory usageVSAvoidprediction accuracy
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The system dynamically adjusts the input memory size based on real-time performance monitoring through confidence scores and error terms. Rather than using a fixed small memory size that would always compromise accuracy, the system adapts the context length to match the actual information needs for accurate predictions, decreasing memory only when accuracy requirements are met with smaller contexts

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the input memory size parameter in response to performance metrics. By monitoring prediction confidence and adjusting the context length parameter accordingly, the system finds the optimal balance point where memory usage is minimized while maintaining sufficient prediction accuracy for the given data patterns and task requirements

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11475255B2Method for adaptive context length control for on-line edge learning
Publication Date: 2022.10.18 KK TOSHIBA
  • US11475255B2 patent drawing
  • US11475255B2 patent drawing
  • US11475255B2 patent drawing

AI summary

A method of operating a network comprising an edge node and a server. The method comprises obtaining, by the edge node, a plurality of data samples, determining, by the edge node, a plurality of output labels by applying a first machine learning model using an input memory having a first input memory size to the plurality of data samples, calculating, by the edge node, an error term based on the confidence score of a first output label from the plurality of output labels, determining, by the edge node, based on the error term, whether to modify the first input memory size of the machine learning model and, if so, generating a second machine learning model based on the first machine learning model and a second input memory size.