Should You Use Your Large Language Model to Explore or Exploit?

Keegan Harris, Aleksandrs Slivkins
1/31/2025
cs.LGcs.AIcs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

We evaluate the ability of the current generation of large language models (LLMs) to help a decision-making agent facing an exploration-exploitation tradeoff. We use LLMs to explore and exploit in silos in various (contextual) bandit tasks. We find that while the current LLMs often struggle to exploit, in-context mitigations may be used to substantially improve performance for small-scale tasks. However even then, LLMs perform worse than a simple linear regression. On the other hand, we find that LLMs do help at exploring large action spaces with inherent semantics, by suggesting suitable candidates to explore.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{harris2025should,
  title  = {Should You Use Your Large Language Model to Explore or Exploit?},
  author = {Keegan Harris and Aleksandrs Slivkins},
  year   = {2025},
  eprint = {2502.00225},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00225v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.00225.svg)](https://codeofpaper.com/paper/2502.00225)

Discussion