Homogeneity attacks typically occur when an attacker has access to auxiliary information. For example, if an attacker knows that a small group of individuals all have the same medical condition and this information is not diverse in the dataset, they can easily infer this condition for any individual in that group. This is particularly problematic in small datasets or in datasets with limited variability.