Fair Structure Learning in Heterogeneous Graphical Models

Davoud Ataee Tarzanagh, Laura Balzano, Alfred O. Hero IiiarXiv 2021

Abstract

Probabilistic graphical models are essential for uncovering latent structures in complex data, yet they often inadvertently propagate demographic biases. We present a novel framework that simultaneously learns graph structure and detects communities while enforcing strict demographic parity. By formulating fairness as a convex constraint within a joint optimization problem, our approach—FCONCORD for continuous data and FBN for binary data—guarantees statistical consistency and significantly reduces clustering bias across social, medical, and linguistic datasets.

Introduction

Graphical models are widely employed to infer relationships between variables, such as identifying social circles or clustering items in recommender systems. However, standard community detection algorithms are often "blind" to demographic attributes like race, gender, or age. This blindness can lead to highly segregated clusters, resulting in discriminatory outcomes—for instance, medical treatments being recommended only to specific demographics or biased word associations in natural language processing.

Traditional approaches typically follow a two-step sequential process: first estimating the graph structure and then applying a fair clustering algorithm. This paper argues that such a disjointed approach is sub-optimal; if the initial graph estimation is biased, subsequent clustering will inherit those flaws. We propose a joint framework that integrates graph structure learning and fair community detection into a single, unified objective.

Methodology: Joint Fair Learning

Our framework combines graph estimation and fair community detection into a single optimization problem. The core objective minimizes a pseudo-likelihood loss function for data fitting, an $\ell_1$ penalty for sparsity, and a trace penalty to encourage distinct community structures.

Fairness as a Convex Constraint

We enforce demographic parity by requiring that every detected community contains a proportion of demographic groups matching the overall population. This is formulated as a polyhedral constraint on a community partition matrix. To handle the NP-hard nature of exact community detection, we employ a convex Semidefinite Programming (SDP) relaxation solved via the Alternating Direction Method of Multipliers (ADMM).

Illustration of fair community re-partitioning. The left graph shows biased communities ($C'$), while the right graph shows fair communities ($C$) where demographic groups (colors) are balanced.

The resulting models, FCONCORD (Fair CONvex COnditional Relaxation of Dissimilarity) for continuous data and FBN (Fair Binary Network) for categorical data, allow for the discovery of structures that are both statistically sound and demographically balanced.

Experimental Evaluation

The proposed methods were evaluated on synthetic data (Stochastic Block Models) and diverse real-world datasets, including high school friendship networks, DrugNet, the Small World of Words NLP dataset, and music/movie recommender systems (LFM-360K, MovieLens).

Key Results

  • Clustering Accuracy: On synthetic tests, joint learning drastically outperformed sequential baselines, reducing clustering error from 0.42 to 0.05 in specific SBM scenarios.
  • Social Network Fairness: In the Friendship and DrugNet datasets, our method improved the fairness "Balance" metric by approximately 20% with minimal impact on cluster distinctness (Ratio Cut).
  • NLP and Recommender Systems: In word embedding tasks, FCONCORD successfully severed biased edges (e.g., "doctor"-"man") and replaced them with neutral, contextually relevant links. In recommender systems, demographic balance was significantly improved without substantial loss in predictive accuracy (RMSE).

Discussion and Conclusion

A primary insight of this work is that community structure and graph topology are mutually informative. Integrating fairness directly into the structure learning process produces more robust graphs. Theoretically, we prove that FCONCORD and FBN maintain statistical consistency, recovering true fair communities with high probability as sample sizes increase.

Future work will address computational bottlenecks, as the current ADMM approach requires full Singular Value Decompositions ($O(p^3)$), making it challenging for massive networks. Additionally, while this framework focuses on node-centric demographic parity, extending it to sample-centric fairness and other definitions like equal opportunity remains a promising research direction.

Summary updated

BibTeX
@misc{tarzanagh2021fair,
  author = {Davoud Ataee Tarzanagh and Laura Balzano and Alfred O. Hero III},
  title = {{Fair Structure Learning in Heterogeneous Graphical Models}},
  year = {2021},
  eprint = {2112.05128},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.05128},
}
Figure