# Deep Learning Face Representation by Joint Identification-Verification

DeepID2: 식별과 검증 신호를 함께 학습한 얼굴 특징

Yi Sun, Xiaogang Wang, Xiaoou Tang · arXiv · 2014년 6월 18일

- **연구 문제** 같은 사람의 얼굴은 자세와 조명에 따라 크게 달라지고 다른 사람과의 차이는 작아서 기존 방식으로 구분하기 어려웠습니다.
- **연구 방법** DeepID2는 식별 신호와 검증 신호를 함께 주어 합성곱 신경망을 학습합니다. 식별은 다른 사람의 특징을 떨어뜨리고 검증은 같은 사람의 특징을 모읍니다.
- **주요 결과** LFW에서 얼굴 검증 정확도 99.15%를 기록했습니다. 이는 기존 최고 딥러닝 결과보다 오류율을 67% 줄인 것입니다.

## 얼굴 인식의 두 가지 변동

얼굴 인식의 핵심 어려움은 같은 사람의 얼굴이 자세, 조명, 표정, 나이, 가림에 따라 크게 달라지는 반면 서로 다른 사람의 얼굴 차이는 작을 수 있다는 점입니다. 기존 방식으로 이 문제를 풀려는 시도는 선형 투영이나 얕은 구조에 머물렀습니다. 이 논문은 같은 신원 안의 변화는 줄이고 서로 다른 신원 사이의 차이는 키우는 얼굴 특징을 깊은 합성곱 신경망으로 학습하는 것을 다룹니다. 검증 대상은 학습에 없던 새 신원에도 일반화되는 특징입니다.

## 식별과 검증을 함께 쓰는 DeepID2 학습

DeepID2는 deep ConvNets의 상위 은닉층에서 추출하는 160차원 벡터입니다. 네 개의 합성곱 층 중 세 번째와 네 번째 층의 다중 스케일 특징을 DeepID2 층이 받습니다. 식별 신호는 DeepID2 위에 n-way softmax를 두고 신원을 분류하며 교차 엔트로피 손실로 학습합니다. 검증 신호는 두 얼굴 벡터의 L2 거리를 이용해 같은 신원이면 거리를 줄이고 다른 신원이면 거리가 마진 m보다 커지도록 요구합니다. 두 기울기는 λ로 가중하며, 마진 m은 기울기로 갱신하지 않고 최근 학습 샘플에서 검증 오차가 가장 낮은 임계값으로 바꿉니다.

## 패치 선택과 얼굴 검증 파이프라인

학습된 ConvNet은 얼굴을 여러 영역과 해상도의 패치로 나눠 많은 DeepID2 벡터를 만듭니다. forward-backward greedy algorithm으로 상보적인 25개 벡터를 골라 4000차원으로 이어 붙인 뒤 PCA로 압축합니다. 이후 Joint Bayesian 모델이 두 얼굴 특징이 같은 신원인지 로그우도비로 판정합니다. 이 파이프라인이 최종 시스템의 검증 경로입니다.

## λ에 따른 두 신호의 균형

λ를 0에서 무한대까지 바꿨을 때, λ=0에서는 식별 신호만 작동하고 λ가 커지면 검증 신호의 영향이 커집니다. 실험 결과 식별만 쓰거나 검증만 쓰는 극단은 모두 최적이 아니었고 두 신호를 적절히 결합할 때 더 나은 특징이 나왔습니다. 고유값 분석에서 λ=0은 신원 간 변화와 신원 내 변화가 모두 컸고, λ=0.05에서는 신원 내 변화가 줄면서 신원 간 구분이 유지되었습니다. λ가 무한대로 커지면 신원 내 변화는 더 줄었지만 클래스 중심이 무너져 일부 클러스터가 겹쳤습니다.

## 식별 신원 수와 검증 신호의 역할

식별에 쓰는 신원 수를 32에서 8192까지 늘리면 얼굴 검증 정확도가 올랐습니다. 이 실험에서 검증 신호는 항상 8192개 학습 신원에서 생성했습니다. 검증 신호 비교에서는 L2 norm이 L2+, L2-, L1, cosine, 검증 신호 없음보다 대체로 높았고, L2- 신호는 검증 신호가 없는 경우와 거의 같았습니다. 저자들은 검증 신호의 효과가 주로 신원 내 변화를 줄이는 데 있다고 해석합니다.

## LFW 결과와 최종 시스템

최종 시스템은 25개 패치와 PCA 180차원 조건에서 LFW 98.97%를 기록했고, 얼굴당 특징 추출은 35 ms가 걸렸습니다. 이후 여러 번 선택한 7개의 특징 집합마다 Joint Bayesian을 학습하고 점수를 SVM으로 융합해 99.15%를 기록했습니다.

