Saved in:
Bibliographic Details
Main Authors: Yasutomi, Suguru, Tanaka, Toshihisa
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2303.08068
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918007673978880
author Yasutomi, Suguru
Tanaka, Toshihisa
author_facet Yasutomi, Suguru
Tanaka, Toshihisa
contents Extracting fine-grained features such as styles from unlabeled data is crucial for data analysis. Unsupervised methods such as variational autoencoders (VAEs) can extract styles that are usually mixed with other features. Conditional VAEs (CVAEs) can isolate styles using class labels; however, there are no established methods to extract only styles using unlabeled data. In this paper, we propose a CVAE-based method that extracts style features using only unlabeled data. The proposed model consists of a contrastive learning (CL) part that extracts style-independent features and a CVAE part that extracts style features. The CL model learns representations independent of data augmentation, which can be viewed as a perturbation in styles, in a self-supervised manner. Considering the style-independent features from the pretrained CL model as a condition, the CVAE learns to extract only styles. Additionally, we introduce a constraint based on mutual information between the CL and VAE features to prevent the CVAE from ignoring the condition. Experiments conducted using two simple datasets, MNIST and an original dataset based on Google Fonts, demonstrate that the proposed method can efficiently extract style features. Further experiments using real-world natural image datasets were also conducted to illustrate the method's extendability.
format Preprint
id arxiv_https___arxiv_org_abs_2303_08068
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Style Feature Extraction Using Contrastive Conditioned Variational Autoencoders with Mutual Information Constraints
Yasutomi, Suguru
Tanaka, Toshihisa
Computer Vision and Pattern Recognition
Machine Learning
Extracting fine-grained features such as styles from unlabeled data is crucial for data analysis. Unsupervised methods such as variational autoencoders (VAEs) can extract styles that are usually mixed with other features. Conditional VAEs (CVAEs) can isolate styles using class labels; however, there are no established methods to extract only styles using unlabeled data. In this paper, we propose a CVAE-based method that extracts style features using only unlabeled data. The proposed model consists of a contrastive learning (CL) part that extracts style-independent features and a CVAE part that extracts style features. The CL model learns representations independent of data augmentation, which can be viewed as a perturbation in styles, in a self-supervised manner. Considering the style-independent features from the pretrained CL model as a condition, the CVAE learns to extract only styles. Additionally, we introduce a constraint based on mutual information between the CL and VAE features to prevent the CVAE from ignoring the condition. Experiments conducted using two simple datasets, MNIST and an original dataset based on Google Fonts, demonstrate that the proposed method can efficiently extract style features. Further experiments using real-world natural image datasets were also conducted to illustrate the method's extendability.
title Style Feature Extraction Using Contrastive Conditioned Variational Autoencoders with Mutual Information Constraints
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2303.08068