arXiv(opens in a new tab)cs.CVAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.28777

FairReL: Deepfake Detection using Fairness-Aware Representation Learning

Xiaoman Lu, Jiaqi Li, Shuntian Zheng, Huiping Chen, Yu Guan

Xiaoman Lu¹

xiaoman.lu@warwick.ac.uk

Jiaqi Li¹

Jiaqi.Li.16@warwick.ac.uk

Shuntian Zheng¹

Shuntian.Zheng@warwick.ac.uk

Huping Chen²

h.chen.13@bham.ac.uk

Yu Guan*¹

Yu.Guan@warwick.ac.uk

¹ Department of Computer Science University of Warwick Coventry, United Kingdom

² School of Computer Science University of Birmingham Birmingham, United Kingdom

26424

arXiv:2608.28777v1 [cs.CV]

Abstract

Although recent deepfake detectors achieve high overall accuracy, their errors remain unevenly distributed across demographic subgroups, with real faces from certain groups more often misclassified as fake. Existing fairness-aware detectors typically regularise the entire feature representation, without identifying or controlling the specific components that drive unfair predictions. Such coarse intervention can over-suppress useful forgery cues while leaving demographic structure in component-specific subspaces. To address this, we identify two subgroup-sensitive components: multi-scale spatial features, which encode local facial and forgery patterns, and fine-tuning-induced residual features, which adapt the backbone to the unfair training distribution. We propose FairReL, a fairness-aware representation-learning framework that targets both components with dedicated demographic supervision. FairReL uses an SVD-decomposed foundation-model backbone to isolate the fine-tuning-induced residual representation, and introduces two complementary losses. Group-Conditional Wavelet Decorrelation (GCWD) suppresses subgroup-imbalanced structure across spatial wavelet sub-bands, while Subspace-Localised Mean Alignment (SLMA) aligns subgroup means within each real/fake class in the residual representation. Experiments on FF++, Celeb-DF, DFD and DFDC show that, against the state-of-the-art fairness-aware detector, FairReL improves unseen-dataset AUC by 3.9% while reducing subgroup FPR disparity by 10.2%. Code is available at https://github.com/xiaoman89/FairReL.

1 Introduction

With rapid advances in generative AI, deepfakes have become increasingly realistic and accessible [63]. These synthetic facial images and videos can be produced by modern

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms. *Corresponding author.

Figure

Figure 1: False positive rate (the fraction of real faces misclassified as fake, the lower the better) across six demographic subgroups for a vanilla Xception detector [0], evaluated at a single shared threshold. The Female-Black group shows the highest rate.

generative models, including variational autoencoders [2, 3], generative adversarial networks [5, 7, 21], and diffusion models [0], raising serious societal concerns [6]. In response, extensive research has focused on deepfake detection, with recent detectors achieving strong overall accuracy on standard benchmarks [0, 24, 35] and showing improved generalisation to manipulation methods unseen during training [40, 46, 49].

However, recent studies have shown that current deepfake detectors exhibit demographic unfairness [60, 61, 62], with detection errors unevenly distributed across groups such as gender and ethnicity [63]. As shown in Figure 1, a vanilla Xception detector [0] misclassifies real Female-Black faces as fake over three times as often as real Male-White faces. This calls for a fairness-aware deepfake detector that reduces subgroup-level error gaps without sacrificing detection accuracy, while preserving such fairness across manipulation methods and demographic distributions unseen during training.

Existing fairness-aware deepfake detectors mainly reduce subgroup disparity by adding fairness constraints during training. Some methods operate on the final prediction by reweighting samples or penalising group-specific error gaps [0, 13, 26], while others regularise learned features by matching their distributions across demographic groups [1, 23, 57, 68]. However, both strategies intervene only after multiple sources of evidence have already been mixed together, and therefore provide limited control over what is actually being suppressed. In prediction-level methods, subgroup-sensitive shortcuts may remain encoded in the representation even if the final outputs appear more balanced, making the fairness gain brittle under distribution shift [0, 26]. In representation-level methods, applying the same regularisation to the entire feature can blur the distinction between harmful subgroup cues and useful forgery evidence, leading to a trade-off between fairness and detection performance [10]. This suggests that the key question is not simply whether to impose a fairness constraint, but where subgroup-sensitive structure arises and how it can be targeted more precisely.

Building on this gap, our motivation is to control two sources of unfairness in deepfake detectors. The first source comes from the spatial-scale mismatch between demographic appearance and forgery evidence. Many subgroup-related facial attributes (e.g., skin tone, overall facial geometry) are expressed as relatively coarse and spatially smooth patterns, whereas many forgery cues arise from more local inconsistencies (e.g., blending boundaries, texture artefacts, and synthesis traces) [65]. This scale difference suggests that decomposing the spatial feature map into frequency bands can provide a useful handle for separating part of the demographic-related appearance variation from forgery-related evidence. The second source arises during task adaptation. Modern deepfake detectors are commonly fine-tuned on benchmarks whose demographic coverage is limited or unevenly distributed [43]. When a pre-trained backbone is adapted on such data, subgroup-specific correlations can be absorbed into the task-adapted representation and later be mistaken for evidence of fakeness [43, 47].

