arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.08712cs.LGstat.ML
收藏

超越黑箱预测:识别表格Transformer网络中的边际特征效应

Beyond Black-Box Predictions: Identifying Marginal Feature Effects in Tabular Transformer Networks

Clausthal University of Technology(克劳斯塔尔工业大学)

Anton Thielmann, Arik Reuter, Benjamin Saefken

AI总结:

本文提出一种改进的表格Transformer网络,通过理论论证和消融实验证明其能在复杂特征交互中准确识别边际特征效应,并在保持可理解性的同时达到黑箱模型的预测性能。

摘要:

近年来,深度神经网络在各类任务中展现了强大的预测能力。除了自然语言处理之外,Transformer架构在解决表格数据问题方面也表现出高效性,并在这些领域对先前占主导地位的基于梯度的决策树构成了挑战。然而,这种预测能力是以可理解性为代价的:在深度表格Transformer网络的黑箱特性中,边际特征效应几乎完全丧失。使用经典统计回归模型的可加性约束的替代架构能够保持可理解的边际特征效应,但与更复杂的对应模型相比,其预测能力往往不足。为了弥合可理解性与性能之间的差距,我们提出了一种针对表格Transformer网络的改进方法,旨在识别边际特征效应。我们提供了理论论证,证明边际特征效应可以被准确识别,并且我们的消融研究表明,即使在复杂的特征交互中,所提出的模型也能有效检测这些效应。为了展示该模型的预测能力,我们将其与多个可解释模型以及黑箱模型进行了比较,发现它能够在保持可理解性的同时达到黑箱模型的性能。源代码可在 https://github.com/OpenTabular/NAMpy 获取。

英文摘要:

In recent years, deep neural networks have showcased their predictive power across a variety of tasks. Beyond natural language processing, the transformer architecture has proven efficient in addressing tabular data problems and challenges the previously dominant gradient-based decision trees in these areas. However, this predictive power comes at the cost of intelligibility: Marginal feature effects are almost completely lost in the black-box nature of deep tabular transformer networks. Alternative architectures that use the additivity constraints of classical statistical regression models can maintain intelligible marginal feature effects, but often fall short in predictive power compared to their more complex counterparts. To bridge the gap between intelligibility and performance, we propose an adaptation of tabular transformer networks designed to identify marginal feature effects. We provide theoretical justifications that marginal feature effects can be accurately identified, and our ablation study demonstrates that the proposed model efficiently detects these effects, even amidst complex feature interactions. To demonstrate the model's predictive capabilities, we compare it to several interpretable as well as black-box models and find that it can match black-box performances while maintaining intelligibility. The source code is available at https://github.com/OpenTabular/NAMpy.

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

↑