SMILES strings are not necessarily unique; each molecule can be encoded multiple ways as a SMILES string. As a sanity check, you could pass multiple representations of a molecule into the autoencoder to see if they generate the same continuous representation. Otherwise, you may end up essentially training to the peculiarities of whatever algorithm generated your SMILES strings.