NumMolFormer: Enhancing Transformer Numerical Reasoning for Functional-Group-Based Molecule Generation
Its authors withdrew this paper, so there is no full text to read or summarize.
Abstract
Structure-based drug design critically depends on effectively identifying the active molecular structures. Functional groups serve as local active centers and must be optimally balanced, with excess diminishing specificity and scarcity limiting activity. However, most existing methods model molecules at the atom–bond level rather than at the functional group level, making it difficult to control the quantity of functional groups. To address this, we propose NumMolFormer, a novel molecular generation framework that integrates functional group knowledge with numerical modeling. NumMolFormer employs a dual-sequence representation that jointly encodes text sequence tokens of functional groups with their quantitative information, enhanced by a numerical embedding module that leverages symbol–magnitude decomposition and soft magnitude quantization to capture numerical features. Furthermore, we introduce a dual-stream differential attention mechanism to explicitly disentangle textual and numerical contributions. To overcome data scarcity, We build a 18 million molecule dataset with functional group annotations for pretraining, followed by self-supervised and RL-based fine-tuning on protein pockets. Experimental results demonstrate that NumMolFormer can effectively control functional groups in molecular generation and produce molecules with enhanced activity, synthesizability, and drug-likeness when conditioned on protein pockets. The code is available at \url{https://github.com/alan-tsang/NumMolFormer}.
BibTeX
@misc{zeng2026nummolformer,
author = {Zhicun Zeng and Yifan Wu and Zhangli Lu and Rui Tang and Chaofan Li and Min Li},
title = {{NumMolFormer: Enhancing Transformer Numerical Reasoning for Functional-Group-Based Molecule Generation}},
year = {2026},
url = {https://openreview.net/forum?id=dQBPcereEd},
howpublished = {OpenReview},
note = {Submitted to ICLR 2026},
}Ask Althea to put this paper to the test.
Loading related content...