Low dimensional compact embeddings of symmetric Sobolev spaces and applications