TagBO: LLM-Driven Task-Aware Graph Bayesian Optimization for Scientific Discovery
Organizations: Harbin Institute of Technology · Shanghai Artificial Intelligence Laboratory · Fudan University · Shenzhen Loop Area Institute ·
Abstract
Mixed-variable optimization in scientific discovery often requires exploring large combinatorial spaces under costly experimental evaluations, making sample?efficient Bayesian optimization (BO) essential. However, existing BO methods typ?ically rely on structural descriptors to define similarity among categorical variables, implicitly assuming that structural similarity reflects similarity in task performance. In scientific optimization, this assumption is often violated, leading to surrogate representations that are poorly aligned with the optimization objective. To address this limitation, we propose TagBO (Task-aware Graph Bayesian Optimization), a method that integrates LLM-derived relational priors with descriptor-based struc?tural information for mixed-variable Bayesian optimization. Rather than directly using LLM outputs as predictive scores, TagBO treats LLM outputs as a potentially noisy source of task-aware relational priors and extracts coarse ordinal relational signals from LLM reasoning to construct task-aware similarity structures for scien?tific optimization. TagBO then performs constrained Gaussian process Bayesian optimization over the resulting joint discrete-continuous representation space. Ex?periments on diverse chemistry and materials formulation tasks demonstrate that TagBO consistently improves sample efficiency under fixed evaluation budgets across LLMs of varying capabilities.
Figures & tables
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | DB_block | 22 | Donor-bridge molecular building block | Categorical |
| A_block | 100 | Acceptor molecular building block | Categorical | |
| Output | PredictedSO | DFT-predicted spectral overlap score | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | ligand | 12 | Ligand selected from 12 categorical options | Categorical |
| base | 8 | Base selected from 8 categorical options | Categorical | |
| solvent | 4 | Solvent selected from 4 categorical options | Categorical | |
| Output | yield | Reaction yield to be maximized | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | frag_a | 14 | Molecular fragment selected for the first fragment position | Categorical |
| frag_b | 13 | Molecular fragment selected for the second fragment position | Categorical | |
| frag_c | 19 | Molecular fragment selected for the third fragment position | Categorical | |
| Outputs | peak_score | Photophysical peak score to be maximized | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | organic | 16 | Organic component | Categorical |
| cation | 3 | Metal cation | Categorical | |
| anion | 4 | Halide anion | Categorical | |
| Output | hse_gap | HSE06-computed band gap | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | r1_label | 2 | Substituent group selected for the R1 position | Categorical |
| r3_label | 8 | Substituent group selected for the R3 position | Categorical | |
| r4_label | 8 | Substituent group selected for the R4 position | Categorical | |
| r5_label | 11 | Substituent group selected for the R5 position | Categorical | |
| Outputs | abs_lam_diff | Absolute wavelength difference to be minimized | Continuous | |
| ered | Reduction potential to be minimized | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | organic | 17 | Organic ammonium component | Categorical |
| organic_molarity | [0, 10] | Molarity of the organic component | Continuous | |
| solvent | 3 | Solvent | Categorical | |
| solvent_molarity | [0, 15] | Molarity of the solvent component | Continuous | |
| inorganic_molarity | [0, 5] | Molarity of the inorganic precursor | Continuous | |
| acid_molarity | [0, 25] | Molarity of the acid additive | Continuous |
| Input/Output | Name | Range / Count | Description | Type |
|---|---|---|---|---|
| Inputs | filler_1 | 29 | First filler | Categorical |
| filler_2 | 29 | Second filler | Categorical | |
| filler_3 | 29 | Third filler | Categorical | |
| filler_4 | 29 | Fourth filler | Categorical | |
| filler_5 | 29 | Fifth filler | Categorical | |
| filler_6 | 29 | Sixth filler | Categorical |
Bayesian Optimization
Bayesian optimization uses probabilistic models and sequential experiments to find strong solutions when evaluating a black-box objective is costly.
See all 235 papers