Saved in:
Bibliographic Details
Main Authors: Navratil, Jiri, Ross, Jarret, Das, Payel, Mroueh, Youssef, Hoffman, Samuel C, Chenthamarakshan, Vijil, Belgodere, Brian
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.05628
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917080455970816
author Navratil, Jiri
Ross, Jarret
Das, Payel
Mroueh, Youssef
Hoffman, Samuel C
Chenthamarakshan, Vijil
Belgodere, Brian
author_facet Navratil, Jiri
Ross, Jarret
Das, Payel
Mroueh, Youssef
Hoffman, Samuel C
Chenthamarakshan, Vijil
Belgodere, Brian
contents The ability to design molecules while preserving similarity to a target molecule and/or property is crucial for various applications in drug discovery, chemical design, and biology. We introduce in this paper an efficient training-free method for navigating and sampling from the molecular space with a generative Chemical Language Model (CLM), while using the molecular similarity to the target as a guide. Our method leverages the contextual representations learned from the CLM itself to estimate the molecular similarity, which is then used to adjust the autoregressive sampling strategy of the CLM. At each step of the decoding process, the method tracks the distance of the current generations from the target and updates the logits to encourage the preservation of similarity in generations. We implement the method using a recently proposed $\sim$47M parameter SMILES-based CLM, GP-MoLFormer, and therefore refer to the method as GP-MoLFormer-Sim, which enables a test-time update of the deep generative policy to reflect the contextual similarity to a set of guide molecules. The method is further integrated into a genetic algorithm (GA) and tested on a set of standard molecular optimization benchmarks involving property optimization, molecular rediscovery, and structure-based drug design. Results show that, GP-MoLFormer-Sim, combined with GA (GP-MoLFormer-Sim+GA) outperforms existing training-free baseline methods, when the oracle remains black-box. The findings in this work are a step forward in understanding and guiding the generative mechanisms of CLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2506_05628
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GP-MoLFormer-Sim: Test Time Molecular Optimization through Contextual Similarity Guidance
Navratil, Jiri
Ross, Jarret
Das, Payel
Mroueh, Youssef
Hoffman, Samuel C
Chenthamarakshan, Vijil
Belgodere, Brian
Machine Learning
Artificial Intelligence
The ability to design molecules while preserving similarity to a target molecule and/or property is crucial for various applications in drug discovery, chemical design, and biology. We introduce in this paper an efficient training-free method for navigating and sampling from the molecular space with a generative Chemical Language Model (CLM), while using the molecular similarity to the target as a guide. Our method leverages the contextual representations learned from the CLM itself to estimate the molecular similarity, which is then used to adjust the autoregressive sampling strategy of the CLM. At each step of the decoding process, the method tracks the distance of the current generations from the target and updates the logits to encourage the preservation of similarity in generations. We implement the method using a recently proposed $\sim$47M parameter SMILES-based CLM, GP-MoLFormer, and therefore refer to the method as GP-MoLFormer-Sim, which enables a test-time update of the deep generative policy to reflect the contextual similarity to a set of guide molecules. The method is further integrated into a genetic algorithm (GA) and tested on a set of standard molecular optimization benchmarks involving property optimization, molecular rediscovery, and structure-based drug design. Results show that, GP-MoLFormer-Sim, combined with GA (GP-MoLFormer-Sim+GA) outperforms existing training-free baseline methods, when the oracle remains black-box. The findings in this work are a step forward in understanding and guiding the generative mechanisms of CLMs.
title GP-MoLFormer-Sim: Test Time Molecular Optimization through Contextual Similarity Guidance
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2506.05628