Skip to main content
QUICK REVIEW

[Paper Review] Statsformer: Validated Ensemble Learning with LLM-Derived Semantic Priors

Erica Zhang, Naomi Sagan|arXiv (Cornell University)|Jan 29, 2026
Topic ModelingComputer Science0 citations
TL;DR

Statsformer integrates LLM-derived semantic priors into an ensemble of linear and nonlinear learners with cross-validated pruning, yielding an oracle-style guarantee relative to convex combinations of base learners and robust performance when priors are informative or noisy.

ABSTRACT

We introduce Statsformer, a principled framework for integrating large language model (LLM)-derived knowledge into supervised statistical learning. Existing approaches are limited in adaptability and scope: they either inject LLM guidance as an unvalidated heuristic, which is sensitive to LLM hallucination, or embed semantic information within a single fixed learner. Statsformer overcomes both limitations through a guardrailed ensemble architecture. We embed LLM-derived feature priors within an ensemble of linear and nonlinear learners, adaptively calibrating their influence via cross-validation. This design yields a flexible system with an oracle-style guarantee that it performs no worse than any convex combination of its in-library base learners, up to statistical error. Empirically, informative priors yield consistent performance improvements, while uninformative or misspecified LLM guidance is automatically downweighted, mitigating the impact of hallucinations across a diverse range of prediction tasks.An open-source implementation of Statsformer is available at https://github.com/pilancilab/statsformer.

Motivation & Objective

  • Motivate the integration of semantic priors from large language models into supervised learning in a principled, data-corroborated way.
  • Develop a model-agnostic framework that injects LLM priors into diverse base learners via monotone adapters.
  • Provide theoretical guarantees that the ensemble competes with any convex combination of base learners, up to statistical error.
  • Demonstrate practical effectiveness and robustness across high-dimensional, low-sample tabular datasets.

Proposed method

  • Define a prior prior V from an LLM as a nonnegative vector over features.
  • Inject transformed priors via a monotone map tau_alpha with alpha in a finite set, applied to each feature prior (weight, scale, or instance weight adapters).
  • Construct a dictionary of base learners with prior injections, including prior-free baselines (alpha=0, beta=0).
  • Perform out-of-fold (OOF) stacking over all base-learner configurations to obtain data-driven aggregation weights pi in the simplex.
  • Refit the chosen configurations on full data and form the final Statsformer predictor as a convex combination using the OOF-derived weights.
  • Provide three concrete prior-injection instantiations: penalty-based, feature-reweighting, and instance-weight injection.
  • Offer theoretical oracle guarantees linking cross-validated risk to population risk and robustness to misspecified priors.
Figure 1 : Statsformer performance on a variety of datasets, compared to a variety of baseline methods. Note that, due to computational constraints, we only included the AutoML-Agent baseline in Bank Marketing, ETP, and Lung Cancer (see Table 3 in the Appendix for a more detailed computational compa
Figure 1 : Statsformer performance on a variety of datasets, compared to a variety of baseline methods. Note that, due to computational constraints, we only included the AutoML-Agent baseline in Bank Marketing, ETP, and Lung Cancer (see Table 3 in the Appendix for a more detailed computational compa

Experimental results

Research questions

  • RQ1Can LLM-derived semantic priors be incorporated into supervised learning in a principled, validated manner?
  • RQ2How should the strength and form of priors be calibrated to maximize predictive performance while guarding against hallucinations?
  • RQ3Do aggregated ensembles with validated priors compete with the best convex combination of base learners, up to statistical error?
  • RQ4Is the approach scalable, model-agnostic, and robust across diverse, high-dimensional tabular datasets?

Key findings

  • Statsformer achieves consistent improvements over prior-free stacking across a variety of tabular datasets, especially in high-dimensional, low-sample regimes.
  • The framework attenuates unreliable priors and degrades gracefully to the prior-free baseline when priors are uninformative or inverted.
  • Oracle-type guarantees show the aggregate predictor matches the best convex combination of candidate learners up to a statistical error term.
  • Experimental results demonstrate gains across multiple datasets and LLM choices, with larger, more capable LLMs yielding stronger improvements.
  • Adversarial simulations confirm robustness: when priors are systematically inverted, performance approaches the baseline stacking.
Figure 2 : Direct accuracy and AUROC comparison of Statsformer to Statsformer (no prior) for selected datasets. Gains are noticeable across all four examples, and significant for ETP. See Figure 11 in the Appendix for datasets not shown here.
Figure 2 : Direct accuracy and AUROC comparison of Statsformer to Statsformer (no prior) for selected datasets. Gains are noticeable across all four examples, and significant for ETP. See Figure 11 in the Appendix for datasets not shown here.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.