Incorporating invariances into neural representations enhances latent space communication without prior knowledge of the optimal invariance.