File size: 4,070 Bytes
9a9454f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | ---
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)](https://github.com/shchur/gnn-benchmark) | MIT (repository); data from McCallum et al. and Sen et al., research use | citation graphs |
| [Open Graph Benchmark ogbn-arxiv](https://ogb.stanford.edu/docs/nodeprop/#ogbn-arxiv) | ODC-BY 1.0 | 169k-paper arXiv citation graph |
| [WikiCS](https://github.com/pmernyei/wiki-cs-dataset) | MIT (repository), Wikipedia CC BY-SA text-derived features | hyperlinks between computer-science Wikipedia pages |
| [MUSAE Wikipedia page networks (chameleon, squirrel, crocodile)](https://snap.stanford.edu/data/wikipedia-article-networks.html) | GPL-3.0 (MUSAE repository) | hyperlinks between Wikipedia articles on three topics |
| [GADBench Reddit, Weibo, Tolokers via JaySuryavanshi/graph-anomaly-*](https://huggingface.co/datasets/JaySuryavanshi/graph-anomaly-reddit) | 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.
|