arXiv:2610.31979cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.31979

Spectra: Multi-Scale Implicit Decomposition for Deepfake Detection

Dhananjaya Jayasundara, Kartik Narayan, Vishal M. Patel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Deepfakes increasingly undermine trust in digital media, yet existing detectors often struggle to generalize across unseen manipulation techniques, compression levels, and dataset shifts. Most approaches rely on RGB appearance, frequency-domain artifacts, or their combination, learning cues present in the final synthesized image. While effective in-distribution, such cues are frequently generator-specific and can diminish as synthesis models evolve. We argue that a complementary perspective can be obtained through implicit neural representations (INRs), which expose how an image is reconstructed rather than merely how it appears. By fitting an INR to an image and analyzing its internal activations, one can reveal reconstruction dynamics that are difficult to observe in the image domain alone and may capture more intrinsic differences between genuine and synthetic content. To this end, we propose Spectra, a deepfake detection framework that combines semantic visual representations with artifact-aware cues derived from INR reconstruction. Spectra extracts multi-level reconstruction heatmaps from image-specific INRs and jointly models them with semantic features through a bidirectional fusion mechanism. This enables direct interaction between image semantics and reconstruction artifacts, allowing the model to identify forgery cues that are less dependent on specific generation pipelines. Extensive experiments on multiple deepfake benchmarks demonstrate improved robustness and cross-dataset generalization, consistently outperforming detectors based solely on RGB appearance or semantic representations. Furthermore, we show that the proposed representation extends beyond deepfake detection to face presentation attack detection, highlighting its potential as a unified framework for facial attack detection.

1. Introduction

Recent advances in generative modeling have enabled the creation of highly realistic synthetic facial images and videos, commonly referred to as deepfakes. Modern generative architectures, including Generative Adversarial Net-

Figure

Figure 1. Spectra provides a unified framework for two authenticity tasks: Spectra employs a unified INR-guided artifact representation to address both deepfake detection and presentation attack detection (PAD). The framework achieves state-of-the-art average AUC on deepfake detection (86.6%) and PAD (97.17%), demonstrating strong generalization across both digital and physical forgery domains.

works (GANs) [2, 51] and diffusion models [13], can produce photorealistic content that is increasingly difficult for humans to distinguish from authentic media. While these technologies have enabled numerous beneficial applications in content creation and entertainment, they have also raised serious concerns regarding misinformation, identity fraud, impersonation, and media authenticity [17, 22, 23]. As a result, reliable deepfake detection has become an important and active area of research [3, 21, 24, 47].

Despite significant progress, a fundamental challenge remains unresolved: generalization. Modern deepfake detectors often achieve impressive performance on benchmarks derived from known manipulation pipelines, yet their accuracy can deteriorate substantially when confronted with unseen generators, compression levels, post-processing operations, or dataset shifts. This limitation arises because many detectors learn correlations tied to specific synthesis artifacts rather than properties that are intrinsic to synthetic content itself. As generative models continue to improve and suppress visible artifacts, detectors that rely on such cues become increasingly fragile.

Recent work has demonstrated the effectiveness of large-

  • All authors are with Johns Hopkins University, Corresponding Author (vjayasul@jh.edu)

scale vision-language models such as CLIP [45] for deepfake detection [7, 10, 43, 57]. Owing to large-scale pretraining, CLIP provides rich semantic representations that transfer more effectively across datasets than conventional convolutional features. However, CLIP is fundamentally optimized for semantic understanding rather than forensic analysis. Consequently, it primarily captures what an image depicts, while often overlooking subtle traces introduced by the image generation process. As synthetic media becomes increasingly photorealistic, these forensic cues are precisely the signals that become most important for reliable detection.

We argue that a complementary perspective can be obtained through Implicit Neural Representations (INRs) [20, 27–29, 52]. Unlike conventional image representations that operate directly on pixel intensities or their frequency decompositions, INRs model an image as a continuous coordinate-based function and reconstruct it through a hierarchy of nonlinear transformations [20, 27]. This reconstruction process exposes rich spatial and frequency dynamics that remain hidden in the image domain [60]. Importantly, while two images may appear visually similar, the trajectories followed by an INR during reconstruction can differ substantially. We hypothesize that these reconstruction dynamics encode intrinsic differences between authentic and manipulated content, providing a source of forensic evidence that is less dependent on the particular synthesis pipeline. To explore this hypothesis, we extract multilevel heatmaps from trained INRs and use them to characterize how image information is represented across reconstruction stages. These heatmaps reveal localized structural and frequency-sensitive responses that are complementary to semantic visual features and offer a novel artifact-aware representation for deepfake detection.

Building upon this insight, we propose Spectra, a deepfake detection framework that unifies semantic understanding with reconstruction-based forensic analysis. Spectra leverages a frozen CLIP vision encoder to capture high-level semantic content while simultaneously extracting multi-level heatmaps from image-specific INRs that expose reconstruction dynamics hidden from the image domain. These heatmaps are processed through complementary spatial and frequency encoders, enabling the model to capture both localized structural irregularities and frequency-sensitive inconsistencies that emerge during reconstruction. To bridge the gap between semantics and artifacts, Spectra employs bidirectional attention mechanisms that allow semantic representations to focus on manipulation-sensitive regions while enabling reconstruction cues to selectively retrieve relevant semantic context (See Figure 1). Rather than treating artifacts and semantics as independent signals, Spectra explicitly models their interactions, producing a unified representation that captures both what an image depicts and how it is reconstructed. We argue that this combination yields a more fundamental characterization of synthetic content, reducing reliance on generator-specific artifacts and improving robustness to unseen manipulations.

Extensive experiments across multiple deepfake benchmarks demonstrate that Spectra consistently outperforms strong semantic-only baselines and achieves superior cross-dataset generalization. Beyond performance gains, our analysis reveals that INR-derived reconstruction representations provide complementary forensic evidence that is largely absent from conventional image-domain features. These findings establish reconstruction dynamics as a promising new direction for robust and generalizable media forensics.

References (60)