arXiv:2610.41819cs.LGOct 2026

Manuscript Offprint

arXiv:2610.41819

ElTab: Elastically Looped Tabular Transformers

Mieszko Komisarczyk, Saurabh Mathur, Maurice Kraus, Sriraam Natarajan, Kristian Kersting

Abstract

Tabular transformer models such as TabPFN achieve strong predictive performance but incur substantial inference costs, making them difficult to deploy in resource-constrained settings. While looped transformers reduce parameter count through weight sharing, they can lose significant predictive power when stopped early. To address this challenge, we introduce the Elastically Looped Tabular Transformer (ElTab), a single model trained to operate across different computational budgets through supervision at randomly sampled early exits. Across 30 OpenML classification datasets, a single ElTab model matches six depth-specific looped models while cutting training cost by more than half, and matches a 12-layer TabPFN-style baseline with 25% fewer inference FLOPs. These results show that elastic-depth training yields a single model that adapts to the deployment budget at hand, offering a favorable trade-off among predictive performance, storage, and computational cost.

1 INTRODUCTION

Tabular foundation models such as TabPFN (Hollmann et al., 2025) have emerged as general-purpose models for tabular prediction, achieving strong predictive performance across diverse datasets. They predict on a new dataset in a single forward pass, conditioning a pretrained Transformer on the dataset's labeled examples instead of fitting dataset-specific parameters. However, this in-context prediction is expensive, as its cost grows with both backbone depth and attention that is quadratic in the number of context rows. Since depth is fixed

at training time, a resource-constrained deployment cannot trade accuracy for compute at inference; its only option is to train a smaller model.

Looped Transformers (Giannou et al., 2023) reduce the parameter count while preserving effective depth by repeatedly applying a shared stack of blocks. In tabular models, a single looped block has recently been shown to match a six-layer nanoTabPFN (Balef et al., 2026). However, weight sharing alone does not make a model computationally adaptive. While a looped model can be stopped early, its intermediate representations are never trained to support predictions. In our experiments (Figure 3), stopping a fixed-depth looped model after three of its six loops costs 7.3 AUC-ROC points on average across 30 OpenML datasets.

To address this problem, we introduce ElTab, an Elastically Looped Tabular Transformer, whose recurrence depth can be adjusted to the computational budget available at inference time. At each training step, ElTab supervises both the full-depth output and one randomly sampled shallower exit, and distills the full-depth prediction into that exit. Thus, ElTab learns to predict after any loop, saving compute proportional to the context size for each skipped loop. To summarize, we make the following contributions:

  • We introduce ElTab, an elastically looped tabular foundation model that supports 6 inference budgets without retraining.
  • We propose an elastic-depth training objective that combines early-exit supervision with self-distillation.
  • We evaluate ElTab on 30 OpenML classification benchmarks across 6 inference budget, showing that it matches an ensemble of 6 depth-specific looped models while reducing the training cost by 57%. It matches the predictive performance of a

(a) A single ElTab model matches the oracle at every budget

Figure

(b) ElTab needs 58% less training energy (kWh)

● ElTab (one model) ● Fixed-depth: random training depth ● Fixed-depth: oracle training depth

Figure 1: ElTab matches six budget-specific models, cutting training energy consumption by more than half. (a) Per-dataset AUC-ROC on 30 OpenML datasets at each inference budget. Fixed-depth looped models are budget-specific, because their depth is set at training time, before the inference budget is known. This depth can be chosen at random (gray) or, as an idealized upper bound, by an oracle that knows the budget in advance (orange). A single ElTab model (blue), trained without knowing the budget, matches the oracle at every budget. (b) Estimated GPU energy for full training on one NVIDIA A100. Covering all six budgets with budget-specific models requires training six models (gray segments), which consume 60.6 kWh in total. A single ElTab model covers the same budgets with 25.7 kWh.

12-layer TabPFN-style baseline while using 25% fewer inference FLOPs.

  • We perform a centered kernel alignment study showing that elastic training makes latent representations similar across depths, demonstrating its robustness to truncation.