Towards Fair Graph Anomaly Detection: Problem, Benchmark Datasets, and Evaluation

Neng Kai Nigel Neo, Yeon-Chang Lee, Yiqiao Jin, Sang-Wook Kim, Srijan Kumar

TL;DR

This paper introduces "Fair Graph Anomaly Detection" (FairGAD), a new problem formulation that aims to detect anomalous nodes in graphs without unfairly targeting individuals from sensitive subgroups. To enable research in this area, they release two novel, large-scale benchmark datasets derived from real-world social media platforms (Reddit and Twitter), which include graph structure, anomaly labels, and sensitive attributes. Their experiments reveal that existing graph anomaly detection methods often exhibit unfairness, and applying fairness techniques presents a complex trade-off between accuracy and fairness.

What Problem Does This Paper Address?

Graph Anomaly Detection (GAD) is crucial for identifying unusual patterns in data represented as graphs, such as detecting fraudulent transactions or misinformation spreaders. However, as these methods are increasingly applied in high-stakes domains, concerns about fairness have emerged. Existing GAD methods can inadvertently produce biased results, unfairly flagging individuals from certain demographic groups as anomalies. This is particularly problematic when sensitive attributes (like political leaning or gender) are correlated with the anomaly itself. The core challenge is that there's a lack of realistic benchmark datasets that combine graph structure, anomaly labels, and sensitive attributes, making it difficult to rigorously evaluate and develop fair GAD methods.

Methods

The paper formally defines the Fair Graph Anomaly Detection (FairGAD) problem, which extends traditional GAD by incorporating sensitive attributes and requiring that anomaly detection be fair across different groups defined by these attributes.

They evaluate existing GAD methods and explore the integration of fairness techniques. This includes:

  • Graph Anomaly Detection (GAD) Methods: They test four GAD methods (DOMINANT, CONAD, COLA, VGOD) and seven non-graph anomaly detection methods.
  • Fairness Methods: They investigate the impact of integrating five fairness methods:
  • Fairness Regularizers: FAIROD, CORRELATION, and HIN, which are added to the loss function of GAD models.
  • Graph Debiasers: EDITS and FAIRWALK, which aim to modify the graph structure or node embeddings to reduce bias.

Datasets

The paper introduces two novel benchmark datasets:

  • Reddit Dataset: Constructed from political subreddits, containing approximately 1.2 million edges and 47,000 nodes. Political leaning is used as the sensitive attribute, and misinformation spreaders are labeled as anomalies.
  • Twitter Dataset: Derived from historical posts of users who shared COVID-19 misinformation, comprising around 400,000 edges and 9,000 nodes. Political leaning is the sensitive attribute, and misinformation spreaders are the anomalies.

These datasets are highlighted as being distinct from synthetic datasets used in prior work due to their real-world graph structures, anomaly labels, and sensitive attributes, which often exhibit correlations.

Key Insights and Ideas

  • Real-world data reveals inherent correlations: The new datasets demonstrate a significant correlation between sensitive attributes (like political leaning) and anomaly labels (misinformation spreaders). This means a naive approach might achieve high accuracy by exploiting these correlations, but at the cost of fairness.
  • GAD methods often amplify biases: Existing GAD methods, when applied to these realistic datasets, tend to exhibit unfairness, often showing worse performance on minority groups. This suggests that graph mining algorithms can amplify existing biases present in the data.
  • Fairness techniques introduce a trade-off: Integrating fairness methods (regularizers or debiasers) can improve fairness metrics (like EOO and SP), but often at the expense of detection accuracy (AUCROC and AUPRC). This highlights a complex trade-off that needs careful management.
  • Debiasing methods have mixed results: Graph debiasers like EDITS can improve accuracy but sometimes worsen fairness, possibly due to how they handle attribute distributions. FAIRWALK, which focuses on generating fairer embeddings, consistently improves fairness but can decrease accuracy for some GAD methods.
  • Fairness regularizers offer a more controlled trade-off: Regularizers like HIN and CORRELATION show a more predictable trade-off, allowing for adjustments to balance accuracy and fairness, though achieving an "ideal" outcome (high accuracy, low unfairness) remains challenging.
  • Sensitive attribute choice matters: The degree of unfairness can vary significantly depending on which sensitive attribute is chosen, suggesting that the problem's manifestation is context-dependent.

Key Results

  • Performance vs. Fairness Trade-off: Experiments show that as fairness metrics (EOO) improve, accuracy metrics (AUCROC) generally decrease, and vice-versa. The paper visualizes these trade-off spaces, showing that most methods lie along a linear trade-off line.
  • Reddit vs. Twitter: GAD methods generally show higher accuracy on Reddit than on Twitter. However, unfairness metrics (SP and EOO) are also worse on Reddit, which is attributed to its larger attribute bias compared to Twitter.
  • Impact of EDITS: The EDITS debiaser improved accuracy for CONAD, DOMINANT, and VGOD but increased unfairness, contradicting claims in prior work.
  • Impact of FAIRWALK: FAIRWALK consistently improved fairness (lower SP and EOO) but led to decreased accuracy for DOMINANT, CONAD, and VGOD when node attributes were not used.
  • Fairness Regularizers: Increasing the weight of fairness regularizers (like HIN and FAIROD) generally leads to lower EOO but also a decrease in AUCROC. The paper suggests that appropriate setting of these weights can achieve improvements in both performance and fairness, though not always substantial.

Limitations and Future Work

  • Unsupervised Focus: The study primarily focuses on unsupervised GAD. Future work could explore how semi-supervised learning impacts accuracy and fairness.
  • Combinatorial Approaches: The paper suggests investigating the combination of graph debiasers and fairness regularizers to potentially achieve better accuracy-fairness trade-offs.
  • Generalizability: Further analysis is needed to understand the impact and applicability of these combinations across various GAD methods and datasets.
  • Ideal Outcome: The paper notes that no current GAD method achieves the ideal outcome of high accuracy and low unfairness simultaneously, indicating a significant area for future research.

Summary updated

BibTeX
@inproceedings{neo2024towards,
  author = {Neng Kai Nigel Neo and Yeon-Chang Lee and Yiqiao Jin and Sang-Wook Kim and Srijan Kumar},
  title = {{Towards Fair Graph Anomaly Detection: Problem, Benchmark Datasets, and Evaluation}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  doi = {10.1145/3627673.3679754},
}
Figure