Equivalent Molecular Strings, Different Predictions: A Polarizability Benchmark on a Public QM9 Subset

Authors

  • Kimberly Richards Author
  • Bradley Kelley Author
  • Luke W Johnston Author

Keywords:

QM9, polarizability, representation invariance, randomized SMILES, molecular graphs

Abstract

A character-based molecular model receives a different input when the same graph is written with an alternative encoding. We tested this on 2,229 held-out graphs from the public QM9 benchmark, presenting each graph in its archived string and five verified alternative encodings. Training a character-based polarizability regression on a mixture of spellings reduced the mean within-graph prediction span from 2.63 to 1.04 cubic bohr. Its error on the alternative spellings fell from 1.51 to 0.98 cubic bohr, while its error on archived strings rose from 0.80 to 0.90. A graph fingerprint gave identical predictions across spellings but a larger overall error. For this benchmark, testing alternate encodings exposed a robustness difference that the archived strings alone would have missed.

References

  1. Arús-Pous, J.; Johansson, S. V.; Prykhodko, O.; Bjerrum, E. J.; Tyrchan, C.; Reymond, J. L.; Chen, H.; Engkvist, O. (2019). Randomized SMILES strings improve the quality of molecular generative models. Journal of Cheminformatics, 11(1). https://doi.org/10.1186/s13321-019-0393-0
  2. Bajusz, D.; Rácz, A.; Héberger, K. (2015). Why is Tanimoto index an appropriate choice for fingerprint-based similarity calculations?. Journal of Cheminformatics, 7(1). https://doi.org/10.1186/s13321-015-0069-3
  3. Behler, J.; Parrinello, M. (2007). Generalized Neural-Network Representation of High-Dimensional Potential-Energy Surfaces. Physical Review Letters, 98(14). https://doi.org/10.1103/physrevlett.98.146401
  4. Cawley, G. C.; Talbot, N. L. C. (2010). On Over-fitting in Model Selection and Subsequent Selection Bias in Performance Evaluation. Journal of Machine Learning Research, 11, 2079–2107. https://jmlr.org/papers/v11/cawley10a.html
  5. Davison, A. C.; Hinkley, D. V. (1997). Bootstrap Methods and their Application. Cambridge University Press. https://doi.org/10.1017/cbo9780511802843
  6. Dunn, A.; Wang, Q.; Ganose, A.; Dopp, D.; Jain, A. (2020). Benchmarking materials property prediction methods: the Matbench test set and Automatminer reference algorithm. npj Computational Materials, 6, 138. https://doi.org/10.1038/s41524-020-00406-3
  7. Efron, B. (1979). Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics, 7(1), 1–26. https://doi.org/10.1214/aos/1176344552
  8. Field, C. A.; Welsh, A. H. (2007). Bootstrapping Clustered Data. Journal of the Royal Statistical Society Series B: Statistical Methodology, 69(3), 369–390. https://doi.org/10.1111/j.1467-9868.2007.00593.x
  9. Gilmer, J.; Schoenholz, S. S.; Riley, P. F.; Vinyals, O.; Dahl, G. E. (2017). Neural Message Passing for Quantum Chemistry. Proceedings of the 34th International Conference on Machine Learning, 70, 1263–1272. https://proceedings.mlr.press/v70/gilmer17a.html
  10. Himanen, L.; Jäger, M. O. J.; Morooka, E. V.; Federici Canova, F.; Ranawat, Y. S.; Gao, D. Z.; Rinke, P.; Foster, A. S. (2020). DScribe: Library of descriptors for machine learning in materials science. Computer Physics Communications, 247, 106949. https://doi.org/10.1016/j.cpc.2019.106949
  11. Hoerl, A. E.; Kennard, R. W. (1970). Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics, 12(1), 55–67. https://doi.org/10.1080/00401706.1970.10488634
  12. Klicpera, J.; Groß, J.; Günnemann, S. (2020). Directional Message Passing for Molecular Graphs. International Conference on Learning Representations. https://openreview.net/forum?id=B1eWbxStPH
  13. Kroon, P. C. (2026). PySmiles: The lightweight and pure-Python SMILES reader and writer, version 2.1.1. Python Package Index. https://pypi.org/project/pysmiles/2.1.1/
  14. Morgan, H. L. (1965). The Generation of a Unique Machine Description for Chemical Structures-A Technique Developed at Chemical Abstracts Service. Journal of Chemical Documentation, 5(2), 107–113. https://doi.org/10.1021/c160017a018
  15. Omee, S. S.; Fu, N.; Dong, R.; Hu, M.; Hu, J. (2024). Structure-based out-of-distribution (OOD) materials property prediction: a benchmark study. npj Computational Materials, 10(1). https://doi.org/10.1038/s41524-024-01316-4
  16. Paige, C. C.; Saunders, M. A. (1982). LSQR: An Algorithm for Sparse Linear Equations and Sparse Least Squares. ACM Transactions on Mathematical Software, 8(1), 43–71. https://doi.org/10.1145/355984.355989
  17. Ramakrishnan, R.; Dral, P. O.; Rupp, M.; von Lilienfeld, O. A. (2014). Quantum chemistry structures and properties of 134 kilo molecules. Scientific Data, 1(1). https://doi.org/10.1038/sdata.2014.22
  18. Rogers, D.; Hahn, M. (2010). Extended-Connectivity Fingerprints. Journal of Chemical Information and Modeling, 50(5), 742–754. https://doi.org/10.1021/ci100050t
  19. Li, Y.; Xu, J.; Zhang, X. Y.; Xiang, S.; Ran, N.; Li, W.; Liu, C. L. (2026). CatalyticMLLM: A Graph-Text Multimodal Large Language Model for Catalytic Materials. arXiv. https://arxiv.org/abs/2605.17254v5
  20. Ruddigkeit, L.; van Deursen, R.; Blum, L. C.; Reymond, J. L. (2012). Enumeration of 166 Billion Organic Small Molecules in the Chemical Universe Database GDB-17. *Journal of Chemical Information
  21. and Modeling*, 52(11), 2864–2875. https://doi.org/10.1021/ci300415d
  22. Rupp, M.; Tkatchenko, A.; Müller, K. R.; von Lilienfeld, O. A. (2012). Fast and Accurate Modeling of Molecular Atomization Energies with Machine Learning. Physical Review Letters, 108(5). https://doi.org/10.1103/physrevlett.108.058301
  23. Schütt, K. T.; Sauceda, H. E.; Kindermans, P. J.; Tkatchenko, A.; Müller, K. R. (2018). SchNet – A deep learning architecture for molecules and materials. The Journal of Chemical Physics, 148(24). https://doi.org/10.1063/1.5019779
  24. Shervashidze, N.; Schweitzer, P.; van Leeuwen, E. J.; Mehlhorn, K.; Borgwardt, K. M. (2011). Weisfeiler-Lehman Graph Kernels. Journal of Machine Learning Research, 12, 2539–2561. https://www.jmlr.org/papers/v12/shervashidze11a.html
  25. Simm, J.; Humbeck, L.; Zalewski, A.; Sturm, N.; Heyndrickx, W.; Moreau, Y.; Beck, B.; Schuffenhauer, A. (2021). Splitting chemical structure data sets for federated privacy-preserving machine learning. Journal of Cheminformatics, 13(1). https://doi.org/10.1186/s13321-021-00576-2
  26. van Tilborg, D.; Alenicheva, A.; Grisoni, F. (2022). Exposing the Limitations of Molecular Machine Learning with Activity Cliffs. Journal of Chemical Information and Modeling, 62(23), 5938–5951. https://doi.org/10.1021/acs.jcim.2c01073
  27. Varma, S.; Simon, R. (2006). Bias in error estimation when using cross-validation for model selection. BMC Bioinformatics, 7(1). https://doi.org/10.1186/1471-2105-7-91
  28. Weinberger, K.; Dasgupta, A.; Langford, J.; Smola, A.; Attenberg, J. (2009). Feature hashing for large scale multitask learning. Proceedings of the 26th Annual International Conference on Machine Learning, 1113–1120. https://doi.org/10.1145/1553374.1553516
  29. Weininger, D. (1988). SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules. Journal of Chemical Information and Computer Sciences, 28(1), 31–36. https://doi.org/10.1021/ci00057a005
  30. Weininger, D.; Weininger, A.; Weininger, J. L. (1989). SMILES. 2. Algorithm for generation of unique SMILES notation. Journal of Chemical Information and Computer Sciences, 29(2), 97–101. https://doi.org/10.1021/ci00062a008
  31. Wu, Z.; Ramsundar, B.; Feinberg, E. N.; Gomes, J.; Geniesse, C.; Pappu, A. S.; Leswing, K.; Pande, V. (2018). MoleculeNet: a benchmark for molecular machine learning. Chemical Science, 9(2), 513–530. https://doi.org/10.1039/c7sc02664a

Downloads

Published

2026-11-26