TabXLLM: Unlocking Zero- and Few-Shot Tabular Prediction in LLMs via Structural-Prior Reinforcement Learning

Official NeurIPS logo

NeurIPS 2026


Pengxiang CaiZihao GaoWanchen LianGuocong LiJintai Chen†
HKUST(GZ) official logo

AI Thrust, Information Hub
The Hong Kong University of Science and Technology (Guangzhou)

† Corresponding author: jintaiCHEN@hkust-gz.edu.cn

Abstract

TL;DR: An 8B language model learns the structural priors of tables through PRPO, enabling competitive zero- and few-shot tabular prediction.

TabXLLM overview: PRPO training, win–tie–loss comparisons, and cross-domain performance
Overview of TabXLLM. (a) Structural-prior reinforcement learning with label-preserving column permutations. (b) Win–tie–loss comparisons across prediction settings. (c) Cross-domain performance.

Tabular prediction has long been dominated by gradient-boosted decision trees and specialized deep tabular models, while large language models (LLMs) remain difficult to make competitive despite their cross-task adaptability and transparent reasoning traces. We address this gap by incorporating tabular structural priors into LLM post-training. Specifically, we propose Permutation Relative Policy Optimization (PRPO), which operationalizes column-permutation invariance through label-preserving column permutations and two-level advantage estimation. This design converts sparse outcome rewards into denser and more stable optimization signals. Using PRPO, we develop TabXLLM, an 8B LLM for tabular prediction. Extensive experiments on 139 OpenML datasets show that TabXLLM reaches a competitive regime against strong specialized tabular baselines. It achieves strong fully supervised performance, dominates zero-shot settings, and performs on par with 32-shot strong baselines. Moreover, it substantially outperforms much larger general-purpose and reasoning LLMs, including up to a 53.17% improvement over DeepSeek-R1 (685B). These results show that structural-prior RL post-training is an effective route for making LLMs competitive in tabular prediction.

Tabular Prediction Results

An 8B language model, competitive with specialized tabular predictors. Explore the paper’s results across full supervision and cross-dataset transfer.

Full supervision

Fully supervised classification and regression

50 classification and 15 regression datasets · Mean results

65 datasets
Fully supervised classification and regression. 50 classification and 15 regression datasets · Mean results
TabXLLM-8BOurs0.84360.1499
XGBoost0.82340.1682
LightGBM0.83210.1607
CatBoost0.83980.1458
TabPFN v20.84130.1236

Cross-dataset generalization

Zero- and few-shot classification

53 unseen classification datasets · Mean accuracy

53 datasets
Zero- and few-shot classification. 53 unseen classification datasets · Mean accuracy
TabXLLM-8BOurs0.70210.7542
Qwen2.5-7B0.58040.6012
Qwen2.5-32B0.59300.6042
Qwen3-8B0.57650.6110
Qwen3-32B0.55990.6020
Qwen3-235B0.58700.5973
DeepSeek-R1-685B0.53130.5895
DeepSeek-R1-0528-685B0.55190.5943
TabLLM—0.7246
Tabula-8B0.64680.7165
XGBoost—0.7219
LightGBM—0.7312
CatBoost—0.7396
TabPFN v2—0.6974

Cross-dataset generalization

Zero- and few-shot regression

21 unseen regression datasets · Mean NMAE

21 datasets
Zero- and few-shot regression. 21 unseen regression datasets · Mean NMAE
TabXLLM-8BOurs0.16140.1110
Qwen2.5-7B0.20210.1961
Qwen2.5-32B0.31460.2754
Qwen3-8B0.24090.2173
Qwen3-32B0.23700.2060
Qwen3-235B0.25440.2190
DeepSeek-R1-685B0.23290.2247
DeepSeek-R1-0528-685B2.34351.0681
XGBoost—0.1744
LightGBM—0.1246
CatBoost—0.1187
TabPFN v2—0.1119

Reading the results. Higher accuracy and lower NMAE are better. TabXLLM and prompted LLMs use 32 in-context examples without parameter updates; TabLLM and specialized tabular baselines are fitted on 32 labeled samples. A dash denotes an unreported result.

Permutation Relative Policy Optimization

Column order changes how a table is serialized, but it should not change the prediction. Permutation Relative Policy Optimization (PRPO) turns this structural prior into a learning signal: generate label-preserving column permutations, sample multiple reasoning outputs for each, and compute advantages both within and across permutation groups.

PRPO framework with column permutations, model rollouts, rule-based rewards, and two-level advantage estimation
Overview of PRPO. Intra-permutation advantages capture local comparisons; inter-permutation advantages aggregate feedback across all permutations. Their combination guides the policy update.

1. Permute. Reorder feature–value pairs while preserving the target label.

2. Rollout. Generate candidate predictions and score them with verifiable outcome rewards.

3. Optimize. Combine local and global advantages to produce denser, more stable optimization signals.

Per-Dataset Comparison

On the 53 classification tasks, the top row compares zero-shot TabXLLM with baselines trained on 32 labeled examples. The bottom row provides TabXLLM with 32 in-context examples: its win/tie/loss counts reach 31/7/15 against XGBoost and 35/3/15 against TabPFN.

Per-dataset classification comparisons of TabXLLM with TabLLM, XGBoost, and TabPFN
Per-dataset classification results. Each point is a dataset. Top: zero-shot TabXLLM versus supervised 32-shot baselines. Bottom: TabXLLM with 32 in-context examples versus the same supervised 32-shot baselines.

Datasets and Evaluation

We collect 139 public OpenML datasets: 103 classification datasets and 36 regression datasets, covering a broad range of real-world domains. Tabular rows are serialized into feature–value descriptions and paired with task-specific prediction questions.

Fully supervised

50 classification + 15 regression tasks. Train and evaluate on the respective datasets.

ZeroTabBench

53 classification + 21 regression tasks. Transfer to unseen datasets without target-task examples.

FewTabBench

53 classification + 21 regression tasks. Provide 32 labeled observations as in-context demonstrations, with no parameter updates.

ZeroTabBench and FewTabBench share the same held-out tasks; neither uses target-task training or validation data for model development.

Domain distribution of the 139 OpenML datasets
Dataset coverage. The benchmark spans diverse real-world application domains.

Explore the dataset on Hugging Face ↗

Citation

If you find TabXLLM useful in your research, please cite our paper.

@article{cai2025tabxllm,
  title={TabXLLM: Unlocking Zero- and Few-Shot Tabular Prediction in LLMs via Structural-Prior Reinforcement Learning},
  author={Cai, Pengxiang and Gao, Zihao and Lian, Wanchen and Li, Guocong and Chen, Jintai},
  journal={arXiv preprint arXiv:2510.17385},
  year={2025}
}