Similarity-based pairing improves efficiency of siamese neural networks for regression tasks and uncertainty quantification

Zhang, Yumeng; Menke, Janosch; He, Jiazhen; Nittinger, Eva; Tyrchan, Christian; Koch, Oliver; Zhao, Hongtao

Research article (journal) | Peer reviewed

Abstract

Siamese networks, representing a novel class of neural networks, consist of two identical subnetworks sharing weights but receiving different inputs. Here we present a similarity-based pairing method for generating compound pairs to train Siamese neural networks for regression tasks. In comparison with the conventional exhaustive pairing, it reduces the algorithm complexity from O(n2) to O(n). It also results in a better prediction performance consistently on the three physicochemical datasets, using a multilayer perceptron with the circular fingerprint as a proof of concept. We further include into a Siamese neural network the transformer-based Chemformer, which extracts task-specific features from the simplified molecular-input line-entry system representation of compounds. Additionally, we propose a means to measure the prediction uncertainty by utilizing the variance in predictions from a set of reference compounds. Our results demonstrate that the high prediction accuracy correlates with the high confidence. Finally, we investigate implications of the similarity property principle in machine learning.

Details about the publication

JournalJournal of Cheminformatics
Volume15
Issue1
Article number75
StatusPublished
Release year2023
DOI10.1186/s13321-023-00744-6
KeywordsArtificial Intelligence; neural networks; compound pairs; chemistry

Authors from the University of Münster

Koch, Oliver
Independent Junior Research Group Oliver Koch
Menke, Janosch
Independent Junior Research Group Oliver Koch