# US 2024/0202491 A1 · Recommendation method, method for training recommendation model, and related product

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

- Number: US 2024/0202491 A1
- Document ID: US20240202491A1
- Status: Published application
- Kind: A1
- Application number: 18/416,924
- Filed: 2024-01-19
- Published: 2024-06-20
- Earliest claimed: 2021-07-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wei Guo; Jiarui Qin; Ruiming Tang; Zhirong Liu; Xiuqiang He; Weinan Zhang; Yong Yu
- Web page: https://patentgrep.com/patent/US20240202491A1

## CPC

- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- G06Q 30/0251: Targeted advertisements
- G06Q 30/0255: {based on user history}
- G06Q 30/0269: {based on user profile or attribute}
- G06Q 30/0631: {Recommending goods or services}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A recommendation device obtains to-be-predicted data and a plurality of target reference samples based on a similarity between the to-be-predicted data and the plurality of reference samples. Each reference sample and the to-be-predicted data each include user feature field data indicating a feature of a target user, and item feature field data indicating a feature of a target item. Each target reference sample and the to-be-predicted data have partially identical user feature field data and/or item feature field data. The recommendation device obtains target feature information of the to-be-predicted data based on the plurality of target reference samples and the to-be-predicted data. The recommendation device then uses the target feature information as input to a deep neural network to obtain a target item that is to be recommended.

## Claims

### Claim 1

A recommendation method performed by a recommendation device, comprising:
obtaining to-be-predicted data;
obtaining a plurality of target reference samples from a plurality of reference samples based on a similarity between the to-be-predicted data and the plurality of reference samples, wherein each reference sample and the to-be-predicted data each comprise user feature field data and item feature field data, the user feature field data of the to-be-predicted data indicates a feature of a target user, the item feature field data of the to-be-predicted data indicates a feature of a target item, and each target reference sample and the to-be-predicted data have partially identical user feature field data or item feature field data;
obtaining target feature information of the to-be-predicted data based on the plurality of target reference samples and the to-be-predicted data, wherein the target feature information comprises a first target eigenvector group and a second target eigenvector group, the first target eigenvector group is vectorized to-be-predicted data, and the second target eigenvector group is obtained by vectorizing the plurality of target reference samples and then performing fusion on vectorized target reference samples;
obtaining an output value through a deep neural network (DNN) by using the target feature information as input; and
determining, based on the output value, whether to recommend the target item to the target user.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the target reference samples further comprise label data, and the step of obtaining the target feature information comprises:
obtaining the second target eigenvector group by vectorizing user feature field data, item feature field data, and the label data of the plurality of target reference samples, and then performing fusion on vectorized data.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the target feature information further comprises a third target eigenvector group, wherein the step of obtaining the target feature information comprises:
obtaining the third target eigenvector group by performing pairwise interaction between target eigenvectors in a first vector group comprising the first target eigenvector group and the second target eigenvector group.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the step of obtaining the target feature information comprises:
concatenating a plurality of first target eigenvectors in the first target eigenvector group to obtain a second eigenvector of the to-be-predicted data;
concatenating a plurality of first eigenvectors of each target reference sample to obtain a second eigenvector of each target reference sample, wherein the plurality of first eigenvectors of each target reference sample are obtained by vectorizing the target reference sample;
obtaining a similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data;
determining a weight of each target reference sample based on the similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data; and
performing fusion on first eigenvectors of the plurality of target reference samples in a same feature field based on the weight of each target reference sample to obtain the second target eigenvector group.

### Claim 5 (depends on 1)

The method according to claim 1, wherein before the step of obtaining the plurality of target reference samples, the method further comprises:
obtaining a plurality of raw samples, wherein each raw sample comprises user feature field data and item feature field data; and
performing inverted indexing on the plurality of raw samples by using a plurality of pieces of user feature field data and a plurality of pieces of item feature field data of the to-be-predicted data as elements to obtain the plurality of reference samples.

### Claim 6

A recommendation device comprising:
a memory storing executable instructions; and
a processor configured to execute the executable instructions to perform operations of:
obtaining to-be-predicted data;
obtaining a plurality of target reference samples from a plurality of reference samples based on a similarity between the to-be-predicted data and the plurality of reference samples, wherein each reference sample and the to-be-predicted data each comprise user feature field data and item feature field data, the user feature field data of the to-be-predicted data indicates a feature of a target user, the item feature field data of the to-be-predicted data indicates a feature of a target item, and each target reference sample and the to-be-predicted data have partially identical user feature field data and/or item feature field data;
obtaining target feature information of the to-be-predicted data based on the plurality of target reference samples and the to-be-predicted data, wherein the target feature information comprises a first target eigenvector group and a second target eigenvector group, the first target eigenvector group is vectorized to-be-predicted data, and the second target eigenvector group is obtained by vectorizing the plurality of target reference samples and then performing fusion on vectorized target reference samples;
obtaining an output value through a deep neural network (DNN) by using the target feature information as input; and
determining, based on the output value, whether to recommend the target item to the target user.

