# US 10,956,532 B2 · Method and apparatus for displaying page to user through reinforcement learning

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

- Number: US 10,956,532 B2
- Document ID: US10956532B2
- Status: Granted
- Kind: B2
- Application number: 16/795,091
- Filed: 2020-02-19
- Published: 2020-08-20
- Granted: 2021-03-23
- Earliest claimed: 2019-02-20
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Qing Cui
- Web page: https://patentgrep.com/patent/US10956532B2

## CPC

- G06Q 30/0631: {Recommending goods or services}
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 18/2178: {based on feedback of a supervisor}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/092: Reinforcement learning
- G06N 7/00: Computing arrangements based on specific mathematical models
- G06N 20/00: Machine learning
- G06F 9/451: Execution arrangements for user interfaces
- G06Q 30/0269: {based on user profile or attribute}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Implementations of this specification provide a method and an apparatus for obtaining a display policy through reinforcement learning techniques. The display policy can be used to select particular page layouts to present to a user. The method includes the following: obtaining user features of a first user in response to a request for accessing a first page by the first user; selecting, according to a display policy and based on the user features, a first page layout from a first plurality of candidate page layouts; displaying the first page to the first user with the first page layout; obtaining operation information of the first user on the first page with the first page layout, and determining a reward score for current page display based on the operation information; and updating the display policy for displaying pages by using a reinforcement learning algorithm based at least on the reward score.

## Claims

### Claim 1

A method comprising:
obtaining a plurality of candidate page display methods for displaying a succession of pages;
obtaining a plurality of candidate page element arrangement methods for arranging different page elements on a same page;
obtaining a plurality of candidate attributes of the page elements;
generating, from the candidate page display methods, the candidate page element arrangement methods, and the candidate attributes of the page elements, a first plurality of candidate page layouts;
generating a display policy that defines a mapping relationship between the first plurality of candidate page layouts and a plurality of different user features;
in response to a request to access a first page by a first user, obtaining a plurality of first user features, wherein the plurality of first user features comprises one or more user profile features and one or more user context features;
selecting, according to the display policy and based on the plurality of first user features, a first page layout from the first plurality of candidate page layouts;
displaying the first page with the first page layout;
obtaining operation information of the first user interacting with the first page with the first page layout, and determining a reward score based on the operation information; and
updating the display policy by implementing a reinforcement learning algorithm based at least on the reward score.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the user profile features comprise at least one of the following: an age, a gender, registration duration, an education level, an occupation, or a user tag; and
the user context features comprise at least one of the following: time when the request is sent, an interface that the request is sent through, or operation track information of the first user.

### Claim 3 (depends on 1)

The method according to claim 1, wherein
the candidate page display methods comprise waterfall display or page turning display; and
the plurality of candidate attributes of the page elements comprise display sizes, display shapes, or resolution of the page elements.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the display policy is an initial policy, and selecting the first page layout from the first plurality of candidate page layouts generated for the first page comprises:
randomly assigning a first traffic bucket in a first plurality of traffic buckets to the first user, wherein the first plurality of traffic buckets correspond to the first plurality of candidate page layouts; and
using a candidate page layout from the first plurality of candidate page layouts that corresponds to the first traffic bucket as the first page layout.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the display policy is implemented by one of a logistic regression model, a gradient boosting decision tree GBDT model, or a deep neural network.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the operation information comprises at least one of the following: hit count on the first page, first page view count, view depth to the first page, or time on the first page; and
the determining the reward score for current page display based on the operation information comprises: determining the reward score as a weighted sum of at least one of the operation information.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the operation information comprises a transaction amount achieved based on the first page; and
the determining the reward score for current page display based on the operation information comprises: determining the reward score to be directly proportional to the transaction amount.

### Claim 8 (depends on 1)

The method according to claim 1, wherein updating the display policy for displaying pages by using the reinforcement learning algorithm based at least on the reward score to perform page display comprises:
adding the first user features, the first page layout, and the reward score to a training sample set as one training sample; and
updating the display policy for displaying the pages on the training sample set and by using the reinforcement learning algorithm.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the reinforcement learning algorithm comprises a SARSA algorithm, an evolution strategy algorithm, a Q-learning algorithm, a policy gradient algorithm, or a cross information entropy method.

