arXiv:2610.28855cs.AIOct 2026

Manuscript Offprint

arXiv:2610.28855

Speedrunning Relational Foundation Model Pretraining

Gabriel Wedson Mendonça de Souza Veloso, Luan Borges Teodoro Reis Sena, Denis Oliveira Correa, Francisco Galuppo Azevedo

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

Abstract

Progress on foundation model pretraining is gated by who can afford a trial, and relational pretraining is no exception. Recipes are developed inside individual labs, reported under private protocols, and do not accumulate. Speedrun leaderboards remove that barrier by decentralizing the search rather than the training run. The problem is fixed, the stack is open, entries are ranked by wall-clock time to a quality target, and one GPU is enough to hold the record. We introduce modded-nanoRT, the first such leaderboard for Relational Transformers. Which database to hold out decides whether the benchmark can resolve improvements at all, so we fix it by calibration, ranking six candidates by how sharply a 45-minute learning curve separates improvement from seed noise. We open the leaderboard with typed trilinear attention, a relational operator that conditions attention scores and values on the foreign key traversed, together with Muon and SIGReg. The recipe reaches the target in 305.63 seconds on one NVIDIA H200, 8.11×8.11 \times faster than the reference implementation, and wins 13 of 15 pairs outside the development database. We will release the benchmark, its frozen artifacts, and the record runs. Our code is available at https://github.com/kunumi/nanoRT.

1 Introduction

Most machine learning data sits in relational databases, split across tables linked by primary–foreign key relationships. Standard pipelines flatten those links into a task-specific table, so data preparation repeats for every new database and prediction problem. Relational foundation models learn from the schema itself. RelBench standardized this setting across databases and predictive tasks [Robinson et al., 2024], and the Relational Transformer (RT) showed that one schema-aware model applies to unseen tasks without task-specific parameters or in-context examples [Ranjan et al., 2026a].

An architectural, optimizer, or regularization change takes hours to evaluate even at small scale, and the labs that can run such trials at volume are the labs with clusters, so recipe knowledge accumulates where the compute is and everyone else is priced out of the loop that produces it. Community speedruns answer this by pooling a different resource. Fixing the model family, the data, the hardware, and the target, and ranking submissions by time to reach it, turned recipe search for language model pretraining into a leaderboard that dozens of contributors each advanced by seconds [Jordan et al., 2024a]; modded-nanoTabPFN did the same for tabular models [Pfefferle et al., 2025, Ozturk et al., 2026]. What is decentralized here is not the training run but the search over it. Contributors hold one GPU each, work independently on disjoint parts of the design space, and their findings compose because every entry is measured on the same clock.

No such artifact exists for relational foundation models, and the format does not transfer mechanically. Language and tabular speedruns train on one fixed corpus. Relational pretraining mixes databases

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: CODEC-FM.

with different schemas, and the quantity of interest is zero-shot transfer to a database the model has never seen, so the mixture and an entire held-out database must be fixed in advance.

We introduce modded-nanoRT, an open speedrun for pretraining a nano-scale Relational Transformer on a single GPU and evaluating it zero-shot on a held-out database. Table 1 lists what is fixed; the training stack is open, and submissions are ranked by wall-clock time to the target. Choosing the held-out database is the design problem the relational setting adds, and we settle it by calibration. All six candidates run for 45 minutes over multiple seeds, ranked by how sharply their learning curves separate improvements from seed noise.

We open the leaderboard with three changes to the RT recipe. We introduce typed trilinear attention. RT uses the schema only as an attention mask, so every foreign key shares one compatibility function; we make the relation a third multiplicative factor in the attention score and the message, so neighbors reached by different foreign keys are no longer scored alike. We add SIGReg as a representation-level regularizer over relational columns [Balestriero and LeCun, 2025], following tabular work that reports faster convergence under it [Merchant et al., 2026]. Muon orthogonalizes the matrix-valued updates of the backbone, carried over from the language model speedruns [Jordan et al., 2024b].

The record reaches the target in 305.63 seconds on one NVIDIA H200, 8.11×8.11 \times faster than the reference implementation. Matched three-seed comparisons attribute the gain to Muon, and to typed attention only in combination with it; leave-one-database-out runs win 13 of 15 pairs outside development. Verification consumes 59.9% of the record, so the next entry should look at the evaluation path.

References (22)