arXiv:2610.01385cs.CROct 2026

Manuscript Offprint

arXiv:2610.01385

Is it Possible to Generate Irreversible PolyProtected Templates from Face Embeddings using System-Specific Keys?

Vedrana Krivokuća Hahn, Jérémy Maceiras, Sébastien Marcel

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

Vedrana Krivokuća Hahn, Jérémy Maceiras, Sébastien Marcel, Senior Member, IEEE

Abstract—This work aims to answer the question of whether it is possible to generate irreversible protected templates when the PolyProtect biometric template protection method is applied to face embeddings using system-specific keys (i.e., the same C and E parameters, which define the transform, are applied to all subjects' face embeddings), instead of the traditional subject-specific keys (i.e., each subject has their own C and E parameters). This is important for determining whether we can perform deduplication of face identities in the PolyProtected domain, which is not possible in the subject-specific key scenario due to the clash with PolyProtect's unlinkability property (i.e., one could generate multiple protected templates belonging to the same identity, using different C and E parameters, such that those templates cannot be linked to each other). We present experiments 1^{1} to prove that there exist at least three ways of systematically selecting system-specific keys that produce irreversible PolyProtected templates: (i) from pre-selected subject-specific keys, (ii) by applying a previously proposed key selection algorithm to random vectors, and (iii) by approximating a “good” C/E pair distribution from which system-specific keys can be constructed. Our findings thus point to the conclusion that it is, indeed, possible to safely operate PolyProtect in the system-specific key scenario without degrading the template protection potential. This opens up the possibility for identity de-duplication in the PolyProtected domain.

Index Terms—biometrics, face recognition, biometric template protection, PolyProtect, irreversibility, de-duplication.

I. INTRODUCTION

F Aces are unique, face images are easy to capture, and we have access to highly accurate (and often free) face recognition algorithms as well as a variety of face image datasets. It is no wonder, therefore, that automated face recognition technologies have become ubiquitous tools for human identity checks in many applications, ranging from personal device or account management (e.g., accessing a laptop or smartphone, logging in to online services such as banking) to large-scale identity checks (e.g., passport verification at electronic airport gates, surveillance in crowds). While the convenience and improved security provided by this form of authentication (compared to traditional methods like passwords or manual identity checks) are evident, the price we pay is our privacy. The more our face data is harvested, the greater the chances of this data being leaked and used for nefarious purposes, such as impersonation through deepfake or spoofing attacks, or tracking across different applications in which the same faces are enrolled. So, to ensure that we can benefit from face recognition technologies without jeopardising our privacy, it is important to protect the employed face data.

The protection of face (and other biometric) data falls within the domain of Biometric Template Protection (BTP). The aim of BTP is to create a protected template from a biometric feature vector (unprotected template), such that it is impossible to “invert” the protected template to recover the unprotected one. In this paper, we consider BTP in the context of face recognition systems. Modern face recognition systems avail of deep-learning-based “models” that have been trained to convert face images to fixed-length numerical representations (feature vectors) called “embeddings”. Face embeddings have been shown to be invertible [1], meaning they can be used to recover an approximation of the underlying face image [2]–[5], and soft biometric attributes (e.g., sex, race, age, hair colour) can be extracted from these representations [6], [7]. So, face embeddings must be protected (via BTP), to prevent recovery of the original face information and thus preserve the privacy of the people enrolled in the face recognition system. Face BTP methods come in two main flavours: Handcrafted (designed by humans) and Learned (learned via neural networks).

Handcrafted BTP methods include: feature transformations [8] (transforming a biometric template to a protected feature space, e.g., [9], [10]); biometric cryptosystems [11] (usually “binding” a biometric template with an external key, e.g., [12], [13]); and homomorphic encryption [14] (matching reference and probe templates in the encrypted domain, e.g., [15]–[17]). Learned BTP methods [18] include: training a neural network to transform a biometric template to a pre-defined random code (e.g., [19], [20]); or training a neural network to learn its own representation of a protected template (e.g., [21]–[23]). Learned BTP methods have the potential for more complex transforms that generate more secure protected templates, as we are not limited by the know-how of human engineers; however, handcrafted methods are easier to use in practice, since they can more readily be integrated into existing biometric systems (e.g., as a module after the feature extractor), and they tend to be easier to evaluate since they are designed by humans and thus have more explicit properties compared to black-box neural-network-learned BTP algorithms. For these reasons, we chose to focus on handcrafted BTP methods, and we selected PolyProtect [10] as our case-study.

PolyProtect transforms face embeddings into protected templates using multivariate polynomials, whose coefficients (C) and exponents (E) are external parameters. A polynomial is applied to consecutive sets of embedding elements, where the amount of overlap between the sets is a tunable parameter. We selected PolyProtect for the same reasons as those outlined in [24], i.e., it is easy and lightweight to implement, modular (can be integrated into existing face recognition systems), satisfies the main BTP criteria (recognition accuracy, irreversibility, unlinkability) [10], [24], [25], and comes with open-source

All authors are with Idiap Research Institute in Martigny, Switzerland.

1^{1}Reproducible using our open-source code: Link upon paper acceptance.

code. 2^{2} More specifically, our work builds upon the findings from [24], so it falls within the context of the same global aim, which is to develop a privacy-preserving, open-source face identification system for humanitarian aid distribution. PolyProtect thus remains the best choice of BTP method as it most closely aligns with our requirements.

The work in [24] presented a deeper dive into the “irreversibility” of PolyProtect. One of the main contributions was a new key selection algorithm, which ensures that the C and E parameters (“keys”) selected for PolyProtect’s transformation polynomials result in the generation of irreversible protected templates. The need for this algorithm was motivated by the finding that there exists a more powerful worst-case attacker than that assumed in the original PolyProtect work [10], whereby a cosine-distance-based numerical solver is used to invert a PolyProtected face template produced from randomly generated C and E to recover a very close approximation (in terms of cosine distance) to the original face embedding. It was thus recommended that C and E be chosen using the proposed key selection algorithm, which was shown to significantly improve the irreversibility of PolyProtected templates compared to when these parameters are generated in a purely random fashion. This investigation was conducted in the scenario where C and E are subject-specific, i.e., each subject (identity) enrolled in the face recognition system has their own (unique) set of these parameters. This makes sense, as it is in line with how PolyProtect was designed to operate.

We now face the following problem. The ultimate goal of our work is to investigate whether it is possible to perform de-duplication of face templates in the protected domain, in order to check whether the same person has enrolled more than once in the same face recognition system (for the purposes of “double-dipping”, or accessing more than their fair share of resources in a humanitarian aid distribution setting), while ensuring that the face data remains protected during this (post-enrollment) process. In this case, employing subject-specific keys for PolyProtect would not work, since this would conflict with the unlinkability property of this BTP method, i.e., since it is possible to generate N unlinkable (non-matching) protected templates from the same face identity using N different “keys” (sets of C, E parameters), then it is effectively possible to simulate N different face identities in the protected domain, making it impossible to detect multiple enrollments of this particular face identity. So, the aim of this paper is to investigate the use of system-specific keys instead, whereby all subjects would be enrolled in the face recognition system using the same C and E parameters to generate their PolyProtected templates. In this case, all face embeddings would be transformed in the same way, making it possible to perform de-duplication in the protected domain.

Our main concern with a system-specific key approach relates to the effect that the selected keys may have on the irreversibility of the protected templates. In particular, the following issue arises: How do we select a single system-specific key (i.e., a set of C and E parameters) that would “work” for all subjects, meaning that the key would lead to the generation of irreversible protected templates for everyone enrolled in the face recognition system? This question was born out of the findings in [24], where it was recommended that PolyProtect’s keys not be selected randomly, since “bad” keys may result in reversible (invertible) protected templates; however, the proposed key selection algorithm, which was shown to be capable of selecting “good” keys that lead to irreversible protected templates, was investigated only in the subject-specific key scenario, where the keys were chosen separately for each subject. So, we asked ourselves the following question: Could the same key selection algorithm be used to select a single system-specific key that would ensure the irreversibility of all subjects’ protected templates? In other words, is the proposed key selection algorithm generalizable to the system-specific key scenario, or is it limited to the selection of subject-specific keys? This investigation is important for understanding whether or not PolyProtect can operate in the system-specific key scenario, in order to enable de-duplication in the protected domain while ensuring the irreversibility of the protected templates and thus protecting the underlying face data. This is the focus of our paper, illustrated in Fig. 1.

Figure

Fig. 1. We investigate the selection of system-specific keys (C,E)(C, E) for the PolyProtect BTP method, such that the protected templates (P1,...,PN)(P_1, ..., P_N), generated from the face embeddings (E1,...,EN)(E_1, ..., E_N) of all identities enrolled in the face recognition system (I1,...,IN)(I_1, ..., I_N) are irreversible, i.e., it is impossible to recover EiE_i from its corresponding PiP_i. (Face images from SOTERIA [26].)

Our main contributions are the following:

  1. We show that PolyProtect “keys” (sets of C and E parameters) chosen for specific subjects’ face embeddings using the key selection algorithm from [24] are generalizable to different subjects. In other words, a key chosen for one subject’s face embedding can be used to generate an irreversible PolyProtected template from another subject’s face embedding. This suggests that the key selection algorithm is not limited to the subject-specific scenario, meaning that it seems suitable for the selection of system-specific keys.

  2. We demonstrate that applying the key selection algorithm from [24] to random vectors, whose values lie in the same range as the target face embeddings, then applying the selected keys (C,E)(C, E) to the face embeddings, still results in the generation of irreversible PolyProtected templates. This implies that the key se-

2^{2}https://gitlab.idiap.ch/bob/bob.paper.polyprotect_2021 lection algorithm does not strictly depend on the face embeddings themselves, but rather on the range in which the embedding values lie. Consequently, we show that “good” keys can actually be chosen independently of the face embeddings to which they will be applied (to generate the PolyProtected templates). This further confirms the generalizability of the key selection algorithm from [24] towards the system-specific key scenario.

  1. We show that it is possible to use the keys selected on random vectors (from 2) to establish a “good” key distribution, consisting of all the C values chosen for each possible E value. We then select (Ci,Ei)(C_i, E_i) pairs from this distribution to make up 5-pair (C,E)(C, E) sequences that represent the keys, instead of pre-generating the full sequences and picking the keys directly from this list (as in 1 or 2). We demonstrate that this approach, too, allows us to choose keys that lead to the generation of irreversible PolyProtected templates. So, we confirm the existence of some set of “good” keys, including individual C/E pairs, which the key selection algorithm from [24] is able to identify, and which work in both the subject- and system-specific PolyProtect scenarios.

The remainder of this paper is structured as follows. Section II presents the background required to understand the work in this paper, namely the PolyProtect BTP method [10] that is our focus and the key selection algorithm [24] that we investigate in the system-specific key scenario. Section III then dives into the main contributions of this work, presenting three experiments that investigate the generalizability of the key selection algorithm to the system-specific key scenario: the use of subject-specific keys to generate irreversible PolyProtected templates for different subjects, the use of random vectors instead of face embeddings to select system-specific keys that produce irreversible PolyProtected templates for all subjects, and the selection of system-specific keys directly from a “good” C/E pair distribution. Section IV wraps up the findings from this paper and proposes directions for future work.

References (31)