Abstract
We study the problem of transfer-learning in the setting of stochastic linear contextual bandit tasks. We consider that a low dimensional linear representation is shared across the tasks, and study the benefit of learning the tasks jointly. Following recent results to design Lasso stochastic bandit policies, we propose an efficient greedy policy based on trace norm regularization. It implicitly learns a low dimensional representation by encouraging the matrix formed by the task regression vectors to be of low rank. Unlike previous work in the literature, our policy does not need to know the rank of the underlying matrix, nor does it require the covariance of the arms distribution to be invertible. We derive an upper bound on the multi-task regret of our policy, which is, up to logarithmic factors, of order $T\sqrt{rN} + \sqrt{rNTd}$, where $T$ is the number of tasks, $r$ the rank, $d$ the number of variables and $N$ the number of rounds per task. We show the benefit of our strategy over an independent task learning baseline, which has a worse regret of order $T\sqrt{dN}$. We also argue that our policy is minimax optimal and, when $T\geq d$, has a multi-task regret which is comparable to the regret of an oracle policy which knows the true underlying representation.
Introduction
In the stochastic linear contextual bandit setting, an agent must choose actions ("arms") based on observed features ("contexts") to maximize cumulative rewards. While traditional approaches treat tasks independently, many real-world applications—such as personalized medicine or recommendation systems—involve multiple tasks that share an underlying structure. This paper addresses the challenge of Multi-task Representation Learning: leveraging similarities between $T$ different tasks to accelerate learning.
Existing solutions often face significant hurdles, including a dependency on knowing the exact rank ($r$) of the shared representation and a requirement for a massive exploration phase (proportional to $d^2$). Furthermore, bandit data is non-i.i.d., as current decisions are influenced by past outcomes, complicating theoretical analysis.
Methodology: The Trace-Norm Bandit
We propose the Trace-Norm Bandit, an efficient, rank-agnostic algorithm designed to discover shared low-dimensional subspaces. The approach relies on two primary mechanisms:
- Trace-Norm Regularization: Rather than estimating regression vectors for each task in isolation, the algorithm treats them as columns of a single matrix $W$. By penalizing the least-squares objective with the trace norm (the sum of singular values), the algorithm encourages $W$ to be low-rank.
- Greedy Policy with "Free" Exploration: Unlike algorithms that use complex Upper Confidence Bound (UCB) strategies, our policy is greedy. We demonstrate that the natural randomness in the context distribution provides sufficient exploration. This "free" exploration phase lasts approximately $O(r^2)$ rounds, a significant improvement over the $O(d^2)$ required by previous methods when $r \ll d$.
Importantly, the estimator does not require the rank $r$ as an input, making it robust for practical applications where the true complexity of the data is unknown. It also relaxes the standard requirement for an invertible covariance matrix, requiring only a Restricted Strong Convexity (RSC) condition.
Empirical Evaluation
We evaluated the Trace-Norm Bandit using synthetic numerical experiments. The setup involved $T$ tasks with $d$-dimensional features, where the task matrix $W$ was constructed to have a specific low rank $r$. Context vectors were sampled from standard Gaussian distributions. We compared our approach against Independent Task Learning (ITL) and an Oracle policy that possesses prior knowledge of the true representation.
Key Results
Our theoretical analysis proves that the Trace-Norm Bandit achieves a regret bound of $O(T\sqrt{rN} + \sqrt{rNTd})$, which is minimax optimal. When the number of tasks $T$ is large, the regret per task effectively matches that of the Oracle. Compared to ITL, which has a regret of $O(T\sqrt{dN})$, our method reduces regret by a factor of approximately $\sqrt{d/r}$ when $T > d$.
As shown in the figures above, the Trace-Norm Bandit consistently outperforms ITL in both 10-task and 30-task scenarios. As the number of tasks increases, the performance of our algorithm approaches that of the Oracle, demonstrating the efficiency of joint representation learning. The experiments also highlighted the algorithm's robustness to noise, as the trace-norm approach effectively averages out noise by learning across the shared task structure.
Conclusion and Future Work
The Trace-Norm Bandit provides a practical and theoretically sound framework for multi-task contextual bandits. By eliminating the need for rank-knowledge and reducing exploration overhead, it offers a scalable solution for high-dimensional problems. Future research will focus on extending this framework to non-linear or deep representations and developing a fully parameter-free policy that does not require an estimate of noise variance.
Summary updated