Given such an approximate bijectivity, we can frame conducting the search in the continuous latent space using the learned decoder p θ to extract molecules from the library. This process transforms a discrete search problem into policy optimization in R d with a non-differentiable reward. The tempered reward induced by z is: