# Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification

비지도 사람 재식별을 위한 클러스터 기반 비대칭 대조 학습

Mingkun Li, Chun-Guang Li, Jun Guo · arXiv · 2021년 6월 15일

- **연구 문제** 비감독 사람 재식별에서는 클러스터링이 만든 의사 레이블이 색상에 지배된 특징에 영향을 받아 학습이 흔들립니다.
- **연구 방법** CACL은 클러스터 정보를 인스턴스 수준과 클러스터 수준 대조 학습에 결합하고, 두 번째 분기에 그레이스케일 증강을 적용해 색상 의존을 줄입니다.
- **주요 결과** CACL은 Market-1501에서 80.9/92.7%, DukeMTMC-ReID에서 69.6/82.6%, MSMT17에서 mAP 23.0을 기록하며, 절제 실험에서 클러스터 정제와 손실 구성요소가 성능 향상에 기여한 것으로 보고됩니다.

## 비감독 사람 재식별의 문제와 색상 지배

비감독 사람 재식별(Re-ID)은 레이블 없이 서로 다른 카메라 시점의 보행자 이미지를 매칭하는 과제입니다. 기존 비감독 방법들은 클러스터링이 만든 의사 레이블(pseudo labels)에 의존하며, 그 품질은 입력 이미지에서 학습된 특징 표현에 직접 좌우됩니다. 논문은 이 특징이 옷 색상과 배경 색상에 크게 지배되는 문제를 지적합니다. 비슷한 색의 옷을 입은 보행자들이 특징 공간에서 가깝게 놓이면 클러스터링 오류가 생기고, 그 오류가 학습 과정에 다시 잘못된 의사 레이블을 전달합니다.

색상은 매칭에 유용한 단서이지만, 미세한 텍스처처럼 세밀한 식별 단서를 학습하는 것을 방해할 수 있습니다. 따라서 색상의 영향을 억제하면서 판별적인 특징을 배우는 것이 이 논문의 핵심 질문입니다. 색상 지터(color-jitter) 같은 무작위 색 변환은 색 분포의 일관성을 해쳐 일반화에 도움이 되지 않을 수 있다고 논문은 설명합니다.

![Figure 1: Illustration for basic idea of our proposal. We attempt to leverage the clustering information into contrastive learning to ﬁnd more effective featur…](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d/figures/figure-61f56211753e975c813fdde7a9718b20.png?thumb=512)

**Fig. 1** . Illustration for basic idea of our proposal. We attempt to leverage the clustering information into contrastive learning to ﬁnd more effective features by exploring the invariance between color images and gray-scale images.

