Self-Supervised Visual Preference Alignment

Ke Zhu, Liang Zhao, Zheng Ge, Xiangyu Zhang

Introduction

Large Vision-Language Models (LVLMs), such as LLaVA, have demonstrated remarkable capabilities in multimodal reasoning. However, these models frequently suffer from alignment issues, leading to hallucinations—where the model perceives objects not present in the image—and failures in following complex user instructions.

Traditionally, aligning these models requires Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). Both methods rely on high-quality preference pairs (e.g., "Response A is better than Response B"), which are notoriously expensive to produce. Human evaluation can cost upwards of $3,000 for 10,000 instances, while alternative methods rely on proprietary models like GPT-4, creating a significant bottleneck for open-source research.

SeVa (Self-supervised Visual preference Alignment) introduces a framework that bypasses these requirements entirely. By leveraging image augmentations to generate "hard negative" responses from the model itself, SeVa enables effective alignment without a single drop of human or GPT-4 supervision.

The SeVa Framework

The core of SeVa is an "embarrassingly simple" pipeline designed to turn unlabeled images into preference data. The process follows four primary steps:

  1. Image Augmentation: An unlabeled image is subjected to various distortions, such as Diffusion-based noise, MOCO-style crops, or color jittering.
  2. Self-Generation: The base LVLM is asked the same question about both the original image and its distorted counterpart. The response to the original image is designated as the "Chosen" (positive) sample, while the response to the distorted image—which is likely to contain errors or hallucinations due to the visual noise—is designated as the "Rejected" (negative) sample.
  3. Filtering: To ensure the quality of the preference pair, the system discards any instances where the model provides identical answers for both images.
  4. DPO Training: The model is fine-tuned using the Direct Preference Optimization loss on these self-generated pairs.

Mathematically, this approach bridges the gap between preference alignment and Visual Contrastive Learning. It essentially trains the model to maximize the probability of correct semantic tokens when presented with clear visual evidence versus distorted input.

Experimental Setup

The authors trained SeVa using small subsets of the LLaVA665k dataset, specifically focusing on TextVQA and OCRVQA to generate the initial preference pairs. Despite the relatively small scale of the training data (only 8,000 unsupervised samples), the model was evaluated across a comprehensive battery of benchmarks:

  • MMVet: Complex reasoning and integration.
  • POPE: Evaluation of object hallucinations.
  • LLaVA-Bench-in-the-wild: Real-world instruction following.
  • MMBench and SEED-Image: General multimodal capabilities.
  • SHR (Simple Hallucination Ratio): A new metric proposed to quantify model reliability.

Key Insights and Analysis

The "Goldilocks" Augmentation

Research into the augmentation process revealed that the intensity of the distortion is critical. Very weak augmentations (e.g., horizontal flips) do not confuse the model enough to create a meaningful "rejected" sample. Conversely, extreme distortions (e.g., heavy diffusion noise) make the image unrecognizable, creating "easy" negatives that provide little learning signal. The most effective results come from "medium" distortions—hard negatives—that challenge the model's reasoning without being nonsensical.

Alignment as Calibration

SeVa-trained models demonstrate significantly improved calibration. While standard LVLMs often become inconsistent or fail when the sampling "temperature" (randomness) is increased, SeVa models maintain high consistency. This suggests that the alignment process helps the model better understand its own confidence levels regarding visual features.

Cross-Task Generalization

One of the most surprising findings was that preference data generated from simple OCR and text-heavy tasks generalized to broader capabilities. Training on these simple tasks led to improvements in complex world knowledge, general reasoning, and even "Chain-of-Thought" reasoning patterns.

Results

SeVa achieves state-of-the-art performance for unsupervised alignment:

  • Reasoning Gains: SeVa-7B improved the base LLaVA-1.5-7B model by 6.7% on the MMVet benchmark.
  • GPT-4 Parity: On the LLaVA-Bench, the SeVa-13B model achieved a 90% relative score compared to GPT-4, a landmark result for a model trained without any GPT-4-derived data.
  • Hallucination Reduction: The model showed consistent gains on the POPE benchmark, proving more resilient to suggestive prompts about non-existent objects.
  • Data Efficiency: With just 8,000 randomly sampled unsupervised points, SeVa outperformed models trained on significantly larger supervised datasets.

Limitations and Future Directions

While SeVa is highly effective, it currently utilizes a single negative sample per chosen sample. The authors have proposed a mathematical framework for multiple negatives—similar to InfoNCE loss—but this remains to be fully explored. Additionally, while the model generalizes well from OCR data, future iterations could benefit from more diverse unsupervised sources, such as video or specialized scientific imagery. Given its self-supervised nature, the most promising path forward is scaling the method to millions of images to see if the performance gains continue to climb linearly.

Summary updated

BibTeX
@inproceedings{zhu2024self,
  author = {Ke Zhu and Liang Zhao and Zheng Ge and Xiangyu Zhang},
  title = {{Self-Supervised Visual Preference Alignment}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=6r4xHv3bbe},
}
Figure