Papers › Relational In-Context Learning via Synthetic Pre-training with Structural Prior

Relational In-Context Learning via Synthetic Pre-training with Structural Prior

4 Mar 2026ICMLarXiv:2603.03805added by Syntology

Yanbo Wang, Jiaxuan You, Chuan Shi, Muhan Zhang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Relational Databases (RDBs) are the backbone of modern business, yet they lack foundation models comparable to those in text or vision. A key obstacle is that high-quality RDBs are private, scarce, and structurally heterogeneous, making internet-scale pre-training infeasible. To overcome this data scarcity, we introduce RDB-PFN, the first relational foundation model trained purely via synthetic data. Inspired by Prior-Data Fitted Networks (PFNs), where synthetic data generated from Structural Causal Models (SCMs) enables reasoning on single tables, we design a Relational Prior Generator to create an infinite stream of diverse RDBs from scratch. Pre-training on over 2 million synthetic single-table and relational tasks, RDB-PFN learns to adapt to any new database instantly via genuine in-context learning. Experiments show that RDB-PFN achieves strong few-shot performance on 19 real-world relational prediction tasks, outperforming state-of-the-art tabular foundation models evaluated on the same DFS-linearized inputs, while using a lightweight architecture and fast inference. The code is available at https://github.com/MuLabPKU/RDBPFN.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2603.03805")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MuLabPKU/RDBPFN found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from MuLabPKU/RDBPFN. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_model MuLabPKU/RDBPFN/inference/src/model.py found in paper text by Syntology unverified no licence file found · pointer only · a1db0c571a63bb56 · report
compute_classification_metric MuLabPKU/RDBPFN/inference/src/metrics.py found in paper text by Syntology unverified no licence file found · pointer only · ecc61097d944b904 · report
count_high_ratio_columns MuLabPKU/RDBPFN/data_preprocessing/filter_h5_sampling_columns.py found in paper text by Syntology unverified no licence file found · pointer only · 636571a96a4856e9 · report
dataframe_to_xy MuLabPKU/RDBPFN/inference/src/preprocessing.py found in paper text by Syntology unverified no licence file found · pointer only · ee9d9b7f899dd26b · report
discover_datasets MuLabPKU/RDBPFN/data_preprocessing/merge_dbinfer_to_h5.py found in paper text by Syntology unverified no licence file found · pointer only · 23d9ed17473b29e2 · report
dominant_ratio MuLabPKU/RDBPFN/data_preprocessing/filter_h5_sampling_columns.py found in paper text by Syntology unverified no licence file found · pointer only · 69813f6a1b3dc306 · report
load_batch_as_tensor MuLabPKU/RDBPFN/data_preprocessing/merge_icl_batches_to_h5.py found in paper text by Syntology unverified no licence file found · pointer only · 75e8160406aabf66 · report
load_checkpoint_state MuLabPKU/RDBPFN/inference/src/checkpoint.py found in paper text by Syntology unverified no licence file found · pointer only · fdd11a4d10fe1608 · report
load_h5_datasets MuLabPKU/RDBPFN/data_preprocessing/filter_h5_sampling_columns.py found in paper text by Syntology unverified no licence file found · pointer only · 47596680c9b3a306 · report
resolve_checkpoint_path MuLabPKU/RDBPFN/inference/src/checkpoint.py found in paper text by Syntology unverified no licence file found · pointer only · ec0fae263ef7ca92 · report
sparse2dense MuLabPKU/RDBPFN/data_preprocessing/merge_icl_batches_to_h5.py found in paper text by Syntology unverified no licence file found · pointer only · 68a01bfbad33eb49 · report
summarize_classification MuLabPKU/RDBPFN/inference/src/metrics.py found in paper text by Syntology unverified no licence file found · pointer only · 9140862ec753498a · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.03805, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections