# US 2023/0244937 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 2023/0244937 A1
- Document ID: US20230244937A1
- Status: Published application
- Kind: A1
- Application number: 18/132,499
- Filed: 2023-04-10
- Published: 2023-08-03
- Earliest claimed: 2019-06-19
- Assignees: Yahoo Assets LLC
- Applicants: Yahoo Assets LLC
- Inventors: Kapil Thadani; Akshay Soni; Parikshit Shah; Troy Chevalier; Sreekanth Ramakrishnan; Aaron Nagao; Zhi Qu
- Web page: https://patentgrep.com/patent/US20230244937A1

## 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:
using a scoring model to score each comment, of comments, based on corresponding features of the comment;
receiving a request to serve a subset of the comments;
determining a plurality of possible rankings of the comments associated with a plurality of possible permutations;
responsive to the request, selecting a ranking of the comments that is one permutation from the plurality of possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the plurality of possible rankings that is based on scores of the comments; and
serving one or more comments identified by the selected ranking over a network to a client device.

### Claim 2 (depends on 1)

The method of claim 1, wherein each permutation from the plurality of 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 at least one of replies, upvotes, downvotes, or 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 one or more dwell times of comments ordered according to one or more 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 permutations of the plurality 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, comprising:
determining a value based on the serving the one or more comments; and
updating the scoring model based on the value.

### Claim 10 (depends on 1)

The method of claim 1, wherein the request is generated from an access to a 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 9)

The method of claim 9, wherein determining the value includes tracking a quantity of time that the one or more 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 operations comprising:
using a scoring model to score each comment, of comments, based on corresponding features of the comment;
receiving a request to serve a subset of the comments;
determining a plurality of possible rankings of the comments associated with a plurality of possible permutations;
responsive to the request, selecting a ranking of the comments that is one permutation from the plurality of possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the plurality of possible rankings that is based on scores of the comments; and
serving one or more comments identified by the selected ranking over a network to a client device.

### Claim 14 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein each permutation from the plurality of 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 at least one of replies, upvotes, downvotes, or 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 one or more dwell times of comments ordered according to one or more 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 using a scoring model to score each comment, of comments, based on corresponding features of the comment;
logic for receiving a request to serve a subset of the comments;
logic for determining a plurality of possible rankings of the comments associated with a plurality of possible permutations;
logic for, responsive to the request, selecting a ranking of the comments that is one permutation from the plurality of possible rankings of the comments, wherein selecting the ranking is in accordance with a probability distribution of the plurality of possible rankings that is based on scores of the comments; and
logic for serving one or more comments identified by the selected ranking over a network to a client device.
