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

论表格基础模型的微调

On Finetuning Tabular Foundation Models

Yandex;HSE University(俄罗斯高等经济学院)

Ivan Rubachev, Akim Kotelnikov, Nikolay Kartashev, Artem Babenko

AI总结:

本文系统评估 TabPFNv2 的微调策略,证明全量微调兼具效率与效果,并从 query-key 相似性机制解释其增益。

摘要:

基础模型是表格深度学习中一个新兴的研究方向。值得注意的是,TabPFNv2 最近声称,其采用上下文学习范式在小规模数据集上取得了优于传统基于 GBDT 方法的性能,而该范式不会针对目标数据集调整模型参数。然而,用于适配表格基础模型的最佳微调方法,以及这种适配如何重塑其内部机制,仍未得到充分研究。尽管已有工作研究了早期基础模型的微调,但结论不一致,且 TabPFNv2 具有独特架构,因此有必要重新展开研究。为回答这些问题,我们首先在多样化数据集上系统评估了多种微调策略。研究结果表明,就时间效率和效果而言,全量微调是 TabPFNv2 最实用的方案。随后,我们类比检索增强模型,研究微调如何改变 TabPFNv2 的内部机制。我们揭示,微调的成功源于:在基于梯度的适配之后,测试对象的 query 表示与上下文中训练对象的 key 表示之间的点积能够更准确地反映它们的目标相似性。这种改善的相似性使微调后的 TabPFNv2 能够通过适当加权相关的上下文样本,更好地逼近目标依赖关系,从而改进基于检索的预测逻辑。从实践角度看,我们成功在包含多达 50K 个对象的数据集上微调了 TabPFNv2,并观察到其在几乎所有任务上的性能提升。更具体地说,在采用 I.I.D. 划分的学术数据集上,微调使 TabPFNv2 取得了最先进结果;而在具有渐进时间偏移和丰富特征集的数据集上,TabPFNv2 稳定性较差,先前方法仍然更优。

英文摘要:

Foundation models are an emerging research direction in tabular deep learning. Notably, TabPFNv2 recently claimed superior performance over traditional GBDT-based methods on small-scale datasets using an in-context learning paradigm, which does not adapt model parameters to target datasets. However, the optimal finetuning approach for adapting tabular foundational models, and how this adaptation reshapes their internal mechanisms, remains underexplored. While prior works studied finetuning for earlier foundational models, inconsistent findings and TabPFNv2's unique architecture necessitate fresh investigation. To address these questions, we first systematically evaluate various finetuning strategies on diverse datasets. Our findings establish full finetuning as the most practical solution for TabPFNv2 in terms of time-efficiency and effectiveness. We then investigate how finetuning alters TabPFNv2's inner mechanisms, drawing an analogy to retrieval-augmented models. We reveal that the success of finetuning stems from the fact that after gradient-based adaptation, the dot products of the query-representations of test objects and the key-representations of in-context training objects more accurately reflect their target similarity. This improved similarity allows finetuned TabPFNv2 to better approximate target dependency by appropriately weighting relevant in-context samples, improving the retrieval-based prediction logic. From the practical perspective, we managed to finetune TabPFNv2 on datasets with up to 50K objects, observing performance improvements on almost all tasks. More precisely, on academic datasets with I.I.D. splits, finetuning allows TabPFNv2 to achieve state-of-the-art results, while on datasets with gradual temporal shifts and rich feature sets, TabPFNv2 is less stable and prior methods remain better.

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

↑