fletxcher's picture
graph_node_embedding v1
9a9454f verified
|
Raw History Blame Contribute Delete
4.07 kB
metadata
license: other
pretty_name: Khaos Node Embedding Subgraphs (social, citation, page links)
size_categories:
  - 1K<n<10K
task_categories:
  - graph-ml
  - feature-extraction
tags:
  - khaos
  - graph
  - graph
  - node-embedding
  - social-network
  - citation-network
  - wikipedia
  - self-supervised

Khaos Node Embedding Subgraphs (social, citation, page links)

Ego-network subgraphs of up to 64 nodes cut from eleven real graphs: social media, research citations and Wikipedia page links. Used to pre-train a graph convolutional autoencoder whose node embeddings are checked by predicting node classes.

This dataset was built for the graph_node_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. Each graph is symmetrized (undirected, no self-loops). Node features are reduced to 64 columns: 62 SVD components of the original features (padded when fewer), the log degree, and a constant.
  2. Nodes of each graph are split 80/10/10; centers are drawn from the matching part (degree at least 2) and the subgraph is a breadth-first ego network capped at 64 nodes. Subgraphs can include nodes from other parts, so the split is by center, not by node.
  3. 500 / 60 / 60 centers per graph for train / validation / test. citeseer, wikipedia_squirrel, weibo are never used in these splits.
  4. test_unseen_graph holds 120 subgraphs from each of the three held-out graphs (citeseer, wikipedia_squirrel, weibo) to measure transfer to unseen graphs.

Columns

Column Description
x (n, 64) float32 node features, n at most 64.
edge_index (2, E) int32, each undirected edge once, local node ids.
node_class Per-node class from the source (-1 when it has none).
graph Source graph name.
domain social, citation or page_links.
center Global id of the center node (local id 0).

Splits

Split Rows
train 4,000
validation 480
test 480
test_unseen_graph 360

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

Intended use

Training graph_node_embedding with masked-feature reconstruction, and evaluating its embeddings with a linear classifier on node_class.

Limitations

  • Class labels mean different things in each graph, so cross-graph class probes are not comparable.
  • 64-node ego networks are a small window onto hub-heavy graphs; dense graphs (weibo, tolokers) are heavily truncated.
  • Features were reduced to 64 dimensions per graph, so feature axes do not mean the same thing across graphs.

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.