Fuzz testing molecular representation using deep variational anomaly generation

11 July 2024, Version 1
This content is a preprint and has not undergone peer review at the time of posting.

Abstract

As efforts to improve the robustness of molecular representations advance, so does the need for methods to test and validate them. We use a Variational Auto-Encoder (VAE), an unsupervised deep learning model, to generate anomalous samples of a well-known molecular string format called SELF-referencIng Embedded Strings (SELFIES). This exercise questions a fundamental SELFIES assumption -- that they are always valid when converted to another string representation, SMILES. Interestingly, we discover that specific regions in the VAE's latent space are particularly effective at generating SELFIES that defy this assumption. This organization of validity in the latent space, which proceeds continuously and radially, helps us better understand the factors affecting the molecular representation's reliability. We propose that the VAE and associated anomaly generation approach offer an effective tool for assessing the robustness of molecular representations. We also explore why some SELFIES strings (version 2.1.1) might be invalid and suggest changes to improve them, aiming to spark further discussion on molecular string representations.

Keywords

VAE
fuzzer
fuzz testing
representational robustness
selfies
smiles
variational autoencoder
anomaly generation
generative fuzzing

Supplementary weblinks

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.