TL;DR
Generating synthetic graphs is crucial for privacy-preserving data sharing in fields like finance and healthcare, yet generative models naturally inherit—and even amplify—structural biases from training data. Existing fair graph generators require complete demographic labels (like race or gender) to de-bias outputs, which are rarely available in the real world due to privacy laws. This paper introduces CertiFG, the first framework to generate fair graphs without sensitive attributes by inferring demographic proxies on the fly, accounting for estimation errors, and providing mathematical guarantees on the fairness of the final synthetic network.
What Problem Does This Paper Address?
When we train models to generate synthetic networks—say, financial transaction graphs for credit scoring—they mirror the patterns of the real world. If certain demographic groups are historically segregated in the data (a phenomenon called homophily, where similar nodes cluster together), the generator learns and exaggerates both structure bias (segregated connections) and feature bias (skewed node attributes).
To fix this, current fair graph generation methods enforce fairness constraints using explicit sensitive attributes during training. However, in practice, privacy regulations, legal restrictions, or user reluctance mean demographic labels are frequently missing.
Inferring missing demographics via a "proxy" works in simple classification, but graph generation is trickier: if you build a graph node-by-node (autoregressively), any slight error in your guessed proxy attribute gets baked into the next edge and node, compounding across steps and distorting the entire synthetic graph. Furthermore, without ground-truth labels, how can you guarantee to an end-user that the generated graph is actually fair?
Methods
The authors build CertiFG (Certified Proxy-guided Fair Graph Generation) on top of a standard autoregressive graph diffusion backbone (specifically, GRAPHARM), which sequentially denoises and constructs nodes and edges. On top of this standard setup, they introduce two novel mechanisms backed by theoretical bounds:
- Mask-Based Representation Fairness Regularizer: There is a natural tug-of-war inside the generator's neural representations: the model needs demographic signals to guess the missing proxy, but must erase demographic signals to generate an unbiased graph. CertiFG resolves this using a learnable dimension-wise retention mask. Unmasked node representations are fed to a proxy prediction head to infer sensitive groups, while masked representations—scrubbed of correlation with the inferred proxy—are used to actually decode the new graph's nodes and edges.
- Error-Insight Demographic Identification: Instead of blindly trusting the inferred proxy $\hat{S}$, CertiFG estimates how often $\hat{S}$ is wrong compared to the hidden truth $S$ via a proxy transition matrix. Because $S$ is invisible, the authors exploit graph homophily: they sample triplets of closely connected nodes (which likely share the same true demographic) and treat their noisy proxy predictions as three independent observations of a single latent variable. By matching the frequencies of these triplets to the moments of a binomial mixture, they mathematically recover the error rates in closed form and adjust training accordingly.
Datasets
No new benchmarks were introduced. The authors evaluate CertiFG on four standard real-world graph datasets spanning financial, citation, social, and co-purchasing networks:
- German (credit/financial graph)
- Cora (citation network)
- Pokec-z (social network)
- Photo (co-purchasing graph)
Key Insights and Ideas
- Quantifying the "Price of Missingness": Through rigorous theoretical analysis, the authors prove that demographic parity violations in generated graphs are upper-bounded by controllable message-passing disparities multiplied by an inflation factor: $\frac{1}{1 - \eta_0 - \eta_1}$, where $\eta_0$ and $\eta_1$ represent the impurity (error rates) of the inferred proxy groups. If the proxy is perfect, the factor is 1; as the proxy approaches random guessing, the bound diverges. This gives practitioners a concrete mathematical lens to trust synthetic data when demographics are unobserved.
- Turning Bias Against Itself: Graph homophily (same-group clustering) is a primary culprit behind structural bias in graph learning. Cleverly, CertiFG uses homophily as the statistical lever (via node triplets) to estimate proxy error rates without ever seeing ground-truth labels.
- Decoupling Inference from Generation: Attempting to force a single representation to be simultaneously demographic-informative and demographic-blind degrades both tasks. Simple element-wise masking cleanly separates these pathways inside a single diffusion encoder.
Key Results
Because existing fair graph generators cannot run without ground-truth sensitive labels, CertiFG was benchmarked against six state-of-the-art fairness-agnostic generators (including GRAPHARM, DiGress, and GDSS).
- Intrinsic Graph Fairness & Quality: Measured via Maximum Mean Discrepancy (MMD, where lower is better), CertiFG achieved top-ranked fairness across the board while keeping generation quality (degree distribution, clustering, node features) right in line with baselines. On Cora, CertiFG slashed subgroup disparities in degree distribution (Fair-DD) to 0.036 and clustering (Fair-Clus) to 0.030 (compared to 0.063–0.077 and 0.060–0.083 for baselines). Similar drops were seen on German (Fair-DD down to 0.048 vs. 0.074–0.093).
- Downstream Utility: When training a standard GCN classifier on synthetic Cora graphs, CertiFG-generated data yielded an AUC of 85.68% (comparable to GRAPHARM's 87.34% and DiGress's 84.22%), while dramatically cutting classification unfairness: Demographic Parity ($\Delta_{\text{DP}}$) dropped to 18.64% (vs. 56.38% on the original graph and 24.45%–41.86% on synthetic baselines), and Equalized Odds ($\Delta_{\text{EO}}$) fell to 6.78% (nearly half that of the closest baseline at 14.28%).
- Ablations: Removing either the fairness regularizer or the error-aware triplet loss noticeably degraded fairness, proving that naive proxy guessing leaks error directly into the generated topology.
Limitations and Future Work
While the authors do not include a dedicated limitations section, two clear constraints emerge from their formulation:
- Binary Sensitive Attributes: The methodology and theoretical proofs are formulated under a binary sensitive attribute setting ($S \in \{0, 1\}$), leaving multi-class or continuous intersectional demographics unaddressed.
- Reliance on Homophily and Informative Proxies: The triplet-based error estimation assumes connected neighbors likely share sensitive attributes (homophily), and Theorem 4.2 requires proxy impurities to satisfy $\eta_0 + \eta_1 < 1$ (meaning the proxy must be better than random).
For future work, the authors suggest extending their error-aware proxy design to other graph learning tasks lacking sensitive attributes, as well as exploring fair graph generation in extreme regimes where sensitive information—and perhaps its structural proxies—are completely missing.
Summary updated