# Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization

Re-Align: 검색 증강 직접 선호 최적화를 통한 비전 언어 모델 정렬

Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu 외 3명 · arXiv · 2025년 2월 18일

- **연구 문제** VLM은 이미지와 맞지 않는 환각을 자주 보이며, 기존 DPO 기반 선호 데이터는 교정 비용이 크거나 입력을 단순 손상시켜 자연스러운 환각을 만들기 어렵습니다.
- **연구 방법** RE-ALIGN은 이미지 검색으로 찾은 유사 이미지와 마스킹된 응답 재구성을 이용해 rejected 응답을 만들고, 텍스트 선호와 시각 선호를 함께 쓰는 rDPO로 VLM을 미세조정합니다.
- **주요 결과** LLaVA-v1.6-Mistral-7B에서 RE-ALIGN은 POPE r 점수를 88.83에서 90.55로 높이고 ScienceQA를 76.02에서 76.47로 높였습니다. 여러 규모와 구조의 POPE 평가에서도 기준 모델보다 높은 점수를 보고합니다.

## VLM 환각 문제와 기존 선호 데이터의 한계

대규모 시각-언어 모델(VLM)은 이미지에 없는 객체, 속성, 관계를 만들어내는 환각 문제를 보입니다. 이를 줄이기 위해 DPO 계열 정렬이 널리 쓰였지만, 기존 방법은 선호 신호를 거친 방식으로 만듭니다. 응답을 교정하는 방식은 신뢰도가 높으나 수동 교정 비용이 커서 확장하기 어렵습니다. 반대로 입력 이미지나 정답 응답을 단순히 손상시키는 방식은 비용이 낮지만 자연스럽고 그럴듯한 환각을 통제된 방식으로 만들지 못합니다. 또한 텍스트 선호만으로 DPO를 적용하면 모델이 언어 선호에 치우쳐 환각이 늘어날 수 있다고 원문은 인용 문헌을 들어 설명합니다.

이 논문은 이러한 한계에서 출발하여, 이미지 검색으로 시각적으로 유사하지만 근거가 다른 이미지를 찾고 이를 이용해 텍스트와 시각 선호를 함께 쓰는 RE-ALIGN을 제안합니다.

## 이미지 검색 기반 선호 데이터 구성

RE-ALIGN의 데이터 구성은 세 단계로 이루어집니다. 먼저 pre-training VLM이 학습 이미지에 대한 chosen 응답 yw를 만들고, 전략적 마스킹으로 객체, 속성, 관계와 관련된 단어나 세그먼트를 \[MASK\]로 가립니다. 다음으로 학습 세트의 모든 이미지를 원래 VLM의 비전 인코더로 임베딩하여 지식 베이스 K를 만들고, 코사인 유사도 검색으로 원본 이미지와 가장 유사한 상위 k개 이미지를 찾습니다. 마지막으로 검색된 이미지 vjt와 지시문을 사용해 마스킹된 응답을 채우는 후보 응답 yc를 만듭니다.

![Figure 3: Illustration of the preference generation process, utilizing the original vision encoder from initial VLMs and the SentenceTransformer as the text en…](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792/figures/figure-f01f0f7a72fe3c685f696034ae6157f8.png?thumb=512)

**Figure 3** : Illustration of the preference generation process, utilizing the original vision encoder from initial VLMs and the SentenceTransformer as the text encoder.

