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

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

Pengxiang Cai, Zihao Gao, Wanchen Lian, Guocong Li, Jintai ChenNeurIPS 2026

TL;DR

Large Language Models (LLMs) write poetry and solve calculus, yet routinely lose to decades-old decision trees on basic spreadsheet predictions. The authors introduce Permutation Relative Policy Optimization (PRPO)—a reinforcement learning strategy that teaches LLMs a fundamental truth about tables: shuffling the columns doesn't change the meaning of a row. The resulting 8B-parameter model, TabXLLM, not only rivals specialized tabular heavyweights like XGBoost and TabPFN, but crushes massive 685B reasoning LLMs while keeping its reasoning completely transparent.

What Problem Does This Paper Address?

Tabular prediction—predicting outcomes from rows and columns—is the workhorse of healthcare, finance, and business. Here, gradient-boosted decision trees (like XGBoost and CatBoost) and specialized tabular neural networks (like TabPFN) reign supreme. However, these specialized models usually require task-specific training data, don't transfer knowledge across unrelated tables, and act like black boxes.

LLMs should be great at this: they come pre-loaded with vast world knowledge for zero-shot predictions and can explain their logic step-by-step. Yet, they fall flat on tables due to a structure gap. Text is sequential; tables are not. Furthermore, when researchers try to boost LLM tabular reasoning using Reinforcement Learning (RL) techniques like Group Relative Policy Optimization (GRPO—the engine behind DeepSeek-R1), they hit a sparse-reward wall. Without step-by-step guidance on how to read a table, an LLM mostly guesses wrong, receives zero reward, and fails to learn. Even the 685B DeepSeek-R1 model manages only ~57% accuracy on binary tabular tasks.

Methods

To bridge this structure gap, the authors build TabXLLM (initialized from Qwen3-8B-Base) in two stages:

  1. Tabular Serialization (Standard): Because LLMs read text, each row is translated into simple sentences using a template (e.g., "The Age is 25. The City is NY.") and paired with a prediction question.
  2. Permutation Relative Policy Optimization / PRPO (Novel): Standard GRPO generates multiple answers for a single prompt and rewards the model based on which answers beat the group average. PRPO injects a tabular structural prior—column-permutation invariance—directly into this loop.
Overview of the PRPO method showing column permutations, rollouts, and two-level advantage estimation.

For every table row, PRPO shuffles the column order $m$ times before turning them into text prompts. For each shuffled version, the LLM generates $G$ candidate reasoning chains and final answers, which are scored against ground-truth labels (exact match for classification; relative error thresholds for regression).

Crucially, PRPO computes a two-level advantage:

  • Intra-permutation advantage: How good is an answer compared to other rollouts from the exact same column order?
  • Inter-permutation advantage: How good is an answer when pooled across all shuffled variants of that row?

Blending these local and global signals turns sparse, brittle feedback into dense, stable learning signals, forcing the LLM to care about feature relationships rather than sentence order.

Datasets

The authors curated a verifiable-reward RL dataset from 139 OpenML datasets (103 classification, 36 regression) spanning medicine, finance, software, education, business, and science. They split this into a two-stage evaluation:

  • Stage 1 (Full Supervision): 50 classification and 15 regression datasets where models train on the training split and evaluate on the test split.
  • Stage 2 (Cross-Dataset Generalization): Using the remaining 53 classification and 21 regression unseen datasets, they introduce two new benchmarks:
  • ZeroTabBench: Pure zero-shot transfer—predicting on new tables with zero target-task examples.
  • FewTabBench: Inference-only adaptation—providing 32 labeled rows in the prompt as in-context examples without updating any model weights.

Key Insights and Ideas

  • Shuffling alone isn't the magic; two-level comparison is. In ablations under an identical compute budget (20 rollouts per sample), simply training standard GRPO on randomly shuffled columns barely moved the needle. Combining both intra- and inter-permutation advantages was essential to unlock the big accuracy jumps.
  • Structure beats raw scale. Scaling Qwen3 from 8B up to 235B did not improve 32-shot tabular classification. Meanwhile, an 8B model post-trained with tabular priors easily beat 235B and 685B giants. General reasoning ability doesn't automatically translate to structured data.
  • Zero-shot priors buy you free data. On unseen classification tasks, zero-shot TabXLLM matched the performance of XGBoost trained on 26 labeled samples and TabPFN trained on 34 samples—making it immediately useful in data-scarce domains.
  • Plug-and-play recipe. Applying PRPO to Llama-3.1-8B, Mistral-7B, and DeepSeek-distilled Qwen models consistently boosted performance across the board.

Key Results

  • Crushing Giant LLMs: Across seven domains, TabXLLM-8B substantially outperforms general-purpose and reasoning LLMs, including up to a 53.17% improvement over DeepSeek-R1 (685B). On ZeroTabBench classification, its zero-shot accuracy (0.7021) beats the best 32-shot general-purpose LLM by 9.11 percentage points.
Cross-domain performance across seven domains comparing TabXLLM-8B against general-purpose and reasoning LLMs.
  • Zero-Shot vs. Supervised Baselines: Without seeing a single target example, TabXLLM's zero-shot classification accuracy (0.7021) already edges out 32-shot supervised TabPFN (0.6974), and its zero-shot regression Normalized Mean Absolute Error / NMAE (0.1614, lower is better) beats 32-shot XGBoost (0.1744).
  • Few-Shot State-of-the-Art: Given 32 in-context examples on FewTabBench (with zero gradient updates), TabXLLM hits 0.7542 accuracy and 0.1110 NMAE—beating every 32-shot fitted baseline including CatBoost (0.7396 / 0.1187), LightGBM (0.7312 / 0.1246), XGBoost (0.7219 / 0.1744), and TabPFN (0.6974 / 0.1119).
  • Competitive Full Supervision: When fully fine-tuned, TabXLLM achieves the highest mean classification accuracy (0.8436, edging out TabPFN's 0.8413 and CatBoost's 0.8398) and competitive regression NMAE (0.1499, beating XGBoost's 0.1682 though trailing TabPFN's 0.1236).

Limitations and Future Work

While the main text does not include a dedicated "Limitations" section, two trade-offs are apparent from the results:

  • Full-Supervision Regression Gap: Under full supervision, specialized models like TabPFN (0.1236 NMAE) and CatBoost (0.1458 NMAE) still hold an edge over TabXLLM (0.1499 NMAE) on continuous number prediction, and TabPFN requires only 7 samples to match TabXLLM's zero-shot regression baseline.
  • Future Directions: The authors release their 139-dataset verifiable-reward RL corpus, code, and weights as a foundation for future research into injecting structural priors into LLM post-training.

Summary updated

BibTeX
@inproceedings{cai2026tabxllm,
  author = {Pengxiang Cai and Zihao Gao and Wanchen Lian and Guocong Li and Jintai Chen},
  title = {{TabXLLM: Unlocking Zero- and Few-Shot Tabular Prediction in LLMs via Structural-Prior Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pTunYUdPGz},
}
Figure