Adapting prior-data fitted networks for tabular anomaly detection
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.
Community
Hi everyone! I’m sharing my first paper with Niv Cohen at the Technion on adapting prior-data fitted networks for tabular anomaly detection.
We introduce ZEN, which uses frozen TabPFN representations, and FOCUS, which fine-tunes them without anomaly labels. Both outperform the evaluated baselines in mean AUROC across 47 ADBench datasets, including when the reference data contains undetected anomalies.
Our code, experiment configurations, and reproduction scripts are available in the linked GitHub repository. Happy to answer questions and hear your feedback!
Get this paper in your agent:
hf papers read 2610.06693 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper