NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

From Tables to Runtime: Predicting Algorithm Runtime Distributions with TabPFN

Hagverdi Ibrahimli, Katharina Eggensperger, Steven AdriaensenAutoML 2026 Methods Track OralPoster 2026

TL;DR

This paper demonstrates that TabPFN, a pretrained tabular foundation model, can predict full algorithm runtime distributions (RTDs) entirely in-context, completely bypassing the need for task-specific training. It consistently outperforms classical baselines and specialized neural networks across SAT and AI planning benchmarks, showing remarkable data efficiency by matching or exceeding competing methods with up to several orders of magnitude fewer training examples. However, the authors also uncover a surprising limitation: passing too many repeated runtime observations of the same problem instance actually degrades TabPFN's predictive performance.

What Problem Does This Paper Address?

In meta-algorithmics, predicting how long an algorithm will take to solve a specific problem instance is vital for tasks like algorithm selection, automated configuration, and scheduling. However, algorithm runtimes are notoriously difficult to model: they are highly stochastic, heavy-tailed, and can span multiple orders of magnitude even when running the same randomized algorithm on the same problem instance with different random seeds.

Because of this extreme variability, predicting a single point estimate (e.g., "this will take 10 seconds") is often unhelpful or misleading. Instead, researchers try to predict the full Algorithm Runtime Distribution (RTD). Historically, this has been driven by classical tabular methods like Random Forests and Gaussian Processes, or specialized neural networks like DistNet. These conventional approaches require task-specific training, struggle in low-data regimes, and often force rigid parametric assumptions (like assuming the runtime always follows a log-normal distribution).

Methods

The authors pivot away from traditional "in-weight" learning (where a model's parameters are optimized for each new dataset) and instead leverage in-context learning via TabPFN (v2.5).

TabPFN is a Prior-Data Fitted Network (PFN) based on the Transformer architecture. It is pretrained entirely on millions of synthetic tabular datasets to approximate amortized Bayesian inference. To make a prediction for a new problem instance, you simply feed TabPFN a "context" dataset of prior instance features and their observed runtimes, along with the features of the target query instance. TabPFN then outputs a full, non-parametric posterior predictive distribution using a flexible bar distribution across 5,000 bins.

The only major custom adaptation required was applying a logarithmic transformation to the runtimes before passing them to TabPFN. Because TabPFN uses a fixed discretization of the target space, operating on raw runtimes would waste resolution on massive timeout values; log-scaling ensures the model can finely differentiate between shorter runtimes.

Datasets

The approach was evaluated on seven well-established scenarios spanning propositional Boolean satisfiability (SAT) and AI planning domains:

  • clasp_factoring
  • saps-CVVAR
  • spear_qcp
  • yalsat_qcp
  • spear_swgcp
  • yalsat_swgcp
  • lpg-zeno

For each benchmark, the randomized algorithms were executed across 100 different random seeds per problem instance to capture the empirical runtime distributions.

Key Insights and Ideas

  • Foundation Models Excel at Meta-Algorithmics Out-of-the-Box: Without any task-specific hyperparameter tuning or ensembling, a generic tabular foundation model comfortably beat highly specialized, end-to-end optimized neural networks (DistNet).
  • The "More Data is Worse" Paradox: In standard deep learning, more data yields better performance. However, the authors observed a non-monotonic scaling behavior where TabPFN's performance peaked and then degraded at larger context sizes (typically beyond 2,048 to 8,192 samples).
  • The Root Cause of Degradation: Through careful ablation studies, the authors discovered that this degradation is driven by repeated observations (running the same instance with different random seeds). Because these runs share identical feature vectors but have different runtimes, they create duplicate rows in the context matrix. This lack of instance diversity confuses TabPFN's attention mechanism. Removing these duplicates largely flattens the performance degradation.
Ablation study showing how duplicate observations cause performance degradation at large context sizes

Key Results

  • State-of-the-Art Data Efficiency: TabPFN consistently outperformed DistNet, Random Forests, and Gaussian Processes across all seven benchmarks. In low-data regimes, the gap was massive: on spear_qcp and lpg-zeno, TabPFN achieved state-of-the-art Negative Log-Likelihood (NLLH) using 64× and 512× fewer context points, respectively, than the best baseline.
  • Robustness Across Metrics: TabPFN's superiority wasn't just an artifact of the NLLH objective; it maintained its lead across alternative distributional metrics, including Continuous Ranked Probability Score (CRPS), 1-Wasserstein distance, and the Kolmogorov–Smirnov (KS) statistic.
  • Feature Robustness: When the authors iteratively halved the number of available instance features, TabPFN remained highly robust, frequently outperforming baselines even when stripped of the majority of its features.
Predictive performance (NLLH) across different context sizes for all seven benchmarks

Limitations and Future Work

While TabPFN delivers excellent predictive quality, it hits clear scalability walls. Because it relies on dense attention mechanisms, its memory and compute requirements scale quadratically ($O(N^2)$) with the context size, exceeding 10 GB of VRAM at the largest context sizes.

Furthermore, its sensitivity to duplicate feature vectors makes it poorly suited for scenarios where a user has massive pools of repeated runs on a small number of problem instances.

The authors suggest that future work should focus on context compression, developing scalable alternatives to dense attention for PFNs, and exploring whether newer tabular foundation models share these same strengths and failure modes.

Summary updated

BibTeX
@inproceedings{ibrahimli2026from,
  author = {Hagverdi Ibrahimli and Katharina Eggensperger and Steven Adriaensen},
  title = {{From Tables to Runtime: Predicting Algorithm Runtime Distributions with TabPFN}},
  booktitle = {AutoML 2026 Methods Track OralPoster},
  year = {2026},
  url = {https://openreview.net/forum?id=5wI2K3YAoW},
}
Figure