Method and system for selecting a content item from a collection of content items, and medium

By using intermediate signals and count data to estimate transition probabilities and reward distributions, the problem of obsolete environmental observations caused by reward delays in multi-armed bandit environments is solved, and effective action selection in dynamic environments is achieved.

CN112836117BActive Publication Date: 2024-10-18GDM HOLDINGS LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011336985.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-10-18
Estimated Expiration
2040-11-25

AI Technical Summary

Technical Problem

In a multi-armed bandit environment, it is difficult for existing technologies to effectively learn and select actions because reward delays lead to obsolete environmental observations, especially when the environment changes over time, and many technologies are unable to understand environmental changes.

Method used

By utilizing intermediate signals and decomposing the action selection problem into estimating the probability of the intermediate signal and the fixed probability of the reward, the system can effectively select actions even in delayed rewards and non-fixed environments. The specific method is to maintain the counting data of intermediate signals and rewards, estimate the transition probability and reward distribution, and select the optimal action.

Benefits of technology

Realizing effective action selection in a dynamic environment with delayed rewards can cope with the non-fixed nature of the environment and delayed rewards, improving the stability of the system's long-term behavior and the efficiency of action selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112836117B_ABST
    Figure CN112836117B_ABST
Patent Text Reader

Abstract

Methods, systems and apparatus for selecting an action from a set of actions to be performed in an environment, including a computer program encoded on a computer storage medium. One of the methods includes, at each time step: maintaining count data; for each action, determining a corresponding current transition probability distribution, the corresponding current transition probability distribution including a corresponding current transition probability for each of the intermediate signals, the current transition probability representing an estimate of the current likelihood that the intermediate signal will be observed if the action is performed; for each intermediate signal, determining a corresponding reward estimate, the corresponding reward estimate being an estimate of the reward to be received as a result of observing the intermediate signal; determining a corresponding action score for each action from the corresponding current transition probability distribution and the corresponding reward estimate; and selecting an action to be performed based on the corresponding action score.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to a multi-armed bandit. Background Art

[0002] In a multi-armed bandit scenario, an agent iteratively selects actions to perform in the environment from a set of possible actions. In response to each action, the agent receives a reward that measures the quality of the selected action. The agent attempts to select an action that maximizes the expected reward received in response to performing the selected action. Summary of the invention

[0003] This specification describes a system implemented as a computer program on one or more computers in one or more locations that selects actions to be performed.

[0004] Particular embodiments of the subject matter described in this specification can be implemented so as to realize one or more of the following advantages.

[0005] Online recommender systems often face long delays in receiving feedback, especially when optimizing for some long-term metric. Specifically, delays occur when the reward measuring the quality of the action selected by the recommender system is only available many time steps after the action has been selected.

[0006] While mitigating the effects of delays in learning can be compensated for in a fixed environment, the problem becomes more challenging when the environment changes over time, i.e., when the distribution of rewards expected to be received in response to receiving any given action changes over time.

[0007] Indeed, if the timescale of the changes is comparable to the delay in receiving the reward, it is impossible for many existing techniques to learn about the environment, since once the reward is received, the available observations are already out of date.

[0008] The techniques described in this specification address these deficiencies by exploiting intermediate signals that are available with no delay or with a small delay relative to the delay with which a reward is received, and allow for efficient learning (and thus efficient action selection) in dynamic environments with delayed rewards. Specifically, the described techniques exploit the fact that the long-term behavior of the system, given those signals, is either fixed or changes very slowly. Specifically, by decomposing the action selection problem into (i) estimating the changing probability of receiving any given intermediate signal in response to a given action and (ii) estimating the fixed probability of receiving a given reward after receiving a given intermediate signal, the system is able to efficiently select actions even in the presence of delayed rewards and non-stationary environments.

[0009] The details of one or more embodiments of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1A An example system is shown.

[0011] Figure 1B An example of an environment with intermediate signals and delayed rewards is shown.

[0012] Figure 2 is a flow chart of an example process for selecting an action at a given time step.

[0013] Figure 3 is a flow diagram of another example process for calculating an action score for an action. DETAILED DESCRIPTION

[0014] This specification generally describes a system for repeatedly selecting actions to perform in an environment.

[0015] Each action is selected from a predetermined set of actions, and the system selects actions in an attempt to maximize the reward received in response to the selected action.

[0016] Typically, a reward is a numerical value that measures the quality of a selected action. In some embodiments, the reward for each action is either zero or one, while in other embodiments, each reward is a value drawn from a continuous range between a lower reward value and an upper reward value.

