LILO: Bayesian Optimization with Interactive Natural Language Feedback
Katarzyna Kobalczyk, Zhiyuan Jerry Lin, Benjamin Letham, Zhuokai Zhao, Maximilian Balandat, Eytan Bakshy
TL;DR
This paper tackles optimizing a black-box objective under a decision maker's nuanced preferences by translating natural language feedback into scalar utilities for Gaussian-process-based Bayesian optimization. The proposed Language-in-the-loop Optimization (LILO) framework places an LLM in a supporting role to interpret feedback and priors while preserving BO's uncertainty quantification through two proxy GPs that model the composite utility and its outcomes. The method iterates through candidate generation, DM-driven feedback elicitation, and utility estimation via LLM labeling guided by EUBO, incorporating prior domain knowledge when available. Empirically, LILO outperforms traditional true-utility and preferential BO baselines, particularly in feedback-scarce regimes, and demonstrates robustness to different LLMs and prompt configurations, highlighting its potential for practical interactive optimization in complex, multi-metric settings.
Abstract
For many real-world applications, feedback is essential in translating complex, nuanced, or subjective goals into quantifiable optimization objectives. We propose a language-in-the-loop framework that uses a large language model (LLM) to convert unstructured feedback in the form of natural language into scalar utilities to conduct BO over a numeric search space. Unlike preferential BO, which only accepts restricted feedback formats and requires customized models for each domain-specific problem, our approach leverages LLMs to turn varied types of textual feedback into consistent utility signals and to easily include flexible user priors without manual kernel design. At the same time, our method maintains the sample efficiency and principled uncertainty quantification of BO. We show that this hybrid method not only provides a more natural interface to the decision maker but also outperforms conventional BO baselines and LLM-only optimizers, particularly in feedback-limited regimes.
