Semantic Priors Meet Statistical Evidence: Robust Forests for Few-Shot Tabular Learning

Xuanliang Zhang, Dingzirui Wang, Keyan Xu, Qingfu Zhu, Wanxiang CheNeurIPS 2026

TL;DR

Decision trees usually dominate tabular data, unless you only have a handful of labeled rows—then they overfit to noise. Giving an LLM your column names helps fill the gap with common sense, until messy metadata sends the LLM chasing ghosts. LEAF solves this by treating an LLM’s advice not as gospel, but as a flexible "prior" that gets mathematically reality-checked against actual data and auxiliary teacher models—giving you a fast, standalone decision forest at deployment with zero LLM calls required.

What Problem Does This Paper Address?

If you have 10,000 rows of spreadsheet data, XGBoost or Random Forests are practically undefeated. Drop that down to 4, 8, or 16 labeled rows ("few-shot" learning), and conventional trees fall apart: split calculations get hijacked by accidental patterns, and leaf predictions suffer from massive variance.

Recently, researchers started bringing in Large Language Models (LLMs) to read column names and task descriptions, engineering clever features out of domain knowledge. The catch? LLMs are brittle. If column names are cryptic or missing, LLM-engineered features can amplify spurious correlations. Furthermore, LLMs are notoriously bad at pinpointing exact numerical thresholds. We need a way to harvest an LLM’s semantic common sense when it’s helpful, while mathematically overriding it when the actual numbers disagree.

Methods

The authors introduce LEAF (LLM-guided Evidence-Aligned Forests), a framework that uses an LLM and auxiliary "teacher" models strictly as training-time scaffolding to build a better decision forest.

Figure 1: Overview of LEAF. The framework has three stages: (i) Forest Induction Preparation, which builds teacher signals and LLM-augmented features; (ii) Posterior-Guided Split Induction, which combines LLM priors with label, teacher, and structural utilities; and (iii) Hybrid Leaf Prediction, which integrates empirical and teacher-informed estimates for forest prediction.

LEAF operates in three stages:

  1. Preparation: On the small labeled set, LEAF trains a diverse ensemble of standard "teacher" models (Random Forest, XGBoost, and TabPFN) to generate soft predictions across both labeled and unlabeled data. Meanwhile, an LLM (GPT-4o) reads the table metadata and writes deterministic feature-transformation functions to expand the feature space.
  2. Posterior-Guided Split Induction (The Core Novelty): As each tree grows, the LLM ranks candidate splits based on semantic plausibility. Instead of blindly trusting this ranking, LEAF treats it as a Bayesian-style prior and updates it (via a Gibbs-style reweighting rule) using a data-driven utility score. This score blends three signals: supervised gain on the few labeled rows, how well the split separates teacher predictions, and structural stability across unlabeled data. Strong statistical evidence can completely reverse a bad LLM hunch.
  3. Hybrid Leaf Prediction: To prevent wild guesses in leaves with only one or two labeled samples, LEAF uses shrinkage estimation—interpolating between empirical label averages and cached teacher predictions based on how many labeled samples actually reached that leaf.

At inference time, you throw away the LLM and the teachers. You are left with deterministic feature mappings and a lightweight, fast decision forest.

Datasets

No new benchmarks are introduced; the authors evaluate across 16 established public tabular benchmarks under 4-, 8-, and 16-shot regimes (using remaining rows as unlabeled data):

  • 7 Classification datasets: Adult, Blood, Breast-w, Credit-g, CDC Diabetes, Heart, and Gallstone.
  • 9 Regression datasets: Cpu-small, Diamonds, Forest-fires, Housing, Bike, Cultivars, Infrared Thermography Temperature, Wine, and Insurance.

Key Insights and Ideas

  • Treat LLM semantics as calibratable priors, not truth: When the authors stripped away all column names and metadata (semantic anonymization), the previous state-of-the-art LLM-forest method (ForestLLM) flipped 51.0% of its test predictions. Because LEAF anchors splits in statistical and teacher utilities, it suffered 0.0% hard-label flips.
  • Features do the heavy lifting, split priors polish it: Ablation studies show that LLM-generated features provide the largest chunk of performance gain, while node-level split calibration provides an extra boost by aligning semantic intuition with local data statistics.
  • Diverse teachers cover each other’s blind spots: No single teacher model dominates across all tasks and shot counts (e.g., TabPFN shines in 4-shot classification, while boosted trees catch up in regression). Blending them gives the student forest a remarkably steady guiding signal.

Key Results

Evaluated across 10 random seeds per setup against 14 conventional and LLM-based baselines:

  • Classification: LEAF achieves the highest average macro-AUC across all shot regimes (80.0, 78.8, and 79.1 at 4-, 8-, and 16-shot), beating the strongest prior method (ForestLLM) by 1.4 AUC points overall.
  • Regression: LEAF reduces Normalized RMSE by 0.017 on average over ForestLLM (representing 8.7% to 11.2% error reductions across shot settings), winning on 24 out of 27 dataset–shot pairs.
  • Deployment Efficiency: Zero external LLM API calls or heavy teacher forward passes at test time.

Limitations and Future Work

Not discussed in the paper. (Note: Within the provided main text, the authors do not include a dedicated limitations or future work section, though they note that ceiling effects on saturated datasets like Breast-w leave limited room for multi-shot improvement, and rely on unlabeled data splits during training.)

Summary updated

Abstract

Few-shot tabular learning is challenging because conventional tree-based methods suffer from unstable split selection and leaf estimation when labeled examples are scarce. Although feature engineering based on Large Language Models (LLMs) provides useful semantic priors, it can be brittle when table semantics are incomplete or numerical evidence is unstable. This raises two key challenges: achieving semantic-numerical robustness and calibrating multiple weak signals under sparse supervision. Therefore, we present LEAF, a train-time LLM-guided forest that treats LLM-derived features and split preferences as calibratable priors rather than direct supervision. During tree induction, LEAF aligns semantic guidance with task-specific statistical evidence, including teacher-informed predictive signals and data-dependent partition statistics, through a unified split-scoring rule. At prediction time, it further stabilizes local estimates by blending sparse empirical observations with teacher-informed support at each leaf. Experiments on few-shot tabular classification and regression datasets show that LEAF consistently outperforms strong conventional and LLM-based baselines, improving classification performance by 1.4 points and reducing regression error by 0.149 over the strongest previous method. Robustness analyses further demonstrate that LEAF is more stable than prior LLM-based feature engineering methods under missing table semantics and numerical perturbations induced by distributional variation across tabular feature spaces and schema descriptions.
BibTeX
@inproceedings{zhang2026semantic,
  author = {Xuanliang Zhang and Dingzirui Wang and Keyan Xu and Qingfu Zhu and Wanxiang Che},
  title = {{Semantic Priors Meet Statistical Evidence: Robust Forests for Few-Shot Tabular Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fRkZEDhU3I},
}
Figure