← Latest papers
🤖 machine learning

LILO: Bayesian Optimization with Natural Language Feedback

This paper introduces LILO, a Bayesian optimization framework that leverages large language models to convert free-form natural language feedback into structured preference signals, thereby enhancing sample efficiency and flexibility in optimizing complex, subjective objectives compared to traditional methods.

Original authors: Katarzyna Kobalczyk, Zhiyuan Jerry Lin, Benjamin Letham, Zhuokai Zhao, Maximilian Balandat, Eytan Bakshy

Published 2026-05-12
📖 4 min read☕ Coffee break read

Original authors: Katarzyna Kobalczyk, Zhiyuan Jerry Lin, Benjamin Letham, Zhuokai Zhao, Maximilian Balandat, Eytan Bakshy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to find the perfect recipe for a new dish, but you can't taste it yourself. You have to rely on a chef (the Decision Maker) to tell you if the dish is good.

In the old way of doing this (traditional optimization), you would have to ask the chef very specific, boring questions like: "On a scale of 1 to 10, how much do you like the salt?" or "Is this dish better than that one?" This is slow, and the chef might get tired of answering so many tiny questions.

LILO (Language-in-the-Loop Optimization) is a new way to solve this problem. It introduces a translator (an AI language model) who sits between you and the chef.

Here is how it works, using a simple analogy:

1. The Problem: The Chef Speaks "Human," The Computer Speaks "Math"

Usually, computers are great at math but bad at understanding human nuance. If a chef says, "I love the flavor, but it's a bit too spicy and the texture is weird," a standard computer might not know how to turn that into a number to improve the recipe.

2. The Solution: The Translator (The LLM)

LILO uses a Large Language Model (LLM) as a translator.

  • You (the Chef) speak naturally: "I prefer the second option because it's faster and more accurate, but don't let the memory usage get too high."
  • The Translator (LLM) listens to your free-flowing thoughts and converts them into a structured list of preferences, like a scorecard: "Option A is better than Option B on speed. Option B is better on memory."

3. The Engine: The GPS (Bayesian Optimization)

Once the translator converts your words into a scorecard, a powerful mathematical engine called Bayesian Optimization takes over. Think of this engine as a smart GPS.

  • It doesn't just guess randomly; it uses the scorecard to build a map of "what tastes good."
  • It knows where it is uncertain (areas of the map it hasn't explored yet) and where the "best taste" is likely hiding.
  • It uses this map to decide exactly which new recipe to try next to learn the most.

Why is this better than just asking the AI to cook?

Some people tried just letting the AI chef cook the whole time without the GPS. But the AI chef is like a student who guesses based on what they've read in books; they don't have a reliable way to know how sure they are about their guesses. They might keep trying the same bad idea over and over.

LILO keeps the AI chef in the role of the translator only. It doesn't let the AI make the final decisions. Instead, it lets the AI translate your words, and then the GPS (Bayesian Optimization) uses those translations to navigate efficiently. This means you find the best solution much faster with fewer tries.

The "Secret Sauce" Features

  • Rich Feedback: You don't have to be a robot. You can say, "I care more about speed than size, but only up to a point." The translator understands these complex trade-offs better than a simple "1 to 10" rating.
  • Warm Starts: If you have prior knowledge (e.g., "I know from experience that adding more salt usually helps"), you can tell the translator. The system uses this to start the search in the right neighborhood, saving time.
  • Handling Messy Data: This system works even if the "dish" isn't just numbers. It can optimize things that result in text (like summarizing a news article) or images. The translator can read the text or look at the image and decide which one is better based on your natural language feedback.

The Bottom Line

The paper shows that by letting humans speak naturally and using an AI to translate those words into math for a smart navigation system, we can solve complex problems much faster and with less effort than before. It's like having a translator who turns your casual conversation into a precise set of instructions for a super-smart explorer.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →