基於小樣本學習圖到圖風格轉換的人臉轉換改善
Face Swapping Improvement on Few-shot Learning Image-to-image Style Transfer
摘要
FUNIT 是第一個使用小樣本學習 (few-shot learning) 的非監督式圖到圖風格轉換方法。FUNIT 的設計能廣泛使用到各式資料集。然而在我們的實驗中,並非每個情境都能有很好的效果。人臉資料集是我們關注的一個焦點,每張人臉都是獨特並且帶有許多不同特徵。我們發現兩個問題存在:1) 人臉的轉換效果不佳以及 2) 背景資訊容易影響前景特徵。本篇論文提出兩個方法解決前述提到的問題。第一,我們使用人臉識別模型 Arcface 並且設計許多損失函數 (loss function) 提高模型對於人物特徵的效果。第二,為了將背景資訊影響降到最低,我們使用前後景分割模型。FUNIT 只要專注訓練前景區域,最後再與原來背景圖片融合。我們在結合這兩個方法後,FUNIT 有顯著的表現。我們使用四個面向的評估方法,分別是轉換能力(Translation Ability)、真實性(Reality)、輪廓保護性(Content Preservation)以及恢復能力(Reconstruction Ability)。在這些評估標準中,評估真實性的 mFID 下降 12.8%、而評估轉換後的相似度的 ID-Similarity 上升 13.46%。總結來說,我們的方法無論是在評估結果以及轉換品質均優於 FUNIT。
FUNIT is the first few-shot learning model on unsupervised learning image-to-image translation. This approach provides a general usage on serveral datasets. However we found that not every case produces a good performance. One of the most important applications in which we are interested is face swapping, in which we replace a face of image from another face image of a different person. We notice two issues when using FUNIT to the face style translation task: 1) it does not translate the facial identity well, that is, the face in the translated image and the face in the target style image does not look like the same peroson. 2) Background regions often affect foreground regions, for example, the colors or textures of the background may translate and affect the colors or textures of the face in the output image. In this paper, we propose two methods to solve aforementioned issues. First, we use a facial recognition model Arcface and then design several loss functions to guide model. Second, in order to reduce the influenece of background, we use a segmentation model to separate an image into foreground / background images. FUNIT simply concentrates on the foreground images and finally merge with the original background image. We use four different aspects of assessments. The aspects are translation ability, reality, content preservation and reconstruction ability. Among these metrics, mFID which a measure of image reality improves 12.8%. ID-Similarity which is a metric of translation ability increases 13.46%. In conclusion, our methods outperform FUNIT in both evaluation results and translation quality.