Idiap-Data commited on
Commit
764c62f
·
verified ·
1 Parent(s): b6a447b

Upload 3 files

Browse files
Files changed (3) hide show
  1. DIU.ckpt +3 -0
  2. DIU_checksum.txt +2 -0
  3. README.md +91 -3
DIU.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20189c88f1878ad8676ad42d42c45191ed9fcc3204812fcb4a474b2060a468b2
3
+ size 628186247
DIU_checksum.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Filename: DIU.ckpt
2
+ MD5 Hash: 33e8f6f4a85880e1b5998e739d4ee463
README.md CHANGED
@@ -1,3 +1,91 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ ---
4
+
5
+
6
+ # DIU
7
+
8
+ Heterogeneous Face Recognition (HFR) aims to expand the applicability of Face Recognition (FR) systems to challenging scenarios, enabling the matching of face images across different domains, such as matching thermal images to visible spectra. However, the development of HFR systems is challenging because of the significant domain gap between modalities and the lack of availability of large-scale paired multi-channel data. In this work, we leverage a pretrained face recognition model as a teacher network to learn domaininvariant network layers called Domain-Invariant Units (DIU) to reduce the domain gap. The proposed DIU can be trained effectively even with a limited amount of paired training data, in a contrastive distillation framework. This proposed approach has the potential to enhance pretrained models, making them more adaptable to a wider range of variations in data. We extensively evaluate our approach on multiple challenging benchmarks, demonstrating superior performance compared to state-of-the-art (SOTA) methods.
9
+
10
+ ## Overview
11
+
12
+ * **Training**: The Domain Invariant Units (DIU) was trained on [WebFace12M dataset](https://huggingface.co/minchul/cvlface_adaface_ir101_webface12m) (it contains over 12M images representing more than 600K identities).
13
+ * **Backbone**: IResNet101
14
+ * **Parameters**: 65.15M
15
+ * **Task**: Heterogeneous Face Recognition Using Domain Invariant Units
16
+ * **Framework**: Pytorch
17
+ * **Output structure**: Batch of face embeddings (ie, features)
18
+
19
+ ## Evaluation of Models:
20
+
21
+ ![DIU](https://gitlab.idiap.ch/bob/bob.paper.icassp2024_diu_hfr/-/raw/master/doc/img/diu.png)
22
+
23
+ _The proposed Domain Invariant Unit (DIU) framework. The lower layers of the student model are trained in contrastive framework to learn invariant features, while supervision from the distillation loss prevents overfitting._
24
+
25
+ **Table1.** Pola Thermal - Average Rank-1 Recognition Rate
26
+
27
+ | Method | Mean (Std. Dev.) |
28
+ |-----------------------------|--------------------|
29
+ | DPM in | 75.31% (-) |
30
+ | CpNN in | 78.72% (-) |
31
+ | PLS in | 53.05% (-) |
32
+ | LBPs + DoG in | 36.8% (3.5) |
33
+ | ISV in | 23.5% (1.1) |
34
+ | DSU (Best Result) | 76.3% (2.1) |
35
+ | DSU-Resnet100 | 85.2% (5.8) |
36
+ | PDT | 97.1% (1.3) |
37
+ | CAIM | 95.0% (1.63) |
38
+ | **DIU (Proposed)** | **97.8% (1.28)** |
39
+
40
+
41
+ **Table 2.** Experimental results on VIS-Thermal protocol of the Tufts Face dataset
42
+
43
+ | Method | Rank-1 | VR@FAR=1% | VR@FAR=0.1% |
44
+ |----------------|--------|-----------|-------------|
45
+ | LightCNN | 29.4 | 23.0 | 5.3 |
46
+ | DVG | 56.1 | 44.3 | 17.1 |
47
+ | DVG-Face | 75.7 | 68.5 | 36.5 |
48
+ | DSU-Iresnet100 | 49.7 | 49.8 | 28.3 |
49
+ | PDT | 65.71 | 69.39 | 45.45 |
50
+ | CAIM | 73.07 | 76.81 | 46.94 |
51
+ | **DIU (Proposed)** | **82.94** | **85.9** | **74.95** |
52
+
53
+ ## Running Code
54
+
55
+ * Minimal code to instantiate the model and perform inference:
56
+
57
+ ``` bash
58
+ $ cd bob.paper.icassp2024_diu_hfr
59
+ $ conda create --name bob.paper.icassp2024_diu_hfr --file spec-file.txt
60
+ $ conda activate bob.paper.icassp2024_diu_hfr # activate the environment
61
+ $ pip install pytorch-lightning==1.5.3
62
+ $ buildout
63
+ $ ./bin/bob bio pipelines vanilla-biometrics --help # test the installation
64
+ ```
65
+
66
+
67
+ ## License
68
+ [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
69
+
70
+ ## Copyright
71
+
72
+ (c) 2025, Anjith George, Sébastien Marcel Idiap Research Institute, Martigny 1920, Switzerland.
73
+
74
+ https://gitlab.idiap.ch/bob/bob.paper.icassp2024_diu_hfr
75
+
76
+ Please refer to the link for information about the License & Copyright terms and conditions.
77
+
78
+ ## Citation
79
+
80
+ If you find our work useful, please cite the following publication:
81
+
82
+ ```bibtex
83
+ @inproceedings{george2024heterogeneous,
84
+ title={Heterogeneous face recognition using domain invariant units},
85
+ author={George, Anjith and Marcel, S{\'e}bastien},
86
+ booktitle={ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
87
+ pages={4780--4784},
88
+ year={2024},
89
+ organization={IEEE}
90
+ }
91
+ ```