arXiv:2610.11706cs.LGOct 2026

Manuscript Offprint

arXiv:2610.11706

Does an Illumination Prior Help Face-Swap Detection? A Controlled Study of Temporal Self-Blended Images

Danil Davydov, Bader Rasheed, Dmitriy Vatolin

Danil Davydov*, Bader Rasheed†, Dmitriy Vatolin†

*Innopolis University, Innopolis, Russia

†^{\dagger}Laboratory of Innovative Technologies for Processing Video Content, Innopolis University, Innopolis, Russia

{d.davydov, b.rasheed, d.vatolin}@innopolis.university

Abstract—Self-blending is the dominant training-data prior in face-swap detection, but it supervises only the blending boundary. We ask whether adding a photometric prior at the same locus helps: Temporal Self-Blended Images (T-SBI) transfer the illumination statistics of one frame onto a self-blended copy of another frame from the same video, gated on a controlled luminance delta ΔL\Delta L in LAB space, so that illumination inconsistency becomes a learnable training signal. We evaluate T-SBI as a controlled probe rather than as a proposed improvement. A five-regime ablation factorizes supervised, self-blended, and temporally self-blended training; a three-seed ΔL\Delta L-quartile experiment isolates the illumination delta itself by training on the upper versus lower quartile of accepted pairs. The result is a consistent null on the targeted mechanism: frame-level AUC differences between high- ΔL\Delta L and low- ΔL\Delta L training lie within the combined seed standard deviation on all four evaluation corpora, and a failure taxonomy over 506,328 attribute-binned rows finds no preferential failure-rate reduction on harsh-illumination bins. What T-SBI does do is shift the score distribution: the optimal decision threshold moves down by ≈0.34\approx 0.34 on FF++ and ≈0.30\approx 0.30 on Celeb-DF, which reverses the apparent verdict when models are compared at the conventional threshold of 0.5. The one robust benefit lies elsewhere than intended: under heavy JPEG compression the T-SBI variant retains frame AUC 0.780 on DFDC against 0.696 for its counterpart, consistent with a shift toward low-frequency cues rather than illumination-specific robustness. We report the operating-point analysis that resolves the threshold contradiction, show that F1 is degenerate under cross-dataset imbalance, and argue that photometric training priors must be validated against the attribute they target rather than against aggregate accuracy.

Index Terms—deepfake detection, media forensics, self-blended images, illumination prior, calibration, operating point, failure analysis.

I. INTRODUCTION

Face-swap detectors that learn generator-specific texture artefacts transfer poorly to unseen manipulations [1], [7]. The most effective known remedy is a training-data prior rather than an architectural one: Face X-Ray [3] and Self-Blended Images (SBI) [2] synthesize fakes by blending an image with a perturbed copy of itself, forcing the classifier onto the blending boundary—a cue common to all compositing pipelines—and achieving strong cross-dataset transfer without labelled fakes.

The blending boundary is not, however, the only physical trace a face swap leaves. The photometric-forensics literature holds that compositing two faces recorded under different illumination produces inconsistencies that physical scene constraints would forbid [4], [5]. This suggests an obvious extension: build the self-blended training pair from two frames of the same video chosen to differ in illumination, so that the synthetic fake carries a photometric inconsistency in addition to a blending boundary. We call this Temporal Self-Blended Images (T-SBI).

The contribution of this paper is not the generator but the measurement. It is easy to add such a prior and report an aggregate accuracy delta; it is much harder to show that any observed change is caused by the mechanism the prior was designed around. We therefore treat T-SBI as a controlled probe and ask three separable questions: does the temporal-illumination component change detection performance at all; is the illumination delta of the training pairs the active ingredient; and does the model become preferentially more robust on the image attribute—illumination—that the prior targets? Our contributions are:

  • A T-SBI generator with explicit pair-level illumination gating in LAB space, and a seven-variant shortcut ablation verifying that no class-asymmetric pipeline artefact confounds the comparison against classic SBI.

  • A three-seed ΔL\Delta L-quartile experiment isolating the training-pair illumination delta. High- ΔL\Delta L and low- ΔL\Delta L training differ by less than the combined seed standard deviation on every corpus; a video-level direction reversal on DFDC is shown to be a calibration-mediated aggregation artefact.

  • A failure taxonomy over 506,328 attribute-binned rows (nine models, four datasets, nine attribute axes) showing that T-SBI produces no preferential failure-rate reduction on harsh-illumination bins—the targeted mechanism is unsupported—and an operating-point analysis identifying a ≈\approx0.30 downward shift in optimal threshold, plus a compression-robustness gain of +0.084 AUC on DFDC,

as the effects that are actually present.