# TagBO: LLM-Driven Task-Aware Graph Bayesian Optimization for Scientific Discovery

*Xinzhe Yuan, Zimu Zeng, Zhuo Chen, Jianshu Zhang, Jinzong Dong, Jingyi Chen, Nanyang Ye, Huan Xiong, Qinying Gu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148670) · [OpenReview](https://openreview.net/forum?id=vzC2M3GkhW) · [Open on the map](../papers.html#p148670)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Latent Space Bayesian Optimization](../pgroup/520.md) · Type: new method · Keywords: task-aware Bayesian optimization, LLM relational priors, mixed-variable optimization, scientific discovery, sample efficiency

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Strategies › Self-Evolution and Improvement

## Summary
TagBO integrates LLM-derived relational priors with structural descriptors to build task-aware similarity for mixed-variable Bayesian optimization, improving sample efficiency in scientific discovery.

## Explained to a 5-year-old
Scientists want to find the best recipe for a new material, but trying each recipe is slow and costly. They use a special tool that learns from a smart computer program to know which recipes are similar. This tool helps them try fewer recipes and find the best one faster. It works for making chemicals and new materials. It makes discovering new things quicker.

## Explained to a 5-year-old, longer
In scientific research, people often need to test many different ideas to find the best one. Testing each idea can be very time-consuming and expensive, especially when experiments are hard to run. To help with this, researchers have created a method that uses a smart language model to understand relationships between ideas. The language model looks at how different parts of a problem are related and turns that into a kind of map. This map is combined with existing knowledge about the structure of the things being studied, like molecules. From the map, the method extracts simple ordering information that tells which ideas are more similar to each other. These similarity ideas are then used to guide a special kind of optimization that works with both discrete and continuous variables. The optimization runs a constrained Gaussian process that learns from the limited experiments to predict which new ideas might be best. By using both the map and the Gaussian process, the method can suggest promising candidates while using fewer experiments overall. This makes the discovery process faster and cheaper for chemists and material scientists.

## For a technical reader
The method builds task-aware similarity by extracting ordinal signals from LLM reasoning and merging them with traditional structural descriptors. It then formulates a constrained Gaussian process Bayesian optimization over a joint discrete-continuous space to guide the search. Experiments across chemistry and materials tasks show that this approach consistently reduces the number of required evaluations compared to standard BO techniques. The framework is designed to be flexible, allowing different LLMs to contribute priors without requiring full fine-tuning. This results in a practical tool for accelerating expensive scientific experiments.

## Problem
Scientific discovery often requires optimizing mixed discrete-continuous variables, but evaluating candidates is costly and exploring the space efficiently is difficult. Existing Bayesian optimization methods rely on generic similarity measures that do not capture task-specific objectives, leading to biased performance.

## Method
The approach combines LLM-derived relational priors with descriptor-based structural information to construct task-aware similarity structures, then performs constrained Gaussian process Bayesian optimization over a joint discrete-continuous representation space. It extracts coarse ordinal signals from LLM reasoning to mitigate noise and builds a graph-based similarity model.

## Results
The approach shows consistent improvements in sample efficiency under fixed evaluation budgets across a range of LLMs with varying capabilities.

## Contributions
It introduces a framework that leverages LLM reasoning to create task-aware similarity for mixed-variable Bayesian optimization and demonstrates superior sample efficiency on chemistry and materials tasks.

## Practical relevance
By reducing the number of expensive experiments needed, the method can accelerate research and development in chemistry and materials science.

## Research questions this paper is counted under

- [How can Bayesian optimization be made more effective and reliable for complex, high-dimensional black-box problems?](../q/70.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148670)
