AttFC: Attention Fully-Connected Layer for Large-Scale Face Recognition with One GPU

Zhuowen Zheng, Yain-Whar Si, Xiaochen Yuan, Junwei Duan, Ke Wang +3 more
3/10/2025
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Nowadays, with the advancement of deep neural networks (DNNs) and the availability of large-scale datasets, the face recognition (FR) model has achieved exceptional performance. However, since the parameter magnitude of the fully connected (FC) layer directly depends on the number of identities in the dataset.

Show full abstract

If training the FR model on large-scale datasets, the size of the model parameter will be excessively huge, leading to substantial demand for computational resources, such as time and memory. This paper proposes the attention fully connected (AttFC) layer, which could significantly reduce computational resources. AttFC employs an attention loader to generate the generative class center (GCC), and dynamically store the class center with Dynamic Class Container (DCC). DCC only stores a small subset of all class centers in FC, thus its parameter count is substantially less than the FC layer. Also, training face recognition models on large-scale datasets with one GPU often encounter out-of-memory (OOM) issues. AttFC overcomes this and achieves comparable performance to state-of-the-art methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zheng2025attfc,
  title  = {AttFC: Attention Fully-Connected Layer for Large-Scale Face Recognition with One GPU},
  author = {Zhuowen Zheng and Yain-Whar Si and Xiaochen Yuan and Junwei Duan and Ke Wang and Xiaofan Li and Xinyuan Zhang and Xueyuan Gong},
  year   = {2025},
  eprint = {2503.06839},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06839v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06839.svg)](https://codeofpaper.com/paper/2503.06839)

Discussion