Unsupervised person re-identification (ReID) aims at learning discriminative identity features without annotations. Recently, self-supervised contrastive learning has gained increasing attention for its effectiveness in unsupervised representation learning. The main idea of instance contrastive learning is to match a same instance in different augmented views. However, the relationship between different instances has not been fully explored in previous contrastive methods, especially for instance-level contrastive loss. To address this issue, we propose Inter-instance Contrastive Encoding (ICE) that leverages inter-instance pairwise similarity scores to boost previous class-level contrastive ReID methods. We first use pairwise similarity ranking as one-hot hard pseudo labels for hard instance contrast, which aims at reducing intra-class variance. Then, we use similarity scores as soft pseudo labels to enhance the consistency between augmented and original views, which makes our model more robust to augmentation perturbations. Experiments on several large-scale person ReID datasets validate the effectiveness of our proposed unsupervised method ICE, which is competitive with even supervised methods. Code is made available at https://github.com/chenhao2345/ICE.
翻译:未经监督的人重新身份识别(ReID)旨在学习没有说明的歧视性身份特征。最近,自我监督的对比性学习在未经监督的演示学习中提高了人们对其有效性的关注程度。对比性学习的主要理念是在不同扩大的观点中匹配同一实例。然而,在以往的对比性方法中,不同情况之间的关系没有得到充分探讨,特别是比较性损失。为了解决这一问题,我们提议利用内部兼容性编码(ICE)来利用内部兼容性相似分数来提升先前的等级对比性 ReID方法。我们首先将相似性排序配对为一热硬假标签,用于硬性对比,目的是减少类内差异。然后,我们用类似分数作为软假标签,以加强强化和原始观点之间的一致性,从而使我们的模型更牢固地强化扰动。对几个大型的人进行雷ID数据集的实验证实了我们提议的未经监督的ICE方法的有效性,该方法具有竞争力。