FAROS: Fair Graph Generation via Attribute Switching Mechanisms

Abdennacer Badaoui, Oussama Kharouiche, Hatim Mrabet, Daniele Malitesta, Fragkiskos D. MalliarosarXiv 2025 · DOI

Abstract

Graph Diffusion Models (GDMs) are powerful tools for generating realistic synthetic graphs, but they often inherit and amplify biases from training data. Existing fairness-enhancing techniques typically require computationally intensive re-training. We present FAROS (FAir graph geneRatiOn via attribute Switching), a post-hoc framework that intervenes during the generation process of pre-trained GDMs. By strategically switching sensitive attributes for a calculated subset of nodes at an optimal diffusion step, FAROS achieves a state-of-the-art balance between graph utility and fairness without requiring model re-training.

Introduction

The generation of high-fidelity synthetic graphs is critical for domains ranging from drug discovery to social network analysis. However, GDMs tend to exaggerate disparities present in training sets—for instance, reinforcing gender-based connectivity biases in professional networks. Traditional mitigation strategies often view fairness as a "zero-sum game," where significant accuracy is sacrificed for bias reduction. FAROS addresses these challenges by treating the GDM as a black box and applying targeted interventions during the denoising phase, leveraging the temporal dynamics of the diffusion process.

The FAROS Framework

FAROS operates through a three-stage intervention process designed to counteract bias amplification while preserving topological integrity.

Overview of the FAROS framework, illustrating the pre-switching generation, estimation of optimal parameters, and post-switching generation phases.
  1. Optimal Fraction Estimation ($\rho^*$): FAROS analytically determines the precise percentage of nodes that require an attribute switch to mitigate the model's inherent bias.
  2. Multi-Criteria Timestep Selection ($\tau^*$): The timing of the intervention is crucial. FAROS identifies the optimal diffusion step by balancing Accuracy (using Fused Gromov-Wasserstein distance) and Fairness (using an entropy-based proxy for edge independence).
  3. Attribute Switching: At the selected timestep, sensitive attributes for the sampled node subset are modified using either a Uniform distribution or a Prior distribution derived from the model's learned statistics.

Experimental Evaluation

The framework was evaluated on benchmark datasets including CORA, CITESEER, and AMAZON PHOTO. Performance was measured via link prediction tasks using a Graph Autoencoder (GAE) to assess the utility of the generated graphs.

Pareto Optimality and Trade-offs

A key strength of FAROS is its ability to reach the Pareto frontier, finding solutions where fairness cannot be improved without a corresponding loss in accuracy.

Fairness vs. Accuracy trade-off on the CORA dataset. FAROS variants (red) achieve Pareto optimality compared to existing non-Pareto-optimal baselines (blue).

On the CORA dataset, the FAROS-Prior variant maintained an AUC of 89.08% (nearly identical to the base model's 89.39%) while significantly reducing fairness discrepancies. This performance consistently outperformed state-of-the-art baselines like FairWire, which often struggle to maintain high accuracy while reducing bias.

Conclusion

FAROS demonstrates that fair graph generation can be achieved efficiently through post-hoc interventions. By avoiding the need for re-training, it provides a practical "plug-and-play" solution for leveraging large-scale pre-trained GDMs ethically. Future research will focus on extending this framework to a wider variety of downstream tasks and exploring the theoretical interplay between node features and graph topology.

Summary updated

BibTeX
@misc{badaoui2025faros,
  author = {Abdennacer Badaoui and Oussama Kharouiche and Hatim Mrabet and Daniele Malitesta and Fragkiskos D. Malliaros},
  title = {{FAROS: Fair Graph Generation via Attribute Switching Mechanisms}},
  year = {2025},
  eprint = {2507.03728},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03728},
}
Figure