# US 2021/0279552 A1 · Method for making recommendations to a user and apparatus, computing device, and storage medium

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

- Number: US 2021/0279552 A1
- Document ID: US20210279552A1
- Status: Published application
- Kind: A1
- Application number: 17/329,128
- Filed: 2021-05-24
- Published: 2021-09-09
- Earliest claimed: 2019-04-18
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Zhijie QIU; Jun RAO; Yi LIU; Zhou SU; Shukai LIU; Zhenlong SUN; Qi LIU; Liangdong WANG; Tiantian SHANG; Mingfei LIANG; Lei CHEN; Bo ZHANG; Leyu LIN
- Web page: https://patentgrep.com/patent/US20210279552A1

## CPC

- H04L 67/306: User profiles
- G06F 18/213: Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F 18/253: {of extracted features}
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06Q 30/0282: Rating or review of business operators or products
- G06V 10/806: {of extracted features}
- G06V 10/82: using neural networks
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06N 3/045: Combinations of networks
- G06N 3/048: Activation functions
- G06N 3/08: Learning methods
- G06V 40/20: Movements or behaviour, e.g. gesture recognition (recognition of facial expressions G06V40/16)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Embodiments of this application provide a method for making recommendations to a user and an apparatus, a computing device, and a storage medium. The method includes obtaining user attribute information, reading attribute information, reading history information, and candidate items; performing intra-group information fusion on the reading attribute information according to preset groupings to obtain reading feature information; obtaining a reading history weight according to the reading history information; obtaining history feature information according to the reading history weight and the reading history information; obtaining user feature information according to the user attribute information, the reading feature information, and the history feature information; and selecting a recommendation item from the candidate items according to the user feature information.

## Claims

### Claim 1

A method for making recommendations to a user, performed by a computing device, the method comprising:
obtaining user attribute information, reading attribute information, reading history information, and candidate items;
performing intra-group information fusion on the reading attribute information according to preset groupings to obtain reading feature information;
obtaining a reading history weight according to the reading history information;
obtaining history feature information according to the reading history weight and the reading history information;
obtaining user feature information according to the user attribute information, the reading feature information, and the history feature information; and
selecting a recommendation item from the candidate items according to the user feature information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the performing intra-group information fusion on the reading attribute information according to preset groupings to obtain reading feature information comprises:
performing average pooling on the reading attribute information in a same group to obtain the reading feature information.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the obtaining a reading history weight according to the reading history information comprises:
inputting the reading history information to a self-attention layer model to calculate a self-attention layer output vector of the reading history information; and
calculating the reading history weight according to the self-attention layer output vector and a preset parameter.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the obtaining history feature information according to the reading history weight and the reading history information comprises:
inputting the self-attention layer output vector to an attention pooling layer model, and performing weighted averaging on the self-attention layer output vector according to the reading history weight to obtain the history feature information.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the self-attention layer model performs the following method:
re-encoding the reading history information to obtain a first feature matrix, a second feature matrix, and a third feature matrix;
performing linear transformation on the first feature matrix, the second feature matrix, and the third feature matrix, and inputting the first feature matrix, the second feature matrix, and the third feature matrix on which the linear transformation has been performed into a first self-attention model in parallel for a plurality of times, to obtain output results of the first self-attention model;
concatenating the output results of the first self-attention model and performing linear transformation to obtain a self-attention layer output vector.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the obtaining user feature information according to the user attribute information, the reading feature information, and the history feature information comprises:
combining the user attribute information, the reading feature information, and the history feature information into combined feature information; and
inputting the combined feature information into a multi-layer neural network to obtain the user feature information that matches dimensions of the candidate items.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the selecting a recommendation item from the candidate items according to the user feature information comprises:
calculating degree of similarity between the user feature information and the candidate items to obtain similarity scores between the user feature information and the candidate items; and
selecting the recommendation item from the candidate items according to the similarity scores.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the calculating degree of similarity between the user feature information and the candidate items to obtain similarity scores between the user feature information and the candidate items comprises:
inputting the user feature information and the candidate items into a neural network, to calculate the similarity scores by using an inner product algorithm or a cosine similarity.

### Claim 9

