PageRank is a cornerstone of network analysis, yet it often inadvertently amplifies biases present in graph structures, such as homophily. This paper introduces a novel approach to achieving group fairness in PageRank by reweighting existing edges rather than modifying the network topology or restart logic. By formulating fairness as a constrained optimization problem and employing a projected gradient-descent method, the proposed algorithms, FairGD and AdaptGD, achieve precise fairness targets with minimal disruption to the original graph structure.
Addressing the Bias in Connectivity
PageRank measures node importance based on connectivity, but real-world networks often exhibit homophily—the tendency for similar individuals to connect. In such biased structures, PageRank naturally concentrates visibility in majority groups, effectively silencing minority voices.
Previous remedies typically fell into two categories: extrinsic changes (modifying the restart vector) or invasive changes (adding new edges). This work identifies a critical gap: achieving fairness while keeping the network topology intact, only adjusting the relative importance (weights) of existing links. This "surgical" intervention is more practical for real-world systems where forcing new connections is often impossible.
Methodology: Global Fairness via Gradient Descent
The authors formulate the problem as the minimization of a fairness loss function—the squared difference between the actual PageRank mass assigned to a group and a desired target mass.
- FairGD (Fair Gradient Descent): This algorithm uses projected gradient descent to find optimal edge weights. To ensure scalability, it employs a Neumann series approximation to avoid expensive matrix inversions during gradient calculation.
- AdaptGD (Group-Adapted GD): A more nuanced version that accounts for homophily by considering random walks that restart specifically within each group.
- Global vs. Local Fairness: Unlike prior methods that enforce fairness at every single node transition (local fairness), this approach targets global fairness. This provides more degrees of freedom, allowing the algorithm to reach fairness goals with significantly smaller total changes to the edge weights.
Experimental Evaluation
The methods were evaluated on five diverse real-world datasets: political books (Books), political Blogs, Microsoft News impressions (MIND), political retweets (Twitter), and a social network (Slashdot).
Key Results
- Superior Fairness-to-Change Tradeoff: As shown in Figure 2, FairGD and AdaptGD achieve target fairness while maintaining a much lower ΔP (relative change to the transition matrix) compared to baselines like LFPR.
- Effective Bias Mitigation: The algorithms consistently reach near-zero fairness loss across a wide range of target values, demonstrating high precision in achieving group representation goals.
- Preserving Internal Rankings: Using Spearman’s rank correlation, the authors demonstrated that their method excels at preserving the relative importance of nodes within a group. For the MIND dataset, FairGD achieved a correlation of 0.97–0.99, significantly higher than the ~0.80 achieved by baselines.
Conclusion
By reweighting existing edges and focusing on global fairness, FairGD provides a powerful, non-invasive tool for mitigating bias in PageRank. While challenges remain regarding the non-convexity of the loss function and scaling to billion-node graphs, this approach offers a significant advancement in creating fairer algorithms that remain faithful to the underlying data structure.
Summary updated