[0017] More specifically, the reward received for any given action is delayed in time relative to the time when the action was selected (and performed in the environment). For example, the reward may measure some long-term goal that can only or usually only be satisfied a considerable amount of time after the action is performed.

[0018] However, after the action is performed, intermediate signals can be observed from the environment.

[0019] Intermediate signals are data describing the state of the environment received relatively soon after an action is performed (e.g., at the same time step or an immediately following time step) and that provide an indication of what the reward for action selection is likely to be.

[0020] Specifically, after an action is performed, the environment assumes an intermediate state that can be described by one of a discrete set of intermediate signals. After a period of delay, a reward is received that depends on what the intermediate signal was.

[0021] In some cases, the action is a recommendation of a content item (eg, a book, video, advertisement, image, search result, or other pieces of content).

[0022] In these cases, the reward value measures the quality of the recommendation as measured by the long-term goal, and the intermediate signal may be an indication of the initial short-term interaction with the content item.

[0023] For example, when the content item is a book, the reward value may be based on whether the user's e-reader application indicates that the user has read more than a threshold amount of the book. On the other hand, the intermediate signal may indicate whether the user has downloaded the e-book.

[0024] As another example, when the content item is an advertisement, the reward value may be based on whether the conversion event occurred as a result of the advertisement being presented. On the other hand, the intermediate signal may indicate whether a click event occurred, i.e., whether the user clicked or otherwise selected the presented advertisement.

[0025] As another example, when the content item is a software application (e.g., a mobile application), the reward value may be based on a measure of how frequently the user uses the software application after a considerable amount of time (e.g., a week or a month). On the other hand, the intermediate signal may indicate whether the user downloaded the software application from an application store.

[0026] Figure 1A An example system 100 is shown. System 100 is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below are implemented.

[0027] The system 100 repeatedly (i.e., at each of a plurality of time steps) selects an action 106 to be performed (e.g., by the system 100 or by another system) in the environment 104. For example, as described above, the action may be a content item recommendation to be made to a user in the environment (i.e., in a setting for content item recommendations), such as on a web page or in a software application.

[0028] In some cases, the system 100 selects an action in response to received contextual input 120 (eg, a feature vector or other data characterizing the current time step).

[0029] In a content item recommendation setting, the data typically includes data describing the situation in which the content item will be recommended, for example, the current time, attributes of a user device of a user to whom the recommendation will be displayed, attributes of previous content items that have been recommended to the user and user responses to those previous content items, and any of the attributes of the setting in which the content item will be placed.

[0030] Performance of each selected action 106 generally causes the system 100 to receive a reward 124 from the environment 104 .

[0031] Typically, reward 124 is a numerical value that represents the quality of selected action 106 .

[0032] In some embodiments, the reward 124 for each action 106 is either zero or one, i.e., indicating whether the action was successful, while in other embodiments, the reward 124 is a value drawn from a continuous range between a lower reward value and an upper reward value, i.e., the quality of the action 106 is represented as a value from a continuous range rather than a binary value.

[0033] Specifically, the action selection system 110 selects actions in an attempt to maximize the reward received in response to the selected action.

[0034] However, environment 104 is one that provides rewards 124 with a significant delay (i.e., a delay of multiple time steps after the corresponding action 106 has been performed). Therefore, rewards 124 are referred to as "delayed rewards."

[0035] In contrast, after the action 106 is performed, the system 100 receives (or "observes") an intermediate signal 122 from the environment 104. The intermediate signal 122 is (i) received after the action 106 is performed but with no delay or with a small delay relative to the delay that occurs before receiving the reward (i.e., within a threshold number of time steps of the action 106 being performed, e.g., at the same time step or an immediately following time step), and (ii) provides data that indicates what the reward for the action selection might be. In other words, the reward 124 received in response to a given action selection may be delayed in time relative to the action selection, but is dependent on the intermediate observation 122 being received without delay or with a relatively small delay after the action selection is made.

[0036] Figure 1B An example of an environment with intermediate signals and delayed rewards is shown.

[0037] exist Figure 1B In the example, at time step t, action A is performed t , and then observes one of a discrete set of intermediate signals S.

[0038] Specifically, when executing action A t Afterwards, the intermediate signal can be considered to be dependent on A t The time-varying probability distribution p t The time-varying probability distribution p t A corresponding transition probability is assigned to each intermediate signal in the discrete set.

[0039] exist Figure 1B In the example, the intermediate signal S t .

