For the reverse engineering of materials with specific properties, the generative models should also be able to cluster compounds based on the target property, i.e. we should be able to generate materials on the basis of formation energy in the present case. To demonstrate the clustering of latent space according to the formation energy, principal component analysis was used to reduce the dimensions of the latent space to 2. To preserve the essence of the latent space in a CVAE, we include a third dimension, information on the stability of our crystal (fig ). The clustering of the latent space based on the formation energy can be clearly observed in fig. . The points marked in red are the encodings of stable compounds, whereas the blue markers are the unstable encodings.