Lune

ICML2025Top-tier venue

EVOLvE: Evaluating and Optimizing LLMs For In-Context Exploration

Allen Nie, Yi Su, Bo Chang, Jonathan Lee, Ed H. Chi, Quoc V. Le, Minmin Chen

Abstract

Despite their success in many domains, large language models (LLMs) remain under-studied in scenarios requiring optimal decision-making under uncertainty. This is crucial as many real-world applications, ranging from personalized recommendations to healthcare interventions, demand that LLMs not only predict but also actively learn to make optimal decisions through exploration. In this work, we measure LLMs' (in)ability to make optimal decisions in bandits, a state-less reinforcement learning setting relevant to many applications. We develop a comprehensive suite of environments, including both context-free and contextual bandits with varying task difficulties, to benchmark LLMs' performance. Motivated by the existence of optimal exploration algorithms, we propose efficient ways to integrate this algorithmic knowledge into LLMs: by providing explicit algorithm-guided support during inference; and through algorithm distillation via in-context demonstrations and fine-tuning, using synthetic data generated from these algorithms. Impressively, these techniques allow us to achieve superior exploration performance with smaller models, surpassing larger models on various tasks. We conducted an extensive ablation study to shed light on various factors, such as task difficulty and data representation, that influence the efficiency of LLM exploration. Additionally, we conduct a rigorous analysis of the LLM's exploration efficiency using the concept of regret, linking its ability to explore to the model size and underlying algorithm. The code is available at https://github.com/allenanie/EVOLvE.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large Language Models Think Too Fast To Explore Effectively cites Can large language models explore in-context?
  • Next-Token Prediction and Regret Minimization cites Can large language models explore in-context?
  • Can large language models explore in-context? cites Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selection
  • Can large language models explore in-context? cites Supervised Pretraining Can Learn In-Context Reinforcement Learning
  • Can large language models explore in-context? cites Reflexion: language agents with verbal reinforcement learning
  • Variational Uncertainty Decomposition for In-Context Learning cites Can large language models explore in-context?
  • Generator-Mediated Bandits: Thompson Sampling for GenAI-Powered Adaptive Interventions cites Can large language models explore in-context?
  • Post-Training LLMs as Better Decision-Making Agents: A Regret-Minimization Approach cites Supervised Pretraining Can Learn In-Context Reinforcement Learning
  • Post-Training LLMs as Better Decision-Making Agents: A Regret-Minimization Approach cites Can large language models explore in-context?
  • Post-Training LLMs as Better Decision-Making Agents: A Regret-Minimization Approach cites Reflexion: language agents with verbal reinforcement learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Large Language Models Think Too Fast To Explore EffectivelyLan Pan, Hanbo Xie, Robert C. WilsonNeurIPS 2025 · 10 citations
  2. Variational Uncertainty Decomposition for In-Context LearningI. Shavindra Jayasekera, Jacob Si, Filippo Valdettaro, Wenlong Chen et al.NeurIPS 2025 · 7 citations
  3. Post-Training LLMs as Better Decision-Making Agents: A Regret-Minimization ApproachChanwoo Park, Ziyang Chen, Asuman Ozdaglar, Kaiqing ZhangICML 2026 · 5 citations
  4. Generator-Mediated Bandits: Thompson Sampling for GenAI-Powered Adaptive InterventionsMarc Brooks, Gabriel Durham, Kihyuk Hong, Ambuj TewariNeurIPS 2025 · 1 citation
  5. Next-Token Prediction and Regret MinimizationMehryar Mohri, Clayton Sanford, Jon Schneider, Kiran Vodrahalli et al.ICML 2026

Builds on14

  1. Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan et al.NeurIPS 2023 · 5,828 citations
  2. Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm SelectionYu Bai, Fan Chen, Huan Wang, Caiming Xiong et al.NeurIPS 2023 · 356 citations
  3. Supervised Pretraining Can Learn In-Context Reinforcement LearningJonathan Lee, Annie Xie, Aldo Pacchiano, Yash Chandak et al.NeurIPS 2023 · 170 citations
  4. Controlled Decoding from Language ModelsSidharth Mudgal, Jong Lee, Harish Ganapathy, YaGuang Li et al.ICML 2024 · 130 citations
  5. Can large language models explore in-context?Akshay Krishnamurthy, Keegan Harris, Dylan J. Foster, Cyril Zhang et al.NeurIPS 2024 · 95 citations

Related papers

  1. Large Language Model-Enhanced Multi-Armed BanditsJiahang Sun, Zhiyong Wang, Runhan Yang, Chenjun Xiao et al.ACL 2026 · 6 citations
  2. Beyond Numeric Rewards: In-Context Dueling Bandits with LLM AgentsFanzeng Xia, Hao Liu, Yisong Yue, Tongxin LiACL Findings 2025 · 1 citation
  3. Vintix: Action Model via In-Context Reinforcement LearningAndrei Polubarov, Nikita Lyubaykin, Alexander Derevyagin, Ilya Zisman et al.ICML 2025
  4. Jump Starting Bandits with LLM-Generated Prior KnowledgeParand A. Alamdari, Yanshuai Cao, Kevin H. WilsonEMNLP 2024 · 1 citation
  5. From Text to Trust: Empowering AI-assisted Decision Making with Adaptive LLM-powered AnalysisZhuoyan Li, Hangxiao Zhu, Zhuoran Lu, Ziang Xiao et al.CHI 2025 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines