kartiknarayan commited on
Commit
04834e5
·
verified ·
1 Parent(s): e7cc70f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -0
README.md CHANGED
@@ -1,3 +1,72 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ tags:
4
+ - Face
5
+ - Face Recognition
6
+ - Biometrics
7
+ - MOE
8
+ - ViT
9
  ---
10
+
11
+ # FaceMoE: Mixture of Experts for Low-Resolution Face Recognition
12
+
13
+ <div align="center">
14
+
15
+ [**Project Page**](https://kartik-3004.github.io/FaceMoE/) **|** [**Paper (ArXiv)**](https://kartik-3004.github.io/portfolio/papers/FaceMOE.pdf) **|** [**Code**](https://github.com/Kartik-3004/FaceMoE)
16
+
17
+
18
+ </div>
19
+
20
+ **ECCV 2026**
21
+ **Authors:** Kartik Narayan, Vishal M. Patel
22
+ **Affiliation:** Johns Hopkins University
23
+
24
+ ## Abstract
25
+
26
+ Low-resolution face recognition remains challenging due to severe degradations in probe images, domain differences between high-resolution gallery and low-resolution probe data, and catastrophic forgetting during low-resolution adaptation. FaceMoE introduces a transformer with Mixture-of-Experts feed-forward blocks and a top-k router that dynamically activates specialized experts for different semantic facial regions. This resolution-aware sparse routing improves feature extraction under degradation while preserving pretrained knowledge and scaling capacity efficiently.
27
+
28
+ Across eleven datasets (high-quality, mixed-quality, and low-resolution benchmarks), FaceMoE outperforms prior state-of-the-art methods, including strong gains on BRIAR Protocol 3.1, IJB-S, and TinyFace.
29
+
30
+ <div align="center">
31
+ <img src='./assets/briar_ijbs_results.png'>
32
+ </div>
33
+
34
+
35
+ ## Motivation and Contributions
36
+
37
+ The motivation figure highlights three core LR-FR challenges: (1) degraded probe frames contain weak identity cues, making feature aggregation difficult; (2) a strong HR gallery vs LR probe domain gap changes which facial regions are discriminative; and (3) naive low-resolution fine-tuning can cause catastrophic forgetting.
38
+
39
+ FaceMoE addresses these challenges by introducing sparse expert FFNs, routing each token through top-k specialized experts, and improving adaptation to low-resolution data with minimal drop on high-quality and mixed-quality benchmarks.
40
+
41
+ <div align="center">
42
+ <img src='./assets/intro.png'>
43
+ </div>
44
+
45
+ ## FaceMoE Architecture
46
+
47
+ FaceMoE replaces the standard transformer FFN with multiple expert MLPs and a learnable top-k router. Tokens are sparsely routed to expert subsets, enabling resolution-aware feature extraction from different semantic facial regions. A composite objective with CosFace loss, router z-loss, and load-balancing loss stabilizes expert specialization. The reported effective configuration is **N = 3** experts with **k = 2** active experts per token.
48
+
49
+ <div align="center">
50
+ <img src='./assets/archi.png'>
51
+ </div>
52
+
53
+
54
+ ## Usage
55
+
56
+ You can download the weights using:
57
+
58
+ ```bash
59
+ from huggingface_hub import hf_hub_download
60
+
61
+ # Finetuned Weights
62
+
63
+ hf_hub_download(repo_id="kartiknarayan/FaceMoE", filename="swin4m_exp_3_k_2_briar_full/model.pt", local_dir="./weights")
64
+ hf_hub_download(repo_id="kartiknarayan/FaceMoE", filename="swin4m_exp_3_k_2_tinyface_full/model.pt", local_dir="./weights")
65
+ ```
66
+
67
+
68
+ ## Citation
69
+
70
+ Coming soon ...
71
+
72
+ Check our GitHub repo for complete training and inference instructions: https://github.com/Kartik-3004/FaceMoE