Adapting Linear-Time Architectures for Tabular In-Context Learning
Organizations: ETH Zürich · ELLIS Institute Tübingen · MPI-IS · ETH AI Center
Abstract
Tabular foundation models achieve strong performance by conditioning on labelled examples in context, but softmax attention limits their use on large datasets. Existing linear-time alternatives, however, are mostly causal, and their potential for tabular in-context learning (ICL) remains underexplored. To address this, we (1) revisit causal training setups, (2) compare linear sequence mixers, and (3) investigate their ICL generalisation beyond the pretraining context length. First, we show that the best training setup for causal models resembles next-token prediction. Then, perhaps surprisingly, the most promising linear sequence mixer is causal: DeltaNet outperforms even non-causal linear attention. However, it degrades beyond - the pretraining context length, and existing mitigation strategies such as bidirectionality defer the problem at best. A hidden-state oracle shows that this is not a capacity problem. Instead, our analysis points to an instability in the recurrent state, which drifts in deeper layers of causal models. Since DeltaNet's learned write rates overfit to the pretraining regime, we modulate them with a time-dependent decay schedule intervention to stabilise length generalisation. Finally, re-introducing non-causality by reading out from the final state allows us to closely match a controlled softmax attention baseline on OpenML-CC18 and TabArena.
Figures & tables
| OpenML-CC18 ∗ | TabArena ∗ | ||||
|---|---|---|---|---|---|
| Training setup | Len. | ROC-AUC | ACC | ROC-AUC | ACC |
| Interleaved Multi-Target | 0.8837 | 0.8039 | 0.8038 | 0.8398 | |
| Combined Single-Target | 0.8824 | 0.8020 | 0.8004 | 0.8370 | |
| Interleaved Single-Target | 0.8800 | 0.7980 | 0.8005 | 0.8350 | |
| Combined Multi-Target | 0.8793 | 0.7952 | 0.7978 | 0.8338 | |
| OpenML-CC18 ∗ | TabArena ∗ | |||
| ROC-AUC | ACC | ROC-AUC | ACC | |
| TabPFN v2.5 | 0.8993 | 0.8298 | 0.8383 | 0.8642 |
| TabICLv2 | 0.8971 | 0.8286 | 0.8375 | 0.8631 |
| TabFlex | 0.8859 | 0.8093 | 0.8089 | 0.8463 |
| CatBoost | 0.8833 | 0.8062 | 0.8231 | 0.8562 |
| Softmax Non-Causal | 0.8900 | 0.8166 | 0.8172 | 0.8506 |
| OpenML-CC18 ∗ | TabArena ∗ | |||
|---|---|---|---|---|
| ROC-AUC | ACC | ROC-AUC | ACC | |
| Softmax Non-Causal | 0.8900 | 0.8166 | 0.8172 | 0.8506 |
| Delta-FS + Decay | 0.8884 | 0.8145 | 0.8139 | 0.8468 |
| Delta + Decay (Int-MT) | 0.8873 | 0.8120 | 0.8141 | 0.8459 |
| Delta + Decay | 0.8864 | 0.8091 | 0.8100 | 0.8438 |
| Delta-FS | 0.8874 | 0.8137 | 0.8022 | 0.8352 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Recurrence | Readout |
|---|---|---|
| Linear Attention | ||
| + Kernel | ||
| Linear Attn. Gated | ||
| Delta Rule | ||
| Delta Rule Gated | ||
| Mamba-2 |
| Model | Parameters |
|---|---|
| Softmax Non-Causal | 12,507,210 |
| Delta | 12,489,162 |
| Delta Gated | 12,504,426 |
| Linear Non-Causal | 12,473,482 |
| Linear Gated | 12,567,882 |
| Linear Causal | 12,473,802 |
| Hyperparameter | Value |
|---|---|
| Synthetic prior | TabPFN v1 prior |
| Rows per dataset | 1000 |
| Context/query split | uniformly sampled, min. 64 context rows |
| Input features | uniformly sampled from 2-20 |
| Classes | up to 10 |
| Training budget | 200 epochs, 4000 minibatches/epoch |
| Dataset | Rows | DeltaNet | Hidden-State Oracle | Softmax Non-Causal | Linear Non-Causal |
|---|---|---|---|---|---|
| GiveMeSomeCredit | 150,000 | 0.8446 | 0.8615 | 0.8559 | 0.8546 |
| Airline satisfaction | 129,880 | 0.9314 | 0.9931 | 0.9765 | 0.9486 |
| SDSS17 | 78,053 | 0.9851 | 0.9938 | 0.9915 | 0.9889 |
| APSFailure | 76,000 | 0.9828 | 0.9862 | 0.9845 | 0.9816 |
| Diabetes130US | 71,518 | 0.5587 | 0.6165 | 0.5887 | 0.5418 |
| Mean | 0.8605 | 0.8902 | 0.8794 | 0.8631 |
| Mean | Adjusted (ROC-AUC above diagonal, ACC below) | |||||||||||||
| # | Model | AUC | ACC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 1 | Softmax Non-Causal | 0.8900 | 0.8166 | – | 1.00 | .60 | 1.00 | 1.00 | 1.00 | .43 | .17 | .25 | .25 | .05 |
| 2 | Delta-FS + Decay | 0.8884 | 0.8145 | 1.00 | – | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | .21 | .27 | .27 | .77 |
| 3 | Delta (Int-MT) | 0.8880 | 0.8098 | .51 | 1.00 | – | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | .99 | .99 | 1.00 |
| 4 | Delta-FS | 0.8874 | 0.8137 | 1.00 | 1.00 | .04 | – | 1.00 | 1.00 | 1.00 | 1.00 | .99 | .99 | 1.00 |
| 5 | Delta-FS (Subs. 3K) | 0.8874 | 0.8137 | 1.00 | 1.00 | .04 | 1.00 | – | 1.00 | 1.00 | 1.00 | .99 | .99 | 1.00 |
| Mean | Adjusted (ROC-AUC above diagonal, ACC below) | |||||||||||||
| # | Model | AUC | ACC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 1 | Softmax Non-Causal | 0.8172 | 0.8506 | – | 1.00 | .79 | .03 | .01 | .01 | .001 | .001 | .001 | .08 | .001 |
| 2 | Delta + Decay (Int-MT) | 0.8141 | 0.8459 | .74 | – | 1.00 | .74 | .01 | .001 | .001 | .001 | .01 | .07 | .001 |
| 3 | Delta-FS + Decay | 0.8139 | 0.8468 | 1.00 | 1.00 | – | .01 | .01 | .001 | .001 | .001 | .001 | 1.00 | .001 |
| 4 | Delta-FS (Subs. 3K) | 0.8123 | 0.8456 | 1.00 | 1.00 | .60 | – | .55 | .01 | .01 | .001 | .43 | 1.00 | .001 |
| 5 | Delta + Decay | 0.8100 | 0.8438 | .38 | .60 | .12 | 1.00 | – | 1.00 | .11 | .01 | 1.00 | 1.00 | .001 |
| Model | 1k | 8k | 32k | 128k |
|---|---|---|---|---|
| DeltaNet, two-axis | 0.7808 | 0.7813 | 0.7592 | 0.7059 |
| DeltaNet, single-axis | 0.7791 | 0.7806 | 0.7719 | 0.7569 |
| Causal Linear Attention, two-axis | 0.7777 | 0.7863 | 0.7852 | 0.7812 |
| Causal Linear Attention, single-axis | 0.7775 | 0.7805 | 0.7781 | 0.7723 |
Tabular ICL
Tabular in-context learning (ICL) uses examples in a table to adapt pretrained models to prediction tasks without task-specific weight updates.
See all 108 papers