[0040] After several time steps, we receive the response to action A. t Reward R t Given the intermediate signal S t , the probability distribution B over the possible rewards is approximately independent of action A t In other words, once the intermediate signal S is observed t , the same probability is assigned to each possible reward, regardless of the action chosen to make the intermediate signal S t was observed.

[0041] Furthermore, as mentioned above, the environment is non-stationary. Specifically, the probability distribution p over the intermediate signals for any given action is t Can change over time because certain aspects of the environment (e.g., how the user reacts to actions selected by the system) change over time.

[0042] However, the probability distribution B is fixed and does not change over time. That is, once the intermediate signal S is observed t , although the system may not know the actual probability distribution β, it does not change or changes very slowly over time.

[0043] Although at any given time the system 100 does not know the exact probability distribution p t and B, the system 100 attempts to select actions by estimating these distributions and using the estimates to select actions to maximize the expected reward.

[0044] Return to Figure 1A As described above, system 100 selects actions to account for (i) the non-stationary nature of intermediate signal 122 and (ii) delayed reward 124.

[0045] Specifically, the action selection system 110 maintains count data 150 and uses the maintained count data 150 to select actions 122 that optimize expected rewards (ie, optimize expected delayed rewards 124 to be received in response to performing the actions given the current transition probability distribution and the fixed reward distribution).

[0046] More specifically, the action selection system 110 maintains, in the count data 150, for each action in the set of actions, a count of how often each of the intermediate signals 122 has been received in response to the action being performed. The system 110 also maintains, in the count data 150, for each of the possible intermediate signals 122, a count of rewards that have been received after the intermediate signal has been observed.

[0047] The action selection system 110 then uses the count data 150 to estimate the transition probabilities of the intermediate signals and to estimate the reward distribution of the intermediate signals, and uses these estimates to select an action.

[0048] Select actions will be referenced below Figure 2 and Figure 3 Describe in more detail.

[0049] Figure 2 is a flow chart of an example process 200 for selecting an action at the current time step. For convenience, process 200 will be described as being performed by a system of one or more computers located in one or more locations. For example, a suitably programmed system (e.g., Figure 1A The system 100) can perform the process 200.

[0050] Specifically, the system may perform process 200 at each time step in a sequence of time steps to repeatedly select actions to perform in the environment.

[0051] The system maintains count data (step 202).

[0052] As mentioned above, the count data includes two different kinds of counts: intermediate signal counts and reward counts.

[0053] Specifically, as described above, the transition probabilities are non-stationary. Therefore, for each action, the system maintains a corresponding windowed count for each of the intermediate signals.

[0054] For a given action, the windowed count for any given intermediate signal is the count of the number of times the given intermediate signal was observed (i) in response to the given action being performed and (ii) within the most recent time window of the current time step (i.e., within the most recent W time steps, where W is a fixed constant).

[0055] By maintaining a windowed count that only tracks the "most recent" action selections, the system can cope with the non-stationary nature of transition probabilities, as will be described in more detail below.

[0056] As described above, rewards are observed with some delay, and the distribution of rewards is (i) independent of the action given an intermediate signal and (ii) fixed.

[0057] Thus, for each particular intermediate signal and each of the possible sets of rewards, the system maintains a corresponding count of rewards that have been received after the particular intermediate signal has been observed, i.e., a corresponding count of rewards that satisfy the following condition: the reward is received as a result of an action being performed that also causes the particular intermediate signal to be observed. In other words, if the reward is received as a result of an action selection that also causes the particular intermediate signal to be observed, then the reward satisfies the condition.

[0058] Because the reward is fixed, there is no need to window the count, and the count is over a longer time window that typically includes many more time steps than the most recent time window count for the intermediate signal. For example, the longer time window may include all earlier time steps up to the most recent time step that satisfies the following condition: a reward has been received for the action performed at that time. That is, because the reward is delayed, at least some of the time steps in the most recent time window will have no data available, i.e., because a reward has not yet been received in response to the intermediate signal observed for the action selected at those time steps.

[0059] The system also maintains a delay count for each intermediate signal, which is a count of the number of times the intermediate signal has been observed in a larger time window. Note that, as described above, because the reward is delayed and the larger time window does not include the most recent time step, this delay count will typically be less than the total number of times the intermediate signal has been observed over all earlier time steps.

[0060] In some cases, to seed the count data, the system may execute each action a threshold number of times before selecting an action using the techniques described below, e.g., by selecting actions uniformly at random without replacement until each action has been selected once.

[0061] The system determines, for each action, from the count data, an estimate of a current transition probability distribution over the intermediate signals (step 204). The estimate of the current transition probability distribution includes a corresponding current transition probability estimate for each intermediate signal.

[0062] Specifically, for each intermediate signal and each action in the set, the system determines an estimate of the current transition probability for that action, which represents the likelihood that the intermediate signal will be observed if that action is chosen at a given time step.

[0063] Specifically, for any particular action, the system can calculate the transition probability estimate for a particular intermediate signal as the ratio of: (i) the count of rewards received given that particular intermediate signal was observed, and (ii) the total count of the number of times that particular intermediate signal was observed during a longer time window (i.e., the sum of the windowed counts of all intermediate signals given that a particular action was performed).

[0064] The system determines a reward estimate for each intermediate signal, which is an estimate of the reward that would be received if the intermediate signal was observed (step 206).

[0065] Specifically, for any specific intermediate signal, the system can calculate the reward estimate of the specific intermediate signal as the ratio of: (i) the reward count of the specific intermediate signal in the longer time window, and (ii) the delay count of the specific intermediate signal.

[0066] The system determines an action score for each agent from the transition probability estimates and the reward estimates (step 208). Specifically, the system uses a stochastic bandit technique to map the transition probability estimates and the reward estimates to a corresponding action score for each agent, which estimates the (delayed) reward that will be received in response to the action being performed. Although any suitable stochastic technique may be used, a specific example of such a technique is described below with reference to Figure 3 Give a description.

[0067] The system selects one of the actions based on the action score (step 210). For example, the system may select the action with the highest action score, or may select the action according to some exploration strategy. An example of an exploration strategy is an epsilon greedy strategy, in which a random action is selected from the set with probability epsilon, and the action with the highest action score is selected with probability 1 minus epsilon.

[0068] The system receives an intermediate signal observed in response to the selected action being performed (step 212). As described above, the intermediate signal is observed without significant delay.

[0069] The system updates the count data (step 214). Specifically, the system updates the windowed counts for the selected action, ie, to remove the oldest time step in the most recent time window from the windowed counts of all intermediate signals, and only add one to the windowed counts of the observed intermediate signals.

[0070] The system receives a reward (step 216). Because the reward is delayed, the reward received is in response to an action taken at an earlier time step and as a result of an intermediate signal observed at that earlier time step.

[0071] The system updates the count data (step 214). Specifically, for an intermediate signal observed at an earlier time step, the system updates the reward count and delay count of the signal, without updating the counts of other intermediate signals.

[0072] Figure 3 3 is a flow chart of an example process 300 for executing a random slot machine technique to generate an action score for a particular action. For convenience, the process 300 will be described as being performed by a system of one or more computers located in one or more locations. For example, a suitably programmed system (e.g., Figure 1A The system 100) can perform process 300.

[0073] The system can perform process 300 for all actions in the set to generate corresponding action scores for all actions.

[0074] The system calculates, for each intermediate signal, an upper confidence limit for the signal's reward estimate (step 302 ).

[0075] Specifically, the system can calculate an optimistic reward estimate by adding a bonus to the reward estimate based on the number of time steps that have occurred, the total number of possible intermediate signals, and the latency count of the intermediate signals within a longer time window.

[0076] As a specific example, the bonus for signal s may satisfy:

[0077]

[0078] Where T is the fixed time horizon of the system, S is the total number of intermediate signals, δ is a fixed constant, and is the delay count of the intermediate signal s.

[0079] The system can then compute an upper confidence bound as the minimum of: (i) the maximum possible reward, and (ii) the optimistic reward estimate.

[0080] The system calculates a tolerance parameter for the action (step 304). The tolerance parameter is based on the size W of the most recent time window, the total number of actions K, and a windowed count of the total number of times the action has been executed during the most recent time window. and the total number of time steps that have occurred.

[0081] As a specific example, the tolerance parameter for action a may satisfy:

[0082]

[0083] The system calculates an action score for the action from the current transition probability distribution estimate for the action, an upper confidence limit for the intermediate signal, and a tolerance parameter for the action (step 306).

[0084] Specifically, the system computes the action score as the maximum expected reward given any transition probability distribution within a tolerance parameter of the currently estimated transition probability distribution.

[0085] For each intermediate signal, the optimistic estimate of the expected reward for any transition probability distribution is the sum of the corresponding products of the signal’s transition probability and the signal’s upper confidence limit.

[0086] In other words, the action score satisfies:

[0087]

