Chiosa
Machine Learning

Tabular transformers can replace half their blocks with low classification loss

Tabular Foundation Models Are Effectively Shallow · arXiv:2610.13253

3 min
Updated
Per-block Attention Entropy. Normalized attention entropy (percentage of maximum ln⁡S) for three representative TFMs (on MIMIC-III and Higgs) vs. Qwen3-4B. While tabular models attend near-uniformly…
Per-block Attention Entropy. Normalized attention entropy (percentage of maximum ln⁡S) for three representative TFMs (on MIMIC-III and Higgs) vs. Qwen3-4B. While tabular models attend near-uniformly to all tokens, Qwen3-4B displays more peaked attention.Figure 3 · Tabular Foundation Models Are Effectively Shallow · Irene Cannistraci and Julia E. Vogt · CC BY 4.0

In plain words

This paper introduces a way to shorten tabular prediction models after they have been trained.

It learns a simple, label-free translator from the model’s internal signals, uses it to skip a consecutive group of transformer blocks, and leaves the remaining blocks and original prediction head unchanged.

Across eight models and 171 classification datasets, replacing half the blocks changed AUROC, a measure of ranking positive cases above negative ones, by at most 0.005 on average. One-block compression was less reliable, especially for regression and some architectures.

The research

Deep tabular foundation models can solve new tasks without additional training, but their transformer stacks consume memory and inference computation while simpler tree models remain competitive.

The concrete question is whether much of that depth can be removed without losing the model’s predictive behavior.

A label-free affine translator replaces half of a tabular transformer’s blocks while keeping its original head and nearly preserving classification performance.

The authors fit the map using unlabeled calibration activations and choose the window whose output probabilities most closely match the full model.

Comparing each compressed model with its own full version, half-depth compression reduced mean AUROC by 0.001 to 0.005 and median loss by at most 0.002 across available runs and three seeds.

An identity map that simply dropped the blocks collapsed performance toward chance for most models, while a supervised early-exit classifier lost about 0.02 AUROC and the translator matched or beat it in 81% of 2,664 configurations.

These controls support the interpretation that the translator approximates useful skipped computation.

The strongest one-block setting was not reliable for regression: most regressors lost substantially more R² than at half depth, and one-block-at-a-time tests do not establish that all blocks can be removed together. For very wide dual-axis datasets, translator overhead can outweigh removed parameters.

The native-shallow comparison used only a 1.4-million-parameter nanoTabPFN proxy, so production-scale parity remains untested.

What the evidence shows

  • The depth question

    The paper introduces a post-training compression method for in-context-learning tabular foundation models. These models predict on a new tabular task without additional task-specific training, but their deep transformer stacks use substantial memory and computation.

    The method asks whether contiguous groups of blocks are computationally redundant while preserving the model’s original prediction behavior, rather than retraining a new task-specific model.

  • A translator for skipped blocks

    The method learns a closed-form affine translator from the hidden state before a skipped window to the state after it, using unlabeled calibration activations and ridge regression. The remaining blocks and original prediction head stay in place.

    For classification, candidate windows are selected by which one keeps the compressed model’s output probabilities closest to the full model’s on calibration data, so selection follows final prediction behavior.

  • Where computation remains

    To locate redundancy, the authors replace one block at a time and measure AUROC, which indicates how well predictions rank positive cases above negative cases. Across eight clinical datasets and three seeds, every one-block intervention in single-axis models stayed within 0.007 AUROC of the full model. Dual-axis models had one critical exception each: block 0 in TabPFNv2 and block 3 in LimiX-16M.

  • Half depth preserves ranking

    That diagnostic leads to the main test: replace half the transformer blocks and compare with each model’s own full version. Across 163 suite classification datasets, mean AUROC drops were 0.001 to 0.005 and median losses were at most 0.002, averaged over available model runs and three seeds.

    In the shared suite ranking, half-depth TabFM ranked ahead of tuned LightGBM and XGBoost, but this is a protocol-specific comparison.

  • Controls expose the mechanism

    The controls clarify why preservation occurs. Replacing the same skipped window with an identity map made performance collapse toward chance for most models, so the blocks were not simply inactive.

    A supervised early-exit logistic classifier, which discarded later blocks and the original head, lost about 0.02 AUROC at every depth; the translator matched or beat it in 81% of 2,664 configurations. The evidence supports approximation of the representation expected by the retained head.

Deep

Next paperBranching diffusion cuts the work of long text generation