mlsanityData to 14 Oct 2026

Thompson Sampling via Fine-Tuning of LLMs

arXiv 2510.13328 ↗First posted 15 Oct 2025cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Bayesian optimization in large unstructured discrete spaces is often hindered by the computational cost of maximizing acquisition functions due to the absence of gradients. We propose a scalable alternative based on Thompson sampling that eliminates the need for acquisition function maximization by directly parameterizing the probability that a candidate yields the maximum reward. Our approach, Thompson Sampling via Fine-Tuning (ToSFiT) leverages the prior knowledge embedded in prompt-conditioned large language models, and incrementally adapts them toward the posterior. Theoretically, we derive a novel regret bound for a variational formulation of Thompson Sampling that matches the strong guarantees of its standard counterpart. Our analysis reveals the critical role of careful adaptation to the posterior probability of maximality -- a principle that underpins our ToSFiT algorithm. Empirically, we validate our method on three diverse tasks: FAQ response refinement, thermally stable protein search, and quantum circuit design. Within a collection of methods covering in-context Bayesian optimization, reinforcement learning, and evolutionary search, ToSFiT exhibits both state-of-the-art sample efficiency and computational efficiency.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 28 of its 63 references that are in the map. First posted on arXiv 15 Oct 2025.

Builds on

28 of 63 references.

References · 28

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
  4. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  6. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  7. 2017A Tutorial on Thompson Samplingcited by 433
  8. 2019Scalable Global Optimization via Local Bayesian Optimizationcited by 374
  9. 2017On Kernelized Multi-armed Banditscited by 352
  10. 2013Learning to Optimize Via Posterior Samplingcited by 256
  11. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  12. 2013Bayesian Optimization in a Billion Dimensions via Random Embeddingscited by 182
16 more
  1. 2014An Information-Theoretic Analysis of Thompson Samplingcited by 178
  2. 2017Batched Large-scale Bayesian Optimization in High-dimensional Spacescited by 117
  3. 2022More Than a Toy: Random Matrix Models Predict How Real-World Neural Representations Generalizecited by 91
  4. 2017Parallel and Distributed Thompson Sampling for Large-scale Accelerated Exploration of Chemical Spacecited by 76
  5. 2019Adaptive and Safe Bayesian Optimization in High Dimensions via One-Dimensional Subspacescited by 73
  6. 2019No-Regret Bayesian Optimization with Unknown Hyperparameterscited by 51
  7. 2021Improving black-box optimization in VAE latent space using decoder uncertaintycited by 51
  8. 2024A Sober Look at LLMs for Material Discovery: Are They Actually Good for Bayesian Optimization Over Molecules?cited by 48
  9. 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Modelscited by 30
  10. 2021Diversified Sampling for Batched Bayesian Optimization with Determinantal Point Processescited by 24
  11. 2025Latent Bayesian Optimization via Autoregressive Normalizing Flowscited by 19
  12. 2023Probabilistic Inference in Reinforcement Learning Done Rightcited by 11
  13. 2021Variational Bayesian Optimistic Samplingcited by 7
  14. 2025Simplifying Bayesian Optimization Via In-Context Direct Optimum Samplingcited by 7
  15. 2024Optimistic Games for Combinatorial Bayesian Optimization with Application to Protein Designcited by 4
  16. 2025LITE: Efficiently Estimating Gaussian Probability of Maximalitycited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Models
  2. 2025Optimal Stopping vs Best-of-N for Inference Time Optimization
  3. 2025LLMs for Bayesian Optimization in Scientific Domains: Are We There Yet?
  4. 2026Quantized Evolution Strategies: High-precision Fine-tuning of Quantized LLMs at Low-precision Cost
  5. 2026Scalable Power Sampling: Unlocking Efficient, Training-Free Reasoning for LLMs via Distribution Sharpening
  6. 2026Predicting and improving test-time scaling laws via reward tail-guided search
  7. 2025LLINBO: Trustworthy LLM-in-the-Loop Bayesian Optimization
  8. 2025Reasoning BO: Enhancing Bayesian Optimization with Long-Context Reasoning Power of LLMs