[0088] Where q is the set of possible transition probability distributions Δ S The transition probability distribution in U t is a vector of upper confidence limits for the intermediate signals, is the current transition probability distribution, and TP is the tolerance parameter.

[0089] Example techniques for computing this maximum expected reward are described in Jaksch, T., Ortner, R., and Auer, P., Near-optimal regret bounds for reinforcement learning. Journal of Machine Learning Research, 11(51): 1563–1600, 2010.

[0090] This specification uses the term "configured to" in connection with system and computer program components. For a system of one or more computers configured to perform specific operations or actions, it means that the system has installed thereon software, firmware, hardware, or a combination thereof that causes the system to perform those operations or actions in operation. For one or more computer programs configured to perform specific operations or actions, it means that the one or more programs include instructions that, when executed by a data processing device, cause the device to perform those operations or actions.

[0091] The embodiments of the subject matter and functional operations described in this specification can be implemented in digital electronic circuits, in tangibly embodied computer software or firmware, in computer hardware including the structures disclosed in this specification and their structural equivalents, or in a combination of one or more of them. The embodiments of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible non-transitory storage medium, for execution by a data processing device or for controlling the operation of a data processing device. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them. Alternatively or additionally, the program instructions can be encoded on an artificially generated propagation signal, for example, a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiving device for execution by a data processing device.

[0092] The term "data processing apparatus" refers to data processing hardware and includes all kinds of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. The apparatus may also be or further include special-purpose logic circuits, for example, an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the apparatus may optionally include code that creates an execution environment for a computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.

[0093] A computer program, which may also be referred to or described as a program, software, software application, app, module, software module, script or code, may be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages; and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment. A program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, subroutines or code portions). A computer program may be deployed to execute on one computer or on multiple computers located at one site or distributed across multiple sites and interconnected by a data communications network.

[0094] In this specification, the term "database" is used broadly to refer to any data set: the data need not be structured in any particular way, or at all, and it may be stored on a storage device in one or more locations. Thus, for example, an index database may include multiple data sets, each of which may be organized and accessed differently.

[0095] Similarly, in this specification, the term "engine" is used broadly to refer to a software-based system, subsystem, or process that is programmed to perform one or more specific functions. Typically, an engine will be implemented as one or more software modules or components installed on one or more computers in one or more locations. In some cases, one or more computers will be dedicated to a specific engine; in other cases, multiple engines can be installed and run on the same (multiple) computers.

[0096] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by a special purpose logic circuit (e.g., an FPGA or ASIC), or by a combination of a special purpose logic circuit and one or more programmed computers.

[0097] Computers suitable for executing computer programs can be based on general or special microprocessors or both, or any other kind of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The elements of a computer are a central processing unit for executing or running instructions and one or more memory devices for storing instructions and data. The central processing unit and the memory can be supplemented by a dedicated logic circuit or incorporated into a dedicated logic circuit. Typically, the computer will also include one or more large-capacity storage devices (e.g., disks, magneto-optical disks, or optical disks) for storing data, or be operably coupled to receive data from one or more large-capacity storage devices for storing data or to transmit data thereto or to receive data and transmit data. However, the computer does not need to have such a device. In addition, the computer can be embedded in another device, for example, a mobile phone, a personal digital assistant (Personal Digital Assistant, PDA), a mobile audio or video player, a game console, a global positioning system (Global Positioning System, GPS) receiver or a portable storage device (e.g., a universal serial bus (Universal Serial Bus, USB) flash drive), just to name a few.

[0098] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks.

[0099] To provide interaction with a user, embodiments of the subject matter described in this specification may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser in response to a request received from a web browser on the user's device. In addition, the computer may interact with the user by sending text messages or other forms of messages to a personal device (e.g., a smartphone running a messaging application) and receiving response messages from the user in return.

[0100] The data processing apparatus for implementing the machine learning model may also include, for example, dedicated hardware accelerator units for processing the common and computationally intensive parts (i.e., inference, workloads) of machine learning training or production.

[0101] The machine learning model can be implemented and deployed using a machine learning framework (e.g., the TensorFlow framework, the Microsoft Cognitive Toolkit framework, the Apache Singa framework, or the Apache MXNet framework).

[0102] Embodiments of the subject matter described in this specification may be implemented in a computing system that includes a back-end component (e.g., as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface, a web browser, or an app through which a user can interact with an implementation of the subject matter described in this specification), or includes any combination of one or more such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.

