Likelihood-Preserving Embeddings for Statistical Inference