Dataset Viewer
Auto-converted to Parquet Duplicate
x
listlengths
2
64
edge_index
listlengths
2
2
graph
stringclasses
8 values
domain
stringclasses
3 values
center
int64
2
169k
domain_id
int8
0
2
[ [ 1.0637799501419067, -0.43614187836647034, -0.5107600688934326, -0.5997968912124634, 1.4019412994384766, -0.27648434042930603, -0.19833019375801086, -1.1143379211425781, 0.13550305366516113, 0.4321073591709137, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,...
tolokers
social
4,608
0
[ [ 0.26229947805404663, 1.6512651443481445, 0.21056075394153595, 0.5312816500663757, 0.18868215382099152, 0.7904170751571655, 0.043808769434690475, 0.12304268032312393, -0.4937259554862976, -0.497389018535614, 1.5785853862762451, -1.0435361862182617, -0.00101433973...
[ [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9,...
wikics
page_links
4,962
2
[ [ 1.0217821598052979, -0.011801660060882568, 2.195884943008423, 2.5445828437805176, -0.5115767121315002, -3.8882205486297607, 0.13683533668518066, -3.4629065990448, 1.4722557067871094, -0.9417679905891418, 0.37850072979927063, -0.2843265235424042, 0.19587397575378...
[ [ 0, 1, 1, 2, 2, 2, 3, 3, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 12, 12, 12, 13, 14, 14, 15, 15, 1...
ogbn_arxiv
citation
30,965
1
[[1.0185683965682983,-0.4586556553840637,0.6787360906600952,0.7396113872528076,2.4607205390930176,0.(...TRUNCATED)
[[0,0,1,2,3,3,4,4,4,5,5,5,5,5,6,6,6,6,7,7,7,7,7,8,8,8,8,8,8,8,8,8,9,9,11,11,12,13,14,16,16,17,17,17,(...TRUNCATED)
cora
citation
1,290
1
[[0.9874977469444275,-0.43614187836647034,-0.42618557810783386,-0.5997968912124634,-0.71329361200332(...TRUNCATED)
[[0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,(...TRUNCATED)
tolokers
social
8,030
0
[[-0.07267148792743683,-0.4258030354976654,-0.048612773418426514,1.8117923736572266,0.90891844034194(...TRUNCATED)
[[0,1,2,2,2,2,3,3,3,4,4,4,4,4,4,4,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,11,11,12,12,16,16,16,1(...TRUNCATED)
cora
citation
2,072
1
[[-0.22020138800144196,-0.03251904249191284,-1.1816449165344238,-0.7899107336997986,-3.6435606479644(...TRUNCATED)
[[0,1,1,2,2,3,3,3,4,4,4,5,5,5,5,5,5,6,7,7,8,9,9,9,9,9,10,11,11,11,11,11,11,11,12,12,12,12,12,13,13,1(...TRUNCATED)
reddit
social
3,384
0
[[1.8520302772521973,-1.5508018732070923,0.8083991408348083,0.6353490352630615,0.17550258338451385,0(...TRUNCATED)
[[0,0,1,2,2,3,4,4,5,6,7,7,7,8,8,8,9,9,9,9,10,10,10,11,11,14,14,15,16,17,17,17,19,20,21,22,23,23,24,2(...TRUNCATED)
ogbn_arxiv
citation
24,355
1
[[0.7471497058868408,0.10511370003223419,-0.398619145154953,-0.5997968912124634,1.4019412994384766,-(...TRUNCATED)
[[0,0,0,0,0,0,0,1,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,3,4,4,4,4,4,4,4,4,5,(...TRUNCATED)
tolokers
social
3,762
0
[[1.4803115129470825,-0.34528741240501404,0.8740637302398682,-0.028084510937333107,1.317133188247680(...TRUNCATED)
[[0,0,1,1,1,2,2,3,4,4,6,7,7,8,9,10,10,10,11,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13(...TRUNCATED)
cora
citation
2,166
1
End of preview. Expand in Data Studio

Khaos Subgraph Embedding (random-walk subgraphs)

Random-walk subgraphs of up to 64 nodes from eleven real graphs, labelled with the kind of network they come from. Used to train a graph transformer whose whole-subgraph embedding separates social, citation and page-link structure.

This dataset was built for the graph_subgraph_embedding 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 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. Same graphs, symmetrization and 64-column features as graph_node_embedding.
  2. Each subgraph is a random walk with restarts from a start node until 64 distinct nodes are visited, which gives sparser, more path-like subgraphs than an ego network.
  3. Start nodes are drawn from an 80/10/10 node split with 400 / 50 / 50 subgraphs per graph. The three held-out graphs (citeseer, wikipedia_squirrel, weibo) contribute 100 subgraphs each to test_unseen_graph.

Columns

Column Description
x (n, 64) float32 node features.
edge_index (2, E) int32 undirected edges, local ids.
graph Source graph name.
domain social, citation or page_links.
domain_id 0 social, 1 citation, 2 page_links: a supervised target for embedding quality.
center Global id of the start node (local id 0).

Splits

Split Rows
train 3,200
validation 400
test 400
test_unseen_graph 300

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

Intended use

Training graph_subgraph_embedding (for example with a domain-classification or contrastive loss) and measuring embedding quality by domain accuracy on test_unseen_graph.

Limitations

  • The domain label is a coarse, easy pretext target; it does not guarantee embeddings are useful for finer tasks.
  • Features are reduced independently per graph.

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
-