What VAE essentially does is to estimate the probability distribution in a high-dimensional space
Use a Gaussian mixture model
For a probability distribution, it can be understood as the result of superimposing several different Gaussian distributions. In this case, where to sample in P(x) can be regarded as a classification problem, but a better way of expressing it is to use distribution representation (vector) to represent the characteristics of each face.