Adapting prior-data fitted networks for tabular anomaly detection

Maximilian Bershtman, Niv Cohen

arXiv:2610.06693 · 2026-10-06 공개 · arXiv · PDF

fine-tuning feature-extraction auroc tabpfn tabular-anomaly-detection prior-data-fitted-networks zen focus

Abstract

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.

한국어 요약

한 줄 요약

TabPFN 기반의 사전 학습 모델을 적응시켜 탭류 데이터 이상 탐지를 개선하는 방법을 제안한다.

핵심 기여도

핵심 아이디어

기존 탭류 데이터 이상 탐지는 강력한 딥러닝 표현이 부족해 성능이 제한적이었다. 최근 등장한 **Prior-Data Fitted Networks (PFNs)**, 특히 **TabPFN**,은 탭류 데이터에 대한 강력한 표현을 제공하지만, 이상 탐지에 직접 학습된 모델은 아니다. 이 연구는 PFN의 임베딩을 활용하여 이상 탐지를 수행하는 새로운 접근법을 제시한다.

**ZEN**은 가중치를 고정한 상태에서 임베딩 공간 내 최근접 이웃 거리를 기반으로 이상 점수를 산출하며, 이는 기존 기법보다 뛰어난 성능을 보인다. **FOCUS**는 ZEN의 결과를 기반으로 모델을 미세 조정하여 정상과 이상을 더 잘 분리하도록 한다. 이는 PFN의 임베딩이 이상 탐지에 유용한 정보를 담고 있음을 시사한다.

기술적 접근법

주요 결과

의의 및 한계

실용적 활용