Grad2Fair: A Gradient-driven Approach for Graph Fairness without Demographics

Yuchang Zhu, Zezhong Xie, Huizhe Zhang, Huazhen Zhong, Jintang Li +2 more
7/16/2026
cs.LG

Official code: ZzoomD/Grad2Fair (1 star, last commit 2026-06-29).

Abstract

Graph neural networks (GNNs) frequently encounter group fairness issues, often yielding biased predictions against specific demographic groups defined by sensitive attributes such as gender or race. While this challenge has motivated extensive research, most existing solutions rely on the strong assumption that demographics are fully available. To bypass this strict requirement, a few recent studies have attempted to use predicted demographics as proxies to enforce fairness constraints. However, predicted demographics may be inaccurate, resulting in the failure to improve fairness. In this work, we investigate the problem of graph fairness without demographic information and avoid the utilization of predicted demographics. Motivated by our observation that the gradient distributions of misclassified nodes implicitly encode demographic information, we first propose GradDist, a gradient-based metric that quantifies bias by measuring the distance between local modes within these distributions. To mitigate this bias, we propose Gradient-to-Fairness (Grad2Fair), a gradient-guided approach for group fairness without demographics. Due to the potential demographics in gradients, Grad2Fair directly leverages gradients to debias and eliminates demographic prediction, thereby enabling stable fairness performance. Experiments on several real-world datasets demonstrate the effectiveness of Grad2Fair, as evidenced by superior performance over baselines in most cases. Our code is available at https://github.com/ZzoomD/Grad2Fair.

View on arXivView PDF

Code Implementations(1)

ZzoomD/Grad2FairOfficial100%

An official PyTorch implementation of "Grad2Fair: A Gradient-driven Approach for Graph Fairness without Demographics"

10Shell, PythonJun 29, 20263 months ago

Similar Papers

Cite this paper

@article{zhu2026gradfair,
  title  = {Grad2Fair: A Gradient-driven Approach for Graph Fairness without Demographics},
  author = {Yuchang Zhu and Zezhong Xie and Huizhe Zhang and Huazhen Zhong and Jintang Li and Liang Chen and Zibin Zheng},
  year   = {2026},
  eprint = {2607.14705},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.14705v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.14705.svg)](https://codeofpaper.com/paper/2607.14705)

Discussion