Learning with Incomplete Context: Linear Contextual Bandits with Pretrained Imputation

Hao Yan, Heyan Zhang, Yongyi Guo

This paper, recently released by researchers at the University of Wisconsin-Madison, tackles a common headache in real-world machine learning: making optimal decisions when you’re missing half the picture.

TL;DR

The authors introduce PULSE-UCB, an algorithm that uses pretrained models to "fill in the blanks" of missing context in linear contextual bandits. By leveraging large offline datasets to impute missing features during online interactions, the algorithm achieves near-optimal performance, effectively bridging the gap between historical data and live decision-making.

What Problem Does This Paper Address?

Contextual bandits are the engine behind personalized recommendations, mobile health interventions, and online education. Usually, these models assume that at every step, the "agent" sees a full set of features (the context) before choosing an action.

In reality, context is often incomplete. A medical app might not have a user's heart rate because their smartwatch is charging; an education platform might not know a student's mastery of a concept they haven't been tested on yet. However, we often have access to auxiliary datasets—large batches of historical data where these features were fully recorded (e.g., from clinical trials or past semesters).

The challenge is: How do we mathematically integrate these "surrogate" predictions from a pretrained model into a live bandit loop without ruining the theoretical guarantees of the algorithm?

Methods

The researchers propose PULSE-UCB (Pretrained Unobserved Latent State Estimation UCB). The approach works in two phases:

  1. Pretraining: An imputation model is trained on an auxiliary dataset to predict the full context ($Y_t$) from the partially observed signals ($S_t$). This model provides a conditional distribution of what the missing data likely looks like.
  2. Online Decision-Making: During live interaction, the agent observes the partial context, uses the pretrained model to impute the missing features, and then feeds these "surrogate features" into a modified version of the OFUL (Optimism in the Face of Uncertainty Linear) algorithm.

The core innovation is the regret analysis. The authors prove that the total "regret" (the difference between the agent's performance and the theoretical best) decomposes into two parts:

  • A standard bandit term (learning the reward parameters).
  • An imputation error term (how much the pretrained model's "guesses" deviate from reality).

Datasets

The authors validated PULSE-UCB using both controlled simulations and real-world data:

  • Synthetic Experiments: They used a stationary ARMA(2,2) process to generate contexts, testing both linear and nonlinear relationships for the missing features.
  • Real-World Data: The Taobao Ad Display/Click dataset (Alibaba, 2018). This dataset contains over 186,000 records with 83 features. The researchers used an autoencoder to compress these into a 32-dimensional space, then intentionally "hid" 16 of those dimensions to simulate missing context.

Key Insights and Ideas

  • The Power of Auxiliary Data: The paper quantifies exactly how much historical data you need to improve downstream learning. They show that with enough auxiliary data, the agent performs almost as well as if it had seen the full context all along.
  • Model Agnostic Theory: The theoretical framework doesn't care which model you use for imputation (MLP, kernel methods, etc.). As long as you can bound the divergence between the predicted and true distributions, the regret guarantees hold.
  • Near-Optimality: For specific cases (like H¨older-smooth features), they provide matching lower bounds, proving that PULSE-UCB is essentially as good as any algorithm can possibly be in this setting.

Key Results

  • Theoretical Bound: The regret scales with $\tilde{O}(d\sqrt{T} + \delta_0 d^{3/2} T)$, where $\delta_0$ represents the quality of the pretrained model.
  • Synthetic Performance: In both linear and nonlinear settings, PULSE-UCB’s regret curve was nearly indistinguishable from an "Oracle" agent that could see all the hidden features.
  • Real-World Success: On the Taobao dataset, PULSE-UCB significantly outperformed "naive" bandits (which ignore missing data) and surpassed existing baselines like CLBBF, which struggle with complex, structured missingness.

Limitations and Future Work

  • Static Pretraining: The current model assumes the pretrained imputation model is fixed. In the real world, data distributions shift (non-stationarity). The authors suggest that developing adaptive strategies to update the pretrained model during live interaction is a vital next step.
  • The Curse of Dimensionality: While the theory is robust, nonparametric imputation still struggles when the observed context is very high-dimensional.
  • Beyond Linear Models: The current work focuses on linear bandits. Extending this "pretrained imputation" logic to more complex structures like Markov Decision Processes (MDPs) for full Reinforcement Learning is an open challenge.

Summary updated

BibTeX
@inproceedings{yan2026learning,
  author = {Hao Yan and Heyan Zhang and Yongyi Guo},
  title = {{Learning with Incomplete Context: Linear Contextual Bandits with Pretrained Imputation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=gnSHM0Y1mU},
}
Figure