Data-Efficient Molecular Generation with Hierarchical Textual Inversion
Seojin Kim, Jaehyun Nam, Sihyun Yu, Younghoon Shin, Jinwoo Shin
TL;DR
HI-Mol tackles data-efficient molecular generation by introducing hierarchical textual inversion that learns multi-level token embeddings from a small set of molecules. The approach uses a frozen large text-to-molecule model and embedding-interpolation sampling to generate novel molecules; the key contributions are the multi-level token scheme, unsupervised cluster assignment, and an interpolation sampling strategy that leverages hierarchical information. Empirical results on QM9 and MoleculeNet demonstrate substantial data efficiency, including substantially reduced data requirements (e.g., 50x less data on QM9) with competitive or superior metrics such as FCD and NSPDK, and improved performance in low-shot property prediction. This framework enables practical, data-efficient molecular generation and highlights the potential of combining hierarchical priors with large pre-trained language models in chemistry.
Abstract
Developing an effective molecular generation framework even with a limited number of molecules is often important for its practical deployment, e.g., drug discovery, since acquiring task-related molecular data requires expensive and time-consuming experimental costs. To tackle this issue, we introduce Hierarchical textual Inversion for Molecular generation (HI-Mol), a novel data-efficient molecular generation method. HI-Mol is inspired by the importance of hierarchical information, e.g., both coarse- and fine-grained features, in understanding the molecule distribution. We propose to use multi-level embeddings to reflect such hierarchical features based on the adoption of the recent textual inversion technique in the visual domain, which achieves data-efficient image generation. Compared to the conventional textual inversion method in the image domain using a single-level token embedding, our multi-level token embeddings allow the model to effectively learn the underlying low-shot molecule distribution. We then generate molecules based on the interpolation of the multi-level token embeddings. Extensive experiments demonstrate the superiority of HI-Mol with notable data-efficiency. For instance, on QM9, HI-Mol outperforms the prior state-of-the-art method with 50x less training data. We also show the effectiveness of molecules generated by HI-Mol in low-shot molecular property prediction.