[원문](https://arxiv.org/abs/2106.07846v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mingkun Li, Chun-Guang Li, Jun Guo · Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

## 클러스터 정보를 비대칭 대조 학습에 결합하는 방식

CACL은 두 분기로 이루어진 샴 네트워크입니다. 두 분기는 파라미터를 공유하지 않는 ResNet-50이며, 첫 번째 분기에만 예측기 층 G(·\|Ψ)가 추가됩니다. 입력 이미지 I\_i에 대해 첫 번째 분기는 T(I\_i)를, 두 번째 분기는 G∘T′(I\_i)를 받습니다. 여기서 G는 컬러 영상을 그레이스케일로 바꾸는 변환입니다. 즉 두 분기의 입력은 서로 다른 증강을 거치며, 두 번째 분기는 색상이 제거된 뷰를 봅니다.

![Figure 3: Illustration for our proposed Cluster-guided Asymmetric Contrastive Learning (CACL) framework. After training, we keep only the ResNet F (·\|Θ) in the…](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d/figures/figure-8b49cd587ee8645af419cf8a74d136c3.png?thumb=512)

**Fig. 3** . Illustration for our proposed Cluster-guided Asymmetric Contrastive Learning (CACL) framework. After training, we keep only the ResNet F (·\|Θ) in the ﬁrst branch for inference and use the feature xi for testing.

[원문](https://arxiv.org/abs/2106.07846v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mingkun Li, Chun-Guang Li, Jun Guo · Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

첫 번째 분기의 특징 X로 클러스터링을 수행해 의사 레이블 Y를 만들고, 두 분기 모두 이 레이블로 학습됩니다. 인스턴스 수준 손실 L\_I는 첫 번째 분기의 예측 출력 z\_i와 두 번째 분기의 특징 x̃\_i 사이의 음의 코사인 유사도로 정의됩니다. 클러스터 수준 손실 L\_C는 서로 다른 뷰 사이의 인터뷰 손실 L^(inter)\_C와 같은 뷰 안의 인트라뷰 손실 L^(intra)\_C를 더한 값입니다. 전체 손실은 L = L\_I + L\_C입니다.

두 번째 분기에는 L\_I에 대해 stop-gradient를 적용하므로, 그 분기의 파라미터는 인트라뷰 클러스터 수준 손실로만 갱신됩니다. 논문은 이 비대칭성이 네트워크 구조, 데이터 증강, 의사 레이블 생성의 세 측면에 있다고 정리합니다.

## 클러스터 정제와 DBSCAN 설정

클러스터 수준 손실은 클러스터 품질에 크게 영향을 받으므로, 논문은 잡음이 많은 샘플을 줄이는 클러스터 정제 절차를 제안합니다. 먼저 DBSCAN으로 원시 클러스터 C^(i)를 만들고, 같은 방식으로 더 작은 거리 임계값을 쓴 과분할 부분 클러스터 C^(i)\_j를 얻습니다. 부분 클러스터의 평균 클러스터 간 거리 D(C^(i)\_j\|C^(i))가 클러스터 내 평균 거리 D(C^(i))보다 작으면 유지하고, 그렇지 않으면 제거합니다.

이 절차는 큰 클러스터를 개선하고, 작은 클러스터나 단일 샘플도 더 많이 만들어 냅니다. 논문은 큰 클러스터가 대조 학습에 더 많은 의사 감독 정보를 준다고 설명합니다. 실험에서 원시 클러스터는 d = 0.6, 과분할은 δ = 0.02만큼 작은 d′ = d − δ로 설정되었다고 보고됩니다.

## 세 벤치마크에서의 비교 결과

Market-1501과 DukeMTMC-ReID에서 CACL은 mAP와 Rank-1 기준으로 평가되었습니다. 원문 표에서 ResNet-50 백본의 CACL은 Market-1501에서 80.9/92.7%, DukeMTMC-ReID에서 69.6/82.6%를 기록합니다. 이는 비감독 방법과 비감독 도메인 적응 방법을 함께 놓고 비교한 결과입니다. 같은 백본으로 IBN-ResNet을 쓴 경우 Market-1501은 83.6/93.3%, DukeMTMC-ReID는 72.5/85.5%로 보고됩니다.

MSMT17에서는 ResNet-50 기반 CACL이 mAP 23.0, Rank-1 48.9로 보고됩니다. 본문의 서술 중 Rank-1을 48.4%로 적은 부분과 표 값 48.9는 서로 다른 수치로 나타나므로, 이 비교에서는 표의 값을 기준으로 읽어야 합니다. IBN-ResNet을 쓴 CACL은 MSMT17에서 mAP 29.9, Rank-1 57.1로 보고됩니다.

## 절제 실험: 인스턴스 손실, 클러스터 손실, 정제

절제 실험은 Non-Parametric Softmax 손실로 학습한 기준선과 구성요소를 하나씩 더한 변형을 비교합니다. 클러스터링 결과를 쓰지 않은 CACL 설정은 Market-1501에서 mAP 0.3, Rank-1 0.5로 나타나, 클러스터 정보가 없을 때 학습이 제대로 되지 않았음을 보여 줍니다. 인스턴스 수준 손실 L\_I만 더한 경우 mAP는 74.7이며, 클러스터 정제와 L\_I를 함께 쓴 경우 mAP 78.2, Rank-1 91.2로 올라갑니다.

클러스터 수준 손실 L\_C를 단독으로 더한 경우에는 기준선보다 소폭 개선되었고, 정제를 함께 쓸 때 개선이 더 뚜렷하다고 원문은 보고합니다. 전체 CACL은 Market-1501에서 80.9/92.7%입니다. 이 결과는 이 표의 설정에서 각 요소가 유익했다는 것을 보여 주며, 모든 조건에서 어떤 요소가 항상 유익하다는 결론은 아닙니다.

![Figure 6: Data Visualization via t-SNE of the learned feature and clusters under two different training strategies: Training withoutLC andLI (left) as mentione…](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d/figures/figure-d30e1c106205ee417f9fd7971185eb40.png?thumb=512)

**Fig. 6** . Data Visualization via t-SNE of the learned feature and clusters under two different training strategies: Training withoutLC andLI (left) as mentioned in Table III and our CACL (right). The data points come from the Market-1501 training set (1,000 images of 60 identities). The points with the same color mean the image of the same identity. To demonstrate the difference between the two distributions in detail, we further zoom in on the circled clusters and show the corresponding images. The images in the boxes are similar to each other and the corresponding data points are very close to each other or even overlapping in the feature space if the model is trained without using LC andLI, as shown in the left box; whereas using the contrastive losses LC andLI will effectively distinguish these data points and maintain the cluster compactness as shown in the right box.

[원문](https://arxiv.org/abs/2106.07846v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mingkun Li, Chun-Guang Li, Jun Guo · Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 그레이스케일과 색상 지터 증강의 차이

두 번째 분기의 입력을 바꾸는 실험에서, 그레이스케일 변환 G(T′(·))는 클러스터 정제를 쓴 조건에서 Market-1501 mAP 80.9를 기록합니다. 같은 조건에서 색상 지터 J(T′(·))는 79.1을 기록합니다. 색상 지터는 색이 여전히 남는 영상을 만들므로, 논문은 그레이스케일이 색상 정보를 더 확실하게 억제한다고 설명합니다.

![Figure 4: Illustration for the raw images and the augmented images. The 1st row: “raw images”. The 2nd row: “color-jitter”. Bottom row: “gray-scale”](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d/figures/figure-ce25c6592ccf6352002443da730b7091.png?thumb=512)

**Fig. 4** . Illustration for the raw images and the augmented images. The 1st row: “raw images”. The 2nd row: “color-jitter”. Bottom row: “gray-scale”.

[원문](https://arxiv.org/abs/2106.07846v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mingkun Li, Chun-Guang Li, Jun Guo · Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

저자들은 색상 히스토그램 분석을 근거로, 그레이스케일 영상은 원본 분포와 비교적 일관된 분포를 유지하지만 색상 지터 영상은 0과 255 같은 극단값 비율이 크게 바뀐다고 해석합니다. 이 분석은 500장의 무작위 샘플에 대한 관찰이며, 색상 억제의 기전에 대한 저자의 해석으로 읽어야 합니다.

![Figure 5: Comparison on distributions in histogram of intensity in RGB channels under different data augmentation operations](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d/figures/figure-f9bea53927f0059a2d9dd73bfa9739b7.png?thumb=512)

**Fig. 5** . Comparison on distributions in histogram of intensity in RGB channels under different data augmentation operations.

[원문](https://arxiv.org/abs/2106.07846v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mingkun Li, Chun-Guang Li, Jun Guo · Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## DBSCAN 민감도와 적용 범위

DBSCAN 임계값 d를 0.4, 0.5, 0.6, 0.7로 바꾼 실험에서 기준선은 d에 민감하게 반응합니다. d = 0.7에서 기준선의 Market-1501 mAP는 43.8로 크게 떨어집니다. 같은 설정에서도 CACL은 75.8/90.1%를 기록해 더 안정적인 결과를 보입니다. 다만 CACL의 전체 결과가 모든 d에서 같다는 뜻은 아닙니다.

δ를 바꾼 실험에서는 δ = 0.02에서 최고 성능이 나오며, 성능 변화가 상대적으로 완만하다고 보고됩니다. 이 민감도 분석은 Market-1501 중심으로 수행되었으므로, 다른 데이터셋이나 다른 클러스터링 설정으로 일반화하지 않아야 합니다. 원문은 MSMT17 등 다른 데이터의 임계값 민감도를 이 표에서 다루지 않습니다.

## 정답 라벨과 비교한 참고 결과

정답 라벨로 학습한 기준선은 Market-1501에서 mAP 83.9, Rank-1 93.6을 기록하며, 정답 라벨로 학습한 CACL은 mAP 85.7, Rank-1 94.2를 기록합니다. 이 결과는 지도 설정의 참고치이며, 비감독 CACL의 80.9/92.7%와 직접 비교하면 두 설정 사이의 차이를 보여 줍니다.

논문은 비감독 CACL이 정답 라벨 기준선보다 mAP가 약 3포인트 낮고 Rank-1이 약 1.1포인트 낮다고 설명합니다. 이 차이는 같은 Market-1501 평가에서의 측정치로만 읽어야 합니다.

## 논문 정보

- **저자**: Mingkun Li, Chun-Guang Li, Jun Guo
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 6월 15일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 5월 9일
- **버전**: v2
- **arXiv**: 2106.07846
- **DOI**: 10.1109/tip.2022.3173163
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2106.07846v2) · [원문 PDF ↗](https://arxiv.org/pdf/2106.07846v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Unsupervised person re-identification (Re-ID) aims to match pedestrian images from different camera views in unsupervised setting. Existing methods for unsupervised person Re-ID are usually built upon the pseudo labels from clustering. However, the quality of clustering depends heavily on the quality of the learned features, which are overwhelmingly dominated by the colors in images especially in the unsupervised setting. In this paper, we propose a Cluster-guided Asymmetric Contrastive Learning (CACL) approach for unsupervised person Re-ID, in which cluster structure is leveraged to guide the feature learning in a properly designed asymmetric contrastive learning framework. To be specific, we propose a novel cluster-level contrastive loss to help the siamese network effectively mine the invariance in feature learning with respect to the cluster structure within and between different data augmentation views, respectively. Extensive experiments conducted on three benchmark datasets demonstrate superior performance of our proposal.

## 원문 인용

Mingkun Li, Chun-Guang Li, Jun Guo (2021). Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification. arXiv:2106.07846v2. https://doi.org/10.1109/tip.2022.3173163

**BibTeX**

```
@article{li2021cluster,
  title = {{Cluster-guided Asymmetric Contrastive Learning for Unsupervised Person Re-Identification}},
  author = {Mingkun Li and Chun-Guang Li and Jun Guo},
  year = {2021},
  eprint = {2106.07846},
  archivePrefix = {arXiv},
  doi = {10.1109/tip.2022.3173163},
  url = {https://arxiv.org/abs/2106.07846v2}
}
```

## 이 논문의 용어

- [Imagenet](https://refivu.com/terms/5eadad128667-imagenet)
- [ResNet-50](https://refivu.com/terms/eb2323a60a89-resnet-50)
- [contrastive learning](https://refivu.com/terms/180d2c06550d-contrastive-learning)
- [mean average precision (mAP)](https://refivu.com/terms/aea689215183-mean-average-precision-map)
- [DBSCAN](https://refivu.com/terms/1f8d3d6ce4f9-dbscan)
- [Market-1501](https://refivu.com/terms/8d70fe8460ea-market-1501)
- [MSMT17](https://refivu.com/terms/b79b3959dda3-msmt17)
- [DukeMTMC-reID](https://refivu.com/terms/b0dde1027d54-dukemtmc-reid)
- [feature collapse](https://refivu.com/terms/a72fd4a36c93-feature-collapse)
- [pseudo labels](https://refivu.com/terms/11f66643c9bc-pseudo-labels)
- [SimSiam](https://refivu.com/terms/f09bd306830b-simsiam)
- [stop-gradient operation](https://refivu.com/terms/385f5c45a435-stop-gradient-operation)

## 다른 논문 해설

- [Adaptive Prototypical Networks with Label Words and Joint Representation Learning for Few-Shot Relation Classification](https://refivu.com/papers/f1f70772-4d0a-4d7a-aba9-54dbce52a865-adaptive-prototypical-networks-with-label-words-and-joint.md)
- [Label-Efficient Self-Supervised Federated Learning for Tackling Data Heterogeneity in Medical Imaging](https://refivu.com/papers/7264008b-9e89-4945-81c6-71a8e9202ca8-label-efficient-self-supervised-federated-learning-for.md)
- [Learning Disentangled Representation Implicitly via Transformer for Occluded Person Re-Identification](https://refivu.com/papers/ce1bed15-4e9f-43c2-88a8-7932eb7cdc7b-learning-disentangled-representation-implicitly-via.md)
- [Graph Barlow Twins: A self-supervised representation learning framework for graphs](https://refivu.com/papers/884ec009-e563-4297-b1fd-f3d278d2ac27-graph-barlow-twins-a-self-supervised-representation-learning.md)
- [A Survey on Contrastive Self-supervised Learning](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7-a-survey-on-contrastive-self-supervised-learning.md)
- [Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning](https://refivu.com/papers/c20bdbfe-b419-4df5-8f33-b1066c4f4576-anomaly-detection-on-attributed-networks-via-contrastive.md)
- [Recipes for when Physics Fails: Recovering Robust Learning of Physics Informed Neural Networks](https://refivu.com/papers/26ea9c6f-9b15-4890-94b7-3aa0cf32f5ab-recipes-for-when-physics-fails-recovering-robust-learning.md)
- [Policy Gradients using Variational Quantum Circuits](https://refivu.com/papers/19a693bb-f912-4c1e-b6d4-5e3762f1cad3-policy-gradients-using-variational-quantum-circuits.md)
- [SemMT: A Semantic-based Testing Approach for Machine Translation Systems](https://refivu.com/papers/4f82a51c-39a5-4136-b455-6a44ecf6ecda-semmt-a-semantic-based-testing-approach-for-machine.md)
- [Efficiently Learning Robust Torque-based Locomotion Through Reinforcement with Model-Based Supervision](https://refivu.com/papers/64369c33-31cd-4e81-902d-c12957854770-efficiently-learning-robust-torque-based-locomotion-through.md)
- [FedAUX: Leveraging Unlabeled Auxiliary Data in Federated Learning](https://refivu.com/papers/57a30769-7337-40d5-a893-ad0327399396-fedaux-leveraging-unlabeled-auxiliary-data-in-federated.md)
- [Vicinity Vision Transformer](https://refivu.com/papers/277a96d1-6b97-4de4-be02-fddaa35ed0e2-vicinity-vision-transformer.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/5c9cff44-98ae-46da-bb1a-ad82fd20713d-cluster-guided-asymmetric-contrastive-learning-for)