### Claim 7 (depends on 6)

The recommendation device according to claim 6, wherein the target reference samples further comprise label data, and the operation of obtaining the target feature information comprises:
obtaining the second target eigenvector group by vectorizing user feature field data, item feature field data, and the label data of the plurality of target reference samples, and then performing fusion on vectorized data.

### Claim 8 (depends on 6)

The recommendation device according to claim 6, wherein the target feature information further comprises a third target eigenvector group, and the operation of obtaining the target feature information comprises:
obtaining the third target eigenvector group by performing pairwise interaction between target eigenvectors in a first vector group comprising the first target eigenvector group and the second target eigenvector group.

### Claim 9 (depends on 6)

The recommendation device according to claim 6, wherein the step of obtaining the target feature information comprises:
concatenating a plurality of first target eigenvectors in the first target eigenvector group to obtain a second eigenvector of the to-be-predicted data;
concatenating a plurality of first eigenvectors of each target reference sample to obtain a second eigenvector of each target reference sample, wherein the plurality of first eigenvectors of each target reference sample are obtained by vectorizing the target reference sample;
obtaining a similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data;
determining a weight of each target reference sample based on the similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data; and
performing fusion on first eigenvectors of the plurality of target reference samples in a same feature field based on the weight of each target reference sample to obtain the second target eigenvector group.

### Claim 10 (depends on 6)

The recommendation device according to claim 6, wherein before obtaining the plurality of target reference samples, the processor is further configured to perform operations of:
obtaining a plurality of raw samples, wherein each raw sample comprises user feature field data and item feature field data; and
performing inverted indexing on the plurality of raw samples by using a plurality of pieces of user feature field data and a plurality of pieces of item feature field data of the to-be-predicted data as elements to obtain the plurality of reference samples.

### Claim 11

A non-transitory computer-readable storage medium having stored thereon executable instructions that, when executed by a processor of a recommendation device, cause the recommendation device to perform operations of:
obtaining to-be-predicted data;
obtaining a plurality of target reference samples from a plurality of reference samples based on a similarity between the to-be-predicted data and the plurality of reference samples, wherein each reference sample and the to-be-predicted data each comprise user feature field data and item feature field data, the user feature field data of the to-be-predicted data indicates a feature of a target user, the item feature field data of the to-be-predicted data indicates a feature of a target item, and each target reference sample and the to-be-predicted data have partially identical user feature field data and/or item feature field data;
obtaining target feature information of the to-be-predicted data based on the plurality of target reference samples and the to-be-predicted data, wherein the target feature information comprises a first target eigenvector group and a second target eigenvector group, the first target eigenvector group is vectorized to-be-predicted data, and the second target eigenvector group is obtained by vectorizing the plurality of target reference samples and then performing fusion on vectorized target reference samples;
obtaining an output value through a deep neural network (DNN) by using the target feature information as input; and
determining, based on the output value, whether to recommend the target item to the target user.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the target reference samples further comprise label data, and the executable instructions cause the recommendation device to obtain the target feature information by:
obtaining the second target eigenvector group by vectorizing user feature field data, item feature field data, and the label data of the plurality of target reference samples, and then performing fusion on vectorized data.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the target feature information further comprises a third target eigenvector group, and the executable instructions cause the recommendation device to obtain the target feature information by:
obtaining the third target eigenvector group by performing pairwise interaction between target eigenvectors in a first vector group comprising the first target eigenvector group and the second target eigenvector group.

### Claim 14 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the executable instructions cause the recommendation device to obtain the target feature information by:
concatenating a plurality of first target eigenvectors in the first target eigenvector group to obtain a second eigenvector of the to-be-predicted data;
concatenating a plurality of first eigenvectors of each target reference sample to obtain a second eigenvector of each target reference sample, wherein the plurality of first eigenvectors of each target reference sample are obtained by vectorizing the target reference sample;
obtaining a similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data;
determining a weight of each target reference sample based on the similarity between the second eigenvector of each target reference sample and the second eigenvector of the to-be-predicted data; and
performing fusion on first eigenvectors of the plurality of target reference samples in a same feature field based on the weight of each target reference sample to obtain the second target eigenvector group.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein before obtaining the plurality of target reference samples the executable instructions cause the recommendation device to perform operations of:
obtaining a plurality of raw samples, wherein each raw sample comprises user feature field data and item feature field data; and
performing inverted indexing on the plurality of raw samples by using a plurality of pieces of user feature field data and a plurality of pieces of item feature field data of the to-be-predicted data as elements to obtain the plurality of reference samples.
