# US 2021/0081753 A1 · Reinforcement learning in combinatorial action spaces

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

- Number: US 2021/0081753 A1
- Document ID: US20210081753A1
- Status: Published application
- Kind: A1
- Application number: 16/975,060
- Filed: 2019-05-20
- Published: 2021-03-18
- Earliest claimed: 2018-05-18
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Tze Way Eugene IE; Vihan JAIN; Jing WANG; Ritesh AGARWAL; Craig Edgar BOUTILIER
- Web page: https://patentgrep.com/patent/US20210081753A1

## CPC

- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 3/008: based on physical entities controlled by simulated intelligence so as to replicate intelligent life forms, e.g. based on robots replicating pets or humans in their appearance or behaviour
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for reinforcement learning in combinatorial action spaces. One of the methods includes receiving an observation characterizing a current state of an environment; for each of a plurality of candidate actions: processing a network input using a Q neural network to generate a Q value that represents a return received if the candidate action is selected while the candidate action is presented in response to the received observation, processing the network input using a myopic neural network to generate a myopic output that represents a likelihood that the candidate action will be selected if the candidate action is presented in response to the received observation, and combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action; and selecting the candidate actions having the highest selection scores.

## Claims

### Claim 1

A method of selecting a set of multiple actions for presentation in response to a received observation, the method comprising:
receiving an observation characterizing a current state of an environment;
for each of a plurality of candidate actions:
processing a network input comprising the observation and data characterizing the candidate action using a Q neural network, wherein the Q neural network is configured to process the network input to generate a Q value that represents a return received if the candidate action is selected while the candidate action is presented in response to the received observation,
processing the network input using a myopic neural network, wherein the myopic neural network is configured to process the network input to generate a myopic output that represents a likelihood that the candidate action will be selected if the candidate action is presented in response to the received observation, and
combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action; and
selecting for inclusion in the set of multiple actions the candidate actions having the highest selection scores.

### Claim 2 (depends on 1)

The method of claim 1, wherein combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action comprises multiplying the myopic output and the Q value.

### Claim 3 (depends on 1)

The method of claim 1, wherein the myopic neural network and the Q neural network share some parameters.

### Claim 4 (depends on 1)

The method of claim 1, wherein the environment is an industrial facility, wherein the actions are possible controls for controlling the industrial facility, and wherein the set of actions are presented to an operating user or to a control system of the industrial facility as candidate controls for controlling the industrial facility.

### Claim 5 (depends on 1)

The method of claim 1, wherein the environment is an environment being interacted with a robot, wherein the actions are possible controls for controlling the robot, and wherein the set of actions are presented to a control system of the robot for selection as control inputs to the robot.

### Claim 6 (depends on 1)

The method of claim 1, wherein the environment is a content item recommendation environment, wherein the actions are recommendations of content items, and wherein the set of actions is presented to a user as a set of content item recommendations.

### Claim 7 (depends on 6)

The method of claim 6, wherein the observation is features of the user, comprising features characterizing a user history of interactions with the content item recommendation environment, and wherein the data characterizing the candidate action is features of the content item recommended by the candidate action.

### Claim 8 (depends on 1)

The method of claim 1, wherein the return is an estimate of a long-term value if the candidate action is selected while the candidate action is presented in response to the received observation.

### Claim 9 (depends on 1)

The method of claim 1, wherein the set of actions is presented to a user, and wherein the return is an estimate of long-term user satisfaction.

### Claim 10 (depends on 1)

The method of claim 1, further comprising training the Q neural network, comprising:
obtaining a training transition, the training transition comprising:
a current observation,
a current set of actions that was presented in response to the current observation,
data identifying that a first action in the current set was selected,
data identifying a short-term reward for the first action;
a next observation, and
a next set of actions that was presented in response to the next observation;
determining a normalized predicted selection likelihood for each action in the next set of actions using the myopic neural network;
determining a respective Q value for each action in the next set of actions;
determining a target long-term return from the short-term reward, the normalized predicted selection likelihood, and the respective Q values; and
determining an update to the parameters of the Q neural network using the target long-term return.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining the respective Q values comprises determining the Q values using a label Q network that has the same architecture but different parameter values from the Q neural network.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
training the myopic neural network to predict that the first action would be selected when presented in response to the current observation.

### Claim 13 (depends on 10)

The method of claim 10, wherein
determining the update to the parameters of the Q neural network comprises:
processing a training network input comprising the current observation and data characterizing the first action using the Q neural network to generate a Q value for the first action; and
training the Q neural network to reduce an error between the Q value for the first action and the target long-term return.

### Claim 14

One or more non-transitory computer-readable readable storage media storing instructions that when executed by one or more computers cause the one or more computers to perform operations for selecting a set of multiple actions for presentation in response to a received observation, the operations comprising:
receiving an observation characterizing a current state of an environment;
for each of a plurality of candidate actions:
processing a network input comprising the observation and data characterizing the candidate action using a Q neural network, wherein the Q neural network is configured to process the network input to generate a Q value that represents a return received if the candidate action is selected while the candidate action is presented in response to the received observation,
processing the network input using a myopic neural network, wherein the myopic neural network is configured to process the network input to generate a myopic output that represents a likelihood that the candidate action will be selected if the candidate action is presented in response to the received observation, and
combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action; and
selecting for inclusion in the set of multiple actions the candidate actions having the highest selection scores.

### Claim 15

A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one or more computers to perform operations for selecting a set of multiple actions for presentation in response to a received observation, the operations comprising:
receiving an observation characterizing a current state of an environment;
for each of a plurality of candidate actions:
processing a network input comprising the observation and data characterizing the candidate action using a Q neural network, wherein the Q neural network is configured to process the network input to generate a Q value that represents a return received if the candidate action is selected while the candidate action is presented in response to the received observation,
processing the network input using a myopic neural network, wherein the myopic neural network is configured to process the network input to generate a myopic output that represents a likelihood that the candidate action will be selected if the candidate action is presented in response to the received observation, and
combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action; and
selecting for inclusion in the set of multiple actions the candidate actions having the highest selection scores.

### Claim 16 (depends on 15)

The system of claim 15, wherein combining the myopic output and the Q value for the candidate action to generate a selection score for the candidate action comprises multiplying the myopic output and the Q value.

### Claim 17 (depends on 15)

The system of claim 15, wherein the myopic neural network and the Q neural network share some parameters.

### Claim 18 (depends on 15)

The system of claim 15, the operations further comprising training the Q neural network, comprising:
obtaining a training transition, the training transition comprising:
a current observation,
a current set of actions that was presented in response to the current observation,
data identifying that a first action in the current set was selected,
data identifying a short-term reward for the first action;
a next observation, and
a next set of actions that was presented in response to the next observation;
determining a normalized predicted selection likelihood for each action in the next set of actions using the myopic neural network;
determining a respective Q value for each action in the next set of actions;
determining a target long-term return from the short-term reward, the normalized predicted selection likelihood, and the respective Q values; and
determining an update to the parameters of the Q neural network using the target long-term return.

### Claim 19 (depends on 18)

The system of claim 18, wherein determining the respective Q values comprises determining the Q values using a label Q network that has the same architecture but different parameter values from the Q neural network.

### Claim 20 (depends on 18)

The system of claim 18, the operations further comprising: training the myopic neural network to predict that the first action would be selected when presented in response to the current observation.
