[Paper Review] Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric Learning
This paper introduces finDML, a benchmark to evaluate fairness in deep metric learning (DML) by measuring subgroup gaps in representation space using recall@k, alignment, and uniformity. It proposes PARADE, a method that de-correlates feature representations from sensitive attributes, reducing subgroup performance gaps by up to 2% in downstream tasks despite imbalanced upstream training data.
Deep metric learning (DML) enables learning with less supervision through its emphasis on the similarity structure of representations. There has been much work on improving generalization of DML in settings like zero-shot retrieval, but little is known about its implications for fairness. In this paper, we are the first to evaluate state-of-the-art DML methods trained on imbalanced data, and to show the negative impact these representations have on minority subgroup performance when used for downstream tasks. In this work, we first define fairness in DML through an analysis of three properties of the representation space -- inter-class alignment, intra-class alignment, and uniformity -- and propose finDML, the fairness in non-balanced DML benchmark to characterize representation fairness. Utilizing finDML, we find bias in DML representations to propagate to common downstream classification tasks. Surprisingly, this bias is propagated even when training data in the downstream task is re-balanced. To address this problem, we present Partial Attribute De-correlation (PARADE) to de-correlate feature representations from sensitive attributes and reduce performance gaps between subgroups in both embedding space and downstream metrics.
Motivation & Objective
- To identify and quantify fairness disparities in deep metric learning (DML) when trained on imbalanced data.
- To establish a benchmark for subgroup fairness in DML that evaluates representation quality across protected attributes.
- To demonstrate that downstream fairness cannot be recovered by re-balancing data if upstream embeddings are biased.
- To propose a novel method, PARADE, that de-correlates sensitive attributes from class-discriminative features to improve fairness.
Proposed method
- Proposes finDML, a benchmark using five datasets (CARS196, CUB200, CelebA, LFW) with induced data imbalance to evaluate fairness in DML.
- Defines three fairness metrics: recall@k (clustering performance), alignment (inter-class similarity), and group uniformity (intra-class compactness) across subgroups.
- Introduces PARADE, a training-time method that learns two embeddings: one for class similarity and one for sensitive attribute similarity, then de-correlates them via a weighted loss.
- Uses a dual-head architecture where the sensitive attribute embedding is discarded at test time, ensuring final class embeddings are invariant to protected attributes.
- Optimizes PARADE hyperparameters (α_SA, ρ) via grid search on worst-group performance to maximize fairness.
- Employs standard DML losses (e.g., triplet, contrastive, ArcFace) with modifications to integrate PARADE during training.
Experimental results
Research questions
- RQ1How do subgroup performance gaps in DML representations vary across different state-of-the-art DML methods when trained on imbalanced data?
- RQ2To what extent can downstream fairness be recovered by re-balancing training data if upstream embeddings are biased?
- RQ3Can de-correlating feature representations from sensitive attributes reduce subgroup gaps in both upstream and downstream tasks?
- RQ4How do the proposed fairness metrics (recall@k, alignment, uniformity) capture subgroup fairness in DML?
Key findings
- Subgroup gaps in DML representations reach up to 21% in upstream tasks and 45.9% in downstream classification when trained on imbalanced data.
- Even when downstream classifiers are trained on balanced data, performance gaps persist due to biased upstream embeddings.
- PARADE reduces subgroup gaps by up to 2% in downstream metrics across SOTA DML methods, demonstrating its effectiveness.
- The benchmark finDML successfully identifies fairness disparities across diverse DML methods and datasets, revealing widespread bias propagation.
- De-correlation of sensitive attributes from class-discriminative features via PARADE leads to measurable fairness improvements without sacrificing overall performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.