MCP
ST

Sam Thelin

14 papers in the library · Same-name authors told apart using DBLP

Papers

14
Benchmarking Attention for Tabular Foundation Models
Maximilian SchambachClemens BiehlSam Thelin
This paper benchmarks attention for tabular in-context learners, whose alternating row and column attention over 2D latent sequences differs from 1D language-model attention. The authors build a reproducible setup and measure forward and backward throughput across realistic tabular shapes, testing Torch SDPA, FlashAttention-2/3/4, and inference-only vLLM and SageAttention on A100, H100, and B200 GPUs. They find that optimal backend choice differs between column and row attention and varies with hardware and model specifics, forming a foundation for future table-native attention improvements.
arXivarXiv · · September 25, 2026
0
0
FlexTab: A Flexible Encoder-Decoder Architecture for In-Context Learning Across Diverse Tabular Tasks
Marek PolewczykMaximilian SchambachMarco SpinaciSam ThelinJohannes Höhne
FlexTab is a flexible encoder-decoder architecture for in-context learning on tabular data, pairing a single task-agnostic encoder with task-specific decoders. Unlike prior tabular in-context learners that entangle feature representations with a prediction target, FlexTab produces target-agnostic row embeddings usable across diverse tasks. Trained on tasks from real-world unlabeled tables, it achieves state-of-the-art results on classification, regression, anomaly detection, entity matching, and retrieval, and remains competitive on relational entity classification, demonstrating its effectiveness as a general-purpose backbone.
arXivarXiv · · June 29, 2026
0
0
Benchmarking Attention for Tabular Foundation Models
Maximilian SchambachClemens BiehlSam Thelin
This paper builds a reproducible benchmark for attention in tabular foundation models like TabPFN, Mitra, and ConTextTab, whose alternating row and column attention differs sharply from the one-dimensional setting studied by efficient-attention work. Measuring forward and backward throughput on realistic tabular shapes across three GPU generations (A100, H100, B200), it compares Torch SDPA (efficient and cuDNN), FlashAttention-2/3/4, and the inference-only backends vLLM and SageAttention. The central finding is that no single backend wins: the best choice differs between column and row attention and depends on hardware and model specifics. GPU-tailored FlashAttention is overall best but is sometimes beaten by cuDNN for column attention at longer sequences, with cross-over points depending on head dimension, while SageAttention performs well for row attention and large sequences beyond 16k rows. The self-contained code is openly released.
OpenReviewOpenReview · · April 30, 2026
0
FlexTab: Towards a Flexible Encoder-Decoder Architecture for Tabular In-Context Learning
Marek PolewczykMaximilian SchambachMarco SpinaciSam ThelinJohannes Höhne
FlexTab is a flexible encoder-decoder architecture for in-context learning on tabular data. A single, task-agnostic encoder produces target-agnostic row embeddings that can be reused across multiple downstream tasks, unlike existing learners that entangle feature representations with a specific prediction target. Both the encoder and task-specific decoders are trained on large amounts of real-world, unlabeled tables. Evaluated on classification, regression, and entity matching, FlexTab achieves state-of-the-art or competitive performance, demonstrating that one shared encoder with tailored decoders forms an effective general-purpose tabular backbone.
OpenReviewOpenReview · April 30, 2026
0
0
FlexTab: A Flexible Encoder-Decoder Architecture for In-Context Learning Across Diverse Tabular Tasks
Marek PolewczykMaximilian SchambachMarco SpinaciSam ThelinJohannes Höhne
We introduce FlexTab, a flexible encoder-decoder architecture for in-context learning on tabular data that pairs a single, task-agnostic encoder with a suite of task-specific decoders. Unlike existing tabular in-context learners, which entangle feature representations with a specific prediction target, our design produces target-agnostic row embeddings that can be leveraged across a wide range of downstream tasks within a table-native in-context learning setup. We demonstrate this flexibility on seven distinct problems: classification, regression, anomaly detection, clustering, entity matching, retrieval, and entity classification in relational databases. Both the encoder and the task-specific decoders are trained on tasks generated from a large corpus of real-world, unlabeled tables. FlexTab achieves state-of-the-art performance on classification, regression, anomaly detection, entity matching, and retrieval, while remaining competitive with specialized models on entity classification in a relational setting. These results demonstrate that a single shared encoder, paired with task-specific decoders, can serve as an effective general-purpose backbone for diverse tabular prediction problems. The inference code and checkpoints are publicly available at: https://github.com/SAP-samples/flextab
OpenReviewOpenReview · · April 27, 2026
0
Benchmarking Attention for Tabular Foundation Models
Maximilian SchambachClemens BiehlSam Thelin
This paper benchmarks attention backends for tabular foundation models. It highlights how tabular in-context learners, such as TabPFN, differ from one-dimensional language attention by relying on alternating row and column attention over 2D latent sequences, with row attention spanning longer sequences. Focusing on realistic tabular shapes on an H100 GPU, the authors measure throughput across Torch SDPA, FlashAttention-2, 3, and 4, finding optimal backends differ: cuDNN-based SDPA excels for column attention, while FlashAttention-3 dominates row attention due to its more compact stride layout, avoiding costly contiguous tensor copies.
OpenReviewOpenReview · · April 20, 2026
0
TabGemma: Text-Based Tabular ICL via LLM using Continued Pretraining and Retrieval
Günther SchindlerMaximilian SchambachMichael MedekSam Thelin
TabGemma is a schema-agnostic in-context learner for tabular prediction with mixed fields. It addresses unstable numeric tokenization via signed scientific notation and continues pretraining a 12B Gemma 3 model with a target imputation objective on a large real-world dataset. At inference, compact n-gram-based retrieval selects informative exemplars fitting a 128k-token window. On semantically rich benchmarks, TabGemma achieves state-of-the-art classification in low- and high-data regimes, improving monotonically with more context rows, while regression is competitive only at small sample sizes.
arXivarXiv · · November 5, 2025
0
5
TabGemma: Text-Based Tabular ICL via LLM using Continued Pretraining and Retrieval
Günther SchindlerMaximilian SchambachMichael MedekSam Thelin
TabGemma, a schema-agnostic in-context learner, adapts pretrained LLMs to tabular prediction with mixed fields by treating rows as sequences. Its central contributions are canonicalizing numbers via signed scientific notation to stabilize tokenization and continuing pretraining a 12B Gemma 3 model with an imputation objective on large real-world data. Inference uses n-gram-based retrieval to select informative exemplars within a 128k-token window. On semantic benchmarks, TabGemma achieves state-of-the-art classification across data regimes, improving with more context, while regression only competes at small samples.
OpenReviewOpenReview · · October 20, 2025
0
ConTextTab: A Semantics-Aware Tabular In-Context Learner
Marco SpinaciMarek PolewczykMaximilian SchambachSam Thelin
ConTextTab is a table-native in-context learner that integrates semantic understanding and alignment into its architecture. Unlike prior table-native models trained exclusively on synthetic data, ConTextTab uses specialized embeddings for different data modalities and is trained on large-scale real-world tabular data. This design combines the architectural efficiency of table-native models with the deep semantic understanding associated with large language models. The result is competitive performance across a broad set of benchmarks and a new state of the art on the semantically rich CARTE benchmark.
arXivarXiv · · June 12, 2025
0
55
ConTextTab: A Semantics-Aware Tabular In-Context Learner
Marco SpinaciMarek PolewczykMaximilian SchambachSam Thelin
ConTextTab, a table-native tabular in-context learner, integrates semantic understanding and alignment to exploit real-world data semantics that synthetic-only models like TabPFN and TabICL miss, while avoiding the context limits of LLM-based learners like TabuLa-8B. Using modality-specific embeddings and training on large-scale real tabular data, it matches state-of-the-art across benchmarks and achieves new state-of-the-art on the semantically rich CARTE benchmark. Code and checkpoints are publicly available.
OpenReviewOpenReview · · May 19, 2025
0
ConTextTab: A Semantics-Aware Tabular In-Context Learner
Marco SpinaciMarek PolewczykMaximilian SchambachSam Thelin
ConTextTab is a table-native tabular in-context learning model that integrates semantic understanding and alignment. Unlike prior table-native ICL models trained only on synthetic data, ConTextTab uses specialized embeddings for different data modalities and is trained on large-scale real-world tabular data, enabling it to leverage rich semantics and world knowledge. It matches state-of-the-art performance across broad benchmarks and achieves a new standard on the semantically rich CARTE benchmark.
OpenReviewOpenReview · · May 9, 2025
0
PORTAL: Scalable Tabular Foundation Models via Content-Specific Tokenization
Marco SpinaciMarek PolewczykJohannes HoffartMarkus C. KohlerSam ThelinTassilo Klein
PORTAL is a scalable tabular foundation model that uses content-specific tokenization to handle multi-domain data without cleaning or preprocessing. By pre-training on raw online-collected tables one row at a time, it adapts to diverse modalities and matches state-of-the-art supervised methods on classification and regression tasks after fine-tuning, offering a practical advancement for large-scale tabular self-supervised learning.
arXivarXiv · · October 17, 2024
0
18
PORTAL: Scalable Tabular Foundation Models via Content-Specific Tokenization
Marco SpinaciMarek PolewczykJohannes HoffartMarkus C. KohlerSam ThelinTassilo Klein
PORTAL is a self-supervised learning framework for tabular data that eliminates the need for cleaning or preprocessing. It handles diverse modalities across domains by tokenizing content and pre-training one row at a time, enabling scalability on online-collected datasets. Fine-tuning PORTAL matches state-of-the-art methods on complex classification and regression tasks, offering a practical advancement for large-scale tabular self-supervised learning.
OpenReviewOpenReview · · September 20, 2024
0
An algebraic approach to the KZ-functor for rational Cherednik algebras associated with cyclic groups
Sam Thelin
For rational Cherednik algebras associated with cyclic groups, the projective object $P_{\text{KZ}}$ representing the KZ-functor is shown to be isomorphic to the $\Delta$-module arising from the coinvariant algebra, for a specific set of parameter values that generate all others via integral translations. The exact parameters yielding this isomorphism are identified, and the action of the cyclotomic Hecke algebra on $P_{\text{KZ}}$ is determined, providing a complete algebraic description of the KZ-functor in this case.
arXivarXiv · · February 25, 2016
0
Frequent collaborators
Maximilian Schambach (11)
Marek Polewczyk (8)
Marco Spinaci (8)
Clemens Biehl (3)
Johannes Höhne (3)
Günther Schindler (2)
Michael Medek (2)
Johannes Hoffart (2)
Markus C. Kohler (2)
Tassilo Klein (2)