arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.12031cs.LGcs.AIcs.CL
收藏

通过语言建模实现表格数据的大规模迁移学习

Large Scale Transfer Learning for Tabular Data via Language Modeling

University of Washington(华盛顿大学);Harvard University(哈佛大学);Stanford University(斯坦福大学)

Josh Gardner, Juan C. Perdomo, Ludwig Schmidt

AI总结:

本文提出表格预测语言模型 TabuLa-8B,通过从 TabLib 提取超 21 亿行数据并微调 Llama 3-8B,在零样本和少样本表格预测上显著超越 XGBoost 和 TabPFN。

摘要:

表格数据——结构化、异构、类似电子表格的行列式数据——在许多领域的实践中被广泛使用。然而,尽管近期的基础模型在语言建模和计算机视觉等领域减少了开发任务特定数据集和预测器的需求,这种迁移学习范式在表格领域尚未产生类似影响。在本工作中,我们力求缩小这一差距,并提出 TabuLa-8B,一个用于表格预测的语言模型。我们定义了一个从 TabLib 语料库中提取大规模高质量训练数据集的流程,提出了表格数据过滤和质量控制的方法。利用所得数据集(包含来自超过 400 万张独立表格的超过 21 亿行数据),我们使用一种新颖的用于表格预测的打包和注意力方案,对 Llama 3-8B 大语言模型(LLM)进行微调,以用于表格数据预测(分类和分箱回归)。通过在包含 329 个数据集的测试套件上进行评估,我们发现 TabuLa-8B 在未见表格上的零样本准确率比随机猜测高出超过 15 个百分点(pp),这一成就是现有最先进的表格预测模型(例如 XGBoost、TabPFN)无法实现的。在少样本设置(1-32 个样本)下,无需在目标数据集上进行任何微调,TabuLa-8B 的准确率比在相同数据量、甚至多达 16 倍数据上显式训练的 XGBoost 和 TabPFN 模型高出 5-15 个百分点。我们随本文发布模型、代码和数据。

英文摘要:

Tabular data -- structured, heterogeneous, spreadsheet-style data with rows and columns -- is widely used in practice across many domains. However, while recent foundation models have reduced the need for developing task-specific datasets and predictors in domains such as language modeling and computer vision, this transfer learning paradigm has not had similar impact in the tabular domain. In this work, we seek to narrow this gap and present TabuLa-8B, a language model for tabular prediction. We define a process for extracting a large, high-quality training dataset from the TabLib corpus, proposing methods for tabular data filtering and quality control. Using the resulting dataset, which comprises over 2.1B rows from over 4M unique tables, we fine-tune a Llama 3-8B large language model (LLM) for tabular data prediction (classification and binned regression) using a novel packing and attention scheme for tabular prediction. Through evaluation across a test suite of 329 datasets, we find that TabuLa-8B has zero-shot accuracy on unseen tables that is over 15 percentage points (pp) higher than random guessing, a feat that is not possible with existing state-of-the-art tabular prediction models (e.g. XGBoost, TabPFN). In the few-shot setting (1-32 shots), without any fine-tuning on the target datasets, TabuLa-8B is 5-15 pp more accurate than XGBoost and TabPFN models that are explicitly trained on equal, or even up to 16x more data. We release our model, code, and data along with the publication of this paper.

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

↑