Attention-based functional-group coarse-graining: a deep learning framework for molecular prediction and design
Source abstract
Abstract
Machine learning (ML) offers considerable promise for the design of new molecules and materials. In real-world applications, the design problem is often domain-specific, and suffers from insufficient data, particularly labeled data, for ML training. In this study, we report a data-efficient, deep-learning framework for molecular discovery that integrates a coarse-grained functional-group representation with a self-attention mechanism to capture intricate chemical interactions. Our approach exploits group-contribution concepts to create a graph-based intermediate representation of molecules, serving as a low-dimensional embedding that substantially reduces the data demands typically required for training. Using a self-attention mechanism to learn the subtle but highly relevant chemical context of functional groups, the method proposed here consistently outperforms existing approaches for predictions of multiple thermophysical properties. In a case study focused on adhesive polymer monomers, we train on a limited dataset comprising only 6,000 unlabeled and 600 labeled monomers. The resulting chemistry prediction model achieves over 92% accuracy in forecasting properties directly from SMILES strings, exceeding the performance of current state-of-the-art techniques. Furthermore, the latent molecular embedding is invertible, enabling the design pipeline to automatically generate new monomers from the learned chemical subspace. We illustrate this functionality by targeting several properties, including high and low glass transition temperatures (Tg), and demonstrate that our model can identify new candidates with values that surpass those in the training set. The ease with which the proposed framework navigates both chemical diversity and data scarcity offers a promising route to accelerate and broaden the search for functional materials.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Machine Learning in Materials Science · Computational Drug Discovery Methods · Block Copolymer Self-Assembly
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (43)
Show source-provided references
1. Sanchez-Lengeling, B. & Aspuru-Guzik, A. Inverse molecular design using machine learning: Generative models for matter engineering. Science 361, 360–365 (2018).10.1126/science.aat2663 ↗
2. Patani, G. A. & LaVoie, E. J. Bioisosterism: a rational approach in drug design. Chem. Rev. 96, 3147–3176 (1996).10.1021/cr950066q ↗
3. Anderson, A. C. The process of structure-based drug design. Chem. Biol. 10, 787–797 (2003).10.1016/j.chembiol.2003.09.002 ↗
4. Vamathevan, J. et al. Applications of machine learning in drug discovery and development. Nat. Rev. Drug Discov. 18, 463–477 (2019).10.1038/s41573-019-0024-5 ↗
5. Stokes, J. M. et al. A deep learning approach to antibiotic discovery. Cell 180, 688–702 (2020).10.1016/j.cell.2020.01.021 ↗
6. Nigam, A. et al. Tartarus: A benchmarking platform for realistic and practical inverse molecular design. Adv. Neural Inform. Process. Syst. 36, 3263–3306 (2023).
7. Beaujuge, P. M. & Fréchet, J. M. Molecular design and ordering effects in π-functional materials for transistor and solar cell applications. J. Am. Chem. Soc. 133, 20009–20029 (2011).10.1021/ja2073643 ↗
8. Butler, K. T., Davies, D. W., Cartwright, H., Isayev, O. & Walsh, A. Machine learning for molecular and materials science. Nature 559, 547–555 (2018).10.1038/s41586-018-0337-2 ↗
9. Merchant, A. et al. Scaling deep learning for materials discovery. Nature 624, 80–85 (2023).10.1038/s41586-023-06735-9 ↗
10. Yao, Z. et al. Machine learning for a sustainable energy future. Nat. Rev. Mater. 8, 202–215 (2023).10.1038/s41578-022-00490-5 ↗
11. Gurnani, R. et al. AI-assisted discovery of high-temperature dielectrics for energy storage. Nat. Commun. 15, 6107 (2024).10.1038/s41467-024-50413-x ↗
12. Hansen, K. et al. Machine learning predictions of molecular properties: accurate many-body potentials and nonlocality in chemical space. J. Phys. Chem. Lett. 6, 2326–2331 (2015).10.1021/acs.jpclett.5b00831 ↗
13. Cereto-Massagué, A. et al. Molecular fingerprint similarity search in virtual screening. Methods 71, 58–63 (2015).10.1016/j.ymeth.2014.08.005 ↗
14. Duvenaud, D. K. et al. Convolutional networks on graphs for learning molecular fingerprints. In Proc. 29th International Conference on Neural Information Processing Systems 2224−2232 (NIPS, 2015).
15. Coley, C. W., Barzilay, R., Green, W. H., Jaakkola, T. S. & Jensen, K. F. Convolutional embedding of attributed molecular graphs for physical property prediction. J. Chem. Inform. Model. 57, 1757–1772 (2017).10.1021/acs.jcim.6b00601 ↗
16. Tshitoyan, V. et al. Unsupervised word embeddings capture latent knowledge from materials science literature. Nature 571, 95–98 (2019).10.1038/s41586-019-1335-8 ↗
17. Morgan, H. L. The generation of a unique machine description for chemical structures-a technique developed at Chemical Abstracts Service. J. Chem. Document. 5, 107–113 (1965).10.1021/c160017a018 ↗
18. Glen, R. C. et al. Circular fingerprints: flexible molecular descriptors with applications from physical chemistry to ADMET. IDrugs 9, 199 (2006).
19. Nantasenamat, C., Isarankura-Na-Ayudhya, C., Naenna, T. & Prachayasittikul, V. A practical overview of quantitative structure-activity relationship. EXCLI J. 8, 74–88 (2009).
20. Khan, A. U. et al. Descriptors and their selection methods in qsar analysis: paradigm for drug design. Drug Discov. Today 21, 1291–1302 (2016).10.1016/j.drudis.2016.06.013 ↗
21. Elton, D. C., Boukouvalas, Z., Fuge, M. D. & Chung, P. W. Deep learning for molecular design-a review of the state of the art. Mol. Syst. Design Eng. 4, 828–849 (2019).10.1039/C9ME00039A ↗
22. David, L., Thakkar, A., Mercado, R. & Engkvist, O. Molecular representations in AI-driven drug discovery: a review and practical guide. J. Cheminform. 12, 56 (2020).10.1186/s13321-020-00460-5 ↗
23. Walters, W. P. & Barzilay, R. Applications of deep learning in molecule generation and molecular property prediction. Accounts Chem. Res. 54, 263–270 (2020).10.1021/acs.accounts.0c00699 ↗
24. Wigh, D. S., Goodman, J. M. & Lapkin, A. A. A review of molecular representation in the age of machine learning. Wiley Interdiscipl. Rev. Comput. Mol. Sci. 12, e1603 (2022).10.1002/wcms.1603 ↗
25. Li, Z., Jiang, M., Wang, S. & Zhang, S. Deep learning methods for molecular representation and property prediction. Drug Discov. Today 27, 103373 (2022).10.1016/j.drudis.2022.103373 ↗
26. Kingma, D. P. & Welling, M. Auto-encoding variational Bayes. In International Conference on Learning Representations (2014).
27. LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. nature 521, 436–444 (2015).10.1038/nature14539 ↗
28. Gómez-Bombarelli, R. et al. Automatic chemical design using a data-driven continuous representation of molecules. ACS Central Sci. 4, 268–276 (2018).10.1021/acscentsci.7b00572 ↗
29. Jin, W., Barzilay, R. & Jaakkola, T. Junction tree variational autoencoder for molecular graph generation. In International Conference on Machine Learning, 2323–2332 (PMLR, 2018).
30. Weininger, D. Smiles, a chemical language and information system. 1. Introduction to methodology and encoding rules. J. Chem. Inform. Comput. Sci. 28, 31–36 (1988).10.1021/ci00057a005 ↗
31. Simonovsky, M. & Komodakis, N. Graphvae: Towards generation of small graphs using variational autoencoders. In International Conference on Artificial Neural Networks, 412–422 (Springer, 2018).10.1007/978-3-030-01418-6_41 ↗
32. Serratosa, F. Graph regression based on autoencoders and graph autoencoders. In International Conference on Pattern Recognition, 345–360 (Springer, 2024).10.1007/978-3-031-78192-6_23 ↗
33. Reiser, P. et al. Graph neural networks for materials science and chemistry. Commun. Mater. 3, 93 (2022).10.1038/s43246-022-00315-6 ↗
34. Jin, W., Barzilay, R. & Jaakkola, T. Hierarchical generation of molecular graphs using structural motifs. In International Conference on Machine Learning, 4839–4848 (PMLR, 2020).
35. RDKit. RDKit : Open-Source Cheminformatics. http://www.rdkit.org (2025).
36. Liu, Q., Allamanis, M., Brockschmidt, M. & Gaunt, A. Constrained graph variational autoencoders for molecule design. In Proceedings of the 32nd Conference on Neural Information Processing Systems 7806−7815 (NeurIPS, 2018).
37. Vaswani, A. et al. Attention is all you need. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS, 2017).
38. Ramakrishnan, R., Dral, P. O., Rupp, M. & Von Lilienfeld, O. A. Quantum chemistry structures and properties of 134 kilo molecules. Sci. Data 1, 1–7 (2014).10.1038/sdata.2014.22 ↗
39. Faber, F. A. et al. Machine learning prediction errors are better than DFT accuracy. J. Chem. Theory Comput. 13, 5255–5264 (2017).10.1021/acs.jctc.7b00577 ↗
40. Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O. & Dahl, G. E. Neural message passing for quantum chemistry. In Int. Conference on Machine Learning, 1263–1272 (PMLR, 2017).
41. Ronneberger, O., Fischer, P. & Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, 234–241 (Springer, 2015).10.1007/978-3-319-24574-4_28 ↗
42. Schneider, L. et al. In silico active learning for small molecule properties. Mol. Syst. Design Eng. 7, 1611–1621 (2022).10.1039/D2ME00137C ↗
43. Wang, Z. et al. Water-mediated ion transport in an anion exchange membrane. Nat. Commun. 16, 1099 (2025).10.1038/s41467-024-55621-z ↗