Khaos Fraud Rings

A graph convolutional network that scores every node of a subgraph for how suspicious it is. Groups of high-scoring connected nodes are candidate fraud rings.

graph_fraud_rings v1, from Khaos (a local-first library of pre-trained models for domain-specific tasks). This is the first release of the artifact.

Model

  • Architecture: NodeAnomalyGCN: 3 graph-convolution layers (hidden 128) and an MLP head with sigmoid output
  • Parameters: 57,985
  • Format: ONNX (model.onnx) plus PyTorch weights (model.pt) and manifest.json
  • Training data: fletxcher/khaos-graph_fraud_rings

Results

Measured on the held-out test split of the training dataset.

Metric Value
threshold 0.7500
ring_recall_cora_injected 1.0000
auroc_cora_injected 0.9956
ring_recall_pubmed_injected 1.0000
auroc_pubmed_injected 0.9301
auroc_questions 0.7882
auroc_reddit 0.8281
auroc_tolokers 0.7293
ring_recall_wikics_injected 1.0000
auroc_wikics_injected 0.8640
ring_recall_citeseer_injected 0.3231
auroc_citeseer_injected 0.7592
auroc_weibo 0.3511
ring_recall_wikipedia_chameleon_injected 0.7297
auroc_wikipedia_chameleon_injected 0.6883
mean_auroc_real_social 0.6742
mean_auroc_injected 0.8474

Node anomaly detection

AUROC and average precision per graph, a degree-only baseline AUROC, and, for injected graphs, the share of injected rings (at least 8 members in a subgraph) where at least 80% of the members are flagged at the validation-F1 threshold.

Split Graph AUROC AP Degree baseline AUROC Ring recall
test cora_injected 0.996 0.970 0.812 1.000
test pubmed_injected 0.930 0.821 0.774 1.000
test questions 0.788 0.344 0.604 n/a
test reddit 0.828 0.259 0.504 n/a
test tolokers 0.729 0.558 0.588 n/a
test wikics_injected 0.864 0.711 0.607 1.000
test_unseen_graph citeseer_injected 0.759 0.504 0.866 0.323
test_unseen_graph weibo 0.351 0.102 0.509 n/a
test_unseen_graph wikipedia_chameleon_injected 0.688 0.505 0.651 0.730

Training

{
  "epochs": 40,
  "batch": 32,
  "lr": 0.001,
  "architecture": "NodeAnomalyGCN"
}

Best epoch 38, trained in 0.7 minutes on a single consumer GPU (RTX 3050 8 GB).

Intended use

Triage of suspicious accounts. Rings are the connected groups of flagged nodes, which the pipeline extracts after scoring.

Limitations

  • Real labels come from three social graphs; ring structure was only trained on synthetic injected cliques.
  • Thresholds and score meaning depend on the base rate of anomalies in your data.
  • Flags unusual nodes, not proven fraud.

Usage

pip install khaos
khaos serve ./graph_fraud_rings

License

This model was trained on data with research-only, share-alike or mixed terms (see the training dataset card for each source). Treat it as research use and check the upstream data licenses before any commercial use.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support