Multi-Task Off-Policy Learning from Bandit Feedback

Joey Hong, Branislav Kveton, Sumeet Katariya, Manzil Zaheer, Mohammad Ghavamzadeh

Abstract

Off-policy learning aims to derive optimal decision-making policies from historical logs, a task often hindered by data sparsity in individual tasks. We present HierOPO (Hierarchical Off-Policy Optimization), an algorithm that leverages information sharing across similar tasks using a hierarchical Bayesian framework. By decomposing uncertainty into global and task-specific components and applying the principle of pessimism via Lower Confidence Bounds (LCBs), HierOPO significantly improves policy learning efficiency, particularly in data-limited regimes.

Introduction

In real-world systems such as recommender engines or search platforms, learning the best policy—mapping contexts to actions—is ideally performed using historical logs to avoid the risks and costs of online experimentation. However, off-policy learning faces a significant challenge: logs only contain rewards for actions taken by the previous logging policy. When data for a specific task (e.g., a single user) is sparse, uncertainty about "counterfactual" actions becomes high.

Traditional approaches either pool all data, ignoring task-specific nuances, or treat each task independently, suffering from the "cold start" problem. This work addresses the multi-task setting, where tasks share underlying similarities. The goal is to mathematically leverage these similarities to learn better individual policies from offline logs.

Methods: Hierarchical Off-Policy Optimization

The core of HierOPO is a hierarchical Bayesian model that formalizes the relationship between tasks.

Graphical model of the hierarchical Bayesian structure in HierOPO.

As shown in Figure 1, the model assumes each task $s$ has a parameter $\theta_{s,*}$ drawn from a shared global distribution governed by a hyper-parameter $\mu_*$. To handle unseen actions, HierOPO employs the principle of pessimism by calculating a Lower Confidence Bound (LCB) for rewards. A key innovation is the uncertainty decomposition, which factorizes the LCB into two distinct parts:

  1. Task Uncertainty: Knowledge about a specific task given a known global mean.
  2. Hyper-parameter Uncertainty: Knowledge about the global mean derived from all available tasks.

For Linear Gaussian models, these LCBs can be computed in closed form, allowing for efficient optimization without the need for expensive sampling.

Experimental Evaluation

The researchers evaluated HierOPO against "FlatOPO" (independent task learning) and an "OracleOPO" (which knows the global parameters) using synthetic bandits and the MovieLens 1M dataset.

Suboptimality vs. Dataset Size on the MovieLens Bandit dataset.

Key Insights and Results

  • Information Borrowing: Data from one task helps refine the global hyper-parameter, providing a stronger prior for other tasks. This is evidenced by HierOPO's superior performance in limited-data regimes.
  • Scaling with Tasks: Theoretical and empirical results show that as the number of tasks $m$ increases, HierOPO’s suboptimality decreases because the global uncertainty vanishes. In contrast, independent models show no improvement with additional tasks.
  • Real-World Performance: On the MovieLens dataset (Figure 2), HierOPO consistently outperformed the flat baseline, closely matching the Oracle's performance as the dataset size $n$ increased.

Discussion and Future Work

HierOPO demonstrates that multi-task learning is strictly more efficient than independent learning for off-policy optimization. Theoretical bounds confirm that the error from global parameter uncertainty vanishes as more tasks are observed, allowing the model to focus on task-specific uniqueness.

Future research directions include extending the model to handle more complex hierarchies (e.g., nested groups), situations where task labels are unknown or private, and non-linear reward models using deep neural networks.

Summary updated

BibTeX
@inproceedings{hong2023multi,
  author = {Joey Hong and Branislav Kveton and Sumeet Katariya and Manzil Zaheer and Mohammad Ghavamzadeh},
  title = {{Multi-Task Off-Policy Learning from Bandit Feedback}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=DOpyk6ANjr},
}
Figure