TextBO: Bayesian Optimization in Language Space for Eval-Efficient Self-Improving AI
On the map: Synthetic data and self-improvement for LLMs → Self-rewarding alignment and self-training
Abstract (arXiv)
Large Language Models (LLMs) have enabled self-improving AI systems that iteratively generate, evaluate, and refine their outcomes. Recent studies show that prompt-optimization-based self-improvement can outperform state-of-the-art reinforcement-learning fine-tuning of LLMs, but performance is typically measured by generation efficiency. However, in many applications, the constraint is evaluation efficiency: obtaining reliable feedback is far more costly than generating candidates. To optimize for evaluation efficiency, we extend Upper Confidence Bound-Bayesian Optimization (UCB-BO), a framework known for optimal evaluation-efficiency guarantees, to the language domain. Doing so is challenging for two reasons: (i) gradients needed for UCB-BO are ill-defined in discrete prompt space; and (ii) UCB-style exploration relies on a surrogate model and acquisition function, which only live implicitly in the LLM. We overcome these challenges by proving that combining simple textual gradients (LLM-proposed local edits) with the Best-of-N selection strategy statistically emulates ascent along the gradient of the canonical UCB acquisition function. Based on this result, we propose TextBO, a simple, evaluation-efficient self-improving algorithm that operates purely in language space without explicit surrogates or calibrated uncertainty models. We empirically validate TextBO on automated ad-alignment tasks using a persona-induced preference distribution, demonstrating superior performance per evaluation compared to strong baselines such as Best-of-N and GEPA. We also evaluate TextBO's Best-of-N multi-step textual-gradient mechanism on agentic AI benchmarks by augmenting GEPA with it and show that it significantly outperforms standard GEPA. In sum, TextBO is a simple and principled framework for AI self-improving system design that bridges prompt optimization with classical Bayesian optimization.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Self-rewarding alignment and self-training, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 46 of its 95 references that are in the map. First posted on arXiv 15 Nov 2025.
Builds on
46 of 95 references.
Closest ancestors · 2
Same direction, newest first
- 2025Self-Improving LLM Agents at Test-Time9 Oct
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
Other references · 44
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Large Language Models as Optimizerscited by 864
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2018A Tutorial on Bayesian Optimizationcited by 744
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2024Automated Design of Agentic Systemscited by 407
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
- 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 284
32 more
- 2024Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judgecited by 269
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
- 2025Video models are zero-shot learners and reasonerscited by 220
- 2023Helping or Herding? Reward Model Ensembles Mitigate but do not Eliminate Reward Hackingcited by 200
- 2025Generalizing Verifiable Instruction Followingcited by 194
- 2023Controlled Decoding from Language Modelscited by 135
- 2024DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoningcited by 125
- 2024Theoretical guarantees on the best-of-n alignment policycited by 124
- 2025xbench: Tracking Agents Productivity Scaling with Profession-Aligned Real-World Evaluationscited by 120
- 2025LLM Generated Persona is a Promise with a Catchcited by 81
- 2025The Alternative Annotator Test for LLM-as-a-Judge: How to Statistically Justify Replacing Human Annotators with LLMscited by 74
- 2024Exploring the Frontier of Vision-Language Models: A Survey of Current Methodologies and Future Directionscited by 68
- 2024Many-Shot In-Context Learning in Multimodal Foundation Modelscited by 67
- 2024Quantifying Variance in Evaluation Benchmarkscited by 54
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedbackcited by 41
- 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 40
- 2025Language Models are Injective and Hence Invertiblecited by 35
- 2025PairJudge RM: Perform Best-of-N Sampling with Knockout Tournamentcited by 22
- 2025Twin-2K-500: A dataset for building digital twins of over 2,000 people based on their answers to over 500 questionscited by 22
- 2025Understanding High-Dimensional Bayesian Optimizationcited by 20
- 2025Position: Beyond Euclidean -- Foundation Models Should Embrace Non-Euclidean Geometriescited by 18
- 2025Language-Based Bayesian Optimization Research Assistant (BORA)cited by 15
- 2025Digital Twins as Funhouse Mirrors: Five Key Distortionscited by 11
- 2023Quality Diversity through Human Feedback: Towards Open-Ended Diversity-Driven Optimizationcited by 10
- 2025Alita-G: Self-Evolving Generative Agent for Agent Generationcited by 10
- 2025Maestro: Joint Graph & Config Optimization for Reliable AI Agentscited by 9
- 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Makingcited by 7
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
- 2024That Chip Has Sailed: A Critique of Unfounded Skepticism Around AI for Chip Designcited by 5
- 2023On the Suboptimality of GP-UCB under Polynomial Effective Optimismcited by 4
- 2022Advertising Media and Target Audience Optimization via High-dimensional Banditscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LILO: Bayesian Optimization with Natural Language Feedback
- 2025Optimizing Language Models for Inference Time Objectives using Reinforcement Learning
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning
- 2026Reinforcement Inference: Leveraging Uncertainty for Self-Correcting Language Model Reasoning
- 2025LLINBO: Trustworthy LLM-in-the-Loop Bayesian Optimization
- 2023Language Model Self-improvement by Reinforcement Learning Contemplation
- 2024Self-Evolutionary Large Language Models through Uncertainty-Enhanced Preference Optimization
- 2026Exploration-Driven Optimization for Test-Time Large Language Model Reasoning