Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Inversion-based Latent Bayesian Optimization (InvBO)

Official PyTorch implementation of the "Inversion-based Latent Bayesian Optimization". (NeurIPS 2024)

Jaewon Chu*, Jinyoung Park*, Seunghun Lee, Hyunwoo J. Kim†.

Setup

  • Clone repository
git clone https://github.com/mlvlab/InvBO.git
cd InvBO
  • Install Environment
conda env create -f invbo.yml
conda activate invbo
pip install molsets==0.3.1 --no-deps

Run Experiments

This repository provides InvBO applied to CoBO [Lee et al., NeurIPS 2023] for small budget setting.

python exec.py --cuda 0 --task_id [TASK]

Since we predefined the coefficients for VAE loss terms in exec.py provided by CoBO, the available tasks for [TASK] are:

task_idTask Name
med2Median molecules 2
pdopPerindopril MPO
osmbOsimertinib MPO
adipAmlodipine MPO
zaleZaleplon MPO
valtValsartan SMARTS
ranoRanolazine MPO

However, we can also run on the remaining Guacamol tasks when we define coefficients for VAE loss terms in exec.py:

task_idTask Name
med1Median molecules 1
sigaSitagliptin MPO
dhopDeco Hop
shopScaffold Hop
fexoFexofenadine MPO

Weights and Biases (wandb) tracking

You can track the optimization process using the wandb library.

You can use wandb tracking by simply setting '--track_with_wandb', 'True' and '--wandb_entity', 'YOUR ENTITRY' in exec.py.

Acknowledgements

This repository is based on CoBO.

About

[NeurIPS 24] Official Implementation (Pytorch) of "Inversion-based Latent Bayesian Optimization"

Topics

Resources

Stars

10 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages