arXiv:2611.06412cs.CVNov 2026

Manuscript Offprint

arXiv:2611.06412

A Bag of Tricks for Defending Deep Learning-based Face Recognition Pipelines against Backdoor Attacks

Quentin Le Roux, Marti Jimenez, Yannick Teglia, Philippe Loubet Moundi

Quentin Le Roux

Cybersecurity AI Team (CAT) Thales Cyber & Digital La Ciotat, France (quentin.le-roux@thalesgroup.com)

Martí Jimenez

Cybersecurity AI Team (CAT) Thales Cyber & Digital La Ciotat, France (marti.jimenez@thalesgroup.com)

Yannick Teglia

Cybersecurity AI Team (CAT) Thales Cyber & Digital La Ciotat, France

Philippe Loubet Moundi

Cybersecurity AI Team (CAT) Thales Cyber & Digital La Ciotat, France

Abstract

The protection of mature, multi-stage Face Recognition Systems is crucial to system providers. This technical report targets the threat model most relevant to industry practitioners: although model training is performed in-house, training data is sourced from possibly-compromised third parties. Given this setting, we present three practical defense "tricks" against data poisoning-based backdoor attacks. The first operates at training-time, detecting poisoned identities during training or prior to a pipeline's deployment. The last two operate at inference-time, filtering suspicious inputs before an answer can be sent back to a potential attacker. Each method is presented with their motivation, algorithms and computational impact, and evaluated on realistic face recognition workloads. Our goal is to provide actionable hardening techniques to system providers.

1 Introduction

The proliferation of deep neural network (DNN)-based pipelines in critical applications has introduced multiple integrity vulnerabilities that the AI community must address. Face Recognition Systems (FRSs) are a key example of such applications. Rather than a single model, an FRS comprises a sequential chain of specialized components: face detectors, geometric alignment modules, face antispoofers or presentation attack detectors (PAD), and face feature extractors. Each model is trained independently, often using third-party infrastructure or datasets [19, 30] without guarantees of supply-chain integrity [16]. In this context, backdoor attacks, a class of integrity threats where an attacker injects a covert, malicious, and trigger-conditioned behavior in a DNN, represent a major problem. Backdoored models behave indistinguishably from clean ones on benign inputs. However, they can be silently activated using the right trigger pattern to subvert critical tasks, such as performing impersonation attacks against authentication FRSs [32].

Despite a growing body of literature on backdoor attacks targeting individual FRS components [31, 32, 52], few defenses are truly adapted to an FRS' specialized series of tasks. Existing defenses [15, 49] are predominantly designed and evaluated against single-model, closed-set image classification benchmarks, i.e., fixed label spaces with a known number of classes at both training- and inference-time. These assumptions break down in the Face Recognition setting for two reasons. First, face feature extractors operate in an open-set metric space governed by angular loss geometries [11, 37, 50]. An attacker therefore must manipulate embedding similarities rather than flipping discrete output labels. Label-centric defenses are therefore not adapted. Second, the sequential structure of an FRS means that a backdoor implanted in an upstream component (e.g., detector, antispoofer) can propagate misaligned, poisoned inputs to downstream stages. This may amplify an attack's effect beyond what any single-component defense can observe or capture [31, 32]. System-level backdoor survivability has only recently been characterized [32], and corresponding system-aware defenses remain an open problem.

The gap between the capabilities of existing attacks and the applicability of available defenses highlights that better backdoor mitigation strategies are needed. A key model to defend is the face feature extraction stage. As the component

Figure

Figure 1: Schema of a sequential Face Recognition System, juxtaposed with the defenses covered in this paper.

responsible for producing face embeddings, it represents the one model any attacker needs to affect to run successful impersonation attacks, even if a backdoor's target model may be a different one in an FRS [32]. Effective defenses must therefore operate under an open-set assumption, handle the hypersphere geometry inherited from angular margin loss training, and remain practical under realistic constraints from the defender's perspective.

This paper proposes a "bag of defense tricks." Focusing primarily on defenses implemented at the face feature extractor level, we describe 3 easily deployable countermeasures for protecting FRSs against backdoor attacks (see Fig. 1):

  1. [training-time] Early Poison Identification¹ identifies outlier, possibly poisoned, identities during the early training batches of a face feature extractor by observing their top-1 classification accuracy via the training margin head.

  2. [inference-time] Detector-level Model Pairing pairs a simpler face detector with an FRS' main model. Discrepancies in bounding box predictions and landmark regressions between them lead to a rejection.

  3. [inference-time] Cut-and-Mix² identifies poisoned user submissions by splitting them into contiguous cutouts and pasting them on a small set of held-out data. Suspicious matches with the original submission indicate the possible presence of a backdoor trigger.

These defenses are easily-implementable contributions for model designers and trainers in order to protect FRSs. This paper presents experiments displaying their applicability, but also failure points, and highlights future direction for defending fully-fledged FRSs.

References (60)