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

nanoTabPFN:一种轻量级且教育性的TabPFN重实现

nanoTabPFN: A Lightweight and Educational Reimplementation of TabPFN

ELLIS Institute Tübingen(图宾根ELLIS研究所);University of Freiburg(弗赖堡大学);Prior Labs(Prior实验室)

Alexander Pfefferle, Johannes Hog, Lennart Purucker, Frank Hutter

AI总结:

nanoTabPFN通过轻量级实现和预生成训练数据,使表格基础模型更易于教育使用,预训练速度比TabPFN v2快160,000倍。

摘要:

表格基础模型如TabPFN已革新了表格数据的预测机器学习。同时,这一革命的驱动力难以理解。现有的开源表格基础模型采用复杂的流水线,代码量超过10,000行,缺乏架构文档或代码质量。简而言之,这些实现难以理解,不适用于初学者,且难以适应新的实验。我们介绍了nanoTabPFN,这是一种简化且轻量的TabPFN v2架构实现,以及一个使用预生成训练数据的相应训练循环。nanoTabPFN使表格基础模型对学生们和研究人员更加可接触。例如,在受限的小数据设置下,它在单块GPU上预训练一分钟内即可达到与传统机器学习基线相当的性能(比TabPFN v2预训练快160,000倍)。这种消除大计算资源需求的特性使预训练表格基础模型对教育目的更加可行。我们的代码可在https://github.com/automl/nanoTabPFN上获得。

英文摘要:

Tabular foundation models such as TabPFN have revolutionized predictive machine learning for tabular data. At the same time, the driving factors of this revolution are hard to understand. Existing open-source tabular foundation models are implemented in complicated pipelines boasting over 10,000 lines of code, lack architecture documentation or code quality. In short, the implementations are hard to understand, not beginner-friendly, and complicated to adapt for new experiments. We introduce nanoTabPFN, a simplified and lightweight implementation of the TabPFN v2 architecture and a corresponding training loop that uses pre-generated training data. nanoTabPFN makes tabular foundation models more accessible to students and researchers alike. For example, restricted to a small data setting it achieves a performance comparable to traditional machine learning baselines within one minute of pre-training on a single GPU (160,000x faster than TabPFN v2 pretraining). This eliminated requirement of large computational resources makes pre-training tabular foundation models accessible for educational purposes. Our code is available at https://github.com/automl/nanoTabPFN.

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

↑