Skip to main content
QUICK REVIEW

[논문 리뷰] Reference Guided Image Inpainting using Facial Attributes

Dongsik Yoon, Jeong-gi Kwak|arXiv (Cornell University)|2023. 01. 19.
Face recognition and analysisComputer Science인용 수 3
한 줄 요약

이 논문은 단일 참조 이미지에서 추출한 얼굴 특징을 사용하여 마스크 처리된 입력 이미지의 현실적인 얼굴 복원을 유도하는 참조 기반 이미지 복원 방법을 제안한다. 학습 가능한 이중 방향 주의 맵과 새로운 특징 제약 손실, MS-SSIM를 통합함으로써, 얼굴 구조를 잘 유지하고 다양한 현실적인 출력을 생성하는 데서 뛰어난 성능을 달성하였으며, CelebA-HQ에서 최신 기술 대비 뛰어난 성능을 보였다.

ABSTRACT

Image inpainting is a technique of completing missing pixels such as occluded region restoration, distracting objects removal, and facial completion. Among these inpainting tasks, facial completion algorithm performs face inpainting according to the user direction. Existing approaches require delicate and well controlled input by the user, thus it is difficult for an average user to provide the guidance sufficiently accurate for the algorithm to generate desired results. To overcome this limitation, we propose an alternative user-guided inpainting architecture that manipulates facial attributes using a single reference image as the guide. Our end-to-end model consists of attribute extractors for accurate reference image attribute transfer and an inpainting model to map the attributes realistically and accurately to generated images. We customize MS-SSIM loss and learnable bidirectional attention maps in which importance structures remain intact even with irregular shaped masks. Based on our evaluation using the publicly available dataset CelebA-HQ, we demonstrate that the proposed method delivers superior performance compared to some state-of-the-art methods specialized in inpainting tasks.

연구 동기 및 목표

  • 일반 사용자가 정확한 입력을 제공하기 어려운 사용자 가이드형 얼굴 이미지 복원 문제를 해결하기 위해.
  • 단일 참조 이미지를 사용하여 얼굴 특징을 마스크된 영역으로 전달함으로써 사용자 가이드를 단순화하기 위해.
  • 불규칙한 마스크가 존재하는 상황에서도 얼굴 구조의 일관성과 현실감을 향상시키기 위해.
  • 다양한 정도로 참조 이미지의 특징을 조작하여 다양한 현실적인 얼굴 복원 결과를 생성하기 위해.
  • MS-SSIM와 학습 가능한 주의 맵을 사용하여 특징 일관성과 구조 무결성을 확보하는 엔드 투 엔드 학습을 실현하기 위해.

제안 방법

  • 모델은 참조 이미지에서 얼굴 특징(예: 성별, 연령, 안경 여부 등)을 추출하는 특징 추출기와 함께 엔드 투 엔드 아키텍처를 사용한다.
  • 각 레이어에 학습 가능한 이중 방향 주의 맵(LBAM)을 적용하여 불규칙한 모양의 마스크 영역 간 효과적인 특징 융합을 가능하게 한다.
  • 참조 이미지의 특징과 생성된 이미지의 특징 간 차이를 최소화하는 특징 제약 손실을 적용하여 정확한 특징 전달을 보장한다.
  • 다중 척도 구조적 유사도(MS-SSIM) 손실을 사용하여 학습 중 얼굴 구조와 텍스처 세부 정보를 유지한다.
  • 얼굴 특징 주석이 있는 CelebA-HQ 데이터셋을 사용하여 학습하며, 현실감을 향상시키기 위해 인지적 손실과 스타일 손실을 함께 적용한다.
  • 참조 이미지에서 특징 값을 무작위로 샘플링함으로써 복수의 결과 생성을 지원하며, 하나의 입력으로부터 다양한 출력을 생성할 수 있다.
Figure 1: Summary of the proposed architecture. $I_{masked}$ and $M$ are the input of $G$ , we omit $M$ in this figure to express clearly our framework. For the test stage (red line), the user extract desired attributes using our attributes extractor to a reference image.
Figure 1: Summary of the proposed architecture. $I_{masked}$ and $M$ are the input of $G$ , we omit $M$ in this figure to express clearly our framework. For the test stage (red line), the user extract desired attributes using our attributes extractor to a reference image.

실험 결과

연구 질문

  • RQ1정확한 사용자 앵커파일이 필요 없이 단일 참조 이미지가 얼굴 복원을 효과적으로 유도할 수 있는가?
  • RQ2참조 이미지에서 특징을 전달하는 것이 복원 영역의 얼굴 구조와 정체성을 얼마나 잘 유지하는가?
  • RQ3MS-SSIM와 특징 제약 손실을 통합함으로써 기준 모델 대비 구조적 일관성과 현실감이 향상되는가?
  • RQ4참조 이미지의 특징 값을 다양하게 조작함으로써 다양한 현실적인 얼굴 복원 결과를 생성할 수 있는가?
  • RQ5기본 성능 기준 모델 대비 표준 평가 지표에서 제안된 방법의 정량적 성능은 어떠한가?

주요 결과

  • Quickdraw 불규칙 마스크 벤치마크에서 최고의 SSIM 점수 0.833을 기록하여 PConv(0.772)와 EC(0.817)를 모두 앞섰다.
  • 10-20% 마스크 크기에서 FID 점수 25.65를 기록하여 LBAM(27.63)과 EC(27.49)를 모두 뛰어넘었다.
  • 40-50% 마스크 크기에서 FID 점수 63.75를 유지하며, PConv(207.3)와 EC(64.40)보다 유의미하게 낮아 큰 구멍에 대한 강건성을 입증했다.
  • Quickdraw 마스크에서 LPIPS 점수 0.042를 기록하여 모든 방법 중에서 가장 낮아 참조 진짜 이미지와의 인지적 유사도가 높았다.
  • 단절 분석 결과, MS-SSIM 손실이 얼굴 구조 유지에 핵심적임을 확인하였으며, 인지적 손실과 스타일 손실이 뿌연 이미지의 왜곡을 줄이고 텍스처 세부 정보를 향상시킨다.
  • 양성에서 음성으로의 특징 값 조작을 통해 다양한 현실적인 얼굴 복원 결과를 성공적으로 생성하였으며, 효과적인 특징 제어 능력을 입증했다.
Figure 4: Illustration of attributes intensity control. From left to right are: attributes alter gradually negative to positive.
Figure 4: Illustration of attributes intensity control. From left to right are: attributes alter gradually negative to positive.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.