## 데이터 분할과 비교 해석의 범위

LFW는 대부분의 신원이 이미지 한 장만 가져 학습에는 부족하므로, 학습은 CelebFaces+를 나눈 CelebFaces+A로 하고 검증과 Joint Bayesian 학습은 CelebFaces+B로 했습니다. 이 분할은 LFW와 신원이 겹치지 않는 설정입니다. 비교 표의 점수는 인용된 공개 결과이며, 이 논문의 자체 측정과 같은 프로토콜로 묶어 읽으면 안 됩니다.

## 논문 정보

- **저자**: Yi Sun, Xiaogang Wang, Xiaoou Tang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2014년 6월 18일
- **등록일**: 2026년 11월 12일
- **수정일**: 2014년 6월 18일
- **버전**: v1
- **arXiv**: 1406.4773
- **분류**: cs.CV
- **원문 이용 조건**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **제공 범위**: 논문 정보, 해설

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

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

## 원문 인용

Yi Sun, Xiaogang Wang, Xiaoou Tang (2014). Deep Learning Face Representation by Joint Identification-Verification. arXiv:1406.4773v1. https://arxiv.org/abs/1406.4773v1

**BibTeX**

```
@misc{sun2014deep,
  title = {{Deep Learning Face Representation by Joint Identification-Verification}},
  author = {Yi Sun and Xiaogang Wang and Xiaoou Tang},
  year = {2014},
  eprint = {1406.4773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1406.4773v1}
}
```

## 이 논문의 용어

- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [cross-entropy loss](https://refivu.com/terms/14067bdf8b9f-cross-entropy-loss)
- [PCA](https://refivu.com/terms/2f4628e32ef5-pca)
- [DeepID2](https://refivu.com/terms/e392bbcbc21d-deepid2)
- [hyperparameter λ](https://refivu.com/terms/8b1d69b61030-hyperparameter)
- [L2 norm](https://refivu.com/terms/c3fb1eef7cbb-l2-norm)

## 다른 논문 해설

- [Curiosity-driven Exploration by Self-supervised Prediction](https://refivu.com/papers/93936438-d2c7-4a12-b814-3073185546ca-curiosity-driven-exploration-by-self-supervised-prediction.md)
- [ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoders](https://refivu.com/papers/d6599a02-0aa8-4eec-a1c3-2bdc45716f23-convnext-v2-co-designing-and-scaling-convnets-with.md)
- [Person Re-identification by Local Maximal Occurrence Representation and Metric Learning](https://refivu.com/papers/ce1c4e84-0a27-40a3-8d69-3dc923b2cf52-person-re-identification-by-local-maximal-occurrence.md)
- [UNITER: UNiversal Image-TExt Representation Learning](https://refivu.com/papers/c2b71a61-22ad-48f9-af71-922539fd9eab-uniter-universal-image-text-representation-learning.md)
- [Learning Face Representation from Scratch](https://refivu.com/papers/c66cea99-ee67-42f0-85f5-a773fc796f34-learning-face-representation-from-scratch.md)
- [Learning deep representations by mutual information estimation and maximization](https://refivu.com/papers/0ecc4e49-5a6d-49c7-a22d-0464db0ce259-learning-deep-representations-by-mutual-information.md)
- [Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translation](https://refivu.com/papers/0924ecf7-d413-4972-9e1d-36ae4961169c-google-s-multilingual-neural-machine-translation-system.md)
- [Understanding Neural Networks Through Deep Visualization](https://refivu.com/papers/a476f0b3-a482-45fe-9135-826b92cf7a73-understanding-neural-networks-through-deep-visualization.md)
- [Dilated Residual Networks](https://refivu.com/papers/26273fe8-0291-4f6b-b987-719425d5caea-dilated-residual-networks.md)
- [An Empirical Study of Training Self-Supervised Vision Transformers](https://refivu.com/papers/a0c6f9f9-f1cc-461c-b80e-9c2d8a5e1c32-an-empirical-study-of-training-self-supervised-vision.md)
- [EAST: An Efficient and Accurate Scene Text Detector](https://refivu.com/papers/c3f94c0a-3560-4b29-930f-6e881b662882-east-an-efficient-and-accurate-scene-text-detector.md)
- [AI Fairness 360: An Extensible Toolkit for Detecting, Understanding, and Mitigating Unwanted Algorithmic Bias](https://refivu.com/papers/2f8b2e40-a990-42ac-bf4e-2865e4425590-ai-fairness-360-an-extensible-toolkit-for-detecting.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1824448e-2edd-4d03-a6b5-1fbd92b71da3-deep-learning-face-representation-by-joint-identification)
