Social Correlation in Latent Spaces for Complex Networks