[0103] The computing system may include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by a computer program running on a corresponding computer and having a client-server relationship with each other. In some embodiments, the server, for example, sends data such as an HTML page to a user device for the purpose of displaying data to a user interacting with a device as a client and receiving user input from the user. Data generated at the user device, such as the result of user interaction, can be received from the device at the server.

[0104] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or on the scope that may be claimed, but rather as descriptions of features specific to a particular embodiment of a particular invention. Specific features described in the context of separate embodiments in this specification may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. In addition, although features may be described above as acting in a particular combination, and even initially claimed as such, in some cases, one or more features from the claimed combination may be deleted from the combination, and the claimed combination may point to a sub-combination or a variation of a sub-combination.

[0105] Similarly, although operations are depicted in a particular order in the drawings and recorded in a particular order in the claims, this should not be understood as requiring the operations to be performed in the particular order shown or in a sequential order, or requiring all of the operations shown to be performed, to obtain the desired results. In certain circumstances, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0106] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.

Claims

1. A method of selecting a content item from a set of content items to be recommended in a content item recommendation setting, the method comprising, at each time step in a sequence of a plurality of time steps: Maintain count data, the count data: (i) for each content item and for each intermediate signal in the discrete set of intermediate signals, specifying a respective windowed count of the number of times the intermediate signal has been observed in response to the content item being recommended during a most recent time window comprising a fixed number of most recent time steps, and (ii) for each intermediate signal, a) specifying a reward count for rewards that have been received at a time step in response to a content item recommended at that time step during a longer time window that does not include some or all of the most recent time steps in the most recent time window, and b) specifying a latency count for the number of times the intermediate signal has been observed during a longer time window that does not include some or all of the most recent time steps in the most recent time window, in, Each intermediate signal in the discrete set describes a corresponding state of the environment after a content item has been recommended but before a reward for the recommended content item has been received, and wherein each reward is a numerical value measuring a quality of a content item in response to observing the intermediate signal; determining, from the count data, for each content item, a respective current transition probability distribution comprising a respective current transition probability for each of the intermediate signals, the respective current transition probability representing an estimate of a current likelihood that the intermediate signal would be observed if the content item were recommended; determining, for each intermediate signal from the reward count for the intermediate signal and the delay count for the intermediate signal, a corresponding reward estimate being an estimate of a reward to be received as a result of observing the intermediate signal; determining a respective content item score for each content item from the respective current transition probability distribution and the respective reward estimate; selecting content items to recommend based on the corresponding content item scores; and A recommendation of the content item is provided to the user.

2. The method according to claim 1, wherein: The intermediate signal indicates whether the user downloads the recommended content item.

3. The method according to claim 1, wherein: Select content items include: The content item with the highest content item score is selected.

4. The method according to claim 1, further comprising: receiving an indication that an intermediate signal was observed in response to the selected content item being recommended; as well as In response, the count data is updated.

5. The method according to claim 1, further comprising: receiving a reward as a result of a previous intermediate signal observed at an earlier time step; as well as In response, the count data is updated.

6. The method according to claim 1, wherein: Determining, for each content item from the count data, a respective current transition probability distribution comprising a respective current transition probability for each of the intermediate signals comprises: The respective current transition probability of each of the intermediate signals is determined based on: (i) a ratio of a windowed count counting the number of times the intermediate signal has been observed during the most recent time window in response to the content item being recommended and (ii) a windowed count counting the number of times the content item has been recommended during the most recent time window.

7. The method according to claim 1, wherein: Determining, for each intermediate signal, a corresponding reward estimate, the corresponding reward estimate being an estimate of a reward to be received as a result of observing the intermediate signal, comprising: The corresponding reward estimate is determined based on: a ratio of (i) a reward count for the intermediate signal and (ii) a delay count for the intermediate signal.

8. The method according to claim 1, wherein: Determining a corresponding content item score for each content item from the corresponding current transition probability distribution and the corresponding reward estimate includes: The respective content item score is determined from the respective current transition probability distribution and the respective reward estimate using a random slot machine technique.

9. The method according to claim 1, wherein: The intermediate signal indicates whether the user interacted with the recommended content item.

10. A system for selecting content items from a set of content items to be recommended in a content item recommendation setting, comprising one or more computers and one or more storage devices storing instructions, wherein when the instructions are executed by the one or more computers, the one or more computers perform the operations of the corresponding method of any one of claims 1-9.

11. One or more computer-readable storage media storing instructions that, when executed by one or more computers, cause the one or more computers to perform the operations of the corresponding method of any one of claims 1-9.

Citation Information

Patent Citations

  • Exploration of real-time advertising decisions

    US20170098236A1