arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13253cs.LGcs.AI
收藏

表格基础模型实际上是浅层模型

Tabular Foundation Models Are Effectively Shallow

ETH Zurich(苏黎世联邦理工学院)

Irene Cannistraci, Julia E. Vogt

AI总结:

该研究针对表格基础模型(TFMs)的过参数化问题,提出用闭式无标签仿射转换器替换部分Transformer块,发现半深度TabFM仍优于全深度TFMs和调优GBDTs,可大幅减少参数、提升推理速度且损失极小。

摘要:

上下文学习型表格基础模型(Tabular Foundation Models, TFMs)特别适用于资源有限或存在隐私约束的场景,因为它们无需额外训练即可解决新任务。然而,其架构包含多个Transformer块,导致计算和内存占用较高。与此同时,Gradient-Boosted决策树(GBDTs)等传统替代方案仍具有很强的竞争力,且可在CPU上高效运行,这表明表格任务可能并非天生需要深度架构。这种对比提出了一个基本问题:能否在不牺牲性能的情况下,通过移除架构冗余来简化TFMs?为回答该问题,我们引入了一种闭式、无标签的仿射转换器,它可替换多达96%的连续块窗口,其余块保持不变。我们在171个分类数据集上评估了8种前沿TFMs,结果显示表格Transformer存在严重的过参数化问题:替换模型一半的块,在所有架构上的中位数AUROC损失最多为0.002;半深度的TabFM仍优于所有其他全深度TFMs和调优后的GBDTs。此外,不同模型家族的过参数化方式不同:TabPFN-3依赖其编码器,无论保留哪个单一块都能保持性能;其他单轴模型的计算分布较分散,仅需其第一个块;而双轴模型则将计算集中在一个关键块中。最终,移除深度可节省多达15亿个参数,将GPU推理速度最多提升6倍,中位数AUROC损失为0.03;而单块TabPFN-3处理缓存查询的速度快2.4倍,内存使用量减少6倍,且损失可忽略不计。

英文摘要:

In-context-learning Tabular Foundation Models (TFMs) are uniquely suited to scenarios with limited resources or privacy constraints, as they solve new tasks without additional training. However, their architecture consists of multiple transformer blocks, resulting in high computational and memory footprints. Meanwhile, traditional alternatives like Gradient-Boosted Decision Trees (GBDTs) remain highly competitive and run efficiently on CPUs, suggesting that tabular tasks may not inherently require deep architectures. This contrast raises a fundamental question: can TFMs be simplified by removing architectural redundancies without sacrificing performance? To answer this, we introduce a closed-form, label-free affine translator that replaces a contiguous window of up to 96% of the blocks, leaving the rest unchanged. Evaluating eight frontier TFMs on 171 classification datasets, we reveal that tabular transformers are vastly overparameterized: replacing half of a model's blocks costs at most $0.002$ median AUROC across all architectures, with the half-depth TabFM still outperforming every other full-depth TFMs and tuned GBDTs. Furthermore, different model families are overparameterized in different ways: TabPFN-3 relies on its encoders, maintaining performance regardless of which single block is retained. Other single-axis models spread computation thinly, needing only their first block, while dual-axis models concentrate it in one critical block. Ultimately, removing depth saves up to 1.5B parameters, speeds up GPU inference by up to $6\times$ at a median cost of $0.03$ AUROC, while a single-block TabPFN-3 serves cached queries $2.4\times$ faster using $6\times$ less memory at negligible cost.

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

↑