# US 2022/0284352 A1 · Model update system, model update method, and related device

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

- Number: US 2022/0284352 A1
- Document ID: US20220284352A1
- Status: Published application
- Kind: A1
- Application number: 17/826,314
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2019-11-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Qinglong CHANG; Yanfang ZHANG; Xudong SUN; Li XUE; Liang ZHANG
- Web page: https://patentgrep.com/patent/US20220284352A1

## CPC

- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A model update system, which may be applied to the network control field, includes a site analysis device and a first analysis device. The site analysis device is configured to: receive a first model sent by the first analysis device; train the first model by using a first training sample to obtain a second model, where the first training sample includes first feature data of a network device in a site network corresponding to the site analysis device; obtain differential data between the first model and the second model; and send the differential data to the first analysis device. The first analysis device is configured to: send the first model to the site analysis device; receive the differential data sent by the site analysis device; and update the first model based on the differential data to obtain a third model.

## Claims

### Claim 1

A model update system comprising:
a site analysis device and a first analysis device, wherein
the site analysis device is configured to: receive a first model sent by the first analysis device;
train the first model by using a first training sample to obtain a second model, wherein the first training sample comprises first feature data of a network device in a site network corresponding to the site analysis device; obtain differential data between the first model and the second model; and send the differential data to the first analysis device; and
the first analysis device is configured to: send the first model to the site analysis device; receive the differential data sent by the site analysis device; and update the first model based on the differential data to obtain a third model.

### Claim 2 (depends on 1)

The system according to claim 1, wherein
the site analysis device is further configured to: determine whether the first model is degraded; and train the first model by using the first training sample to obtain the second model if the site analysis device determines that the first model is degraded.

### Claim 3 (depends on 2)

The system according to claim 2, wherein the system comprises N site analysis devices, wherein N is an integer greater than 1; and
the first analysis device is further configured to: send the first model to the N site analysis devices; receive a plurality of pieces of the differential data sent by L site analysis devices, wherein L is an integer greater than 1 and less than or equal to N; and update the first model based on the plurality of pieces of the differential data to obtain the third model.

### Claim 4 (depends on 3)

The system according to claim 3, wherein
the first analysis device is further configured to: collect statistics about the quantity L of site analysis devices that send the differential data to the first analysis device; and update the first model based on the differential data to obtain the third model if a ratio of L to N reaches a threshold K, wherein K is greater than 0 and less than or equal to 1.

### Claim 5 (depends on 1)

The system according to claim 1, wherein the system further comprises:
the network device, wherein
the network device is configured to: receive an updated model sent by the site analysis device, wherein the updated model comprises the second model or the third model; and output a first inference result based on to-be-predicted feature data of the network device by using the updated model; and
the site analysis device is further configured to send the updated model to the network device; or
the network device is configured to send to-be-predicted feature data of the network device to the site analysis device; and
the site analysis device is further configured to output a second inference result based on the to-be-predicted feature data of the network device by using the updated model.

### Claim 6 (depends on 5)

The system according to claim 5, wherein
the network device is further configured to predict a first classification result based on the to-be-predicted feature data of the network device by using the updated model; or
the site analysis device is further configured to predict a second classification result based on the to-be-predicted feature data of the network device by using the updated model.

### Claim 7

A model update method comprising:
receiving, by a site analysis device, a first model sent by a first analysis device;
training, by the site analysis device, the first model by using a first training sample to obtain a second model, wherein the first training sample comprises first feature data of a network device in a site network corresponding to the site analysis device;
obtaining, by the site analysis device, differential data between the first model and the second model; and
sending, by the site analysis device, the differential data to the first analysis device, to request the first analysis device to update the first model based on the differential data to obtain a third model.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the method further comprises:
determining, by the site analysis device, whether the first model is degraded; and performing the training, by the site analysis device, of the first model by using the first training sample to obtain the second model if the site analysis device determines that the first model is degraded.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the method further comprises:
obtaining, by the site analysis device, a performance quantitative indicator of the first model;
determining, by the site analysis device, whether the performance quantitative indicator of the first model is less than a target threshold; and
determining, by the site analysis device, that the first model is degraded if the performance quantitative indicator of the first model is less than the target threshold.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the method further comprises:
obtaining, by the site analysis device, second feature data of the network device; and
obtaining, by the site analysis device, a first inference result obtained by the first model based on the second feature data; and
the obtaining, by the site analysis device, of the performance quantitative indicator of the first model comprises:
obtaining, by the site analysis device, an accuracy rate of the first model based on the first inference result and a preset label of the second feature data, and using the accuracy rate as the performance quantitative indicator of the first model; or obtaining, by the site analysis device, a recall rate of the first model based on the first inference result and a preset label of the second feature data, and using the recall rate as the performance quantitative indicator of the first model.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the method further comprises:
sending, by the site analysis device, a first data request to the network device, to request the network device to send a second training sample to the site analysis device, wherein the second training sample comprises the second feature data and the first inference result, and the first inference result is obtained by the first model based on the second feature data.

