NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

In-Context Multi-Objective Optimization

Xinyu Zhang, Conor Hassan, Julien Martinelli, Daolang Huang, Samuel Kaski

The Bottleneck in Multi-Objective Optimization

In fields ranging from drug discovery to autonomous systems, researchers constantly face Multi-Objective Optimization (MOO) problems. The goal is to find the best possible trade-offs between competing objectives—for instance, maximizing a drug's efficacy while minimizing its toxicity.

The gold standard for tackling these expensive, black-box problems is Multi-Objective Bayesian Optimization (MOBO). However, traditional MOBO pipelines suffer from three major bottlenecks:

  1. Latency: Every new data point requires refitting a probabilistic surrogate model (typically a Gaussian Process) and optimizing an acquisition function to select the next test point. This iterative process is computationally heavy and slow.
  2. Myopia: Most MOBO methods are greedy, looking only one step ahead. This can lead to suboptimal long-term strategies for mapping the Pareto frontier (the set of optimal trade-offs).
  3. Rigidity: Surrogate models are usually hard-coded for a specific number of input features and objectives. If the problem dimensions change, the model must be re-engineered from scratch.

Introducing TAMO: A Foundation Model for Optimization

To overcome these limitations, researchers have introduced TAMO (Task-Agnostic Multi-objective Optimization), a fully amortized, universal policy. Instead of fitting a model during the optimization process, TAMO learns the fundamental rules of optimization beforehand.

Comparison of traditional MOBO pipelines versus TAMO's amortized, in-context approach.

By treating optimization as a sequence modeling problem, TAMO takes the entire history of previous queries and their results as a "context" sequence. At test time, it outputs the next best design to evaluate in a single forward pass, completely eliminating the need for per-task surrogate fitting.

Key Technical Innovations

  • Dimension-Agnostic Embedder: TAMO utilizes a novel transformer architecture capable of processing any number of input features ($d_x$) and objective values ($d_y$). It uses learnable positional tokens to distinguish between different dimensions, freeing it from fixed-dimension constraints.
  • Two-Phase Training:
    1. Warm-up: The model is initially trained on an auxiliary "in-context regression" task to learn how to represent complex function landscapes.
  • RL Fine-tuning: It is then fine-tuned using Reinforcement Learning (REINFORCE) to maximize the cumulative hypervolume improvement. This encourages long-horizon planning rather than myopic, single-step gains.

Unprecedented Speed and Zero-Shot Generalization

TAMO was trained entirely on synthetic data generated from Gaussian Process draws with varied kernels and low dimensions ($d_x \in \{1,2\}$ and $d_y \in \{1,2,3\}$). Despite this constrained training environment, it demonstrated remarkable zero-shot generalization when evaluated on complex synthetic benchmarks (like Ackley-Rastrigin) and real-world tasks, including a 4D Laser-Plasma acceleration problem.

Performance benchmarks showing TAMO's massive reduction in inference time while maintaining competitive simple regret against traditional baselines.

The results highlight a massive paradigm shift in optimization efficiency:

  • 50× to 1000× Speedups: TAMO reduces the time required to propose the next design by orders of magnitude compared to state-of-the-art GP-based methods like qNEHVI.
  • Competitive Quality: Despite operating in a fraction of the time, TAMO matches or exceeds the Pareto frontier quality of traditional methods, particularly under tight evaluation budgets.
  • Plug-and-Play Flexibility: Because it is dimension-agnostic, a single pretrained TAMO model was used across all experiments without any per-task retraining. It even naturally handles "decoupled" settings where objectives are measured independently to save costs—a scenario that typically requires complex custom engineering.

Looking Ahead

By shifting the heavy computational lifting to an offline pretraining phase, the "online" decision-making process becomes nearly instantaneous. While TAMO represents a massive leap forward, challenges remain. The current model selects from a discrete pool of candidates, and extending this to truly continuous or combinatorial spaces (like molecular graphs) is a crucial next step. Additionally, bridging the gap between synthetic training data and the non-stationary noise of real-world physics will be key to scaling these transformer-based optimizers to dozens or hundreds of dimensions.

Ultimately, TAMO opens a promising path toward foundation-style, plug-and-play optimizers that could dramatically accelerate scientific discovery workflows.

Summary updated

BibTeX
@inproceedings{zhang2026context,
  author = {Xinyu Zhang and Conor Hassan and Julien Martinelli and Daolang Huang and Samuel Kaski},
  title = {{In-Context Multi-Objective Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=odmeUlWta8},
}
Figure