arXiv:2610.23073cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23073

Path to Prior-Data Fitted Relational Models via Learned Latent Multi-table Representations

Mohammad Sadeq Abolhasani, Viswanath Ganapathy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Prior-data fitted networks (PFNs) show that pretraining on large populations of synthetic tasks can enable generalization to unseen datasets with little or no downstream fine-tuning. This paradigm is effective for transformer-based tabular and relational foundation models such as RDB-PFN, but remains largely unexplored for graph-based relational models built on message passing. We pretrain the graph-based relational foundation model Griffin on large collections of synthetic relational databases and ask whether curriculum learning, which benefits transformer-based relational learners, also improves message-passing representations. Rather than fine-tune on downstream tasks, we use the pretrained encoder as a general-purpose relational representation learner and pass its latent representations to a frozen in-context predictor (TabICL); no component is trained on the target task. On 16 real-world relational classification tasks, evaluated over five seeds against raw-feature and untrained-encoder baselines, a purely synthetic curriculum that begins with schema-guided data and continues with schema-agnostic data gives the strongest frozen in-context performance, outperforming real-data-only pretraining and every unordered single-stage mixture of the corpora; when appended after real-data pretraining, it yields the best encoders overall. These results provide initial evidence that PFN-style synthetic pretraining transfers to graph-based relational foundation models.

1 Introduction

Relational databases (RDBs) power most enterprise workloads, yet relational foundation models still lag behind their text and vision counterparts. A central obstacle is data: high-quality RDBs are private, scarce, and structurally heterogeneous, precluding internet-scale pretraining. Prior-data fitted networks (PFNs) [1, 2] address this scarcity by pretraining on an effectively unlimited population of synthetic tasks. Transformer-based models such as RDB-PFN [3] have recently extended this idea from single tables to full relational databases. Whether the same paradigm transfers to graph-based relational foundation models built on message passing, which encode the schema’s foreign-key (FK) structure as an explicit inductive bias [4, 5], remains largely unexplored.

We study this question by pretraining Griffin [5], a graph-centric relational foundation model, on large corpora of synthetic relational databases generated with PluRel-style pipelines [6]. We then evaluate the resulting encoders as frozen relational representation learners that feed a frozen in-context tabular predictor, TabICL [7]. Concretely, we ask:

RQ1. Does synthetic pretraining data help a message-passing relational encoder at all?

RQ2. How does synthetic pretraining compare to pretraining on real relational data?

RQ3. Does curriculum learning [8, 9] over the synthetic distribution improve the learned representations?

RQ4. What is the role of schema-guided versus schema-agnostic synthetic data?

RQ5. Does more pretraining data help?

M. S. Abolhasani et al., Path to Prior-Data Fitted Relational Models via Learned Latent Multi-table Representations (Extended Abstract). Presented at the Fifth Learning on Graphs Conference (LoG 2026), Boston, MA, USA, November 20 – 22, 2026.

Across seven pretraining curricula and 16 real-world relational classification tasks, extended with three unordered controls, two baselines, and five seeds per configuration, our results answer all five questions in the affirmative, with two nuances. Schema-guided data performs poorly on its own but provides a useful first stage before diverse schema-agnostic data. Although the purely synthetic curriculum outperforms real-data-only pretraining, the strongest encoders arise when it follows real-data pretraining, indicating that synthetic and real data are complementary.