From Tokens to Blocks: A Block-Diffusion Perspective on Molecular Generation
About
Drug discovery can be viewed as a combinatorial search over an immense chemical space, motivating the development of deep generative models for de novo molecular design. Among these, GPT-based molecular language models (MLM) have shown strong molecular design performance by learning chemical syntax and semantics from large-scale data. However, existing MLMs face two fundamental limitations: they inadequately capture the graph-structured nature of molecules when formulated as next-token prediction problems, and they typically lack explicit mechanisms for target-aware generation. Here, we propose SoftMol, a unified framework that co-designs molecular representation, model architecture, and search strategy for target-aware molecular generation. SoftMol introduces soft fragments, a rule-free block representation of SMILES that enables diffusion-native modeling, and develops SoftBD, the first block-diffusion molecular language model that combines local bidirectional diffusion with autoregressive generation under molecular structural constraints. To favor generated molecules with high drug-likeness and synthetic accessibility, SoftBD is trained on a carefully curated dataset named ZINC-Curated. SoftMol further integrates a gated Monte Carlo tree search to assemble fragments in a target-aware manner. Experimental results show that, compared with current state-of-the-art models, SoftMol achieves 100% chemical validity, improves binding affinity by 9.7%, yields a 2-3x increase in molecular diversity, and delivers a 6.6x speedup in inference efficiency. Code is available at https://github.com/szu-aicourse/softmol
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Molecular Generation | parp1 | Top-Hit 5% Docking Score (kcal/mol)-14.168 | 27 | |
| Molecular Generation | fa7 | Top-Hit 5% Docking Score (kcal/mol)-11.235 | 27 | |
| Molecular Generation | 5ht1b | Docking Score (Top-Hit 5%, kcal/mol)-13.903 | 27 | |
| Molecular Generation | jak2 | Top-Hit 5% Docking Score (kcal/mol)-12.807 | 27 | |
| Molecular Generation | braf | Top-Hit 5% Docking Score (kcal/mol)-13.43 | 26 | |
| De Novo Molecular Generation | ZINC Curated 22 (test) | Validity (%)1 | 17 | |
| Molecular Generation | parp1 | Number of Circles215 | 12 | |
| Molecular Generation | fa7 | #Circles254.3 | 12 | |
| Molecular Generation | braf | #Circles291.7 | 12 | |
| Molecular Generation | jak2 | # Circles330 | 12 |