适配先验数据拟合网络用于表格异常检测

·

研究论文 · 2026/10/07

本文研究了如何将先验数据拟合网络(PFN)的表型数据表示适配并用于异常检测。由于部署前没有异常样本,模型参数无法通过监督调优,且定义正常行为的参考集可能包含异常。作者首先使用冻结的TabPFN特征,通过样本在特征空间中到最近邻的距离进行评分,并确定了适用的层和特征提取流程。为进一步提升性能,他们利用参考集微调模型,使特征能更好地区分正常与异常样本。在ADBench基准上,无需微调的方法(ZEN)平均AUROC高于所有基线,微调方法(FOCUS)进一步提升。该方法还能泛化到不同的PFN模型。

该研究解决了表格异常检测中缺乏强深度表示的问题,利用PFN表示并在无异常样本监督下取得优于基线的结果,且方法具有泛化性,对实际应用有重要价值。

While deep features have transformed anomaly detection in images and video, their impact on tabular data has been less substantial, partly due to the limited availability of strong deep representations. Recently, prior-data fitted networks (PFNs) have emerged as a promising source of such representations for tabular data. In this work, we investigate how PFN representations can be adapted and leveraged for anomaly detection. The question is harder than it looks. No anomalies are available before deploy- ment, so model parameters cannot be tuned with supervision, and the reference set that defines normal behavior may itself contain the very anomalies it is supposed to reveal. We begin our study using frozen TabPFN features. Scoring each sam- ple by its distance to its nearest neighbors in feature space already gives strong results. We identify which layers to use and a feature-extraction procedure suited to the task. Next, to further improve performance, we use the reference set to fine- tune the model, so that the resulting features better separate normal samples from anomalies. On the ADBench benchmark, our fine-tuning free approach (ZEN) reaches a higher mean AUROC than every baseline, and our fine-tuned method (FOCUS) improves on it further. Our approach also generalizes across PFN models.

阅读原文

参与讨论