Dataset Viewer
Auto-converted to Parquet Duplicate
x
listlengths
1
64
edge_index
listlengths
2
2
graph
stringclasses
6 values
domain
stringclasses
3 values
center
int64
6
48.9k
node_anomaly
listlengths
1
64
ring_id
listlengths
1
64
has_ring
int8
0
1
[ [ -1.5528515577316284, -0.16728654503822327, -0.6665067076683044, -0.24266774952411652, 0.0148537065833807, -0.11723920702934265, 0.5246076583862305, -0.33803364634513855, 0.5857329368591309, -0.2445974051952362, 0.14108318090438843, -0.8074840903282166, -0.262028...
[ [ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...
reddit
social
2,261
[ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, ...
0
[ [ -1.5917541980743408, -0.43614187836647034, -0.5778008699417114, 3.1934359073638916, 1.4019412994384766, -0.27648434042930603, -0.19833019375801086, -1.1143379211425781, 0.13550305366516113, 0.4321073591709137, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
tolokers
social
2,308
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0...
[ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, ...
0
[[-0.9539045691490173,-0.14690247178077698,-1.5476313829421997,-1.1911603212356567,1.21466863155365,(...TRUNCATED)
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
wikics_injected
page_links
4,879
[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
1
[[0.442379355430603,-0.3847135901451111,-1.861892580986023,-2.7407615184783936,3.7620158195495605,0.(...TRUNCATED)
[[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,(...TRUNCATED)
pubmed_injected
citation
2,263
[1,1,1,0,0,1,1,0,0,1,0,0,0,1,1,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,0,1,1,0,1,0,0,0,0,1,0,0,0,0,0,0(...TRUNCATED)
[-1,0,-1,-1,-1,0,0,-1,-1,0,-1,-1,-1,0,0,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,0,0,-1,-1,-1,0,0,(...TRUNCATED)
1
[[1.124247431755066,-0.43614187836647034,-0.5778008699417114,-0.5997968912124634,1.4019412994384766,(...TRUNCATED)
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
tolokers
social
7,065
[1,0,1,1,0,0,1,1,1,0,1,1,1,1,1,0,1,0,0,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,0,1,1,0,1,0,1,0,0,0,1,0,0,1,1,0(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
0
[[-0.32278332114219666,-0.4187872111797333,0.3631487488746643,-0.9833375811576843,0.3720104992389679(...TRUNCATED)
[[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,(...TRUNCATED)
questions
social
28,219
[0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
0
[[0.34455040097236633,0.5492157936096191,1.0460723638534546,-0.6980435252189636,-0.810478687286377,-(...TRUNCATED)
[[0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,(...TRUNCATED)
reddit
social
2,162
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
0
[[-0.40547674894332886,0.4121303856372833,-0.11912421137094498,0.44926774501800537,0.197844281792640(...TRUNCATED)
[[0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,(...TRUNCATED)
cora_injected
citation
2,369
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
1
[[0.04617280513048172,-0.6081243753433228,-0.15249627828598022,-0.9117420315742493,0.382288247346878(...TRUNCATED)
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
wikics_injected
page_links
11,033
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(...TRUNCATED)
1
[[0.5853400826454163,-1.0815545320510864,0.6478768587112427,-0.6547267436981201,-0.7085939049720764,(...TRUNCATED)
[[0,0,0,0,1,1,1,2,2,2,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,7,8,9,9,(...TRUNCATED)
cora_injected
citation
2,288
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1(...TRUNCATED)
[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-(...TRUNCATED)
1
End of preview. Expand in Data Studio

Khaos Fraud Rings and Anomalous Nodes

Subgraphs with per-node anomaly labels, for finding groups of suspicious accounts. Social graphs (Reddit, Tolokers, Questions, Weibo) carry real anomalous-account labels; citation and page-link graphs get injected rings (dense cliques) and feature anomalies, the standard way to benchmark graph anomaly detection.

This dataset was built for the graph_fraud_rings artifact of Khaos, a local-first library of pre-trained models for domain-specific tasks. It is part of the v1 release.

Sources

Source License How it is used
Shchur et al. gnn-benchmark (Cora, CiteSeer, PubMed) MIT (repository); data from McCallum et al. and Sen et al., research use citation graphs
Open Graph Benchmark ogbn-arxiv ODC-BY 1.0 169k-paper arXiv citation graph
WikiCS MIT (repository), Wikipedia CC BY-SA text-derived features hyperlinks between computer-science Wikipedia pages
MUSAE Wikipedia page networks (chameleon, squirrel, crocodile) GPL-3.0 (MUSAE repository) hyperlinks between Wikipedia articles on three topics
GADBench Reddit, Weibo, Tolokers, Questions via JaySuryavanshi/graph-anomaly-* MIT (Hugging Face cards); original datasets by Kumar et al., Zhao et al. and Platonov et al. social graphs with real anomalous accounts

How it was built

  1. Real labels: Reddit (banned users), Tolokers (banned crowd workers), Questions (anomalous Stack Exchange users) and Weibo (anomalous accounts). Weibo is held out whole; the other three train.
  2. Injected anomalies (Cora, PubMed, WikiCS for training; CiteSeer and Chameleon held out): about 2% of nodes become structural anomalies by joining groups of 15 random nodes into cliques (ring_id identifies the group), and the same number of nodes become contextual anomalies by taking the features of the most distant node among 50 random candidates.
  3. Ego networks of at most 64 nodes are drawn around centers, with 40% anomalous centers and 60% normal ones, so the anomaly rate in samples is much higher than in the full graphs. Centers follow an 80/10/10 node split with 600 / 80 / 80 subgraphs per graph; held-out graphs give 150 each to test_unseen_graph.

Columns

Column Description
x (n, 64) float32 node features.
edge_index (2, E) int32 undirected edges, local ids.
node_anomaly Per-node label, 1 if the node is anomalous.
ring_id Per-node id of the injected clique it belongs to, -1 otherwise (always -1 for real social labels).
has_ring 1 if the subgraph contains an injected ring.
graph Source graph (*_injected marks injection).
domain social, citation or page_links.
center Global id of the center node.

Splits

Split Rows
train 3,600
validation 480
test 480
test_unseen_graph 450

Files are stored as data/<split>.parquet.

Intended use

Training graph_fraud_rings as a per-node classifier. Rings are then the connected groups of high-scoring nodes. Report AUROC on real social data and on injected data separately.

Limitations

  • Injected cliques are an easy, synthetic pattern; real fraud rings are subtler. Weibo, Reddit and Tolokers are the realistic checks.
  • Real labels mark individual accounts, not rings, so ring structure can only be evaluated on injected data.
  • Samples are class-balanced by construction and do not reflect true anomaly rates.

License

The sources carry different terms: ogbn-arxiv is ODC-BY 1.0, the repositories packaging Cora, CiteSeer, PubMed and WikiCS are MIT, the MUSAE Wikipedia networks are GPL-3.0, and the GADBench copies are MIT. Because of the GPL-3.0 sources, treat the combined dataset as GPL-3.0 compatible and research-use, and check upstream terms before commercial use.

Downloads last month
-