TL;DR
This paper introduces FairDTD, a novel framework for training fair Graph Neural Networks (GNNs) by using dual-teacher knowledge distillation. It tackles the trade-off between fairness and utility in GNNs, which often arise from biases in node features and graph structures, by training specialized teacher models and distilling their knowledge into a student GNN.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) are powerful tools for analyzing graph-structured data, but they can inadvertently learn and amplify biases present in the data, leading to unfair predictions. This bias can stem from sensitive attributes like gender or race, which can be encoded in both node features and the graph's structure. Existing methods to mitigate this bias often compromise the GNN's utility (performance on the primary task) by relying on incomplete data (e.g., only node features or only graph structure). The challenge is to achieve fairness without sacrificing model performance, especially when dealing with the complex interplay of biases in both node features and graph structures.
Methods
FairDTD employs a dual-teacher knowledge distillation approach. It trains two specialized "teacher" models:
- Feature Teacher: A Multi-Layer Perceptron (MLP) trained solely on node features to learn fair representations from this aspect.
- Structure Teacher: A Graph Convolutional Network (GCN) trained solely on the graph structure to learn fair representations from this aspect.
These teachers are designed to mitigate bias by focusing on partial data. The core idea is to distill the "fairness knowledge" from these two teachers into a single "student" GNN model, which is trained on the complete graph data. This dual-teacher setup helps to disentangle the sources of bias and allows the student model to learn from both feature and structure perspectives.
Additionally, FairDTD incorporates two key innovations:
- Graph-Level Distillation: This component helps the student model learn from intermediate representations of the teacher models, compensating for potential information loss from partial data training and improving representation learning.
- Node-Specific Temperatures: Instead of a fixed temperature for knowledge distillation, FairDTD dynamically adjusts the temperature for each node based on the teacher's prediction confidence. This allows for more precise knowledge transfer, softening high-confidence predictions less and low-confidence predictions more.
The framework is underpinned by a causal graph analysis that models how sensitive attributes propagate through node features and graph structures, guiding the design of the dual-teacher approach.
Datasets
The paper evaluates FairDTD on three real-world datasets:
- Pokec-z/n: Social network data from Slovakia, where "region" is the sensitive attribute and "working field" is the label.
- Credit: Credit card user data, where "age" is the sensitive attribute and predicting future default is the label.
Key Insights and Ideas
- Partial Data Training for Fairness: Training GNNs on only node features or only graph structure can significantly improve fairness, but it often comes at the cost of reduced utility.
- Dual-Teacher Distillation as a Solution: By training separate teachers for features and structure, and then distilling their knowledge, FairDTD can leverage the strengths of partial data training for fairness while mitigating utility loss.
- Causal Modeling for Bias Understanding: A causal graph perspective helps to explicitly model how sensitive attributes influence predictions through distinct pathways (feature vs. structure), enabling more targeted interventions.
- Node-Specific Temperature for Effective Transfer: Dynamically adjusting distillation temperature per node, based on teacher confidence, leads to better knowledge transfer and a more balanced fairness-utility trade-off.
Key Results
- FairDTD achieves state-of-the-art fairness across all three datasets while maintaining comparable or better utility than baseline methods.
- On the Credit dataset, FairDTD significantly improves fairness with minimal impact on accuracy.
- Ablation studies show that each component of FairDTD (dual-teacher, graph-level distillation, node-specific temperatures) is crucial for its performance. Removing any component leads to a decline in the balance between fairness and utility.
- FairDTD demonstrates strong generalization capability across different GNN architectures (GCN and GIN).
- The framework exhibits lower training time costs compared to several baseline methods, indicating its efficiency.
- Visualizations of node representations show that FairDTD creates clearer classification boundaries and ensures predictions are not reliant on sensitive attributes.
Limitations and Future Work
- Sensitivity to Sensitive Attribute Changes: FairDTD may require retraining if sensitive attributes change. The authors suggest exploring invariant learning as a future direction to address this.
- Single Sensitive Attribute Focus: The current framework is designed for scenarios with a single sensitive attribute. Future work aims to extend FairDTD to handle multiple sensitive attributes.
Summary updated