where s LS is the CV in the latent space, κ is the energy constant for the wall, and µ(ŝ LS ) and σ(ŝ LS ) are the mean and standard deviation of the local dataset projection in the latent space, respectively. The parameter ϵ > 0 is a custom offset.