In deep metric learning (DML), high-level input data are represented in a lower-level representation (embedding) space, such that samples from the same class are mapped close together, while samples from disparate classes are mapped further apart. In this lower-level representation, only a single inference sample from each known class is required to discriminate between classes accurately. The features a DML model uses to discriminate between classes and the importance of each feature in the training process are unknown. To investigate this, this study takes embeddings trained to discriminate faces (identities) and uses unsupervised clustering to identify the features involved in facial identity discrimination by examining their representation within the embedded space. This study is split into two cases; intra class sub-discrimination, where attributes that differ between a single identity are considered; such as beards and emotions; and extra class sub-discrimination, where attributes which differ between different identities/people, are considered; such as gender, skin tone and age. In the intra class scenario, the inference process distinguishes common attributes between single identities, achieving 90.0\% and 76.0\% accuracy for beards and glasses, respectively. The system can also perform extra class sub-discrimination with a high accuracy rate, notably 99.3\%, 99.3\% and 94.1\% for gender, skin tone, and age, respectively.
DAS: Densely-Anchored Sampling for Deep Metric Learning
South China University of Technology(华南理工大学);PengCheng Laboratory(鹏城实验室);Information Technology R&D Innovation Center of Peking University(北京大学信息技术研发创新中心)
Adaptive Cross Batch Normalization for Metric Learning
Amazon Australia(亚马逊澳大利亚);Australian National University(澳大利亚国立大学);University of Adelaide(阿德莱德大学)
度量学习是计算机视觉中的一个基本问题,其中模型被训练为通过排名损失来学习语义上有用的嵌入空间。传统上,排名损失的有效性取决于小批量大小,因此,固有地受到底层硬件的内存约束的限制。虽然简单地累积小批量的嵌入已被证明是有用的(Wang et al. [2020]),但我们表明,确保累积的嵌入是最新的也同样重要。特别是,当可学习参数被更新时,有必要避免当前训练迭代中累积嵌入和特征嵌入之间的代表性漂移。在本文中,我们代表性的漂移模型的分布错位和解决它使用矩匹配。结果是一种简单的方法,用于更新存储的嵌入,以在每次训练迭代时匹配当前嵌入的一阶和二阶矩。在三个流行的图像检索数据集,即SOP,In-Shop和DeepFashion 2上的实验表明,我们的方法在所有场景下都显着提高了性能。