# US 2021/0174249 A1 · Selecting learning model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174249 A1
- Document ID: US20210174249A1
- Status: Published application
- Kind: A1
- Application number: 16/768,665
- Filed: 2017-12-01
- Published: 2021-06-10
- Earliest claimed: 2017-12-01
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Aitor HERNANDEZ HERRANZ; Lars ANDERSSON; José ARAÚJO; Soma TAYAMON
- Web page: https://patentgrep.com/patent/US20210174249A1

## CPC

- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06F 18/24: Classification techniques
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to a first aspect, it is presented a method for dynamically selecting a learning model for a sensor device. The learning model is configured for determining output data based on sensor. The method comprises the steps of: detecting a need for a new learning model for the sensor device based on performance of a currently loaded learning model in the sensor device; determining at least one feature candidate based on sensor data from the at least one sensor, wherein each one of the at least one feature candidate is associated with a different source of sensor data; selecting a new learning model, from a set of candidate learning models, based on the at least one feature candidate and input features of each one of the candidate learning models; and triggering the new learning model to be loaded on the sensor device, replacing the currently loaded learning model.

## Claims

### Claim 1

A method for dynamically selecting a learning model for a sensor device comprising at least one sensor, the learning model being configured for determining output data based on sensor data from the at least one sensor, the method being performed in a model determiner and comprising the steps of:
detecting a need for a new learning model for the sensor device based on performance of a currently loaded learning model in the sensor device;
determining at least one feature candidate based on sensor data from the at least one sensor, wherein each one of the at least one feature candidate is associated with a different source of sensor data;
selecting a new learning model, from a set of candidate learning models, based on the at least one feature candidate and input features of each one of the candidate learning models; and
triggering the new learning model to be loaded on the sensor device, replacing the currently loaded learning model.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising the step of:
determining a number of correct classifications and number of misclassifications, during a time period, of the currently loaded learning model;
and wherein, in the step of detecting a need for a new learning model, the performance is based on the number of correct classifications and the number of misclassifications.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the step of determining further comprises determining a number of no classifications, during the time period, of the currently loaded learning model;
and wherein, in the step of detecting a need for a new learning model, the performance is based on the number of no classifications.

### Claim 4 (depends on 1)

The method according to claim 1,
wherein, in the determining at least one feature candidate step, the sensor data is normalised over time for each sensor prior to determining the at least one feature candidate.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the step of selecting a new learning model comprises selecting the candidate learning model, from the set of candidate learning models, that has the greatest number of overlapping features with the at least one feature candidate.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the step of selecting a new learning model comprises the steps of:
obtaining a candidate feature weight for each feature candidate;
finding, for each candidate learning model, a set of overlapping features consisting of any feature candidates overlapping the input features;
adding up, for each candidate learning model, the candidate feature weights of the candidate features forming part of the set of overlapping features, yielding a weighted candidate feature score; and
selecting the new learning model to be the candidate learning model having the greatest weighted candidate feature score.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the step of selecting a new learning model comprises the steps of:
obtaining, for each candidate learning model, an input feature weight for each input feature;
finding, for each candidate learning model, a set of overlapping features being input features overlapping the at least one feature candidate;
adding up, for each candidate learning model, the input feature weights for the input features of the overlapping features, yielding a weighted input feature score; and
selecting the new learning model to be the candidate learning model having the greatest weighted input feature score.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising the step of: storing the input feature weights associated with respective input features as a set of input feature weights;
wherein for at least one subsequent iteration of the method, the step of determining at least one feature candidate is omitted, the step of obtaining an input feature weight is omitted, and the step of finding a set of overlapping features is omitted, and wherein the step of adding up is based on the stored set of input feature weights.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the step of detecting a need for a new learning model for the sensor device is also based on user input.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the learning model is a machine learning, ML, model.

### Claim 11

