Vision Reformer Model To Enhance Transformer Efficiency for Face Recognition

##plugins.themes.bootstrap3.article.main##

Muhammad Dedi Saputra
Khairun Saddami
Nasaruddin

Keywords

Facial Recognition, Vision Transformer, Vision Reformer, Memory Efficiency, Accuracy

Abstract

The rapid advancement of digital technology has transformed attendance systems in educational environments. Conventional manual attendance methods are vulnerable to manipulation, while fingerprint-based biometric systems often experience limitations due to certain physical conditions. Facial recognition has therefore emerged as a reliable and non-contact biometric solution for attendance verification. However, existing deep learning architectures such as the Vision Transformer (ViT) require substantial computational resources and memory during training. This study proposes the Vision Reformer (ViR) model to enhance the computational efficiency of the ViT architecture for facial recognition. The proposed approach integrates the memory-efficient attention mechanism of the Reformer architecture into the ViT framework to improve training efficiency while maintaining high recognition performance. Experiments were conducted using the Indonesian Muslim Student Face Dataset (IMSFD) with learning rates of  and . The experimental results show that the ViR model with a learning rate of  and  achieved the best performance, with accuracy of 94.63%, F1-score of 94.77%, precision of 95.89%, and recall of 94.63%, while requiring only 41.076 seconds of training time. In comparison, the ViT model achieved accuracy of 94.11% and required 82.368 seconds under the same configuration. Additionally, GPU memory analysis indicates that ViR reduces memory consumption by 78 MB and 39 MB at batch sizes of 16 and 32, respectively, while maintaining a stable and linear memory usage pattern. These results demonstrate that the proposed Vision Reformer model improves computational efficiency and memory utilization while maintaining competitive accuracy, making it a practical solution for facial recognition-based attendance systems in educational settings.

References

S. Tools and B. B. Packages, S E V E N T H E DI T ION and Behavior Learning.

D. I. Mulyana and Edi, “Penerapan Face Recognition Dengan Algoritma Viola Jones Dalam Sistem Presensi Kehadiran Siswa Dan Guru Pada Sekolah Idn Boarding School Jonggol,” J. Indones. Manaj. Inform. dan Komun., vol. 4, no. 3, pp. 1749–1757, 2023, doi: 10.35870/jimik.v4i3.398.

J. Lunter, “Everyday biometrics: can face replace fingerprint recognition?,” Biometric Technol. Today, vol. 2021, no. 4, pp. 7–10, 2021, doi: 10.1016/S0969-4765(21)00048-5.

Permendikbud, “Peraturan Menteri Pendidikan dan Kebudayaan RI Nomor 15 Tahun 2018 tentang Pemenuhan Beban Kerja Guru, Kepala Sekolah dan Pengawas Sekolah,” Menteri Pendidik. dan Kebud. RI, vol. 53, no. 9, pp. 1689–1699, 2018.

Menteri PANRB, “Kewajiban Menaati Ketentuan Jam Kerja Bagi Aparatur Sipil Negara,” Menteri PANRB, 2022.

I. Fibriani, E. M. Yuniarno, R. Mardiyanto, and M. H. Purnomo, “ViTMa: A Novel Hybrid Vision Transformer and Mamba for Kinship Recognition in Indonesian Facial Micro-expressions,” IEEE Access, vol. 12, no. October, pp. 164002–164017, 2024, doi: 10.1109/ACCESS.2024.3487180.

R. Natsume, K. Inoue, Y. Fukuhara, S. Yamamoto, S. Morishima, and H. Kataoka, “Understanding fake faces,” Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 11131 LNCS, pp. 566–576, 2019, doi: 10.1007/978-3-030-11015-4_42.

D. S. Trigueros, L. Meng, and M. Hartnett, “Face Recognition: From Traditional to Deep Learning Methods,” 2018, [Online]. Available: https://arxiv.org/abs/1811.00116

I. Sutskever, O. Vinyals, and Q. V. Le, “Sequence to sequence learning with neural networks,” Adv. Neural Inf. Process. Syst., vol. 4, no. January, pp. 3104–3112, 2014.

Y. Wu et al., “Google’s Neural Machine Translation System: Bridging the Gap between Human and Machine Translation,” pp. 1–23, 2016, [Online]. Available: https://arxiv.org/abs/1609.08144

