arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.01015cs.CVcs.AI
收藏

利用随机温度尺度改进人脸识别模型的训练和推理

Improving Training and Inference of Face Recognition Models via Random Temperature Scaling

Alibaba Group(阿里巴巴集团);The Guangdong Provincial Key Laboratory of Computer Vision and Virtual Reality Technology, Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院,广东省计算机视觉与虚拟现实技术重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Lei Shang, Mouxiao Huang, Wu Shi, Yuchen Liu, Yang Liu, Fei Wang, Baigui Sun, Xuansong Xie, Yu Qiao

摘要:

数据不确定性是人脸识别(FR)图像中常见的问题。然而,即使对于不确定或不相关的输入,深度学习算法也经常以高置信度进行预测。直觉上,FR算法可以从不确定性的估计和分布外(OOD)样本的检测中受益。从当前分类模型的概率角度来看,温度标量正是softmax函数中隐式添加的不确定性噪声的尺度。同时,数据集中图像的不确定性应遵循先验分布。在此基础上,提出了一个统一的框架,用于不确定性建模和FR,随机温度标度(RTS),学习一个可靠的FR算法。RTS的好处是双重的。(1)在训练阶段,它可以调整干净样本和噪声样本的学习强度,以获得稳定性和准确性。(2)在测试阶段,它可以提供一个置信度分数来检测不确定的,低质量的甚至是OOD的样本,而无需对额外的标签进行训练。在FR基准上的大量实验表明,作为OOD检测度量的RTS中的方差的大小与输入图像的不确定性密切相关。RTS可以在FR和OOD检测任务上实现最佳性能。此外,使用RTS训练的模型可以在具有噪声的数据集上稳健地执行。所提出的模块是轻量级的,只增加了微不足道的计算成本的模型。

英文摘要:

Data uncertainty is commonly observed in the images for face recognition (FR). However, deep learning algorithms often make predictions with high confidence even for uncertain or irrelevant inputs. Intuitively, FR algorithms can benefit from both the estimation of uncertainty and the detection of out-of-distribution (OOD) samples. Taking a probabilistic view of the current classification model, the temperature scalar is exactly the scale of uncertainty noise implicitly added in the softmax function. Meanwhile, the uncertainty of images in a dataset should follow a prior distribution. Based on the observation, a unified framework for uncertainty modeling and FR, Random Temperature Scaling (RTS), is proposed to learn a reliable FR algorithm. The benefits of RTS are two-fold. (1) In the training phase, it can adjust the learning strength of clean and noisy samples for stability and accuracy. (2) In the test phase, it can provide a score of confidence to detect uncertain, low-quality and even OOD samples, without training on extra labels. Extensive experiments on FR benchmarks demonstrate that the magnitude of variance in RTS, which serves as an OOD detection metric, is closely related to the uncertainty of the input image. RTS can achieve top performance on both the FR and OOD detection tasks. Moreover, the model trained with RTS can perform robustly on datasets with noise. The proposed module is light-weight and only adds negligible computation cost to the model.

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

↑