TabGemma: Text-Based Tabular ICL via LLM using Continued Pretraining and Retrieval
G\"unther Schindler, Maximilian Schambach, Michael Medek, Sam Thelin

TL;DR
TabGemma introduces a novel approach for tabular prediction using large language models, combining continued pretraining and retrieval to improve classification performance on semantic datasets.
Contribution
It presents a schema-agnostic in-context learning method with numeric canonicalization, continued pretraining, and retrieval, achieving state-of-the-art results in tabular classification tasks.
Findings
State-of-the-art classification accuracy on benchmarks
Improved performance with more context rows
Effective handling of mixed text, numeric, and categorical data
Abstract
We study LLMs for tabular prediction with mixed text, numeric, and categorical fields. We introduce TabGemma, a schema-agnostic in-context learner that treats rows as sequences and tackles two practical hurdles when adapting pretrained LLMs for tabular predictions: unstable numeric tokenization and limited context size. We propose to canonicalize numbers via signed scientific notation and continue pretraining of a 12B Gemma 3 model with a target imputation objective using a large-scale real world dataset. For inference, we use a compact n-gram-based retrieval to select informative exemplars that fit within a 128k-token window. On semantically rich benchmarks, TabGemma establishes a new state of the art on classification across low- and high-data regimes and improves monotonically with more context rows. For regression, it is competitive at small sample sizes but trails conventional…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Computational and Text Analysis Methods · Machine Learning in Healthcare
