atlas

Research map / Architectures and efficiency / Attention and transformers

TabFlex: Scaling Tabular Learning to Millions with Linear Attention

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Long-context KV and memory attention · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Replaces TabPFN's softmax attention with non-causal linear attention to scale in-context tabular classification to millions of samples and thousands of features, via three specialized models selected by dataset shape.

Problem

TabPFN's quadratic softmax attention limits its use on large, high-dimensional, or many-class tabular datasets, hurting both pretraining and inference scalability.

Approach

Empirically shows that causal models (SSMs/Mamba) hurt in-context learning for tabular data while non-causal linear attention keeps accuracy, then builds TabFlex with linear attention and three checkpoints (S100, L100, H1K) chosen by a conditional model-selection rule.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace softmax attention with non-causal linear attention (ablation)TabPFN · 57 real tabular datasetsAccuracy and runtimeHelped
Use causal attention instead of non-causal attention (ablation)TabPFN · Synthetic tabular ICL datasetsClassification accuracy as training samples increaseHurt
Replace Transformer layers with Mamba layers (ablation)TabPFN · 150 validation datasetsMean AUCHurt
Replace linear attention with sliding-window attention (ablation)TabFlex · Poker-HandPerformance: 0.48 -> 0.84Hurt
Replace linear attention with sliding-window attention (ablation)TabFlex · AirlinesPerformance: 0.48 -> 0.64Hurt
Replace linear attention with sliding-window attention (ablation)TabFlex · HiggsPerformance: 0.39 -> 0.76Hurt
Reduce feature dimensions using PCA, SVD, or random projection (ablation)TabFlex · Datasets with more than 100 featuresAUC: 10% to reduce latency more than 2 timesNo clear effect
Use 20% of training data via sampling (ablation)TabFlex · Datasets with more than 1000 instances and fewer than 100 featuresClassification performance: 20%No clear effect
Use non-causal linear attention rather than softmax attention (ablation)TabPFN · Tabular classificationRuntimeHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenML tabular datasets TabZilla hard benchmark MNIST Fashion-MNIST CIFAR-10

Benchmarks: OpenML 98 simple datasets 57 small datasets (TabPFN Table 2 set) TabZilla hard benchmark (36 datasets) poker-hand regression datasets

Metrics: AUC runtime per 1000 instances latency

Baselines: TabPFN XGBoost CatBoost LightGBM RandomForest TuneTables HyperFast SAINT FTTransformer ResNet

Builds on: TabPFN linear attention Mamba FlashAttention TuneTables

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy