TL;DR
This paper introduces SEED (Sequential Editing in Diffusion), the first large-scale benchmark dataset designed to trace the step-by-step history of sequential, diffusion-based facial modifications. To tackle the challenge of recovering these complex editing histories, the authors also propose FAITH, a frequency-aware Transformer baseline that combines spatial and wavelet-domain features to accurately identify and order multi-step manipulations.
What Problem Does This Paper Address?
Most current deepfake detection tools treat forgery as a binary problem (real vs. fake) or assume an image has undergone only a single modification. In reality, malicious actors and casual creators alike often perform a chain of sequential edits—such as changing someone's hair, altering their eye color, and then adding accessories like a hat or glasses.
This multi-step pipeline introduces a major forensic challenge: evidence is non-stationary. Later edits can partially overwrite, distort, or entangle the digital artifacts left behind by earlier steps. Existing benchmarks are either single-edit focused or built on older GAN-based architectures, leaving a critical gap in our ability to audit and trace the provenance of modern, diffusion-generated media.
Methods
To address this problem, the authors developed a two-part solution: a rigorous data generation pipeline and a novel frequency-aware detection architecture.
1. The SEED Dataset Pipeline
The construction of SEED moves through three distinct stages:
- Preprocessing: Uses face-parsing models to generate precise spatial masks for facial attributes and leverages a Large Multimodal Model (LLaVA) to generate diverse text instructions.
- Sequential Manipulation: Randomly samples an edit chain length (1 to 4 steps) and sequentially applies modern diffusion editors (including LEdits, SDXL, and SD3-style models). The output of one step serves as the input for the next.
- Quality Evaluation: Filters out low-quality or collapsed images using automated metrics (CLIP similarity, DINOv2 semantic similarity, and SSIM) to ensure the final dataset contains highly realistic images.
2. The FAITH Baseline Model
Because purely spatial deepfake detectors struggle to spot subtle, layered diffusion artifacts, the authors introduced FAITH (Frequency-Aware Identification Transformer).
FAITH extracts standard spatial features using a CNN backbone, but crucially complements them with high-frequency features extracted via a Discrete Wavelet Transform (DWT), focusing specifically on the horizontal-vertical (HH) sub-band. These frequency features are converted into an additive guidance map and injected directly into a Transformer decoder's cross-attention mechanism. This design biases the model's attention toward high-frequency regions likely to contain subtle editing traces.
Datasets
The primary contribution is the new SEED benchmark:
- Scale: 91,526 face images derived from high-quality source datasets (FFHQ and CelebAMask-HQ).
- Annotations: Includes step-wise edit order, textual prompts, spatial manipulation masks, and the specific generation models used.
- Distribution: Well-balanced across sequence lengths (approx. 22-30% each for 1, 2, 3, or 4 edits) and covers diverse attributes like lips, eyebrows, eyes, hair, hats, and glasses.
Key Insights and Ideas
- Single-Step Detectors Fail at History: Traditional deepfake detectors adapted for multi-class ranking fail to capture the temporal order of edits. They might detect that an edit happened, but they cannot reliably reconstruct when it happened relative to other changes.
- The "Swap-Only" Bottleneck: Error analysis reveals that as the edit chain grows longer (e.g., 3 or 4 edits), the dominant failure mode shifts heavily toward "Swap-only" errors—meaning the model identifies the correct attributes but gets their chronological order wrong. This confirms that later diffusion steps mask earlier ones.
- Frequency Domain to the Rescue: High-frequency signals, particularly wavelet components, preserve edge and texture irregularities that spatial layers miss. This makes frequency-aware models significantly more robust against common post-processing degradations like JPEG compression.
Key Results
The authors evaluated FAITH against several adapted single-step detectors and the sequential baseline SeqFakeFormer. Performance was measured using Full-Acc (requiring the entire predicted sequence to exactly match the ground truth length and order).
- Superior Sequence Tracking: FAITH utilizing DWT achieved the highest average Full-Accuracy (67.26%) across all sequence lengths, outperforming the spatial-only SeqFakeFormer (66.97%) and drastically outperforming single-step classification baselines (~48-50%).
- Robustness to Compression: Under 50% JPEG compression, FAITH (DWT) maintained a Full-Acc of 59.86%, proving more resilient than purely spatial approaches whose performance degrades when compression smooths out pixel-level artifacts.
- Robustness to Noise: Under moderate Gaussian noise (15% intensity), FAITH (DWT) retained a 19.60% Full-Acc, outperforming prior methods.
Limitations and Future Work
Despite the improvements introduced by FAITH, sequential provenance tracing remains an open challenge:
- The Long-Chain Drop: When an image undergoes 4 sequential edits, the Full-Accuracy of even the best model drops to 24.50%. Reconstructing long histories remains incredibly difficult.
- Severe Degradation Vulnerability: While wavelets help mitigate moderate compression and noise, severe image degradation (e.g., 20% noise intensity) causes all models to drop to near-zero accuracy, highlighting a significant gap for real-world, uncontrolled social media environments.
Summary updated