kvignesh1420 commited on
Commit
1d40e03
·
verified ·
1 Parent(s): e140268

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +104 -4
README.md CHANGED
@@ -1,10 +1,110 @@
1
  ---
2
  license: mit
3
  task_categories:
4
- - zero-shot-classification
 
 
 
 
 
5
  tags:
6
  - relational-data
7
  - synthetic-data
8
- size_categories:
9
- - 10B<n<100B
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  task_categories:
4
+ - tabular-classification
5
+ - tabular-regression
6
+ - feature-extraction
7
+ pretty_name: PluRel – Synthetic Relational Databases
8
+ size_categories:
9
+ - 1B<n<10B
10
  tags:
11
  - relational-data
12
  - synthetic-data
13
+ - foundation-models
14
+ - tabular
15
+ - pretraining
16
+ - structural-causal-model
17
+ - relbench
18
+ ---
19
+
20
+ # PluRel Dataset
21
+
22
+ **Synthetic Data unlocks Scaling Laws for Relational Foundation Models**
23
+
24
+ [![arXiv](https://img.shields.io/badge/arXiv-2602.04029-b31b1b?style=flat&logo=arxiv)](https://arxiv.org/abs/2602.04029)
25
+ [![Project Page](https://img.shields.io/badge/Project-Page-blue?style=flat&logo=github)](https://snap-stanford.github.io/plurel/)
26
+ [![GitHub](https://img.shields.io/badge/Code-GitHub-black?style=flat&logo=github)](https://github.com/snap-stanford/plurel)
27
+ [![Checkpoints](https://img.shields.io/badge/Checkpoints-HuggingFace-yellow?style=flat&logo=huggingface)](https://huggingface.co/kvignesh1420/relational-transformer-plurel)
28
+
29
+ Preprocessed synthetic relational databases for pretraining relational foundation models, as introduced in:
30
+
31
+ > **PluRel: Synthetic Data unlocks Scaling Laws for Relational Foundation Models**
32
+ > Kothapalli, Ranjan, Hudovernik, Dwivedi, Hoffart, Guestrin, Leskovec — arXiv:2602.04029 (2026)
33
+
34
+ ---
35
+
36
+ ## Data Structure
37
+
38
+ Each entry is a [relbench](https://github.com/snap-stanford/relbench)-compatible `Database` consisting of multiple relational tables.
39
+
40
+ | Component | Description |
41
+ |-----------|-------------|
42
+ | Tables | 3–20 per database |
43
+ | Primary keys | `row_idx` (auto-generated) |
44
+ | Foreign keys | `foreign_row_0`, `foreign_row_1`, ... |
45
+ | Feature columns | `feature_0`, `feature_1`, ... (categorical or numerical) |
46
+ | Time column | `date` — on activity (leaf) tables only |
47
+
48
+ **Schema topology** is sampled from: BarabasiAlbert, ReverseRandomTree, or WattsStrogatz graphs.
49
+
50
+ **Data generation** uses Structural Causal Models (SCMs) — column dependencies are modeled as DAGs, with values propagated through randomly-initialized MLPs. Activity tables also include trend + cycle + noise time-series.
51
+
52
+ | Parameter | Range |
53
+ |-----------|-------|
54
+ | Rows per entity table | 500–1,000 |
55
+ | Rows per activity table | 2,000–5,000 |
56
+ | Columns per table | 3–40 (power-law) |
57
+ | Missing values | 1–10% of numerical columns |
58
+ | Timestamp range | 1990–2025 |
59
+ | Train / Val / Test | 80% / 10% / 10% |
60
+
61
+ ---
62
+
63
+ ## Download
64
+
65
+ ```bash
66
+ huggingface-cli download kvignesh1420/plurel \
67
+ --repo-type dataset \
68
+ --local-dir ~/scratch/pre
69
+ ```
70
+
71
+ ---
72
+
73
+ ## Usage
74
+
75
+ Databases are named `rel-synthetic-<seed>` and are fully reproducible:
76
+
77
+ ```python
78
+ from plurel import SyntheticDataset, Config
79
+
80
+ dataset = SyntheticDataset(seed=42, config=Config())
81
+ db = dataset.make_db()
82
+
83
+ for name, table in db.tables.items():
84
+ print(f"{name}: {table.df.shape}")
85
+ ```
86
+
87
+ See [snap-stanford/plurel](https://github.com/snap-stanford/plurel) for installation, configuration, and training scripts.
88
+
89
+ ---
90
+
91
+ ## Related
92
+
93
+ | Resource | Link |
94
+ |----------|------|
95
+ | Pretrained checkpoints | [kvignesh1420/relational-transformer-plurel](https://huggingface.co/kvignesh1420/relational-transformer-plurel) |
96
+ | Real-world relbench data | [hvag976/relational-transformer](https://huggingface.co/datasets/hvag976/relational-transformer) |
97
+
98
+
99
+ ---
100
+
101
+ ## Citation
102
+
103
+ ```bibtex
104
+ @article{kothapalli2026plurel,
105
+ title={{PluRel:} Synthetic Data unlocks Scaling Laws for Relational Foundation Models},
106
+ author={Kothapalli, Vignesh and Ranjan, Rishabh and Hudovernik, Valter and Dwivedi, Vijay Prakash and Hoffart, Johannes and Guestrin, Carlos and Leskovec, Jure},
107
+ journal={arXiv preprint arXiv:2602.04029},
108
+ year={2026}
109
+ }
110
+ ```