Motivated by these two bias sources, we propose FairRel, a fairness-aware representation-learning framework for generalisable deepfake detection. Instead of imposing a single fairness constraint on the final embedding, FairRel intervenes at the stages where subgroup bias is most likely to enter and be amplified. First, before global pooling collapses spatial structure, Group-Conditional Wavelet Decorrelation (GCWD) decomposes the spatial feature map into wavelet sub-bands and penalises subgroup-dependent spectral imbalance. This alleviates demographic appearance shortcuts at the spatial-frequency level while preserving local forgery evidence. Second, to prevent biased fine-tuning from contaminating the whole backbone, FairRel decomposes each adapted weight into a frozen principal component and a trainable residual component. Subspace-Localised Mean Alignment (SLMA) then aligns subgroup means only in the residual representation and only within the same real/fake class, reducing adaptation-induced demographic shifts without weakening the discriminative space used for detection. In this way, FairRel targets two complementary mechanisms of unfairness (spatial-frequency bias and residual adaptation bias) while requiring demographic labels only during training and adding no inference-time overhead. Extensive experiments demonstrate that FairRel improves the average AUC on unseen datasets by 3.9 percentage points over existing fairness-aware detector, while reducing subgroup FPR disparity by 10.2% compared to existing fairness-aware detectors.

The main contributions of this paper are as follows.

  • We identify two representation components that are closely linked to unfairness in deepfake detection. One is the spatial feature map, where frequency decomposition helps separate demographic appearance cues from forgery evidence. The other is the fine-tuning residual, where imbalanced training data can introduce subgroup-specific shifts.

  • We propose FairRel, a targeted fairness-aware framework that controls these components without regularising the whole embedding. GCWD reduces subgroup imbalance in the wavelet bands of spatial features, while SLMA aligns class-conditional subgroup means in the residual subspace to suppress adaptation-induced bias.

  • We conduct extensive experiments on FF++ [45], Celeb-DF [25], DFD [11] and DFDC [9], showing that FairRel achieves a stronger fairness-generalisation trade-off than ERM, generalisation-oriented and fairness-oriented baselines. Ablations and representation-level analyses further confirm that GCWD and SLMA target complementary sources of subgroup bias and that localising fairness supervision to the trainable residual is effective.

References (45)

  • Deepfake: Classifiers, fairness, and demographically robust algorithm
  • Gender shades: Intersectional accuracy disparities in commercial gender classification
  • Advances in Neural Information Processing Systems, 38:52596–52621, 2025
  • Forensics adapter: Adapting clip for generalizable face forgery detection
  • Diffusion models beat gans on image synthesis
  • Fairadapter: Detecting ai-generated images with improved fairness
  • The deepfake detection challenge dataset (opens arXiv in a new tab)
  • Contributing data to deepfake detection research
  • Censoring representations with an adversary
  • Data-driven fairness generalization for deepfake detection (opens arXiv in a new tab)
  • Domain-adversarial training of neural networks
  • Shortcut learning in deep neural networks
  • Generative adversarial nets
  • Face recognition vendor test part 3: Demographic effects
  • Deepfake video detection using recurrent neural networks
  • Equality of opportunity in supervised learning
  • Improving fairness in deep-fake detection
  • A style-based generator architecture for generative adversarial networks
  • Analyzing and improving the image quality of stylegan
  • Auto-Encoding Variational Bayes
  • Face x-ray for more general face forgery detection
  • Exposing deepfake videos by detecting face warping artifacts
  • Celeb-df: A large-scale challenging dataset for deepfake forensics
  • Preserving fairness generalization in deepfake detection
  • Decoupled weight decay regularization
  • Learning adversarially fair and transferable representations
  • Deepfakes generation and detection: state-of-the-art, open challenges, countermeasures, and way forward: Deepfakes generation and detection: state-of-the-art, open challenges, countermeasures, and way forward
  • Gbdf: Gender balanced deepfake dataset towards fair deepfake detection
  • Towards universal fake image detectors that generalize across generative models
  • Deepfake generation and detection: A benchmark and survey
  • Thinking in frequency: Face forgery detection by mining frequency-aware clues
  • Learning transferable visual models from natural language supervision
  • Null it out: Guarding protected attributes by iterative nullspace projection
  • Linear adversarial concept erasure
  • Faceforensics++: Learning to detect manipulated facial images
  • Grad-cam: Visual explanations from deep networks via gradient-based localization
  • Learning structured output representation using deep conditional generative models
  • An examination of fairness of ai models for deepfake detection (opens arXiv in a new tab)
  • IEEE Transactions on Technology and Society, 5(1):93–106, 2024
  • Ucf: Uncovering common features for generalizable deepfake detection
  • A comprehensive benchmark of deepfake detection
  • Orthogonal subspace decomposition for generalizable ai-generated image detection
  • Exposing deep fakes using inconsistent head poses
  • Decoupling forgery semantics for generalizable deepfake detection
  • Deepfake detection that generalizes across benchmarks