Papers
Topics
Authors
Recent
Search
2000 character limit reached

FaceGCD: Dynamic Face Identity Discovery

Updated 7 July 2026
  • FaceGCD is a face-specific method for generalized face discovery that tackles open-world face recognition challenges using dynamic, instance-specific prefix generation.
  • It leverages a ViT-based architecture and a HyperNetwork to create layer-wise key/value prefixes conditioned on facial features, enhancing fine-grained identity discrimination.
  • Empirical results on YTF and CASIA benchmarks demonstrate significant improvements in clustering both known and novel identities compared to baseline methods.

FaceGCD is a face-specific generalized category discovery method introduced together with the task of generalized face discovery (GFD), an open-world face recognition setting in which a model must recognize labeled known identities, exploit unlabeled samples from known identities, and discover previously unseen identities as distinct clusters (Oh et al., 30 Jul 2025). The central claim is that face identity discovery is substantially harder than generic GCD because face datasets exhibit high cardinality, fine-grained discrimination, low inter-class margin, subtle identity-specific cues, and uneven sample distributions. To address this, FaceGCD uses a ViT-based architecture with dynamic, instance-specific layer-wise prefixes generated by a HyperNetwork, so that the feature extractor is modulated separately for each input image rather than relying on a static prompt or a single fixed feature encoder (Oh et al., 30 Jul 2025).

1. Task definition and relation to prior settings

FaceGCD is built around generalized face discovery, defined as a mixed setting with labeled and unlabeled data over both known and novel identities (Oh et al., 30 Jul 2025). The model must simultaneously perform three functions: recognize known identities using labeled data, exploit unlabeled samples from those same identities, and discover entirely new identities from unlabeled or test data by clustering them into distinct unknown IDs.

This task differs from several adjacent formulations. Traditional face identification is a closed-set problem in which all test identities are assumed known during training, so no identity discovery is required (Oh et al., 30 Jul 2025). Open-set or open-world face recognition allows unknown identities at test time, but typically treats them as a single rejection category or as outliers, rather than partitioning them into multiple newly discovered identities (Oh et al., 30 Jul 2025). Generalized category discovery provides the closest conceptual analogue, but FaceGCD argues that direct transfer of generic GCD methods is ineffective because face IDs form a highly fine-grained and high-cardinality label space (Oh et al., 30 Jul 2025).

The method is therefore positioned as a face-specific response to the limitations of existing GCD systems on identity-centric data. A plausible implication is that the paper treats the representational demands of face recognition as qualitatively different from ordinary category discovery, even when the formal semi-supervised discovery structure is similar.

2. Formal problem setup and benchmark construction

The paper defines the labeled set as

DL={(xiL,yiL)}i=1NL,\mathcal{D}_{\mathcal{L}}=\{(x_i^L, y_i^L)\}_{i=1}^{N_L},

with labels in the set of known identities CL\mathcal{C}_{\mathcal{L}}, and the unlabeled set as

DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},

where unlabeled samples may belong either to known identities in CL\mathcal{C}_{\mathcal{L}} or to novel identities in CN\mathcal{C}_{\mathcal{N}} (Oh et al., 30 Jul 2025). Training therefore contains three semantic groups: labeled known identities, unlabeled known identities, and unlabeled novel identities.

Benchmark construction is based on YouTube Faces (YTF) and CASIA-WebFaces (Oh et al., 30 Jul 2025). Subsets contain 500, 1000, or 2000 identities, split 50/50 into known and unknown IDs. For each known identity, half of its training images are labeled and half are treated as unlabeled, while unknown identities are entirely unlabeled during training. The train/test split per identity is 90%/10% (Oh et al., 30 Jul 2025).

The six reported benchmarks are summarized below.

Benchmark Known/unknown split Train / test size
YTF 500 250 / 250 48,089 / 11,779
YTF 1000 500 / 500 96,002 / 23,523
YTF 2000 1000 / 1000 190,248 / 46,615
CASIA 500 250 / 250 46,991 / 11,999
CASIA 1000 500 / 500 89,508 / 22,867
CASIA 2000 1000 / 1000 184,432 / 47,114