A user recommendation apparatus, comprising a processor and a memory, the memory storing computer-executable instructions, the computer-executable instructions, when executed by the processor, causing the processor to:
obtain corresponding reading feature information according to different reading attribute information;
obtain history feature information according to reading history information;
obtain user feature information according to user attribute information, the reading feature information, and the history feature information; and
select a recommendation item from candidate items according to the user feature information.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the computer-executable instructions further cause the processor to:
input the reading history information into a self-attention layer model to obtain a self-attention layer output vector;
calculate a reading history weight according to the self-attention layer output vector and a preset parameter; and
input the self-attention layer output vector to an attention pooling layer model, and perform weighted averaging on the self-attention layer output vector according to the reading history weight to obtain the history feature information.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein obtaining the history feature information according to the reading history weight and the reading history information comprises:
inputting the self-attention layer output vector to an attention pooling layer model, and performing weighted averaging on the self-attention layer output vector according to the reading history weight to obtain the history feature information.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the self-attention layer model performs:
re-encoding the reading history information to obtain a first feature matrix, a second feature matrix, and a third feature matrix;
performing linear transformation on the first feature matrix, the second feature matrix, and the third feature matrix, and inputting the first feature matrix, the second feature matrix, and the third feature matrix on which the linear transformation has been performed into a first self-attention model in parallel for a plurality of times, to obtain output results of the first self-attention model;
concatenating the output results of the first self-attention model and performing linear transformation to obtain a self-attention layer output vector.

### Claim 13

A non-transitory computer-readable storage medium, storing computer-executable instructions, the computer-executable instructions, when executed by a processor, causing the processor to perform the method for making recommendations to a user, comprising:
obtaining user attribute information, reading attribute information, reading history information, and candidate items;
performing intra-group information fusion on the reading attribute information according to preset groupings to obtain reading feature information;
obtaining a reading history weight according to the reading history information;
obtaining history feature information according to the reading history weight and the reading history information;
obtaining user feature information according to the user attribute information, the reading feature information, and the history feature information; and
selecting a recommendation item from the candidate items according to the user feature information.

### Claim 14 (depends on 13)

The computer-readable storage medium according to claim 13, wherein the performing intra-group information fusion on the reading attribute information according to preset groupings to obtain reading feature information comprises:
performing average pooling on the reading attribute information in a same group to obtain the reading feature information.

### Claim 15 (depends on 13)

The computer-readable storage medium according to claim 13, wherein the obtaining a reading history weight according to the reading history information comprises:
inputting the reading history information to a self-attention layer model to calculate a self-attention layer output vector of the reading history information; and
calculating the reading history weight according to the self-attention layer output vector and a preset parameter.

### Claim 16 (depends on 15)

The computer-readable storage medium according to claim 15, wherein the obtaining history feature information according to the reading history weight and the reading history information comprises:
inputting the self-attention layer output vector to an attention pooling layer model, and performing weighted averaging on the self-attention layer output vector according to the reading history weight to obtain the history feature information.

### Claim 17 (depends on 15)

The computer-readable storage medium according to claim 15, wherein the self-attention layer model performs the following method:
re-encoding the reading history information to obtain a first feature matrix, a second feature matrix, and a third feature matrix;
performing linear transformation on the first feature matrix, the second feature matrix, and the third feature matrix, and inputting the first feature matrix, the second feature matrix, and the third feature matrix on which the linear transformation has been performed into a first self-attention model in parallel for a plurality of times, to obtain output results of the first self-attention model;
concatenating the output results of the first self-attention model and performing linear transformation to obtain a self-attention layer output vector.

### Claim 18 (depends on 13)

The computer-readable storage medium according to claim 13, wherein the obtaining user feature information according to the user attribute information, the reading feature information, and the history feature information comprises:
combining the user attribute information, the reading feature information, and the history feature information into combined feature information; and
inputting the combined feature information into a multi-layer neural network to obtain the user feature information that matches dimensions of the candidate items.

### Claim 19 (depends on 13)

The computer-readable storage medium according to claim 13, wherein the selecting a recommendation item from the candidate items according to the user feature information comprises:
calculating degree of similarity between the user feature information and the candidate items to obtain similarity scores between the user feature information and the candidate items; and
selecting the recommendation item from the candidate items according to the similarity scores.

### Claim 20 (depends on 19)

The computer-readable storage medium according to claim 19, wherein the calculating degree of similarity between the user feature information and the candidate items to obtain similarity scores between the user feature information and the candidate items comprises:
inputting the user feature information and the candidate items into a neural network, to calculate the similarity scores by using an inner product algorithm or a cosine similarity.