[원문](https://arxiv.org/abs/2502.13146v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu · Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

후보 yc와 chosen 응답 yw는 SentenceTransformer로 임베딩되며, 두 임베딩의 코사인 유사도가 임계값 τ=0.95 미만일 때 yc를 rejected 응답 yl로 채택합니다. 유사도가 임계값 이상이면 다음 순위 이미지로 넘어갑니다. 이렇게 얻은 쌍은 텍스트 선호 쌍과 검색된 시각 대안 이미지 vl을 포함하는 이중 선호 데이터셋이 됩니다.

## rDPO 목적 함수

rDPO는 표준 DPO 손실 LDPO에 시각 선호 손실 LvDPO를 더한 목적 함수입니다. LvDPO는 원본 이미지 v와 검색된 이미지 vl을 대비하여 같은 선호 응답 쌍 (yw, yl)에 대한 로그 확률 차이를 정의합니다. 최종 손실은 LrDPO = LDPO + LvDPO로 주어지며, 원문은 두 목적에 같은 가중치 1을 준 설정을 기본으로 둡니다. 이 구조는 텍스트 선호 신호와 함께 시각 입력에 따른 선호 차이를 학습에 반영하려는 것입니다.

원문은 mDPO와의 차이도 설명합니다. mDPO는 원본 이미지를 무작위로 잘라낸 이미지를 사용하는 반면, RE-ALIGN은 같은 데이터셋에서 검색된 의미적으로 관련된 이미지를 사용합니다.

## 환각 벤치마크에서의 결과

환각 평가는 POPE와 HallusionBench에서 수행되었고, 백본은 LLaVA-v1.5-7B와 LLaVA-v1.6-Mistral-7B입니다. 이 설정에서 RE-ALIGN은 두 백본 모두에서 비교 방법 중 가장 높은 POPE 결과를 보입니다. 예를 들어 LLaVA-v1.6-Mistral-7B에서 POPE r 점수는 기준 모델 88.83에서 RE-ALIGN 90.55로 높아집니다. 같은 조건에서 HallusionBench의 여러 세부 지표도 함께 보고됩니다.

일반 VQA 평가는 ScienceQA, TextVQA, MM-Vet, VisWiz, LLaVABench, MME, MMBench로 구성됩니다. LLaVA-v1.6-Mistral-7B에서 ScienceQA는 76.02에서 76.47로 높아집니다. 이 결과는 LLaVA-v1.5-7B 등 다른 백본과 여러 비교 방법을 모두 포함한 평균 순위가 아니라, 제시된 두 백본과 이 평가 설정에서 얻은 값입니다.

![Table 2: Impact of RE-ALIGNacross general benchmarks for VLMs, and comparisons with baselines](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792/figures/figure-d12b3d8d48a52c5a126adb12b12d0497.png?thumb=512)

**Table 2** : Impact of RE-ALIGNacross general benchmarks for VLMs, and comparisons with baselines.

[원문](https://arxiv.org/abs/2502.13146v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu · Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 모델 규모와 구조에 따른 POPE 결과

규모와 구조의 일반성을 확인하기 위해 원문은 LLaVA-v1.5 7B와 13B, LLaVA-v1.6 Vicuna 7B와 13B, Qwen2.5-VL 3B와 7B, Janus-Pro 1B와 7B에서 POPE를 측정합니다. Janus-Pro는 인코더-디코더형 통합 모델로 구분됩니다. Janus-Pro-1B에서 POPE r 점수는 85.46에서 87.53으로 높아집니다.

원문은 이 표에서 LLaVA-v1.5 계열의 기존 비교 방법들이 7B와 13B에서 일관된 향상을 보이지 않는다고 해석합니다. 반면 RE-ALIGN은 이 표의 대상 모델들에서 기준 모델보다 높은 POPE 점수를 보고합니다. 이 결과는 POPE 점수에 한정된 것입니다.

![Table 3: Impact of RE-ALIGNacross various model scales on POPE](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792/figures/figure-7a38c6143a5d0fb609ab9a8df0ad93d6.png?thumb=512)

**Table 3** : Impact of RE-ALIGNacross various model scales on POPE.

[원문](https://arxiv.org/abs/2502.13146v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu · Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 절제 실험: 유사도 임계값, 마스킹, 손실 가중치

절제 실험은 LLaVA-1.5-7B를 백본으로 사용합니다. 유사도 임계값 τ를 0.85, 0.90, 0.95로 바꾼 결과에서 τ가 낮아지면 환각 지표는 개선되지만 일반 VQA 성능은 낮아진다고 원문은 보고합니다. 원문은 τ=0.95를 이 비교에서 가장 균형 잡힌 설정으로 선택합니다.

![Table 4: Impact of similarity threshold τ for generating the rejected responses in RE-ALIGNacross general and hallucination benchmarks for VLMs](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792/figures/figure-ad3f0a4068ad20dd96b04c656689890b.png?thumb=512)

**Table 4** : Impact of similarity threshold τ for generating the rejected responses in RE-ALIGNacross general and hallucination benchmarks for VLMs.

[원문](https://arxiv.org/abs/2502.13146v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu · Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

마스킹 전략 비교에서는 문장 단위 마스킹이 세그먼트 단위 마스킹보다 SQA와 TextVQA가 낮습니다. 손실 가중치 wv는 0.0(DPO), 0.25, 0.50, 0.75, 1.0(rDPO)로 바꾸었으며, 원문 표에서 wv=1.0일 때 SQA 점수는 66.26에서 68.10으로 높아집니다. 이 결과는 LLaVA-1.5-7B와 해당 평가 과제에 한정됩니다.

![Table 6: Impact of rDPO objective across general and hallucination benchmarks for VLMs, and comparisons with baselines](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792/figures/figure-1798896254a321a9bbf042496bef171c.png?thumb=512)

**Table 6** : Impact of rDPO objective across general and hallucination benchmarks for VLMs, and comparisons with baselines.

[원문](https://arxiv.org/abs/2502.13146v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu · Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

원문은 RE-ALIGN이 모든 일반 과제에서 최고 성능을 보이지는 않는다고 밝힙니다. 일부 경우 성능은 기준 VLM보다도 낮습니다. 원문은 이를 RLHF에서 알려진 정렬 세금(alignment tax)과 연결하여 설명하며, 이를 완전히 제거하는 방법은 향후 과제로 남깁니다.

또한 이 논문의 결과는 제시된 백본, 벤치마크, 데이터 구성 설정에서 얻은 것입니다. 원문은 평가의 일부를 GPT-4 기반 평가 대신 재현 가능한 과제로 구성했다고 설명하므로, 그 밖의 평가 프로토콜에 대한 결론은 이 논문에서 확인되지 않습니다.

## 논문 정보

- **저자**: Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 2월 18일
- **등록일**: 2026년 11월 5일
- **수정일**: 2025년 9월 19일
- **버전**: v3
- **arXiv**: 2502.13146
- **분류**: cs.CV · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2502.13146v3) · [원문 PDF ↗](https://arxiv.org/pdf/2502.13146v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

The emergence of large Vision Language Models (VLMs) has broadened the scope and capabilities of single-modal Large Language Models (LLMs) by integrating visual modalities, thereby unlocking transformative cross-modal applications in a variety of real-world scenarios. Despite their impressive performance, VLMs are prone to significant hallucinations, particularly in the form of cross-modal inconsistencies. Building on the success of Reinforcement Learning from Human Feedback (RLHF) in aligning LLMs, recent advancements have focused on applying direct preference optimization (DPO) on carefully curated datasets to mitigate these issues. Yet, such approaches typically introduce preference signals in a brute-force manner, neglecting the crucial role of visual information in the alignment process. In this paper, we introduce Re-Align, a novel alignment framework that leverages image retrieval to construct a dual-preference dataset, effectively incorporating both textual and visual preference signals. We further introduce rDPO, an extension of the standard direct preference optimization that incorporates an additional visual preference objective during fine-tuning. Our experimental results demonstrate that Re-Align not only mitigates hallucinations more effectively than previous methods but also yields significant performance gains in general visual question-answering (VQA) tasks. Moreover, we show that Re-Align maintains robustness and scalability across a wide range of VLM sizes and architectures. This work represents a significant step forward in aligning multimodal LLMs, paving the way for more reliable and effective cross-modal applications. We release all the code in https://github.com/taco-group/Re-Align.

## 원문 인용

Shuo Xing, Peiran Li, Yuping Wang, Ruizheng Bai, Yueqi Wang, Chan-Wei Hu, Chengxuan Qian, Huaxiu Yao, Zhengzhong Tu (2025). Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization. arXiv:2502.13146v3. https://arxiv.org/abs/2502.13146v3

**BibTeX**

```
@misc{xing2025align,
  title = {{Re-Align: Aligning Vision Language Models via Retrieval-Augmented Direct Preference Optimization}},
  author = {Shuo Xing and Peiran Li and Yuping Wang and Ruizheng Bai and Yueqi Wang and Chan-Wei Hu and Chengxuan Qian and Huaxiu Yao and Zhengzhong Tu},
  year = {2025},
  eprint = {2502.13146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.13146v3}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [DPO](https://refivu.com/terms/4c5fb06dccd7-dpo)
- [MME](https://refivu.com/terms/92bd03138164-mme)
- [MMBench](https://refivu.com/terms/1688e568c3b8-mmbench)
- [POPE](https://refivu.com/terms/b523bbe1227c-pope)
- [ScienceQA](https://refivu.com/terms/4deed9de0244-scienceqa)
- [TextVQA](https://refivu.com/terms/522fd646e388-textvqa)
- [VQA](https://refivu.com/terms/8ebd0962191b-vqa)
- [alignment tax](https://refivu.com/terms/2d1e21881a89-alignment-tax)
- [hallucinations](https://refivu.com/terms/d409eeeeb3c7-hallucinations)
- [MM-Vet](https://refivu.com/terms/29020655ef08-mm-vet)
- [HallusionBench](https://refivu.com/terms/99d8bdfc2406-hallusionbench)
- [Image retrieval](https://refivu.com/terms/39a424a2c91b-image-retrieval)
- [LLaV A-v1.5-7B](https://refivu.com/terms/7751531f91bb-llav-a-v1-5-7b)

## 다른 논문 해설

- [Crossmodal-3600: A Massively Multilingual Multimodal Evaluation Dataset](https://refivu.com/papers/5bc7dd0f-6bd9-449d-87e9-fe6cb6851d36-crossmodal-3600-a-massively-multilingual-multimodal.md)
- [GlucoAgent: Personalized Glucose Forecasting from Multimodal Personal Context](https://refivu.com/papers/48e4aadf-f061-466b-a5a5-13657596769d-glucoagent-personalized-glucose-forecasting-from-multimodal.md)
- [Measure Before You Repair: An Explainable Agent for Blind Restoration of Multi-Artifact 3-D MRI](https://refivu.com/papers/21f07a35-1c66-409c-8c44-8f4fb3b07dd4-measure-before-you-repair-an-explainable-agent-for.md)
- [Dr. No: Feature Steering for Abstention in Vision-Language Models](https://refivu.com/papers/aefbae20-6893-4304-b4ee-5ff19c8f3de7-dr-no-feature-steering-for-abstention-in-vision.md)
- [JAMMEval: A Refined Collection of Japanese Benchmarks for Reliable VLM Evaluation](https://refivu.com/papers/8ccae0e7-beff-407a-b2ea-aa7303528f54-jammeval-a-refined-collection-of-japanese-benchmarks-for.md)
- [D&A: Decoupling Description and Assessment Enables VLMs as Zero-Shot Robotic Reward Models](https://refivu.com/papers/37e765b4-67a1-4599-9d94-84f2e4d6d3ac-d-a-decoupling-description-and-assessment-enables-vlms.md)
- [Multi-Objective Preference Optimization: Improving Human Alignment of Generative Models](https://refivu.com/papers/041fdbd0-012b-4a3d-919c-d5e10dca7d53-multi-objective-preference-optimization-improving-human.md)
- [Correcting the Mythos of KL-Regularization: Direct Alignment without Overoptimization via Chi-Squared Preference Optimization](https://refivu.com/papers/55e2d93e-c557-46e7-9034-94b78fdd5f91-correcting-the-mythos-of-kl-regularization-direct-alignment.md)
- [Self-Augmented Preference Optimization: Off-Policy Paradigms for Language Model Alignment](https://refivu.com/papers/50754b91-ac9f-4a37-9a55-591663932431-self-augmented-preference-optimization-off-policy-paradigms.md)
- [The Signals and Systems Approach to Animation](https://refivu.com/papers/3f080585-d012-4ba3-9f6c-8eb1fa0e3f56-the-signals-and-systems-approach-to-animation.md)
- [InstructRetro: Instruction Tuning post Retrieval-Augmented Pretraining](https://refivu.com/papers/dd0abb30-a6bc-4a8d-9d46-a2308c9cb88b-instructretro-instruction-tuning-post-retrieval-augmented.md)
- [PrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners](https://refivu.com/papers/feae8934-f8bd-4e3d-8c48-42c0cd1eb0b3-privacymind-large-language-models-can-be-contextual-privacy.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/b1f33794-2f7e-4db7-ad58-b04894663792-re-align-aligning-vision-language-models-via-retrieval)
