Search papers, labs, and topics across Lattice.
This paper introduces a method to improve cold-start performance in contextual bandit algorithms by using LLMs to generate pseudo-observations for unplayed arms. A calibration-gated decay schedule dynamically weights these LLM predictions based on their accuracy on played arms, reducing the impact of inaccurate predictions. Experiments on UCI Mushroom and MIND-small datasets show that task-specific prompts can reduce cumulative regret by 19% compared to pure LinUCB, while generic prompts can increase regret.
LLMs can slash regret in contextual bandits, but only if you nail the prompt engineering – generic prompts actually *hurt* performance.
Contextual bandit algorithms suffer from high regret during cold-start, when the learner has insufficient data to distinguish good arms from bad. We propose augmenting Disjoint LinUCB with LLM pseudo-observations: after each round, a large language model predicts counterfactual rewards for the unplayed arms, and these predictions are injected into the learner as weighted pseudo-observations. The injection weight is controlled by a calibration-gated decay schedule that tracks the LLM's prediction accuracy on played arms via an exponential moving average; high calibration error suppresses the LLM's influence, while accurate predictions receive higher weight during the critical early rounds. We evaluate on two contextual bandit environments - UCI Mushroom (2-arm, asymmetric rewards) and MIND-small (5-arm news recommendation) - and find that when equipped with a task-specific prompt, LLM pseudo-observations reduce cumulative regret by 19% on MIND relative to pure LinUCB. However, generic counterfactual prompt framing increases regret on both environments, demonstrating that prompt design is the dominant factor, more important than the choice of decay schedule or calibration gating parameters. We analyze the failure modes of calibration gating on domains with small prediction errors and provide a theoretical motivation for the bias-variance trade-off governing pseudo-observation weight.