← Latest papers
📊 statistics

In-Context Multi-Objective Optimization

The paper introduces TAMO, a transformer-based, fully amortized policy that leverages in-context learning and reinforcement learning to perform efficient, universal multi-objective black-box optimization without the need for per-task surrogate fitting or acquisition function engineering.

Original authors: Xinyu Zhang, Conor Hassan, Julien Martinelli, Daolang Huang, Samuel Kaski

Published 2026-05-13
📖 5 min read🧠 Deep dive

Original authors: Xinyu Zhang, Conor Hassan, Julien Martinelli, Daolang Huang, Samuel Kaski

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

The Problem: The "Taste-Test" Dilemma

Imagine you are a chef trying to invent the perfect new sandwich. You have two goals:

  1. Taste: It needs to be delicious.
  2. Cost: It needs to be cheap to make.

The problem is that these two goals often fight each other. A sandwich with expensive truffles tastes amazing but costs a fortune. A sandwich with cheap ingredients is affordable but might taste boring. You want to find the "sweet spot" where the sandwich is both tasty and affordable.

In the real world, scientists and engineers face this same problem constantly. They might be designing a drug that is effective but non-toxic, or a rocket that is fast but fuel-efficient.

The catch? Testing is expensive.

  • You can't just taste 1,000 sandwiches instantly. You have to bake them one by one, which takes time and money.
  • You can't test 1,000 drugs on humans immediately.

Traditionally, to solve this, experts use a method called Multi-Objective Bayesian Optimization (MOBO). Think of this like a very smart, but slow, sous-chef.

  1. The sous-chef tastes a few sandwiches.
  2. They draw a complex map (a "surrogate model") predicting where the good sandwiches might be.
  3. They calculate a "best guess" for the next sandwich to bake.
  4. The Bottleneck: Every time you bake a new sandwich, the sous-chef has to stop, redraw the entire map from scratch, and recalculate the best guess. If you are baking in a rush (or testing many things at once), this process is too slow. It's like trying to drive a car where you have to stop and rebuild the engine every time you press the gas pedal.

The Solution: TAMO (The "Instant Intuition" Chef)

The authors introduce TAMO, a new system that acts like a master chef with "instant intuition."

Instead of stopping to redraw maps after every single test, TAMO has been trained on thousands of other sandwich recipes (and rocket designs, and drug formulas) beforehand. It has learned the general "shape" of how these problems work.

How TAMO works:

  1. The Training: Before it ever sees your specific sandwich problem, TAMO is trained on a massive library of synthetic problems. It learns to look at a history of tests (e.g., "We tried salt, it was too salty; we tried sugar, it was too sweet") and immediately guess the next best move.
  2. The Magic Trick (In-Context): When you give TAMO your new problem, it doesn't need to "relearn" anything. It just looks at the history of your tests and, in a single split-second glance (a "forward pass"), says: "Based on what you've tried so far, here is the next best sandwich to bake."
  3. No Retraining: If you change the problem (e.g., now you are designing a burger instead of a sandwich, or you have 3 goals instead of 2), TAMO doesn't need to stop and retrain. It just adapts on the fly.

The Key Features

1. The "Universal Translator" (Dimension Agnostic)
Most AI models are like specialists who only speak one language. If you change the number of ingredients (inputs) or the number of goals (outputs), they break.
TAMO is like a universal translator. Whether you are optimizing a sandwich with 2 ingredients and 2 goals, or a rocket with 100 parts and 5 goals, TAMO handles it all with the same brain. It doesn't care about the size of the problem; it just looks at the pattern of the data.

2. The "Long-Term Planner" (Non-Myopic)
Old methods are "myopic," meaning they only look one step ahead. They ask, "What is the best sandwich right now?"
TAMO is trained using Reinforcement Learning (like training a dog with treats). It is rewarded not just for a good single step, but for the entire journey. It learns to make moves that might seem slightly worse right now but lead to a much better sandwich in the long run. It plans the whole menu, not just the next bite.

3. The Speed Boost
This is the biggest win.

  • Old Way: 100% of the time is spent drawing maps and calculating.
  • TAMO: 99% of the time is saved. It proposes the next test 50 to 1,000 times faster than the old methods.
  • Analogy: If the old method takes 10 minutes to decide what to bake next, TAMO decides in a fraction of a second. This means you can run thousands of experiments in the time it used to take to run a few.

The Results

The authors tested TAMO on:

  • Synthetic math problems: Where they knew the perfect answer.
  • Real-world problems: Like finding the best mix for an oil-absorbing material (sorbent).

The Outcome:

  • Quality: TAMO found solutions just as good as (and sometimes better than) the slow, traditional methods.
  • Speed: It was dramatically faster.
  • Flexibility: It worked perfectly even when the number of goals or ingredients changed, without needing any retraining.

Summary

Think of TAMO as moving from a calculator to a human expert.

  • The calculator (old method) is precise but slow; it has to crunch numbers for every single new question.
  • The expert (TAMO) has seen so many similar problems in their life that they can look at a situation and instantly know the best next step, regardless of the specific details.

This allows scientists to explore complex designs much faster, turning a process that used to take days of computer time into something that happens almost instantly.

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 →