Skip to main content
QUICK REVIEW

[Paper Review] Contextual Bandits for adapting to changing User preferences over time

Dattaraj Rao|arXiv (Cornell University)|Sep 21, 2020
Advanced Bandit Algorithms ResearchDecision Sciences9 references5 citations
TL;DR

This paper proposes a novel contextual bandit algorithm using an array of stochastic gradient descent (SGD) learners, one per action, to model dynamic user preferences over time. By leveraging online learning and action-specific models, the approach outperforms static models in adapting to shifting user behavior, demonstrated on simulated and MovieLens datasets with improved reward prediction accuracy.

ABSTRACT

Contextual bandits provide an effective way to model the dynamic data problem in ML by leveraging online (incremental) learning to continuously adjust the predictions based on changing environment. We explore details on contextual bandits, an extension to the traditional reinforcement learning (RL) problem and build a novel algorithm to solve this problem using an array of action-based learners. We apply this approach to model an article recommendation system using an array of stochastic gradient descent (SGD) learners to make predictions on rewards based on actions taken. We then extend the approach to a publicly available MovieLens dataset and explore the findings. First, we make available a simplified simulated dataset showing varying user preferences over time and how this can be evaluated with static and dynamic learning algorithms. This dataset made available as part of this research is intentionally simulated with limited number of features and can be used to evaluate different problem-solving strategies. We will build a classifier using static dataset and evaluate its performance on this dataset. We show limitations of static learner due to fixed context at a point of time and how changing that context brings down the accuracy. Next we develop a novel algorithm for solving the contextual bandit problem. Similar to the linear bandits, this algorithm maps the reward as a function of context vector but uses an array of learners to capture variation between actions/arms. We develop a bandit algorithm using an array of stochastic gradient descent (SGD) learners, with separate learner per arm. Finally, we will apply this contextual bandit algorithm to predicting movie ratings over time by different users from the standard Movie Lens dataset and demonstrate the results.

Motivation & Objective

  • To address the challenge of modeling dynamic user preferences that evolve over time in recommendation systems.
  • To develop a contextual bandit framework that supports online, incremental learning for real-time adaptation.
  • To evaluate the limitations of static learning models when user preferences shift.
  • To design and implement a scalable, action-based learning architecture using SGD learners for improved reward prediction.
  • To validate the approach on both a custom simulated dataset and the public MovieLens dataset.

Proposed method

  • The method employs an array of stochastic gradient descent (SGD) learners, with one learner per action (arm), to model the reward as a function of the context vector.
  • Each action-specific learner is updated incrementally using online learning to adapt to new data and changing user preferences.
  • The algorithm selects actions based on predicted rewards from the respective action-specific learners, enabling dynamic adaptation.
  • A simulated dataset with time-varying user preferences is introduced to benchmark static and dynamic learning approaches.
  • The approach is applied to the MovieLens dataset to predict user ratings over time, evaluating performance across evolving user behaviors.
  • Performance is evaluated by comparing reward prediction accuracy between static models and the proposed dynamic bandit framework.

Experimental results

Research questions

  • RQ1How do static learning models perform when user preferences change over time?
  • RQ2Can an array of action-specific learners improve adaptation to shifting user preferences in contextual bandits?
  • RQ3What is the impact of online learning on reward prediction accuracy in dynamic environments?
  • RQ4How does the proposed bandit algorithm compare to static models on real-world and simulated datasets?
  • RQ5To what extent can action-specific SGD learners capture temporal variations in user behavior?

Key findings

  • Static models suffer significant accuracy degradation when user preferences shift, due to fixed context at training time.
  • The proposed action-based SGD learner array effectively captures temporal changes in user preferences, improving reward prediction.
  • The dynamic learning approach outperforms static models on both the simulated dataset and the MovieLens dataset.
  • The simulated dataset with time-varying preferences enables effective benchmarking of dynamic learning strategies.
  • The use of separate learners per action allows better modeling of action-specific reward dynamics compared to shared models.
  • The algorithm demonstrates robust performance in online settings, adapting quickly to new user behavior patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.