### Claim 12 (depends on 7)

The method according to claim 7, wherein the method further comprises:
sending, by the site analysis device, an updated model to the network device, wherein the updated model comprises the second model or the third model, and is used to output an inference result based on to-be-predicted feature data of the network device.

### Claim 13 (depends on 7)

The method according to claim 7, wherein the method further comprises:
sending, by the site analysis device, an updated model to the network device, wherein the updated model comprises the second model or the third model, and is used to predict a classification result based on to-be-predicted feature data of the network device, and the to-be-predicted feature data comprises key performance indicator (KPI) feature data.

### Claim 14 (depends on 7)

The method according to claim 7, wherein the method further comprises:
receiving, by the site analysis device, to-be-predicted feature data of the network device; and
outputting, by the site analysis device, an inference result based on the to-be-predicted feature data of the network device by using an updated model, wherein the updated model comprises the second model or the third model.

### Claim 15 (depends on 7)

The method according to claim 7, wherein the method further comprises:
testing, by the site analysis device, the second model by using test data, wherein the test data comprises a ground truth label; and
storing, by the site analysis device, degraded data, to enable the site analysis device to update a model in the site analysis device by using the degraded data, wherein the degraded data belongs to the test data, an inference label of the degraded data is not equal to the ground truth label, and the inference label is obtained by the site analysis device by testing the second model by using the test data.

### Claim 16

A model update method comprising:
sending, by a first analysis device, a first model to a site analysis device, wherein the first model is configured to output an inference result based on to-be-predicted feature data of a network device;
receiving, by the first analysis device, differential data between the first model and a second model, wherein the second model is obtained by the site analysis device by training the first model by using a first training sample, and the first training sample comprises first feature data of the network device in a site network corresponding to the site analysis device; and
updating, by the first analysis device, the first model based on the differential data to obtain a third model.

### Claim 17 (depends on 16)

The method according to claim 16, wherein
the sending, by the first analysis device, of the first model to the site analysis device comprises:
sending, by the first analysis device, the first model to N site analysis devices, wherein N is an integer greater than 1;
the receiving, by the first analysis device, of the differential data between the first model and a second model comprises:
receiving, by the first analysis device, a plurality of pieces of the differential data sent by L site analysis devices, wherein L is an integer greater than 1 and less than or equal to N;
the updating, by the first analysis device, of the the first model based on the differential data to obtain a third model comprises:
updating, by the first analysis device, the first model based on the plurality of pieces of the differential data to obtain the third model; and
the method further comprises:
sending, by the first analysis device, the third model to the N site analysis devices.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the method further comprises:
obtaining, by the first analysis device, an average value of the plurality of pieces of the differential data; and
the updating, by the first analysis device, of the first model based on the plurality of pieces of the differential data to obtain the third model comprises:
updating, by the first analysis device, the first model by using the average value of the plurality of pieces of the differential data to obtain the third model.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the method further comprises:
obtaining, by the first analysis device, a weighted average value of the plurality of pieces of the differential data; and
the updating, by the first analysis device, of the first model based on the plurality of pieces of the differential data to obtain the third model comprises:
updating, by the first analysis device, the first model by using the weighted average value to obtain the third model.

### Claim 20 (depends on 17)

The method according to claim 17, wherein the method further comprises:
collecting, by the first analysis device, statistics about the quantity L of site analysis devices that send the differential data to the first analysis device; and
performing the step of updating, by the first analysis device, the first model based on the differential data to obtain a third model if a ratio of L to N reaches a threshold K, wherein K is greater than 0 and less than or equal to 1.
