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.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Bershtman, M., & Cohen, N. (2026). Adapting prior-data fitted networks for tabular anomaly detection. https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection

MLA 9

Bershtman, Maximilian, and Niv Cohen. "Adapting prior-data fitted networks for tabular anomaly detection." https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection.

Chicago (author–date)

Bershtman, Maximilian, and Niv Cohen. 2026. "Adapting prior-data fitted networks for tabular anomaly detection." https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection.

Harvard

Bershtman, M. and Cohen, N. (2026) 'Adapting prior-data fitted networks for tabular anomaly detection', Available at: https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection.

Vancouver

Bershtman M, Cohen N. Adapting prior-data fitted networks for tabular anomaly detection. https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection

IEEE

M. Bershtman, and N. Cohen, "Adapting prior-data fitted networks for tabular anomaly detection," https://omanscience.com/en/articles/adapting-prior-data-fitted-networks-for-tabular-anomaly-detection.