arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.02672cs.CLcs.LG
收藏

Transformer 在不同样本规模下提升表格数据上决策树的性能

Transformers Boost the Performance of Decision Trees on Tabular Data across Sample Sizes

University of Maryland(马里兰大学);University of Toronto(多伦多大学);Meta;Amazon(亚马逊公司);New York University(纽约大学);University of Freiburg(弗莱堡大学);Columbia University(哥伦比亚大学)

Mayuka Jayawardhana, Renbo, Samuel Dooley, Valeriia Cherepanova, Andrew Gordon Wilson, Frank Hutter, Colin White, Tom Goldstein, Micah Goldblum

AI总结:

本文提出 LLM-Boost 和 PFN-Boost,将 LLM 或 TabPFN 与梯度提升决策树融合,使 GBDTs 借助 transformer 的预训练和自然语言能力,在不同样本规模下均取得更优性能。

摘要:

大型语言模型(LLMs)在零样本和少样本设置下对表格数据集表现出色,因为它们能够从描述特征和标签的自然语言列标题中提取含义。类似地,TabPFN 是一种最近提出的非 LLM transformer,它在大量表格上进行了预训练以用于上下文学习,在最多一千个样本的数据集规模上展现了优异的性能。相比之下,梯度提升决策树(GBDTs)通常在每个数据集上从头训练,无法从预训练数据中获益,并且由于缺乏自然语言理解能力,必须仅从列条目中学习列之间的关系。LLMs 和 TabPFN 在小型表格数据集上表现优异,因为在这些数据集上强先验至关重要;然而,由于它们的上下文长度有限,在中型或大型数据集上无法与 GBDTs 竞争。在本文中,我们提出了一种简单且轻量的方法,将大型语言模型和 TabPFN 与梯度提升决策树融合,从而使可扩展的 GBDTs 能够受益于 transformer 的自然语言能力和预训练。我们将融合方法分别命名为 LLM-Boost 和 PFN-Boost。在足够小的数据集规模上,LLM-Boost 和 PFN-Boost 能够达到或超过 transformer 的性能;在足够大的规模上能够达到或超过 GBDTs 的性能,同时在介于两者之间的广泛数据集规模范围内优于两种独立组件。我们展示了相对于众多基线和集成算法的最先进性能。我们发现,除了非常小的数据集规模外,PFN-Boost 在我们测试的所有方法中取得了最佳平均性能。我们在 http://github.com/MayukaJ/LLM-Boost 发布了代码。

英文摘要:

Large language models (LLMs) perform remarkably well on tabular datasets in zero- and few-shot settings, since they can extract meaning from natural language column headers that describe features and labels. Similarly, TabPFN, a recent non-LLM transformer pretrained on numerous tables for in-context learning, has demonstrated excellent performance for dataset sizes up to a thousand samples. In contrast, gradient-boosted decision trees (GBDTs) are typically trained from scratch on each dataset without benefiting from pretraining data and must learn the relationships between columns from their entries alone since they lack natural language understanding. LLMs and TabPFN excel on small tabular datasets where a strong prior is essential, yet they are not competitive with GBDTs on medium or large datasets, since their context lengths are limited. In this paper, we propose a simple and lightweight approach for fusing large language models and TabPFN with gradient-boosted decision trees, which allows scalable GBDTs to benefit from the natural language capabilities and pretraining of transformers. We name our fusion methods LLM-Boost and PFN-Boost, respectively. While matching or surpassing the performance of the transformer at sufficiently small dataset sizes and GBDTs at sufficiently large sizes, LLM-Boost and PFN-Boost outperform both standalone components on a wide range of dataset sizes in between. We demonstrate state-of-the-art performance against numerous baselines and ensembling algorithms. We find that PFN-Boost achieves the best average performance among all methods we test for all but very small dataset sizes. We release our code at http://github.com/MayukaJ/LLM-Boost .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