Fairness-aware PageRank via Edge Reweighting

Honglian Wang, Haoyun Chen, Aristides Gionis · DOI

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).

Figure 2: Relative change to the transition matrix (ΔP) across different datasets and fairness targets (φ). FairGD consistently requires smaller modifications than baselines to achieve the same fairness goals.

Key Results

  1. 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.
  2. 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.
Figure 6: Fairness loss (L) across datasets. FairGD (blue circles) achieves near-zero loss, indicating precise attainment of fairness targets across diverse network structures.
  1. 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

BibTeX
@inproceedings{wang2026fairness,
  author = {Honglian Wang and Haoyun Chen and Aristides Gionis},
  title = {{Fairness-aware PageRank via Edge Reweighting}},
  booktitle = {WSDM},
  year = {2026},
  doi = {10.1145/3773966.3777991},
}
Figure