The Deepfake Detective: Interpreting Neural Forensics Through Sparse Features and Manifolds
Subramanyam Sahoo, Jared Junkin
TL;DR
This work tackles the opacity of deepfake detectors by introducing a mechanistic interpretability framework that couples sparse autoencoder analysis with forensic artifact manifold analysis on a large vision-language backbone. By mapping how learned features respond to controlled artifacts, the authors reveal sparse, artifact-specific latent axes in mid-level layers and a culminating compression of these cues into the final decision. The approach yields quantitative metrics—intrinsic dimensionality, curvature, and feature selectivity—that characterize how different artifacts are represented across network layers, highlighting early-layer sensitivity and providing a roadmap for more interpretable and robust detectors. The methodology, demonstrated on a Qwen2-VL-2B backbone with a 250 real/250 fake subset, offers a generalizable pipeline for diagnosing and improving the interpretability of deepfake detection systems.
Abstract
Deepfake detection models have achieved high accuracy in identifying synthetic media, but their decision processes remain largely opaque. In this paper we present a mechanistic interpretability framework for deepfake detection applied to a vision-language model. Our approach combines a sparse autoencoder (SAE) analysis of internal network representations with a novel forensic manifold analysis that probes how the model's features respond to controlled forensic artifact manipulations. We demonstrate that only a small fraction of latent features are actively used in each layer, and that the geometric properties of the model's feature manifold, including intrinsic dimensionality, curvature, and feature selectivity, vary systematically with different types of deepfake artifacts. These insights provide a first step toward opening the "black box" of deepfake detectors, allowing us to identify which learned features correspond to specific forensic artifacts and to guide the development of more interpretable and robust models.
