TL;DR
When Large Language Models (LLMs) try to solve tough problems—like designing new proteins or writing competition-level code—standard reinforcement learning often latches onto the first decent idea it finds and stops exploring. POETS solves this by teaching an LLM what it doesn't know, using a remarkably lightweight ensemble of policies that acts like a committee of curious scientists. Best of all, it achieves the exploration benefits of running 16 separate models while adding just a ~7.7% runtime overhead over training a single model.
What Problem Does This Paper Address?
At the heart of reinforcement learning (RL) and black-box optimization lies a classic dilemma: exploration versus exploitation. Do you refine a solution you already know works, or venture into uncharted territory hoping for something better?
Smart exploration requires epistemic uncertainty—knowing where your blind spots are. In traditional deep learning, a gold-standard way to measure uncertainty is ensembling: train a dozen models independently, and wherever they disagree, you know you’re in unfamiliar territory.
With billion-parameter LLMs, however, running 16 copies of a model will melt your GPU cluster. Furthermore, current LLM optimization methods either explore blindly (like standard GRPO, which often suffers from premature policy collapse) or rely on clunky, nested pipelines where you train a separate "reward model" ensemble first and then fit a policy to it. The authors ask: Can we get principled, uncertainty-driven exploration directly inside an LLM policy without explicit reward models or 16x the compute bill?
Methods
POETS (Policy Ensembles for Thompson Sampling) combines a neat mathematical duality with clever systems engineering:
- Policies as Implicit Rewards: It is a known mathematical quirk that any policy trained with Kullback-Leibler (KL) regularization (which keeps the model from straying too far from its original pre-trained self) implicitly encodes its own underlying reward function. Instead of building a separate reward model, POETS matches these implicit rewards directly to observed data.
- Online Poisson Bootstrapping: To make the ensemble members disagree in unexplored regions, each policy needs slightly different training data. Because RL generates data sequentially online, standard resampling doesn't work well. POETS uses Poisson bootstrapping: as each new rollout arrives, every ensemble member assigns it a random integer weight drawn from a $\text{Poisson}(1)$ distribution.
- Trunk & Branch Architecture: Instead of duplicating an 8-billion-parameter model $n$ times, all ensemble members share one massive pre-trained backbone (the "Trunk", computed just once per pass via gradient accumulation) and split off only at the very final readout layer using independent Low-Rank Adaptation (LoRA) modules (the "Branches").
- Implicit Thompson Sampling: At generation time, POETS simply picks one LoRA branch uniformly at random to act. Because the branches represent an approximate posterior over rewards, randomly picking a branch naturally executes KL-regularized Thompson sampling—balancing curiosity and greed automatically.
Datasets
No new benchmarks were introduced; instead, the authors tested POETS across an unusually broad suite of existing scientific discovery and RL reasoning tasks:
- Black-Box Scientific Discovery: Protein Search (optimizing thermal stability with ProtGPT2), Quantum Circuit Design (minimizing 7-qubit Hamiltonian state energy), TDC Molecular Design (optimizing SMILES strings for GSK3$\beta$, JNK3, and DRD2 targets), and FAQ Refinement (semantic text alignment). Also tested on the FunSearch bin-packing benchmark in the appendix.
- RL with Verifiable Rewards (RLVR): Mathematical reasoning on AIME (
AIME1983-2024andAIME2026), and contest coding on LiveCodeBench v6 (175 problems from Jan–Apr 2025, featuring ~2.65 public training unit tests and ~37.35 private evaluation tests per problem).
Key Insights and Ideas
- GRPO is secretly a 1-member POETS: The authors prove mathematically that standard GRPO (the popular RL algorithm behind models like DeepSeek-R1 and Qwen3) is equivalent to running POETS with an ensemble size of $n=1$. That explains why GRPO is prone to premature overfitting: it's doing Thompson sampling with a single point estimate, completely blind to epistemic uncertainty!
- Unlocking Experience Replay for LLMs: Reusing past data via a replay buffer usually ruins standard GRPO, causing it to rapidly overfit to early, mediocre answers. Because POETS tracks uncertainty across its branches, experience replay actually supercharges its sample efficiency rather than breaking it.
- Stopping Reward Hacking: On LiveCodeBench, standard GRPO with a fast-learning head memorizes the 2–3 public unit tests and tanks on the 37 private ones. POETS’s ensemble uncertainty acts as a natural regularizer, translating public test gains cleanly into private test accuracy.
Key Results
- Compute & Memory Efficiency: Scaling from 1 policy to a 16-member ensemble on Qwen3-8B (on a single NVIDIA H200) increases total step time by just 7.7% (118.0s to 127.1s) and peak VRAM by 16.8% (116.0 GB to 135.5 GB)—vastly beating the 1600% overhead of naive ensembling.
- Black-Box Optimization: Across FAQ refinement, protein search, and quantum circuit design, POETS consistently hits state-of-the-art sample efficiency—even outperforming domain-specific baselines without needing instruction-following capabilities or external Gaussian Process reward models.
- Replay Buffer Gains: Adding a replay buffer ($T=4, 16$) on Protein Search dramatically boosts POETS's best-seen and expected rewards, whereas GRPO's performance actively degrades as buffer size increases.
Limitations and Future Work
- Theory vs. Practice Gap: While the authors prove an optimal $\mathcal{O}(\sqrt{T\gamma_T})$ cumulative regret bound for exact KL-regularized Thompson sampling, this isn't a formal guarantee for POETS itself, since Poisson bootstrapping with last-layer LoRA heads is only an approximation of the true Bayesian posterior.
- Hyperparameter Sensitivity: Because the shared trunk and LoRA branches learn at different speeds, the branch learning rate requires tuning (typically $10\times$ to $100\times$ the trunk's rate), though the authors note you can spot the sweet spot after just 5% of training by watching how fast the heads diversify.
- Single-Step Bandit Limit: Currently, POETS treats whole LLM responses as single actions in a contextual bandit. Extending this to multi-step Markov Decision Processes with step-by-step rewards is tricky because the intractable partition function ($\log Z$) becomes state-dependent and no longer cancels out neatly—a prime target for future work.
Summary updated