A model determiner for dynamically selecting a learning model for a sensor device comprising at least one sensor, the learning model being configured for determining output data based on sensor data from the at least one sensor, the model determiner comprising:
a processor; and
a memory storing instructions that, when executed by the processor, cause the model determiner to:
detect a need for a new learning model for the sensor device based on performance of a currently loaded learning model in the sensor device;
determine at least one feature candidate based on sensor data from the at least one sensor, wherein each one of the at least one feature candidate is associated with a different source of sensor data;
select a new learning model, from a set of candidate learning models, based on the at least one feature candidate and input features of each one of the candidate learning models; and
trigger the new learning model to be loaded on the sensor device, replacing the currently loaded learning model.

### Claim 12 (depends on 11)

The model determiner according to claim 11, further comprising instructions that, when executed by the processor, cause the model determiner to:
determine a number of correct classifications and number of misclassifications, during a time period, of the currently loaded learning model;
and wherein, the instructions to detect a need for a new learning model comprise instructions that, when executed by the processor, cause the model determiner to obtain the performance based on the number of correct classifications and the number of misclassifications.

### Claim 13 (depends on 12)

The model determiner according to claim 12, wherein the instructions to determine further comprise instructions that, when executed by the processor, cause the model determiner to determine a number of no classifications, during the time period, of the currently loaded learning model;
and wherein the instructions to detect a need for a new learning model comprise instructions that, when executed by the processor, cause the model determiner to obtain the performance based on the number of no classifications.

### Claim 14 (depends on 11)

The model determiner according to claim 11, wherein, the instructions to determine at least one feature candidate comprise instructions that, when executed by the processor, cause the model determiner to normalise the sensor data over time for each sensor prior to determining the at least one feature candidate.

### Claim 15 (depends on 11)

The model determiner according to claim 11, wherein the instructions to select a new learning model comprise instructions that, when executed by the processor, cause the model determiner to select the candidate learning model, from the set of candidate learning models, that has the greatest number of overlapping features with the at least one feature candidate.

### Claim 16 (depends on 11)

The model determiner according to claim 11, wherein the instructions to select a new learning model comprise instructions that, when executed by the processor, cause the model determiner to:
obtain a candidate feature weight for each feature candidate;
find, for each candidate learning model, a set of overlapping features consisting of any feature candidates overlapping the input features;
add up, for each candidate learning model, the candidate feature weights of the candidate features forming part of the set of overlapping features, yielding a weighted candidate feature score; and
select the new learning model to be the candidate learning model having the greatest weighted candidate feature score.

### Claim 17 (depends on 11)

The model determiner according to claim 11, wherein the instructions to select a new learning model comprise instructions that, when executed by the processor, cause the model determiner to:
obtain, for each candidate learning model, an input feature weight for each input feature;
find, for each candidate learning model, a set of overlapping features being input features overlapping the at least one feature candidate;
add up, for each candidate learning model, the input feature weights for the input features of the overlapping features, yielding a weighted input feature score; and
select the new learning model to be the candidate learning model having the greatest weighted input feature score.

### Claim 18 (depends on 17)

The model determiner according to claim 17, further comprising instructions that, when executed by the processor, cause the model determiner to:
store the input feature weights associated with respective input features as a set of input feature weights;
wherein for at least one subsequent iteration of the instructions, the instructions to determine at least one feature candidate are omitted, the instructions to obtain an input feature weight are omitted, and the instructions to find a set of overlapping features are omitted, and wherein the instructions to add up is based on the stored set of input feature weights.

### Claim 19 (depends on 11)

The model determiner according to claim 11, wherein the instructions to detect a need for a new learning model for the sensor device is also based on user input.

### Claim at position 20

20-21. (canceled)

### Claim 22

A computer program for dynamically selecting a learning model for a sensor device comprising at least one sensor, the learning model being configured for determining output data based on sensor data from the at least one sensor, the computer program comprising computer program code which, when run on a model determiner causes the model determiner to:
detect a need for a new learning model for the sensor device based on performance of a currently loaded learning model in the sensor device;
determine at least one feature candidate based on sensor data from the at least one sensor, wherein each one of the at least one feature candidate is associated with a different source of sensor data;
select a new learning model, from a set of candidate learning models, based on the at least one feature candidate and input features of each one of the candidate learning models; and
trigger the new learning model to be loaded on the sensor device, replacing the currently loaded learning model.

### Claim 23

(canceled)
