Abstract
Graph representation learning is a cornerstone of modern recommendation and detection systems, yet these models often inherit and amplify human biases present in training data. Existing fair embedding techniques typically suffer from high computational costs, architectural rigidity, and an inability to handle complex, multi-class sensitive attributes. We introduce FairMILE, a novel multi-level framework that addresses these limitations. FairMILE is model-agnostic and achieves up to a 100x speedup over state-of-the-art fair models. Experimental results across multiple real-world datasets demonstrate that FairMILE significantly reduces demographic disparity without compromising system utility.
Introduction
The "homophily effect"—the tendency for similar individuals to connect—often leads to segregated digital representations in graph-based models. While algorithmic fairness has become a priority, current solutions are often impractical for large-scale industrial applications due to three primary flaws: extreme training times, dependency on specific Graph Neural Network (GNN) architectures, and a narrow focus on single binary sensitive attributes. FairMILE overcomes these barriers by treating fairness as a structural property within a scalable, multi-level paradigm.
Methodology
FairMILE operates through a three-phase multi-level process designed to decouple the fairness objective from the underlying embedding algorithm.
1. Fairness-Aware Coarsening
The framework begins by "shrinking" the original graph $\mathcal{G}_0$ into a coarsened version $\mathcal{G}_c$. Unlike standard coarsening methods, FairMILE employs a matching policy that prioritizes merging nodes with different sensitive attributes into "supernodes." This structural intervention intentionally disrupts homophily-induced clusters at the source.
2. Model-Agnostic Base Embedding
Because the coarsened graph is significantly smaller, standard unsupervised embedding algorithms (e.g., DeepWalk, node2vec, NetMF) can be executed rapidly. FairMILE treats these algorithms as black boxes, allowing practitioners to utilize their preferred embedding tools.
3. Fairness-Aware Refinement
The final phase involves projecting the embeddings back to the original graph scale. A GNN-based refinement model propagates these embeddings while applying a specialized fairness loss function. This loss rewards the model for producing similar representations for nodes across diverse demographic groups, providing a theoretical bound on demographic disparity based on network topology.
Experimental Evaluation
The researchers evaluated FairMILE on seven real-world datasets, including social networks (Pokec-n) and citation networks (Cora, Citeseer, Pubmed). The framework was tested against both node classification and link prediction tasks, specifically focusing on its ability to handle multiple sensitive attributes simultaneously.
Efficiency and Scalability
FairMILE demonstrates remarkable efficiency. On the Credit dataset, it achieved a speedup of 110x to 137x compared to CFGE, completing the task in under two minutes while the competitor required over three hours.
Fairness-Utility Trade-off
A critical challenge in fair learning is maintaining accuracy (utility) while reducing bias. FairMILE effectively navigates this trade-off. In the German credit dataset, it reduced the Demographic Parity disparity ($\Delta_{DP}$) of standard node2vec by 83.7%.
As shown in Figure 1, FairMILE consistently occupies the upper-right regions of the fairness-utility-efficiency plots, indicating that it can achieve high fairness and utility while remaining computationally efficient. Notably, on the Pubmed dataset, FairMILE improved the accuracy of DeepWalk from 91.7% to 97.6%, suggesting that fairness-aware refinement can sometimes act as a regularizer that boosts overall performance.
Conclusion
FairMILE represents a significant step toward practical, fair graph representation learning. By integrating fairness into a multi-level coarsening and refinement pipeline, the framework offers a scalable, flexible, and effective solution for large-scale graphs. Future work will explore the application of FairMILE in online environments and fully supervised settings, as well as its potential as a tool for fairness auditing in deployed systems.
Summary updated