G : Bandits , Experts and Games 11 / 07 / 16 Lecture 10 : Contextual Bandits
چکیده
• algorithm observes a “context” xt, • algorithm picks an arm at, • reward rt ∈ [0, 1] is realized. The reward rt depends both on the context xt and the chosen action at. Formally, make the IID assumption: rt is drawn independently from some distribution that depends on the (xt, at) pair but not on t. The expected reward of action a given context x is denoted μ(a|x). This setting allows a limited amount of “change over time”, but this change is completely “explained” by the observable contexts. Throughout, we assume contexts x1, x2, . . . are chosen by an oblivious adversary. The main motivation is that a user with a known “user profile” arrives in each round, and the context is the user profile. Some of the natural scenarios include: choosing which news articles to display to a given reader, which products to recommend to a given customer, and which interface options (e.g., font sizes and colors, page layout, etc.) to use for a given website visitor. Rewards are often determined by user clicks, possibly in conjunction with other observable signals that correlate with revenue and/or user satisfaction. Naturally, rewards for the same action may be different for different users. Contexts can include other things apart from (and instead of) the user profiles. First, known features of the environment, such as day of the week, time of the day, season (e.g., Summer, preChristmas shopping season), proximity to a major event (e.g., Olympics, elections). Second, the set of feasible actions: only a subset of actions may be allowed in a given round and/or for a given user. Third, actions can come with features of their own, and it may be convenient to include this information into the context, esp. if the action features change over time. For ease of exposition, we assume a fixed and known time horizon T . The set of actions is denoted by A, and K = |A| is the number of actions. X denotes the set of all contexts. For brevity, we will use CB instead of “contextual bandits”. The reward of an algorithm ALG is REW(ALG) = ∑T t=1 rt, so that the expected reward is