CLAP: Isolating Content from Style through Contrastive Learning with Augmented Prompts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cai, Yichao, Liu, Yuhang, Zhang, Zhen, Shi, Javen Qinfeng
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917995745378304
author Cai, Yichao
Liu, Yuhang
Zhang, Zhen
Shi, Javen Qinfeng
author_facet Cai, Yichao
Liu, Yuhang
Zhang, Zhen
Shi, Javen Qinfeng
contents Contrastive vision-language models, such as CLIP, have garnered considerable attention for various downstream tasks, mainly due to the remarkable ability of the learned features for generalization. However, the features they learned often blend content and style information, which somewhat limits their generalization capabilities under distribution shifts. To address this limitation, we adopt a causal generative perspective for multimodal data and propose contrastive learning with data augmentation to disentangle content features from the original representations. To achieve this, we begin with exploring image augmentation techniques and develop a method to seamlessly integrate them into pre-trained CLIP-like models to extract pure content features. Taking a step further, recognizing the inherent semantic richness and logical structure of text data, we explore the use of text augmentation to isolate latent content from style features. This enables CLIP-like model's encoders to concentrate on latent content information, refining the learned representations by pre-trained CLIP-like models. Our extensive experiments across diverse datasets demonstrate significant improvements in zero-shot and few-shot classification tasks, alongside enhanced robustness to various perturbations. These results underscore the effectiveness of our proposed methods in refining vision-language representations and advancing the state-of-the-art in multimodal learning.
format Preprint
id arxiv_https___arxiv_org_abs_2311_16445
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle CLAP: Isolating Content from Style through Contrastive Learning with Augmented Prompts
Cai, Yichao
Liu, Yuhang
Zhang, Zhen
Shi, Javen Qinfeng
Computer Vision and Pattern Recognition
Contrastive vision-language models, such as CLIP, have garnered considerable attention for various downstream tasks, mainly due to the remarkable ability of the learned features for generalization. However, the features they learned often blend content and style information, which somewhat limits their generalization capabilities under distribution shifts. To address this limitation, we adopt a causal generative perspective for multimodal data and propose contrastive learning with data augmentation to disentangle content features from the original representations. To achieve this, we begin with exploring image augmentation techniques and develop a method to seamlessly integrate them into pre-trained CLIP-like models to extract pure content features. Taking a step further, recognizing the inherent semantic richness and logical structure of text data, we explore the use of text augmentation to isolate latent content from style features. This enables CLIP-like model's encoders to concentrate on latent content information, refining the learned representations by pre-trained CLIP-like models. Our extensive experiments across diverse datasets demonstrate significant improvements in zero-shot and few-shot classification tasks, alongside enhanced robustness to various perturbations. These results underscore the effectiveness of our proposed methods in refining vision-language representations and advancing the state-of-the-art in multimodal learning.
title CLAP: Isolating Content from Style through Contrastive Learning with Augmented Prompts
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2311.16445