The evaluation metric is clustering accuracy with Hungarian assignment, reported separately for Known, Novel, and All identities (Oh et al., 30 Jul 2025). The paper also reports Nearest-Neighbor Consistency (NNC),

$\text{NNC} = \frac{1}{N} \sum_{i=1}^{N} \frac{1}{k} \sum_{j \in \mathcal{N}_k(i)} \mathmybb{1}[\hat{y}_j = \hat{y}_i].$

An important assumption is that, for clustering, the number of clusters is set to match the ground-truth number of classes, i.e. CL+CN|\mathcal{C}_{\mathcal{L}}| + |\mathcal{C}_{\mathcal{N}}| (Oh et al., 30 Jul 2025).

3. Architecture: dynamic prefix generation with a HyperNetwork

FaceGCD uses a pretrained ViT-B/16 backbone pretrained with DINO on MS1MV3, with patch size set to 8 for facial patch extraction and the [CLS] token used for downstream representation (Oh et al., 30 Jul 2025). The method contains two transformer roles: a static frozen feature extractor used to produce conditioning features for the HyperNetwork, and the main ViT backbone that receives dynamically generated prefixes (Oh et al., 30 Jul 2025).

A pretrained landmark CNN based on MobileNetV3, following Part-FViT, detects facial landmarks and supports landmark-guided facial patch extraction (Oh et al., 30 Jul 2025). This preprocessing is intended to make the tokenization more face-structure-aware.

The defining mechanism is the generation of image-conditioned, layer-wise key/value prefixes. For each transformer layer LL, the frozen static ViT produces conditioning features z(L)\mathbf{z}^{(L)}, and a lightweight 2-layer MLP HyperNetwork H()\mathcal{H}(\cdot) maps those features to layer-specific parameters CL\mathcal{C}_{\mathcal{L}}0 that instantiate an input-dependent prefix generator (Oh et al., 30 Jul 2025). The paper states the core generation relation as

CL\mathcal{C}_{\mathcal{L}}1

where CL\mathcal{C}_{\mathcal{L}}2 is a randomly initialized prefix.

The appendix formalizes the generated prefixes as

CL\mathcal{C}_{\mathcal{L}}3

CL\mathcal{C}_{\mathcal{L}}4

where CL\mathcal{C}_{\mathcal{L}}5 has shape CL\mathcal{C}_{\mathcal{L}}6, CL\mathcal{C}_{\mathcal{L}}7, CL\mathcal{C}_{\mathcal{L}}8, and CL\mathcal{C}_{\mathcal{L}}9 (Oh et al., 30 Jul 2025). The reported implementation implies 12 attention heads, 64 per-head dimensions, and a bottleneck dimension of 16 (Oh et al., 30 Jul 2025).

These prefixes are injected into self-attention by concatenating them to the key and value sequences while leaving queries unchanged:

DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},0

This design follows prompt-learning intuition in which the model adapts the context presented to attention without altering the original query stream (Oh et al., 30 Jul 2025).

The architecture therefore differs from both a static prefix pool and a static prefix generator. The former uses a fixed bank of prompts, and the latter uses one generator for all inputs; FaceGCD instead generates a different set of prefixes for each image and for each layer (Oh et al., 30 Jul 2025). The paper’s main conceptual claim is that such per-instance modulation is better suited to the subtle identity differences that govern face discovery.

4. Training objective, optimization, and inference

FaceGCD is trained with a semi-supervised contrastive objective rather than with ArcFace loss (Oh et al., 30 Jul 2025). The batch loss is

DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},1

where DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},2 is an unsupervised contrastive loss, DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},3 is a supervised contrastive loss for labeled samples, DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},4 is the temperature scaling hyperparameter, and DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},5 is the supervised loss weight (Oh et al., 30 Jul 2025).

The unsupervised term is

DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},6

and the supervised contrastive term is

DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},7

where DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},8 denotes samples in the batch sharing the same identity as DU={xjU}j=1NU,\mathcal{D}_{\mathcal{U}}=\{x_j^U\}_{j=1}^{N_U},9 (Oh et al., 30 Jul 2025). All samples participate in the unsupervised contrastive term, while only labeled samples contribute to the supervised term (Oh et al., 30 Jul 2025). The paper emphasizes that it does not introduce additional pseudo-label, entropy minimization, or self-distillation losses, so the architectural contribution is evaluated under the same general style of objective used in GCD (Oh et al., 30 Jul 2025).

During fine-tuning, FaceGCD trains only the HyperNetwork, the final layer of the backbone ViT, and the DINO head CL\mathcal{C}_{\mathcal{L}}0, while most of the backbone ViT, the landmark CNN, and the static conditioning extractor remain frozen (Oh et al., 30 Jul 2025). Pretraining is conducted for 50 epochs using default hyperparameters of original DINO and ArcFace implementations, and GFD fine-tuning runs for 200 epochs with batch size 128, SGD, momentum 0.9, weight decay CL\mathcal{C}_{\mathcal{L}}1, base learning rate 0.1, warm-up learning rate CL\mathcal{C}_{\mathcal{L}}2, warm-up for the first 5 epochs, and cosine learning rate decay (Oh et al., 30 Jul 2025). The reported temperature is CL\mathcal{C}_{\mathcal{L}}3 and the supervised loss weight is CL\mathcal{C}_{\mathcal{L}}4 (Oh et al., 30 Jul 2025).

Inference follows the same dynamic-prefix pipeline: landmark detection, frozen static ViT feature extraction, HyperNetwork-conditioned prefix generation, main ViT forward pass, and final embedding extraction (Oh et al., 30 Jul 2025). Final assignments are then produced by clustering the embeddings with semi-supervised k-means (SSK) from GCD (Oh et al., 30 Jul 2025). The paper explicitly states that prediction is not based on a classifier-plus-rejector architecture; instead, representations are clustered jointly and evaluated under a single Hungarian matching over all classes (Oh et al., 30 Jul 2025).

5. Empirical results and ablation evidence

FaceGCD reports state-of-the-art results on all six GFD benchmarks relative to the listed GCD baselines GCD, SimGCD, PromptCAL, and CMS (Oh et al., 30 Jul 2025). On YTF 500, it achieves 81.2 / 93.8 / 68.6 for Known / Novel / All, improving the All score by +6.0 over PromptCAL, +7.1 over SimGCD, and +10.7 over GCD (Oh et al., 30 Jul 2025). On YTF 1000, it achieves 82.7 / 93.2 / 72.1, with gains of +7.7 All over PromptCAL, +9.9 All over SimGCD, and +12.3 All over GCD; the Novel gain is +8.3 over PromptCAL and +22.0 over SimGCD (Oh et al., 30 Jul 2025). On YTF 2000, the result is 83.6 / 91.8 / 75.4, including +11.0 All over SimGCD, +13.3 Novel over GCD, and +18.7 Novel over PromptCAL (Oh et al., 30 Jul 2025).

On CASIA-based benchmarks, the method also leads consistently: 58.8 / 68.9 / 48.7 on CASIA 500, 52.2 / 52.3 / 52.2 on CASIA 1000, and 56.1 / 60.4 / 51.7 on CASIA 2000 (Oh et al., 30 Jul 2025). The most stable pattern across these tables is that FaceGCD wins on every benchmark in the All column, with particularly strong gains in Novel accuracy (Oh et al., 30 Jul 2025).

The method also outperforms a strong face recognition baseline under multiple clustering backends. On YTF 1000 with SSK, FaceGCD achieves 82.7 / 93.2 / 72.1, compared with 73.0 / 78.3 / 67.6 for ArcFace and 72.0 / 87.9 / 56.1 for ArcFace + GCD (Oh et al., 30 Jul 2025). Its advantage persists under K-Means, HAC, and DBSCAN, which the paper interprets as evidence that the learned embeddings themselves are more discoverable rather than merely being better matched to one clustering algorithm (Oh et al., 30 Jul 2025).

Embedding quality is further supported by NNC on YTF1000: FaceGCD obtains ACC 82.7, NNC 91.1, compared with ACC 70.4, NNC 83.6 for GCD and ACC 73.0, NNC 82.7 for ArcFace (Oh et al., 30 Jul 2025). This indicates improvements in both global clustering accuracy and local neighborhood consistency.

