TL;DR
Researchers have brought the "speedrunning" culture to Tabular Foundation Models (TFMs), creating a competitive protocol to slash pretraining times. By stacking optimizations like the Muon optimizer, "thinking rows," and LLM-driven hyperparameter searches, they achieved a staggering 81x speedup, reducing pretraining from 74 minutes to just 55 seconds while maintaining competitive accuracy.
What Problem Does This Paper Address?
Pretraining foundation models is notoriously expensive and slow. While Large Language Models (LLMs) have seen massive efforts to optimize training throughput (like the popular modded-nanogpt project), Tabular Foundation Models—which learn to make predictions on structured data—have lagged behind.
The high cost of pretraining TFMs creates a "research bottleneck." If it takes days to test a new architecture or optimization idea, the iteration cycle slows to a crawl. Furthermore, the community lacked a standardized, reproducible way to compare different speedup techniques. The authors address this by introducing modded-nanoTabPFN, a public speedrun leaderboard where the goal is to reach a fixed performance target (beating a Random Forest baseline) in the shortest wallclock time possible on a single NVIDIA L40S GPU.
Methods
The project starts with nanoTabPFN, a minimal reimplementation of the TabPFN v2 architecture. The speedrun participants (and the authors) then "stack" various architectural and algorithmic improvements:
- Muon Optimizer: Originally designed for LLMs, this optimizer is applied to the 2D weight matrices of the transformer, significantly improving sample efficiency.
- Thinking Rows: The model prepends 16–24 learnable "thinking" tokens to the input data. These tokens allow the transformer to perform extra computation across the row axis before making a prediction.
- Residual Decay: Inputs to each transformer block are scaled by an exponentially decaying factor ($0.95^i$), which down-weights earlier layers in the final output.
- Repeated Feature Grouping: To prevent "representation collapse" when features have similar distributions, columns are embedded in overlapping groups.
- Throughput Optimizations: Standard but essential tricks like using
bf16precision, FlashAttention (SDPA), andtorch.compilewere used to maximize GPU utilization. - Autoresearch HPO: The current record holder used an LLM-driven agentic loop to automatically search for the best hyperparameters and architectural tweaks.
Datasets
- Pretraining: The models are trained on a synthetic "prior"—a massive dump of 256,000 generated classification datasets. Each synthetic dataset contains 1,000 rows, up to 20 features, and up to 8 classes.
- Evaluation: Performance is measured on TabArena, a benchmark of 38 real-world classification tasks (e.g., credit scoring, medical diagnosis). To keep the speedrun fast, these datasets are subsampled to a maximum of 100 features and 1,000 rows.
Key Insights and Ideas
- LLM Optimizations Transfer to Tables: One of the most important findings is that techniques developed for language models (like the Muon optimizer) transfer remarkably well to the tabular domain, providing similar boosts in sample efficiency.
- Thinking Rows are a Game Changer: Adding learnable tokens ("thinking rows") accounted for a massive chunk of the performance gain. Visualization of attention maps confirmed that the model actively uses these tokens to process data more effectively.
- Speed vs. Quality is not a Zero-Sum Game: Often, we assume that "speeding up" training means sacrificing final model quality. However, the authors found that the same "speedrun recipe," when allowed to run for a longer duration, actually outperformed the baseline, approaching the state-of-the-art TabPFN v2.5.
- The Power of Community Stacking: The speedrun format allows researchers to "verify and stack" improvements. Each record builds on the previous one, creating a cumulative effect that individual research papers often miss.
Key Results
The quantitative leaps are dramatic:
- Wallclock Time: The baseline took 74.32 minutes to reach the target. The current record reaches it in just 0.92 minutes (approx. 55 seconds)—an 81x speedup.
- Sample Efficiency: The baseline required over 80,000 synthetic datasets to reach the target; the optimized version needs only 3,648 datasets (a 22x reduction).
- Long-run Performance: When trained for the full 70-minute budget, the "modded" version reached an average ROC AUC of 0.82, significantly higher than the baseline's 0.806 and close to the much larger TabPFN v2.5 (0.828).
Limitations and Future Work
The authors identify several areas for future exploration:
- The Static Prior: All records so far used a fixed set of synthetic training data. The authors suggest that optimizing the data generation process (the "prior") is likely the next big frontier for speedups.
- Hardware Constraints: The speedrun is currently tied to a specific GPU (NVIDIA L40S). While this ensures fair comparison, it’s unclear how these optimizations scale to multi-GPU setups or different architectures.
- Subsampling: Because evaluation is done on subsampled versions of TabArena, there is a small risk that some optimizations might overfit to small-data regimes and not translate perfectly to massive, million-row tables.
The project is open-source, and the authors are actively inviting the community to try and break the sub-one-minute record.
Summary updated