# US 2020/0401881 A1 · Ranking user comments on media using reinforcement learning optimizing for session dwell time

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

- Number: US 2020/0401881 A1
- Document ID: US20200401881A1
- Status: Published application
- Kind: A1
- Application number: 16/446,480
- Filed: 2019-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Oath Inc.
- Applicants: Oath Inc.
- Inventors: Kapil Thadani; Akshay Soni; Parikshit Shah; Troy Chevalier; Sreekanth Ramakrishnan; Aaron Nagao; Zhi Qu
- Web page: https://patentgrep.com/patent/US20200401881A1

## CPC

- G06N 3/08: Learning methods
- G06F 16/24578: {using ranking}
- G06F 40/216: using statistical methods
- G06N 3/092: Reinforcement learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F 16/338: Presentation of query results
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/02: Neural networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 7/023: {Learning or tuning the parameters of a fuzzy system}
- G06N 7/026: {Development tools for entering the parameters of a fuzzy system}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided, including: storing comments generated in response to a content item served over a network; analyzing the comments to determine features associated with each of the comments; using a scoring model to score each comment based on the comment's corresponding features; receiving a request to serve a subset of the comments; responsive to the request, selecting a ranking of the comments that is one permutation from possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the possible rankings that is based on the scores of the comments; serving comments identified by the selected ranking over the network to a client device; determining a dwell time on the served comments; applying the dwell time to update the scoring model.

## Claims

### Claim 1

A method, comprising:
storing comments generated in response to a content item served over a network;
analyzing the comments to determine features associated with each of the comments;
using a scoring model to score each comment based on the comment's corresponding features;
receiving a request to serve a subset of the comments;
responsive to the request, selecting a ranking of the comments that is one permutation from possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the possible rankings that is based on the scores of the comments;
serving comments identified by the selected ranking over the network to a client device;
determining a dwell time on the served comments;
applying the dwell time to update the scoring model.

### Claim 2 (depends on 1)

The method of claim 1, wherein each permutation from possible rankings defines a unique order for at least some of the comments.

### Claim 3 (depends on 1)

The method of claim 1, wherein the features include statistics based on one or more of replies, upvotes, downvotes, and age.

### Claim 4 (depends on 1)

The method of claim 1, wherein the scoring model includes a neural network.

### Claim 5 (depends on 4)

The method of claim 4, wherein updating the scoring model includes adjusting one or more weights of the neural network.

### Claim 6 (depends on 1)

The method of claim 1, wherein updating the scoring model is configured to adjust the scoring model to maximize the dwell time of comments ordered according to their scores as determined by the scoring model.

### Claim 7 (depends on 1)

The method of claim 1, wherein the scoring model is configured to provide for a given comment a score indicating a relative contribution of the given comment to an optimized ranking.

### Claim 8 (depends on 1)

The method of claim 1, wherein the probability distribution is defined from probabilities of the permutations of possible rankings, such that a given ranking prioritizing comments predicted to have greater dwell time has a higher probability than a given ranking prioritizing comments predicted to have a lower dwell time, as determined from the scoring of each comment.

### Claim 9 (depends on 1)

The method of claim 1, wherein the dwell time defines a reward for reinforcement learning of the scoring model.

### Claim 10 (depends on 1)

The method of claim 1, wherein the request is generated from an access to the content item.

### Claim 11 (depends on 1)

The method of claim 1, wherein selecting the ranking includes sequentially defining a multinomial distribution and sampling from the multinomial distribution.

### Claim 12 (depends on 1)

The method of claim 1, wherein determining the dwell time includes tracking a quantity of time that the served comments are presented at the client device.

### Claim 13

A non-transitory computer readable medium having program instructions embodied thereon, the program instructions being configured, when executed by a computing device, to cause the computing device to perform the following operations:
storing comments generated in response to a content item served over a network;
analyzing the comments to determine features associated with each of the comments;
using a scoring model to score each comment based on the comment's corresponding features;
receiving a request to serve a subset of the comments;
responsive to the request, selecting a ranking of the comments that is one permutation from possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the possible rankings that is based on the scores of the comments;
serving comments identified by the selected ranking over the network to a client device;
determining a dwell time on the served comments;
applying the dwell time to update the scoring model.

### Claim 14 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein each permutation from possible rankings defines a unique order for at least some of the comments.

### Claim 15 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the features include statistics based on one or more of replies, upvotes, downvotes, and age.

### Claim 16 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the scoring model includes a neural network.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein updating the scoring model includes adjusting one or more weights of the neural network.

### Claim 18 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein updating the scoring model is configured to adjust the scoring model to maximize the dwell time of comments ordered according to their scores as determined by the scoring model.

### Claim 19 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the scoring model is configured to provide for a given comment a score indicating a relative contribution of the given comment to an optimized ranking.

### Claim 20

A system comprising at least one server computer, the at least one server computer having:
logic for storing comments generated in response to a content item served over a network;
logic for analyzing the comments to determine features associated with each of the comments;
logic for using a scoring model to score each comment based on the comment's corresponding features;
receiving a request to serve a subset of the comments;
logic for, responsive to the request, selecting a ranking of the comments that is one permutation from possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the possible rankings that is based on the scores of the comments;
logic for serving comments identified by the selected ranking over the network to a client device;
logic for determining a dwell time on the served comments;
logic for applying the dwell time to update the scoring model.
