Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations