Leveraging Offline Data in Linear Latent Bandits

Chinmaya Kausik, Kevin Tan, Ambuj Tewari

Introduction

In modern recommendation systems and personalized medicine, agents must make sequential decisions in high-dimensional spaces. This often leads to the "curse of dimensionality," where the time required to learn an optimal policy scales poorly with the number of features. However, real-world data often exhibits a low-rank structure; for instance, while there are thousands of movies, user preferences typically cluster around a few latent genres.

This paper introduces a robust framework for Linear Latent Contextual Bandits, bridging the gap between offline historical logs and online reinforcement learning. By extracting a low-dimensional "preference subspace" from unlabeled offline data, the proposed methods significantly accelerate the learning process for new users, effectively addressing the "cold start" problem.

The Problem: Dimensionality and the Cold Start

Standard linear bandit algorithms, such as LinUCB, treat user preferences as vectors in an ambient feature space of dimension $d_A$. When $d_A$ is large, the agent requires a vast number of interactions to achieve low regret.

In many practical scenarios, we possess large amounts of historical log data. However, this data is often "messy":

  1. Unlabeled Trajectories: We see actions and rewards but do not know the latent "type" or specific preferences of the users in the logs.
  2. Non-Adaptive Policies: The data was likely collected by a simple or heuristic-based system, not an optimal exploring agent.

The challenge lies in leveraging this imperfect offline data to inform online exploration without being misled by the noise or bias inherent in the logs.

Methodology

The authors propose a two-stage approach: offline subspace estimation followed by online learning with "sharpened optimism."

1. SOLD: Subspace Estimation from Offline Latent Bandit Data

The first stage uses a spectral method called SOLD to identify the hidden subspace from short, unlabeled user histories. To ensure the estimation is robust, the authors employ two key techniques:

  • Trajectory Splitting: Each user's history is split into "odd" and "even" steps. This decoupling ensures that the noise in reward estimation is uncorrelated, preventing the algorithm from mistakenly fitting to transient noise as if it were a persistent preference.
  • Correction Matrices: Standard ridge regression introduces bias through regularization. SOLD uses novel correction matrices to "neutralize" this distortion, allowing the system to aggregate information across thousands of very short trajectories (even those with only a few actions each).

2. Online Learning: LOCAL-UCB and ProBALL-UCB

Once the subspace is estimated, the agent enters the online phase. The goal is to use the learned subspace to restrict the search area for the user's true preference vector.

  • LOCAL-UCB: This algorithm provides a theoretical benchmark. It maintains a "sharpened" confidence set by finding the intersection of a standard high-dimensional confidence ellipsoid and a low-dimensional one informed by the offline subspace. This allows the agent to be more aggressive in its recommendations by ignoring directions outside the learned subspace.
  • ProBALL-UCB: Recognizing that intersecting ellipsoids is computationally intensive, the authors developed ProBALL-UCB for practical use. It utilizes a simpler "ball" constraint and intelligently switches between low-dimensional and high-dimensional exploration based on its current level of uncertainty. If the agent is confident the user fits the offline subspace, it explores within that narrow space; if not, it reverts to a broader search.

Theoretical Contributions

A significant theoretical highlight of this work is the proof of a de Finetti theorem for decision processes. This result demonstrates that almost any reasonable stateless decision process can be mathematically represented as a latent bandit. This provides a deep mathematical justification for using latent bandit models as a fundamental way to handle uncertainty in sequential decision-making.

Furthermore, the authors prove that their approach is minimax optimal. The regret—the cumulative loss compared to an optimal policy—scales with the latent dimension $d_K$ rather than the ambient dimension $d_A$. Since $d_K \ll d_A$, this represents a massive improvement in learning efficiency.

Empirical Results

The framework was validated using both synthetic simulations and the MovieLens-1M dataset.

  • Synthetic Data: Confirmed that as the number of offline samples increases, the learned subspace becomes as effective as knowing the "ground truth" subspace, with regret scaling strictly according to $d_K$.
  • MovieLens-1M: Using Probabilistic Matrix Factorization (PMF) to establish ground truth latent features, the authors simulated a bandit environment. ProBALL-UCB significantly outperformed standard LinUCB, demonstrating that even with real-world noise, the offline subspace provides a powerful prior for online recommendation.

Conclusion and Future Work

This research provides a principled way to turn historical logs into a competitive advantage for online agents. By focusing on the latent subspace, the proposed algorithms achieve faster convergence and lower regret.

Future work remains in refining hyperparameter selection (such as the regularization factor $\mu$) and extending these subspace-sharpening techniques to full Reinforcement Learning (Markov Decision Processes), where actions influence not just immediate rewards but also the future state of the environment.

Summary updated

BibTeX
@inproceedings{kausik2025leveraging,
  author = {Chinmaya Kausik and Kevin Tan and Ambuj Tewari},
  title = {{Leveraging Offline Data in Linear Latent Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=jMNQaNbjQl},
}
Figure