Fair Canonical Correlation Analysis

Zhuoping Zhou, Davoud Ataee Tarzanagh, Bojian Hou, Boning Tong, Jia Xu, Yanbo Feng, Qi Long, Li Shen

Introduction

Canonical Correlation Analysis (CCA) is a fundamental technique in multi-view learning, designed to identify the maximum correlation between two distinct sets of variables, such as brain imaging data and cognitive test scores. Despite its widespread application in fields ranging from bioinformatics to social sciences, standard CCA is inherently "fairness-blind." It seeks a global optimum that maximizes aggregate correlation, which often results in biased representations for protected subgroups. This paper introduces Fair CCA (F-CCA), a novel framework designed to minimize correlation disparity across subgroups using Riemannian optimization, ensuring equitable performance without compromising global accuracy.

The Problem: Fairness-Blind Multi-View Learning

In many real-world datasets, protected attributes like sex, race, or age influence the underlying data distribution. When a global CCA model is applied, it may inadvertently favor the majority group or the group with the most prominent signal. For instance, in Alzheimer’s research, cognitive decline may manifest differently across sexes. A standard CCA model might capture a relationship that is highly accurate for one group but fails to represent another, leading to biased clinical insights and inequitable downstream outcomes.

The authors identify a critical gap in the literature: while fairness has been extensively studied in supervised learning contexts like classification, it remains largely unexplored in unsupervised multi-view techniques like CCA.

Methodology: Fair CCA (F-CCA)

The F-CCA framework aims to learn global projection matrices that are fair across $K$ sensitive groups. The core of this approach lies in how fairness is defined and optimized.

1. Correlation Disparity Error

Rather than simply equalizing raw correlation values—which may be impossible if groups have different inherent signal strengths—the authors propose the Correlation Disparity Error. This metric measures the gap between the correlation a group achieves using the global model versus the maximum correlation it could achieve using a group-specific (local) model. Fairness is achieved when this "sacrifice" or "regret" is balanced across all subgroups, a concept the authors describe as "Equal Sacrifice."

2. Optimization on Riemannian Manifolds

CCA requires projection matrices to be orthonormal, satisfying the constraint $U^\top X^\top X U = I$. This constraint defines a generalized Stiefel manifold. To solve the F-CCA problem, the authors develop specialized gradient descent algorithms that operate directly on the surface of this manifold. This approach ensures that constraints are maintained throughout the optimization process without the need for complex Lagrange multipliers.

3. MF-CCA vs. SF-CCA

The paper introduces two distinct optimization strategies:

  • Multi-Objective (MF-CCA): This version treats global correlation and group-specific disparities as separate objectives. It utilizes a gradient descent algorithm to find a Pareto stationary point, effectively balancing trade-offs automatically.
  • Single-Objective (SF-CCA): This version combines correlation and a fairness penalty into a single scalar function using a hyperparameter ($\lambda$). While SF-CCA is computationally faster (often 2-3x), it requires manual tuning to find the optimal balance between accuracy and fairness.

Experimental Evaluation

The researchers evaluated F-CCA using one synthetic dataset and three real-world datasets:

  • NHANES: Exploring phenotypic and environmental factors with Education and Race as sensitive attributes.
  • MHAAPS: Analyzing psychological and academic variables in college freshmen with Sex as the sensitive attribute.
  • ADNI: Linking PET scans to cognitive scores in Alzheimer’s patients with Sex as the sensitive attribute.

Key Insights and Results

The experiments yielded several significant findings regarding the efficacy of F-CCA:

  • Substantial Disparity Reduction: In the ADNI dataset, F-CCA reduced the maximum disparity error by 13-50% compared to standard CCA. This demonstrates that the model successfully bridges the gap between group-specific potential and global performance.
  • Minimal Accuracy Trade-off: The "cost of fairness" was found to be remarkably low. In most experimental settings, the global correlation ($\rho$) decreased by less than 1%, suggesting that fairness can be achieved without significant loss in overall model utility.
  • Scalability and Alignment: F-CCA remained effective as the number of subgroups ($K$) increased. Furthermore, visual analysis of projected data indicated that while standard CCA often results in unrelated distributions for different groups, F-CCA successfully aligns these representations, making them more universally applicable.

Conclusion and Future Work

Fair Canonical Correlation Analysis provides a mathematically principled approach to addressing bias in multi-view learning. By framing fairness as "equalized regret" and utilizing Riemannian optimization, the authors offer a robust tool for researchers working with heterogeneous populations.

While this work focuses on linear CCA, future research directions include extending the framework to Deep CCA or Kernel CCA to capture non-linear relationships. Additionally, investigating how F-CCA improves performance in downstream tasks, such as fair clustering or classification, remains a promising area for further study.

Summary updated

BibTeX
@inproceedings{zhou2023fair,
  author = {Zhuoping Zhou and Davoud Ataee Tarzanagh and Bojian Hou and Boning Tong and Jia Xu and Yanbo Feng and Qi Long and Li Shen},
  title = {{Fair Canonical Correlation Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=W3cDd5xlKZ},
}
Figure