A. Vaswani et al., “Attention is all you need,” Adv. Neural Inf. Process. Syst., vol. 2017-Decem, no. Nips, pp. 5999–6009, 2017.

A. Dosovitskiy et al., “an Image Is Worth 16X16 Words: Transformers for Image Recognition At Scale,” ICLR 2021 - 9th Int. Conf. Learn. Represent., 2021.

R. Child, S. Gray, A. Radford, and I. Sutskever, “Generating Long Sequences with Sparse Transformers,” 2017.

S. Wang, B. Z. Li, M. Khabsa, H. Fang, and H. Ma, “Linformer : Self-Attention with Linear Complexity,” vol. 2048, no. 2019, 2020.

N. Kitaev, Ł. Kaiser, and A. Levskaya, “Reformer: the Efficient Transformer,” 8th Int. Conf. Learn. Represent. ICLR 2020, pp. 1–12, 2020.

A. N. Gomez, M. Ren, R. Urtasun, and R. B. Grosse, “The reversible residual network: Backpropagation without storing activations,” Adv. Neural Inf. Process. Syst., vol. 2017-Decem, pp. 2215–2225, 2017.

Z. purnawansyah, purnawansyah; Wibawa, Aji Prasetya; Widyaningtyas, Triyanna; Haviluddin, Haviluddin; Darwis, Herdianti; Azis, Huzain; Ali, “Indonesian Muslim Student Face Dataset (IMSFD),” 2023. doi: 10.17632/f6f3y6ndgw.1.

I. Hussain, R. Sushil, and K. Amir, Breaking the data barrier : a review of deep learning techniques for democratizing AI with small datasets, vol. 57, no. 9. Springer Netherlands, 2024. doi: 10.1007/s10462-024-10859-3.

G. Kim, H. M. Group, S. Korea, G. Kim, and G. Park, “S-ViT : Sparse Vision Transformer for Accurate Face Recognition S-ViT : Sparse Vision Transformer for Accurate Face Recognition,” no. March 2023, 2026, doi: 10.1145/3555776.3577640.

K. Huri, E. Omid David, and N. S. Netanyahu, “DeepEthnic: Multi-label ethnic classification from face images,” Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 11141 LNCS, no. October, pp. 604–612, 2018, doi: 10.1007/978-3-030-01424-7_59.

K. Khan, J. Ali, I. Uddin, and B.-H. Roh, “A Facial Feature Discovery Framework for Race Classification Using Deep Learning,” Under Rev. Comput. Mater. Contin. 2021, 2021.

D. P. Andini, Y. G. Sugiarta, T. Y. Putro, and R. D. Setiawan, “Sistem Presensi Kelas Berbasis Pengenalan Wajah Menggunakan Metode CNN,” JTERA (Jurnal Teknol. Rekayasa), vol. 7, no. 2, p. 315, 2022, doi: 10.31544/jtera.v7.i2.2022.315-322.

M. Arsal, Bheta, Anggraini, “Face Recognition Untuk Akses Pegawai Bank Menggunakan Deep Learning Dengan Metode CNN,” TEKNOSI.v6i1.2020.55-63, vol. 01, pp. 413–418, 2021.

M. Athoillah, “Pengenalan Wajah Menggunakan SVM Multi Kernel dengan Pembelajaran yang Bertambah,” J. Online Inform., vol. 2, no. 2, p. 84, 2018, doi: 10.15575/join.v2i2.109.

A. Chaudhari, C. Bhatt, A. Krishna, and P. L. Mazzeo, “ViTFER : Facial Emotion Recognition with Vision Transformers,” 2022.

A. Paszke et al., “PyTorch: An imperative style, high-performance deep learning library,” Adv. Neural Inf. Process. Syst., vol. 32, no. NeurIPS, 2019.

A. Diwan, E. Choi, and D. Harwath, “When to Use Efficient Self Attention? Profiling Text, Speech and Image Transformer Variants,” Proc. Annu. Meet. Assoc. Comput. Linguist., vol. 2, pp. 1639–1650, 2023, doi: 10.18653/v1/2023.acl-short.141.

D. Gyawali, “Comparative Analysis of CPU and GPU Profiling for Deep Learning Models,” 2023, [Online]. Available: https://arxiv.org/abs/2309.02521

Similar Articles

<< < 6 7 8 9 10 11 12 13 > >> 

You may also start an advanced similarity search for this article.