How Does Synthetic Database Pretraining Improve Relational Models? The Roles of Curriculum, DFS, and Depth

Synthetic pretraining with ordered curricula enables fine-tuning-free classification transfer, but regression needs DFS or fine-tuning.
This study examined whether graph-based relational foundation models can achieve fine-tuning-free transfer via synthetic pretraining like PFNs. Using the Griffin encoder and a frozen TabICL head on 16 classification tasks, synthetic pretraining helped, and an ordered schema-guided-to-agnostic curriculum outperformed single-stage mixing and real-data pretraining. On regression, frozen encoders underperformed raw features and curriculum effects were weak. DFS aggregation improved monotonically with hop count and was the only frozen change to beat raw features on regression; 4-hop subgraphs lay dormant when frozen but were unlocked by fine-tuning, yielding the best overall scores.
Can graph-based relational foundation models achieve fine-tuning-free transfer through synthetic data pretraining, much like PFNs? A study systematically examined the roles of curriculum learning, Deep Feature Synthesis (DFS), and graph depth using the message-passing encoder Griffin and a frozen in-context TabICL head.

Synthetic pretraining is effective on classification tasks, and curriculum order matters
The researchers pretrained the Griffin encoder on synthetic relational databases, kept it frozen, and used a frozen TabICL head for readout. Across 16 real-world classification tasks, synthetic pretraining helped. More importantly, an ordered curriculum progressing from schema-guided to schema-agnostic outperformed any single-stage mixture of the same corpus, as well as pretraining on real data alone. Appending this curriculum after real-data pretraining yielded the best results.
This finding indicates that how synthetic data is organized—not just its scale—significantly affects transfer performance. An ordered curriculum may help the model gradually adapt from structured to unstructured schemas, thereby learning more general relational representations.
Curriculum Learning refers to organizing training samples in order from easy to hard so that the model gradually adapts to task complexity. In this paper's synthetic pretraining, the curriculum manifests as ordered stages from "schema-guided" (leveraging database table structure information) to "schema-agnostic" (not relying on explicit schemas). This arrangement lets the model first learn structured relational patterns and then generalize to freer relational representations, avoiding the distribution conflicts caused by mixing data all at once. The effectiveness of curriculum learning has been validated in multimodal and reinforcement learning, but in relational database pretraining, the impact of its ordering design on transfer performance had previously lacked systematic study.
Regression tasks expose limitations: frozen encoders fall short of raw features
However, frozen synthetic pretraining was only effective on classification tasks. On the full regression suite comprising eight tasks, no frozen encoder surpassed raw target-row features. Curriculum order still mattered, but its impact on regression performance was negligible.
This suggests that the representations learned by synthetic pretraining may be biased toward the discrete patterns needed for classification, whereas regression tasks require finer-grained numerical relational modeling. The information bottleneck of frozen encoders is especially pronounced in regression scenarios.
DFS aggregation improves monotonically with hop count; deep subgraphs require fine-tuning to unlock
Hop-limited Deep Feature Synthesis (DFS) aggregation improved both classification and regression metrics monotonically with hop depth, and was the only frozen modification that surpassed raw features on regression. Deeper 4-hop subgraphs lay dormant in the frozen state; after fine-tuning the encoder into the head, these subgraphs were unlocked and produced the best classification and regression scores in the study.
DFS explicitly provides multi-hop relational information to the model by recursively aggregating relational features. When frozen, the model may be unable to effectively utilize deep subgraphs, whereas fine-tuning releases this potential.
Deep Feature Synthesis (DFS) is an automated feature engineering method that generates multi-hop features by recursively aggregating features along relational edges. For example, for a "user–order–product" relationship, DFS can generate cross-table features such as "the average price of products the user recently purchased." In this paper, hop refers to the depth of expansion along relational edges: 1 hop corresponds to immediate neighbors, and 4 hops correspond to more distant subgraphs. DFS aggregation explicitly injects multi-hop relational information into the model input, compensating for the receptive-field limitations that frozen encoders may have. Its monotonic improvement property indicates that deeper aggregation generally brings richer relational signals, but also increases computational overhead and overfitting risk.
Message Passing Encoder is a core component of graph neural networks that updates node representations by iteratively aggregating neighbor node information. As a message-passing encoder, Griffin is responsible for encoding entities and relationships in a relational database into vectors. In the frozen state, the encoder's parameters are not updated and it serves only as a feature extractor; at this point, information from deep subgraphs may not be effectively utilized due to the fixed receptive field, manifesting as "dormancy." Fine-tuning the encoder into the head (i.e., unfreezing it and training it jointly with the downstream head) can recalibrate the message-passing process so that information from deep subgraphs is activated and incorporated into predictions.
Practical implications: classification can use frozen transfer; regression requires fine-tuning or DFS
For classification tasks on relational databases, synthetic pretraining combined with an ordered curriculum is an effective fine-tuning-free transfer strategy. For regression tasks, a frozen encoder alone is insufficient; DFS aggregation or encoder fine-tuning is needed. The monotonic improvement property of DFS aggregation makes it a simple yet powerful baseline enhancement.
Future work could explore more complex curriculum designs, adaptive DFS depth selection, and how to inject deep subgraph information into frozen models more efficiently.
Background
Prior-Fitted Networks (PFNs) are a model paradigm that, after pretraining on large-scale synthetic data, can perform direct inference on downstream tasks without gradient updates. The core idea is to let the model learn during pretraining the ability to "infer the task from in-context examples," thereby implicitly encoding the Bayesian inference process into the forward pass. PFNs typically use a Transformer architecture, take the entire training set as input context, and output predictions for new samples. This "fine-tuning-free" property makes them perform well on structured tasks such as tabular data and time series, but it also places high demands on the distribution of synthetic data and curriculum design. The graph-based relational foundation model discussed in this paper is precisely an attempt to extend the fine-tuning-free transfer idea of PFNs to the relational database setting.
One-line Summary
Synthetic pretraining plus an ordered curriculum enables fine-tuning-free transfer for relational database classification, but regression requires DFS or fine-tuning.
Paragraph Summary
This study investigated whether graph-based relational foundation models can achieve fine-tuning-free transfer through synthetic data pretraining, much like PFNs. Using the message-passing encoder Griffin and a frozen TabICL head, experiments across 16 real classification tasks found that synthetic pretraining was effective, and that an ordered curriculum from schema-guided to schema-agnostic outperformed single-stage mixtures and real-data pretraining. However, on regression tasks, frozen encoders fell short of raw features, and curriculum effects were weak. Deep Feature Synthesis (DFS) aggregation improved metrics monotonically with hop count and was the only frozen modification to surpass raw features on regression; 4-hop subgraphs lay dormant when frozen but could be unlocked by fine-tuning the encoder, achieving the best performance. The study suggests that classification can use frozen transfer, while regression requires DFS or fine-tuning.
Related articles

Checkmate Monitor Upgrade: The Evolution of a Modern CRT Substitute
The new Checkmate retro monitor batch adds standard SCART and a built-in spectrum analyzer. The founder candidly discusses wiggle gate, light leakage, production plans, and cost challenges.
Buying a Da Vinci for $450 Million — T…
Buying a Da Vinci for $450 Million — Then What?
What can you do after buying a Da Vinci for $450 million? This article analyzes the responsibilities and constraints behind sky-high art from four angles: storage conditions, lending mechanisms, liquidity dilemmas, and public interest tensions, revealing the true operating logic of the top-tier art market.

Warren Buffett Dies: An Investing Legend Bows Out—Whither Value Investing in the AI Era?
Warren Buffett dies at 96. A look back at his investing career and tech-stock moves, the challenges value investing faces in the AI era, Berkshire's succession, and Hacker News debate.