### Claim 10

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform operations comprising:
obtaining a plurality of candidate page display methods for displaying a succession of pages;
obtaining a plurality of candidate page element arrangement methods for arranging different page elements on a same page;
obtaining a plurality of candidate attributes of the page elements;
generating, from the candidate page display methods, the candidate page element arrangement methods, and the candidate attributes of the page elements, a first plurality of candidate page layouts;
generating a display policy that defines a mapping relationship between the first plurality of candidate page layouts and a plurality of different user features;
in response to a request to access a first page by a first user, obtaining a plurality of first user features, wherein the plurality of first user features comprises one or more user profile features and one or more user context features;
selecting, according to the display policy and based on the plurality of first user features, a first page layout from the first plurality of candidate page layouts;
displaying the first page with the first page layout;
obtaining operation information of the first user interacting with the first page with the first page layout, and determining a reward score based on the operation information; and
updating the display policy by implementing a reinforcement learning algorithm based at least on the reward score.

### Claim 11 (depends on 10)

The computer-implemented system according to claim 10, wherein
the user profile features comprise at least one of the following: an age, a gender, registration duration, an education level, an occupation, or a user tag; and
the user context features comprise at least one of the following: time when the request is sent, an interface that the request is sent through, or operation track information of the first user.

### Claim 12 (depends on 10)

The computer-implemented system according to claim 10, wherein
the candidate page display methods comprise waterfall display or page turning display; and
the plurality of candidate attributes of the page elements comprise display sizes, display shapes, or resolution of the page elements.

### Claim 13 (depends on 10)

The computer-implemented system according to claim 10, wherein the display policy is an initial policy, and selecting the first page layout from the first plurality of candidate page layouts generated for the first page comprises:
randomly assigning a first traffic bucket in a first plurality of traffic buckets to the first user, wherein the first plurality of traffic buckets correspond to the first plurality of candidate page layouts; and
using a candidate page layout from the first plurality of candidate page layouts that corresponds to the first traffic bucket as the first page layout.

### Claim 14 (depends on 10)

The computer-implemented system according to claim 10, wherein the display policy is implemented by one of a logistic regression model, a gradient boosting decision tree GBDT model, or a deep neural network.

### Claim 15 (depends on 10)

The computer-implemented system according to claim 10, wherein the operation information comprises at least one of the following: hit count on the first page, first page view count, view depth to the first page, or time on the first page; and
the determining the reward score for current page display based on the operation information comprises: determining the reward score as a weighted sum of at least one of the operation information.

### Claim 16 (depends on 10)

The computer-implemented system according to claim 10, wherein the operation information comprises a transaction amount achieved based on the first page; and
the determining the reward score for current page display based on the operation information comprises: determining the reward score to be directly proportional to the transaction amount.

### Claim 17 (depends on 10)

The computer-implemented system according to claim 10, wherein updating the display policy for displaying pages by using the reinforcement learning algorithm based at least on the reward score to perform page display comprises:
adding the first user features, the first page layout, and the reward score to a training sample set as one training sample; and
updating the display policy for displaying pages on the training sample set and by using the reinforcement learning algorithm.

### Claim 18 (depends on 10)

The computer-implemented system according to claim 10, wherein the reinforcement learning algorithm comprises an evolution strategy algorithm, a Q-learning algorithm, a SARSA algorithm, a policy gradient algorithm, or a cross information entropy method.

### Claim 19

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
obtaining a plurality of candidate page display methods for displaying a succession of pages;
obtaining a plurality of candidate page element arrangement methods for arranging different page elements on a same page;
obtaining a plurality of candidate attributes of the page elements;
generating, from the candidate page display methods, the candidate page element arrangement methods, and the candidate attributes of the page elements, a first plurality of candidate page layouts;
generating a display policy that defines a mapping relationship between the first plurality of candidate page layouts and a plurality of different user features;
in response to a request to access a first page by a first user, obtaining a plurality of first user features, wherein the plurality of first user features comprises one or more user profile features and one or more user context features;
selecting, according to the display policy and based on the plurality of first user features, a first page layout from the first plurality of candidate page layouts;
displaying the first page with the first page layout;
obtaining operation information of the first user interacting with the first page with the first page layout, and determining a reward score based on the operation information; and
updating the display policy by implementing a reinforcement learning algorithm based at least on the reward score.
