Research
A Deep Latent Factor Graph Clustering with Fairness-Utility Trade-off Perspective
Overview Research area: Trustworthy machine learning applied to unsupervised graph learning — specifically fair graph clustering / community detection, which sits at the intersection of graph mining,
- arXiv
- 2510.23507
- Published
- 2025-10-27
- Authors
- Siamak Ghodsi, Amjad Seyedi, Tai Le Quy, Fariba Karimi, Eirini Ntoutsi
AI summary
Overview
- Research area: Trustworthy machine learning applied to unsupervised graph learning — specifically fair graph clustering / community detection, which sits at the intersection of graph mining, nonnegative matrix factorization (NMF), and algorithmic fairness.
- Technical level: Advanced. The paper assumes familiarity with matrix factorization, spectral clustering, KKT-based multiplicative updates, and fairness metrics such as statistical parity.
- Scope: The paper introduces DFNMF, an end-to-end deep nonnegative tri-factorization model for graph clustering that embeds a soft statistical-parity regularizer into the clustering objective, letting a single parameter λ control the trade-off between structural utility and demographic balance.
What This Paper Is About
Most graph clustering methods find cohesive groups by maximizing structural quality (e.g., modularity), but in many settings — funder-mandated diverse research teams, equitable student project groups, resource allocation — the resulting clusters are demographically skewed. Existing fair graph clustering methods typically enforce rigid constraints or use multi-stage pipelines such as spectral embedding followed by k-means, which limits how finely the fairness–utility balance can be tuned, hurts interpretability, and constrains scalability. The paper's goal is a single, end-to-end model that produces cluster assignments directly while allowing a user to dial fairness up or down with one parameter.
Key Contributions
- End-to-end fairness integration: Joint representation learning and fairness enforcement, with no multi-stage pipelines or post-hoc rounding (no k-means step after embedding).
- Tunable trade-off control: A single parameter λ enables precise adjustment of the utility–fairness balance, supported by a Pareto-front selection rule for choosing λ*.
- Deep hierarchical architecture: A tri-factorization with p layers (p = 4 in experiments) that captures multi-level network structure and is described as robust to graph sparsity and group-size heterogeneity.
- Scalable sparse implementation: CSR-based operations with efficient alternating updates, reported to scale near-linearly with the number of edges (per-iteration complexity O(p|E|k)).
- Comprehensive evaluation (the paper lists five contributions; this bundles the evaluation claim): synthetic and real networks with statistical analysis, Pareto studies, and ablations.
The paper claims this is the first deep hierarchical NMF model with integrated fairness designed specifically for graph clustering.
Main Findings
- Theoretical equivalence: Lemma 1 proves that the regularizer ‖FᵀH‖²_F = 0 holds exactly when the demographic balance condition (each cluster's group proportion matches the global proportion, per Definition 1) is satisfied. This gives the fairness penalty a formal grounding rather than being a heuristic.
- Synthetic SBM networks: On Stochastic Block Model graphs with 2,000, 5,000, and 10,000 nodes (k = 5, 2 sensitive groups, homophily 0.82), DFNMF, SFSC, and iFSC consistently outperform the other baselines — including vanilla SC, NMTF, and DMoN, and the fair baseline iFNMTF — reporting the highest modularity Q, average balance B̄, ARI, and ACC, and the lowest statistical parity deviation Δ_SP. SFSC and FSC report identical results, so only SFSC is visualized.
- Unlabeled real networks (Table III, k = 5 and k = 10): DFNMF shows a clear advantage on DrugNet and LastFM, achieving both high modularity and high balance. On DrugNet at k = 5, DFNMF reaches B̄ = 0.162 and Q = 0.591; at k = 10, B̄ = 0.141 and Q = 0.524. On LastFM at k = 5, B̄ = 0.091 and Q = 0.420; at k = 10, B̄ = 0.084 and Q = 0.455.
- Smaller networks measured differently: On Facebook, Friendship, and Diaries, DFNMF maintains top fairness performance but ranks second in modularity, slightly behind SFSC or iFSC. On Facebook at k = 5, DFNMF reaches B̄ = 0.767 and Q = 0.503, versus iFSC B̄ = 0.564 and Q = 0.515.
- Spectral baselines fail on sparse, biased graphs: On DrugNet and LastFM, SFSC, FSC, and iFSC perform poorly because their rigid fairness constraints do not adapt to highly sparse and biased network structures. (Table III as printed lists SFSC modularity on DrugNet as 27.00 at k = 5 and 52.56 at k = 10, outside the paper's stated [-1, 1] modularity range; FSC is listed as 0.270 and 0.525.)
- Labeled real networks (Table IV, mean ± std): DFNMF achieves the best ARI on all three labeled datasets — Pokec-n 0.0051 ± 0.001, Pokec-z 0.0158 ± 0.002, NBA 0.1203 ± 0.012 — versus SFSC (0.0009 ± 0.000, 0.0009 ± 0.000, 0.0825 ± 0.007) and DMoN (0.0024 ± 0.000, 0.0022 ± 0.000, 0.0741 ± 0.006).
- Modularity and fairness on labeled data: DFNMF leads on Q (Pokec-n 0.2067 ± 0.005, Pokec-z 0.1910 ± 0.026, NBA 0.1344 ± 0.012) and on B̄ (0.1844 ± 0.017, 0.2905 ± 0.025, 0.4373 ± 0.028), and has the lowest Δ_SP (0.0194 ± 0.002, 0.0189 ± 0.000, 0.0018 ± 0.000).
- Accuracy is not uniformly best: On ACC, SFSC outperforms DFNMF on Pokec-n (0.8476 ± 0.012 vs. 0.6879 ± 0.052) and Pokec-z (0.8165 ± 0.042 vs. 0.7767 ± 0.096), while DFNMF is higher on NBA (0.6765 ± 0.010 vs. 0.6500 ± 0.004).
- Trade-off is visible and controllable: The 45-node illustrative example (40%/60% gender split, 27 and 18 nodes) shows that a small λ yields imbalanced clusters (5:9, 5:11, 8:7) while a large λ moves toward parity (7:11, 5:7, 6:9).
- Complexity advantage: Per-iteration cost is O(p|E|k), versus O(n³) for FSC, iFSC, and GNN-FSC, O(nk² + |E|) for DMoN, O(n⁴·⁵k⁴·⁵|E|) for FNM-SC, and O(|E|k + nk² + k³) for iFNMTF. DFNMF is classified as "Large" scale and "High" interpretability in the comparison table.
- Optional memory reduction: Block coordinate descent (not used in the experiments) can reduce memory from O(n²) to O(bk).
Methodology in Plain English
The model treats clustering as a matrix factorization problem. Given a graph's adjacency matrix A, it reconstructs the graph as Ψ W_p Ψᵀ, where Ψ is the product of several nonnegative layer matrices and W_p captures interactions between clusters. Because all factors are nonnegative, the columns of Ψ act as soft membership weights — each node's cluster membership is a set of nonnegative numbers, not a hard label — and every value is traceable back to parts of the graph.
Fairness enters as a penalty term. The authors build a matrix F from mean-centered sensitive-group indicators (using m−1 columns to avoid linear dependence, since group proportions sum to one). They prove that the condition FᵀH = 0 is exactly equivalent to demographic balance, then add λ‖FᵀH‖²_F to the objective as a soft penalty. A small λ prioritizes structural quality; a large λ pushes clusters toward the global group proportions. This is the only knob the user needs to tune.
For optimization, the authors use alternating minimization: update one factor while holding the others fixed. Training happens in two phases — a pretraining stage that initializes each layer sequentially via standard NMF tri-factorization, then a fine-tuning stage using Lee–Seung-style multiplicative updates (with a fourth-root in the membership update) that preserve nonnegativity and monotonically decrease the objective. The problem is non-convex, so convergence is to a local optimum, not a global one. Sparse CSR representations keep the dominant operations proportional to the number of edges.
For choosing λ, the authors sweep a logarithmic grid from 10⁻³ to 10³, min–max scale the utility and balance values to [0, 1], keep only the Pareto-front (undominated) points, and pick the λ whose scaled (utility, balance) pair is closest to the ideal point (1, 1), with a tie-breaker favoring a smaller gap between utility and balance.
Why This Matters
Impact on research: The work reframes fair graph clustering as a single tunable objective rather than a constrained optimization or post-processing problem, and provides a formal lemma connecting a quadratic penalty to the demographic balance definition. If it holds up, it removes the multi-stage pipeline (spectral embedding plus k-means) that has limited control and scalability in prior fairness-aware spectral methods, and it shifts the evaluation conversation toward Pareto fronts rather than single-point comparisons. All experimental results are averaged over 10 seeds, and the λ* rule was cross-checked via linear scalarization.
Real-world applications named or implied by the paper:
- Community detection in social and interaction networks where demographic composition matters.
- Team formation — academic collaboration networks where funders mandate diverse team compositions, and educational institutions assigning student project teams that balance social connections with equitable representation.
- Resource allocation across demographic groups.
- Social network analysis on datasets with group attributes, such as gender (Facebook, Friendship, Diaries), ethnicity (NBA, DrugNet), age (Pokec-n, Pokec-z), and country (LastFM).
Industry relevance: Any organization that partitions people into groups — hiring pipelines, recommendation and ad targeting, credit or service allocation, platform community management — faces the same structural-versus-demographic tension. A model with a single, interpretable fairness dial that runs on sparse industrial-scale graphs (the paper's complexity is O(Tpk|E|)) and produces interpretable, parts-based memberships is more auditable and more deployable than rigid-constraint alternatives.
Future Directions
- The paper's own conclusion (Section VI) is not included in the provided content, so the following are open questions the work raises rather than the authors' stated next steps.
- Beyond binary and few-group settings: The experimental sensitive attributes range from 2 to 6 groups (country on LastFM); how the m−1 column encoding and the λ* selection rule behave with many or intersecting sensitive attributes is not established in the reported results.
- Extending to attributed graphs at scale: The title describes "attributed graphs," and edge densities in the real data fall as low as 0.001 (LastFM), but the largest reported network is Pokec-n at 67,797 nodes. Whether the near-linear scaling claim in edge count holds on orders-of-magnitude larger graphs is untested in the reported experiments.
- Theory of the trade-off: The paper proves the equivalence of the regularizer to demographic balance but does not report a bound on the utility loss incurred as λ increases, which would let practitioners choose λ without a full sweep.
- Where accuracy still lags: SFSC achieves higher ACC on Pokec-n and Pokec-z than DFNMF, so understanding when the deep hierarchy trades away label agreement — and whether deeper variants or different layer sizes (the paper used p = 4 with 64 components, reporting no empirical improvement from deeper variants) could close that gap — remains open.
Target Audience
Researchers and graduate students working on trustworthy machine learning, graph mining, community detection, or algorithmic fairness who need to understand how fairness constraints can be folded into a matrix-factorization clustering objective rather than imposed afterward. It is also relevant to practitioners building team-formation, resource-allocation, or social-network analysis systems who need a tunable, interpretable fairness knob and are comfortable implementing multiplicative-update optimizers. Readers without background in NMF or spectral graph theory will need to work through the preliminaries section first.
Authors’ abstract
Fair graph clustering seeks partitions that respect network structure while maintaining proportional representation across sensitive groups, with applications spanning community detection, team formation, resource allocation, and social network analysis. Many existing approaches enforce rigid constraints or rely on multi-stage pipelines (e.g., spectral embedding followed by $k$-means), limiting trade-off control, interpretability, and scalability. We introduce \emph{DFNMF}, an end-to-end deep nonnegative tri-factorization tailored to graphs that directly optimizes cluster assignments with a soft statistical-parity regularizer. A single parameter $λ$ tunes the fairness--utility balance, while nonnegativity yields parts-based factors and transparent soft memberships. The optimization uses sparse-friendly alternating updates and scales near-linearly with the number of edges. Across synthetic and real networks, DFNMF achieves substantially higher group balance at comparable modularity, often dominating state-of-the-art baselines on the Pareto front. The code is available at https://github.com/SiamakGhodsi/DFNMF.git.