TLDR: AttriLens-Mol is a new reinforcement learning framework that helps Large Language Models (LLMs) more accurately predict molecular properties. It guides LLMs to identify and use relevant molecular attributes during their reasoning process through specific rewards for format, attribute count, and rationality. This approach improves prediction performance on various datasets, even outperforming larger LLMs and specialized models, and makes the LLM’s reasoning more interpretable by focusing on key molecular characteristics.
The field of molecular property prediction is crucial for drug discovery and material science. Traditionally, this involves complex models like graph neural networks. However, with the rise of Large Language Models (LLMs), new possibilities have emerged for assisting in these tasks. While LLMs show promise, they often rely on human-designed prompts and can produce lengthy or irrelevant reasoning.
A new framework called AttriLens-Mol has been introduced to address these challenges. This innovative approach uses attribute-guided reinforcement learning to make LLMs more effective and interpretable in predicting molecular properties. Instead of relying on pre-written instructions, AttriLens-Mol guides the LLM’s “thinking” process by rewarding it for generating structured, relevant, and concise molecular attributes.
How AttriLens-Mol Works
AttriLens-Mol incorporates three key types of rewards to steer the LLM’s reasoning. First, a “format reward” encourages the model to produce structured outputs based on attributes. Second, a “count reward” helps the model focus on a relevant number of attributes (between 3 and 10), preventing it from listing too many irrelevant details. This addresses the issue of LLMs sometimes “overthinking” and generating excessively long reasoning chains. Finally, a “rationality reward” is used to verify the generated attributes’ relevance and accuracy. This is done by comparing the LLM’s assessment of an attribute’s impact (whether it “promotes” or “inhibits” a property) with external validation from advanced LLMs like GPT-4o or DeepSeek-R1, and cheminformatics tools like RDKit. This ensures that the attributes the model identifies are truly related to the molecular property being predicted.
The core idea is to implicitly draw out the LLM’s inherent knowledge about molecular attributes during its reasoning process. This leads to more effective predictions and enhanced interpretability, as the model’s reasoning steps are tied to specific, verifiable molecular characteristics.
Also Read:
- ActivityDiff: Guiding Drug Design for Enhanced Efficacy and Safety
- New Study Reveals Traditional Molecular Fingerprints Outperform Most Advanced AI Models in Chemical Representation Learning
Impressive Results and Interpretability
Experiments conducted on various datasets, including both common and less familiar ones, demonstrate the significant boost in performance achieved by AttriLens-Mol. Models trained with this method, even smaller 7-billion parameter models like R1-Distilled-Qwen2.5 and R1-Distilled-LLaMA3.1, achieved results comparable to or even better than much larger, more advanced LLMs (like GPT-3.5, GPT-4o, and DeepSeek-V3) and specialized supervised models. This is particularly notable because AttriLens-Mol was trained on a relatively small dataset of 4,000 samples.
Furthermore, the attributes extracted by AttriLens-Mol proved to be highly predictive. When these attributes were used as features for an interpretable decision tree model, they yielded superior performance compared to attributes generated by traditional LLM prompting methods. This highlights that AttriLens-Mol successfully elicits more relevant and predictive molecular attributes, leading to better understanding and accuracy in property prediction. The code for AttriLens-Mol is openly available for researchers to explore and build upon. You can find more details in the full research paper here.