Ablation studies isolate the role of dynamic generation. A Static Prefix Pool yields 42.6 / 52.8 / 32.3 on YTF 1000, a major degradation relative to FaceGCD (Oh et al., 30 Jul 2025). A Static Prefix Generator yields 76.9 / 81.7 / 72.1, but requires 399.9M additional params, 427.2M trainable params, and 593.8M total params, whereas FaceGCD uses 13.8M additional params (6.6%), 41.1M trainable params (19.8%), and 207.7M total params (Oh et al., 30 Jul 2025). The paper therefore argues that input-conditioned dynamic generation is both more accurate and more parameter-efficient than increasing static capacity.

Prefix-length ablations on YTF 1000 show 80.9 / 91.1 / 70.4 for prefix size 5, 82.9 / 92.9 / 72.8 for prefix size 10, and 82.7 / 93.2 / 72.1 for prefix size 20 (Oh et al., 30 Jul 2025). The reported pattern is that prefix size 5 is inadequate, while performance saturates for moderate prefix sizes (Oh et al., 30 Jul 2025).

6. Interpretation, limitations, and broader context

The central contribution of FaceGCD is the claim that open-world face recognition should be treated as adaptive per-instance representation learning rather than as direct transfer of generic GCD or closed-set face identification (Oh et al., 30 Jul 2025). In this view, faces are not merely another fine-grained category set; they require feature extractors that can adapt to subtle identity-specific cues on a sample-by-sample basis.

The paper also evaluates FaceGCD on generic GCD benchmarks including CIFAR100, ImageNet100, CUB, Stanford Cars, FGVC Aircraft, and Herbarium19, where it is competitive or state of the art on several fine-grained datasets, including CUB: 64.5 All, Stanford Cars: 62.5 All, 67.6 Novel, and Herbarium19: 42.6 All, 40.8 Novel (Oh et al., 30 Jul 2025). This suggests that the mechanism is not strictly face-bound, although the paper emphasizes that its primary motivation is the particular difficulty of face identity discovery.

Several limitations are explicit or directly inferable from the reported setup. The clustering stage requires the ground-truth number of classes during evaluation, which weakens real-world open-world realism (Oh et al., 30 Jul 2025). The final prediction protocol depends on offline clustering rather than online identity creation in a streaming environment (Oh et al., 30 Jul 2025). The system also relies on substantial pretrained components, including a DINO-pretrained ViT on MS1MV3 and a pretrained landmark detector (Oh et al., 30 Jul 2025). In addition, the method is architecturally complex, involving a static extractor, a main backbone, hypernetwork-conditioned prefix generation, and facial landmark preprocessing (Oh et al., 30 Jul 2025).

The paper notes reproducibility ambiguities as well. The most salient is a prefix size inconsistency: the appendix says prefix size = 20 in all experiments, while the ablation table reports the best YTF1000 result for prefix size 10 (Oh et al., 30 Jul 2025). The provided text also omits detailed augmentation recipes, even though the contrastive setup depends on augmented views CL\mathcal{C}_{\mathcal{L}}5 (Oh et al., 30 Jul 2025). These issues do not alter the methodological claim but do affect exact reproduction.

Within the broader literature, FaceGCD stands as a face-specific extension of generalized category discovery rather than a conventional face identification system. The related paper "SGF-CDNet: A Consistency-Discrepancy Graph Network over Semantic-Geometric Fused Nodes for Face Forgery Detection" describes its own approach as being in the same broad family as “FaceGCD-style methods” in the sense of prioritizing structural, component-level reasoning over manipulation-specific artifacts, though SGF-CDNet addresses face forgery detection rather than identity discovery (Jiang et al., 4 Jul 2026). This suggests that the label “FaceGCD” has begun to function, at least informally, as a reference point for structure-aware and generalization-oriented face analysis. A plausible implication is that FaceGCD’s longer-term significance lies not only in the specific GFD benchmark results, but also in establishing a face-domain template for open-world representation learning based on input-conditioned modulation (Oh et al., 30 Jul 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to FaceGCD.