Forte : Finding Outliers with Representation Typicality Estimation
Debargha Ganguly, Warren Morningstar, Andrew Yu, Vipin Chaudhary
TL;DR
The paper tackles out-of-distribution and synthetic data detection for foundation models by moving beyond likelihood-based detectors to representation-based methods that capture semantic structure. It introduces Forte, a framework that fuses self-supervised encoders (CLIP, ViT-MSN, DINOv2) with per-point summary statistics (precision, recall, density, coverage) and non-parametric density estimation to identify atypical samples. The authors provide theoretical intuition and extensive empirical evaluation on synthetic data and medical imaging tasks, showing that Forte outperforms both unsupervised and supervised baselines and highlighting the limitations of distribution-level tests. The approach is model-agnostic and scalable, offering a practical tool for robust deployment of foundation models in real-world settings.
Abstract
Generative models can now produce photorealistic synthetic data which is virtually indistinguishable from the real data used to train it. This is a significant evolution over previous models which could produce reasonable facsimiles of the training data, but ones which could be visually distinguished from the training data by human evaluation. Recent work on OOD detection has raised doubts that generative model likelihoods are optimal OOD detectors due to issues involving likelihood misestimation, entropy in the generative process, and typicality. We speculate that generative OOD detectors also failed because their models focused on the pixels rather than the semantic content of the data, leading to failures in near-OOD cases where the pixels may be similar but the information content is significantly different. We hypothesize that estimating typical sets using self-supervised learners leads to better OOD detectors. We introduce a novel approach that leverages representation learning, and informative summary statistics based on manifold estimation, to address all of the aforementioned issues. Our method outperforms other unsupervised approaches and achieves state-of-the art performance on well-established challenging benchmarks, and new synthetic data detection tasks.
