NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sam Thelin

Systems, Applications & Products in Data Processing (United States) · SAP
6 previous affiliations
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sam Thelin focuses on tabular foundation models, in-context learning, and the integration of large language models with structured data. His work spans the development of semantics-aware architectures for heterogeneous tables to the optimization of attention mechanisms for tabular representation. Recently, he investigates flexible encoder-decoder frameworks and hardware-aware benchmarking for scalable tabular processing.

Research Trajectory

Thelin’s early work addresses the challenge of applying self-supervised learning techniques—highly successful in natural language and computer vision—to the diverse and structurally rigid domain of tabular data. He participated in the development of PORTAL: Scalable Tabular Foundation Models via Content-Specific Tokenization in 2024. This framework was designed to handle various data modalities without requiring extensive data cleaning or structural preprocessing, which traditionally limits the scalability of pre-training datasets. By pre-training one row at a time, the approach scales effectively on online-collected datasets and can be fine-tuned for complex classification and regression tasks. This work contributes to the broader research area of Foundation Models for Heterogeneous Tabular Data and touches upon the direction of Continuous Number Representations for Language Models.

In 2025, Thelin collaborated on adapting large language models for tabular prediction through TabGemma: Text-Based Tabular ICL via LLM using Continued Pretraining and Retrieval. This project treats table rows as text sequences and leverages retrieval-augmented in-context learning to process structured information. By addressing the "numeric bottleneck" through the use of scientific notation and scaling the context window to 128k tokens, the model achieves strong results on semantically rich classification tasks, outperforming heavily tuned AutoML frameworks. This effort advances the research direction of Dynamic Retrieval for In-Context Learning.

Building on the intersection of language models and structured data, he directed the development of ConTextTab: A Semantics-Aware Tabular In-Context Learner. This architecture bridges the gap between efficient, table-native models and semantically aware language models by utilizing specialized embeddings for text, dates, and numbers. Pretrained on millions of real-world tables, ConTextTab maintains competitiveness on standard benchmarks while excelling on semantically rich datasets. This project aligns with areas such as Grounding Classification Labels in Semantic Spaces and the broader direction of Shifting from Static Benchmarks to Dynamic Evaluation.

Continuing to refine tabular architectures in 2026, Thelin contributed to FlexTab: Towards a Flexible Encoder-Decoder Architecture for Tabular In-Context Learning. This work introduces an encoder-decoder setup that decouples feature representation from specific prediction targets. By generating target-agnostic row embeddings, a single pretrained backbone can support diverse downstream tasks, including classification, regression, and entity matching, particularly on datasets with heavy semantic or textual content.

Most recently, he led research into the underlying computational primitives of these models in Benchmarking Attention for Tabular Foundation Models. Tabular foundation models often rely on a unique two-dimensional attention pattern that alternates between rows and columns, breaking the assumptions of standard kernels optimized for language models. By benchmarking various attention backends on high-performance hardware, this work demonstrates that the optimal backend depends entirely on the direction of attention: cuDNN-based scaled dot-product attention favors columns, while FlashAttention-3 dominates for rows by eliminating expensive memory copies. This hardware-aware optimization contributes to the ongoing evolution of the research area of Permutation Invariant Transformers for Tabular Data.

Current Directions

The most recent papers in the evidence address the flexibility and computational efficiency of tabular foundation models. Current work investigates target-agnostic architectures that can generalize across diverse predictive tasks using a single pretrained backbone, moving away from task-specific feature representations. Simultaneously, there is a strong focus on hardware-aware optimization, specifically analyzing and benchmarking two-dimensional attention patterns to improve the training and inference efficiency of table-native models on modern accelerators.

Profile updated

See something wrong? Report a mistake