arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.06839cs.CVcs.AI
收藏

AttFC:用于单GPU大规模人脸识别的注意力全连接层

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

Zhuowen Zheng, Yain-Whar Si, Xiaochen Yuan, Junwei Duan, Ke Wang, Xiaofan Li, Xinyuan Zhang, Xueyuan Gong

AI总结:

本文提出注意力全连接层AttFC,通过注意力加载器生成类中心并用动态类容器仅存储部分类中心,大幅降低大规模人脸识别训练的计算资源需求,可在单GPU上训练并达到与最先进方法相当的性能。

摘要:

如今,随着深度神经网络(DNNs)的发展和大规模数据集的可用性,人脸识别(FR)模型已取得卓越性能。然而,由于全连接(FC)层的参数量直接取决于数据集中身份的数量,如果在大规模数据集上训练FR模型,模型参数规模将异常庞大,从而导致对时间和内存等计算资源的巨大需求。本文提出了注意力全连接(AttFC)层,可显著降低计算资源需求。AttFC采用注意力加载器生成生成式类中心(GCC),并通过动态类容器(DCC)动态存储类中心。DCC仅存储FC中所有类中心的一小部分子集,因此其参数数量远少于FC层。此外,使用单个GPU在大规模数据集上训练人脸识别模型时常会遇到内存不足(OOM)问题。AttFC克服了这一问题,并取得了与最先进方法相当的性能。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