arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04868cs.LGcs.AIstat.ML
收藏

上下文表格学习中的噪声免疫力:对TabPFN注意力机制的实证鲁棒性分析

Noise Immunity in In-Context Tabular Learning: An Empirical Robustness Analysis of TabPFN's Attention Mechanisms

Model Development Innovation, Risk Management TD Bank(TD银行风险管理模型开发创新部门)

James Hu, Mahdi Ghelichi

AI总结:

本文通过实验证明TabPFN在存在无关预测器、相关特征组和标签噪声等条件下表现出高度鲁棒性,其预测性能和内部行为保持稳定。

摘要:

表格基础模型(TFMs)如TabPFN通过上下文学习(ICL)在异质表格数据集上进行泛化。它们在单次前向传递中基于标记示例进行预测,而不进行数据集特定的参数更新。这种范式在工业领域(如金融和医疗)中特别有吸引力,因为表格预测很普遍。为每个新表格重新训练定制模型可能成本高昂或不可行,而数据质量问题如无关预测器、相关特征组和标签噪声普遍存在。本文提供了强有力的实证证据,表明TabPFN在这些次优条件下具有高度鲁棒性。我们研究了TabPFN及其注意力机制在二分类问题中,通过受控的合成扰动进行测试,这些扰动包括:(i)通过注入随机不相关特征和引入非线性相关特征改变数据集宽度,(ii)通过增加训练行数改变数据集大小,(iii)通过增加错误标签比例改变标签质量。除了预测性能外,我们还分析了内部信号,包括注意力集中度和基于注意力的特征排名指标。在这些参数测试中,TabPFN表现出惊人的韧性:ROC-AUC保持高位,注意力保持结构和锐利,有用特征被注意力指标高度排名。注意力热图、特征-令牌嵌入和SHAP图的定性可视化进一步支持了各层中TabPFN在区分有用特征信号与噪声方面的持续模式。这些发现表明,TabPFN是一种在各种数据不完美场景下都能保持预测性能和一致内部行为的稳健TFM。

英文摘要:

Tabular foundation models (TFMs) such as TabPFN (Tabular Prior-Data Fitted Network) are designed to generalize across heterogeneous tabular datasets through in-context learning (ICL). They perform prediction in a single forward pass conditioned on labeled examples without dataset-specific parameter updates. This paradigm is particularly attractive in industrial domains (e.g., finance and healthcare) where tabular prediction is pervasive. Retraining a bespoke model for each new table can be costly or infeasible in these settings, while data quality issues such as irrelevant predictors, correlated feature groups, and label noise are common. In this paper, we provide strong empirical evidence that TabPFN is highly robust under these sub-optimal conditions. We study TabPFN and its attention mechanisms for binary classification problems with controlled synthetic perturbations that vary: (i) dataset width by injecting random uncorrelated features and by introducing nonlinearly correlated features, (ii) dataset size by increasing the number of training rows, and (iii) label quality by increasing the fraction of mislabeled targets. Beyond predictive performance, we analyze internal signals including attention concentration and attention-based feature ranking metrics. Across these parametric tests, TabPFN is remarkably resilient: ROC-AUC remains high, attention stays structured and sharp, and informative features are highly ranked by attention-based metrics. Qualitative visualizations with attention heatmaps, feature-token embeddings, and SHAP plots further support a consistent pattern across layers in which TabPFN increasingly concentrates on useful features while separating their signals from noise. Together, these findings suggest that TabPFN is a robust TFM capable of maintaining both predictive performance and coherent internal behavior under various scenarios of data imperfections.

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

↑