Aligning Visual Contrastive learning models via Preference Optimization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Afzali, Amirabbas, Khodabandeh, Borna, Rasekh, Ali, JafariNodeh, Mahyar, kazemi, Sepehr, Gottschalk, Simon
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912294331482112
author Afzali, Amirabbas
Khodabandeh, Borna
Rasekh, Ali
JafariNodeh, Mahyar
kazemi, Sepehr
Gottschalk, Simon
author_facet Afzali, Amirabbas
Khodabandeh, Borna
Rasekh, Ali
JafariNodeh, Mahyar
kazemi, Sepehr
Gottschalk, Simon
contents Contrastive learning models have demonstrated impressive abilities to capture semantic similarities by aligning representations in the embedding space. However, their performance can be limited by the quality of the training data and its inherent biases. While Preference Optimization (PO) methods such as Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) have been applied to align generative models with human preferences, their use in contrastive learning has yet to be explored. This paper introduces a novel method for training contrastive learning models using different PO methods to break down complex concepts. Our method systematically aligns model behavior with desired preferences, enhancing performance on the targeted task. In particular, we focus on enhancing model robustness against typographic attacks and inductive biases, commonly seen in contrastive vision-language models like CLIP. Our experiments demonstrate that models trained using PO outperform standard contrastive learning techniques while retaining their ability to handle adversarial challenges and maintain accuracy on other downstream tasks. This makes our method well-suited for tasks requiring fairness, robustness, and alignment with specific preferences. We evaluate our method for tackling typographic attacks on images and explore its ability to disentangle gender concepts and mitigate gender bias, showcasing the versatility of our approach.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08923
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Aligning Visual Contrastive learning models via Preference Optimization
Afzali, Amirabbas
Khodabandeh, Borna
Rasekh, Ali
JafariNodeh, Mahyar
kazemi, Sepehr
Gottschalk, Simon
Computer Vision and Pattern Recognition
Machine Learning
Contrastive learning models have demonstrated impressive abilities to capture semantic similarities by aligning representations in the embedding space. However, their performance can be limited by the quality of the training data and its inherent biases. While Preference Optimization (PO) methods such as Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) have been applied to align generative models with human preferences, their use in contrastive learning has yet to be explored. This paper introduces a novel method for training contrastive learning models using different PO methods to break down complex concepts. Our method systematically aligns model behavior with desired preferences, enhancing performance on the targeted task. In particular, we focus on enhancing model robustness against typographic attacks and inductive biases, commonly seen in contrastive vision-language models like CLIP. Our experiments demonstrate that models trained using PO outperform standard contrastive learning techniques while retaining their ability to handle adversarial challenges and maintain accuracy on other downstream tasks. This makes our method well-suited for tasks requiring fairness, robustness, and alignment with specific preferences. We evaluate our method for tackling typographic attacks on images and explore its ability to disentangle gender concepts and mitigate gender bias, showcasing the versatility of our approach.
title Aligning Visual Contrastive learning models via Preference Optimization
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2411.08923