TL;DR
Can we build a foundation model for complex enterprise databases using purely fake data? Yes—if you teach it in the right order—though a fascinating blind spot emerges: frozen graph representations excel at classification right out of the box, yet lose to raw, unencoded table rows on regression tasks until explicit statistical summaries or fine-tuning step in to rescue them.
What Problem Does This Paper Address?
Text and images have massive, public datasets that power modern foundation models. Enterprise data, however, lives in relational databases (RDBs)—webs of interconnected tables linked by foreign keys—which are almost universally private, scarce, and wildly heterogeneous in structure.
For single-table problems, researchers recently bypassed data scarcity using Prior-Data Fitted Networks (PFNs): models pretrained on endless streams of synthetic tasks so they can predict on unseen real datasets instantly without gradient updates (in-context learning). While some methods flatten multi-table databases into single giant tables to use PFNs, graph-based relational models treat tables natively as graphs, passing messages along foreign-key links to learn how rows relate. Whether the synthetic PFN recipe actually transfers to these graph-based relational models—and what governs that transfer—remained an open question.
Methods
To isolate the exact quality of pretrained database representations, the authors build a clean, modular pipeline:
- The Encoder & Head: They pair Griffin (a standard graph message-passing network that samples local temporal neighborhoods up to $h$ hops deep and outputs a 512-dimensional vector for a target row) with TabICL (a frozen, in-context tabular foundation model that makes predictions from 1,024 labeled examples with zero gradient updates). Comparing this to RAWFEAT—running TabICL directly on the target row's raw columns with no graph encoder at all—strictly measures what the relational encoder adds.
- Ordered Curricula: Instead of just dumping synthetic databases into training, the authors test curriculum learning—training sequentially from structured, realistic schemas to chaotic, diverse ones, and optionally starting from real-data checkpoints.
- Three Levers: Beyond training order, they test three targeted interventions: appending lightweight Deep Feature Synthesis (DFS) aggregates (explicit summary statistics of neighboring rows up to a few hops away, rather than full brute-force enumeration), increasing subgraph depth from $h=2$ to $h=4$ hops, and fine-tuning the encoder jointly with the head.
Datasets
- Synthetic Pretraining (PluRel-generated): Two distinct corpora. The schema-guided (SG) corpus contains 500 databases mimicking the four-table schema of a real SAP sales database (
rel-salt) with multi-class tasks. The schema-agnostic (SA) corpus holds 9,143 databases across three generator families, each sporting a fresh, random schema and binary mask-a-column tasks. - Real-World Pretraining & Evaluation: 16 classification and 8 regression tasks drawn from RelBench and 4DBInfer (spanning e-commerce, clinical trials, Formula 1, and social networks), split into four families (
Com1,Com2,Othr1,Othr2). When pretraining on real data, models train on half the families and are evaluated strictly on the held-out half.
Key Insights and Ideas
- Sequence beats soup: How you present synthetic data matters more than just having it. Warming up the encoder on consistent, realistic schemas (SG) before exposing it to thousands of random schemas (SA) beats training on a shuffled mixture of the exact same data every single time. Furthermore, real and synthetic data are allies: starting on real databases and continuing with the synthetic curriculum produces the strongest frozen classifier.
- The regression blind spot: Frozen graph message-passing acts like a lossy compressor for continuous quantities. While frozen encoders crush raw features on classification, every single unaugmented frozen encoder loses to raw target-row features on regression. Squashing a neighborhood into a frozen embedding strips away crisp numerical signal that the raw row preserved.
- Explicit statistics plug the leak: Appending lightweight, hop-bounded DFS summary statistics—especially across the labeled in-context examples' neighborhoods—recovers the numerical signal that frozen message passing drops, without needing brute-force table flattening.
- Depth sleeps until fine-tuned: Expanding the graph view from 2 hops to 4 hops actually hurts a frozen encoder; it cannot exploit the wider context out of the box. Jointly fine-tuning the encoder and head wakes that dormant capacity right up.
Key Results
Frozen in-context performance across curricula
- Classification climbs a clear ladder: Across all 16 classification tasks (Table 1), raw features (
RAWFEAT) score 0.539 ROC-AUC. Purely synthetic pretraining climbs steadily:PTSG(0.605) <PTSA(0.614) < shuffledPTSG∪SA(0.626) < orderedPTSG -> PTSA(0.648). Initializing with real data before the synthetic curriculum (PTC2O2 -> PTSG -> PTSA) tops the frozen leaderboard at 0.672 on its held-out subset (beating real-onlyPTC2O2at 0.634). - Regression flips the script: Scored by $-\text{MAE}/\sigma$ (closer to 0 is better; $-1.0$ equals predicting the mean),
RAWFEAT(−1.240 across all 8 tasks) outperforms the ordered synthetic curriculum (−1.338) and every other unaugmented frozen encoder.
- DFS and Fine-Tuning take the crown: Adding 2-hop DFS features (
DFS2,2, Table 3a) monotonically boosts real-pretrained frozen models—liftingPTC2O2regression from −1.270 to −1.130, finally overtakingRAWFEAT(−1.200 on that subset). Meanwhile, increasing frozen depth to $h=4$ dropsPTC2O2classification from 0.634 to 0.614, but fine-tuning it (Table 3b) vaults classification to 0.689 (+0.075) and regression to −1.031—the best performance in the entire study.
Limitations and Future Work
The authors transparently note that while classification curriculum results average over five random seeds, the regression, depth, and fine-tuning experiments are single runs—meaning they should be read as directional trends rather than precision estimates (especially smaller shifts like DFS2,0). Additionally, absolute regression scores across all pipelines hover near the $-1.0$ predict-the-mean mark, making them most useful for relative comparisons. Finally, DFS augmentation and 4-hop depth were only tested on real-pretrained encoders; combining them directly with the synthetic curriculum—and fine-tuning DFS-equipped models—are natural next steps.
Summary updated