Can LLMs Generate Diverse Molecules? Towards Alignment with Structural Diversity
<|reference_start|>Can LLMs Generate Diverse Molecules? Towards Alignment with Structural Diversity: Recent advancements in large language models (LLMs) have demonstrated impressive performance in generating molecular structures as drug candidates, which offers significant potential to accelerate drug discovery. However, the current LLMs overlook a critical requirement for drug discovery: proposing a diverse set of molecules. This diversity is essential for improving the chances of finding a viable drug, as it provides alternative molecules that may succeed where others fail in wet-lab or clinical validations. Despite such a need for diversity, the LLMs often output structurally similar molecules from a given prompt. While decoding schemes like beam search may enhance textual diversity, this often does not align with molecular structural diversity. In response, we propose a new method for fine-tuning molecular generative LLMs to autoregressively generate a set of structurally diverse molecules, where each molecule is generated by conditioning on the previously generated molecules. Our approach consists of two stages: (1) supervised fine-tuning to adapt LLMs to autoregressively generate molecules in a sequence and (2) reinforcement learning to maximize structural diversity within the generated molecules. Our experiments show that (1) our fine-tuning approach enables the LLMs to better discover diverse molecules compared to existing decoding schemes and (2) our fine-tuned model outperforms other representative LLMs in generating diverse molecules, including the ones fine-tuned on chemical domains.<|reference_end|>
@article{jang2024can,
    title={Can LLMs Generate Diverse Molecules? Towards Alignment with Structural
  Diversity},
    author={Hyosoon Jang, Yunhui Jang, Jaehyung Kim, Sungsoo Ahn},
    journal={arXiv preprint arXiv:2410.03138},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.03138},
    primaryClass={cs.LG q-bio.QM}
}