← Back to Multimodal Mind Map
👁️ MultimodalID: multimodal-dpo

Multimodal DPO / RLHF-V

多模态偏好对齐
🎯Core Definition
Multimodal DPO (MMDPO) extends DPO from text-only preference alignment to joint (image, text) inputs: under the same image vv, a faithful answer ywy_w (consistent with the image) vs a hallucinated answer yly_l (contradicting it) forms a preference pair, optimized directly via an implicit reward: LDPO=−E(v,t,yw,yl)∼D[log⁡σ(βlog⁡πθ(yw∣v,t)πref(yw∣v,t)−βlog⁡πθ(yl∣v,t)πref(yl∣v,t))]\mathcal{L}_{DPO} = -\mathbb{E}_{(v,t,y_w,y_l) \sim \mathcal{D}} \left[ \log \sigma\left( \beta \log \frac{\pi_\theta(y_w \mid v, t)}{\pi_{ref}(y_w \mid v, t)} - \beta \log \frac{\pi_\theta(y_l \mid v, t)}{\pi_{ref}(y_l \mid v, t)} \right) \right] tt is the question text, πref\pi_{ref} the frozen reference policy (SFT model), β\beta the reward scale (typically 0.1–0.5). The implicit reward rθ(v,t,y)=βlog⁡πθ(y∣v,t)πref(y∣v,t)r_\theta(v, t, y) = \beta \log \frac{\pi_\theta(y \mid v,t)}{\pi_{ref}(y \mid v,t)} comes from the log-ratio of policy and reference — no reward model, no online sampling, no PPO; just maximum likelihood on offline preference pairs. POPE negative sampling (RLHF-V style): first use POPE probing to find objects the model frequently fabricates Ohall\mathcal{O}_{\text{hall}} (candidates it answers Yes to though absent), then build hallucinated segments as negatives yly_l paired with faithful answers ywy_w; negatives come in random / popular / adversarial tiers, and adversarial hard negatives (the model's own most-hallucinated objects) align most effectively — targeted suppression of the model's actual failure modes rather than random noise.
💡Use Cases
offline preference alignment to suppress object hallucination and improve faithfulness (pairs built once, no online sampling cost); interview comparisons of why DPO over RLHF/GRPO for multimodal alignment; RLHF-V's hallucination-aware variant for hallucination-heavy scenarios.
⚡Key Problems Solved
naive text-DPO transfer to multimodal suffers from weak negatives (random negatives are obviously wrong and teach no boundary) and reward-model hallucination (a reward model can itself hallucinate and score hallucinated answers highly); POPE negative sampling targets the model's real defects (adversarial hard negatives substantially reduce hallucination), the implicit reward removes the reward model as a hallucination source, and unlike RLHF/GRPO (online sampling + verifier), MMDPO aligns offline with static image-text preference data — much cheaper and more stable.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Multimodal DPO / RLHF-V.
Use Cases
In production engineering, what are the primary use cases for Multimodal DPO / RLHF-V and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Write the multimodal DPO loss; how does it differ from text DPO?
2
Why does DPO need no reward model or online sampling? Derive the implicit reward?
3
How does POPE sampling construct preference pairs (random/popular/adversarial)?
4
Relation and differences between MMDPO and RLHF-V?
5
Multimodal alignment: DPO vs RLHF/GRPO — scenario comparison?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Multimodal DPO / RLHF-V"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardMasked Cross-Entropy LossNext Card →DDPM Forward/Reverse Process

🔗 More Multimodal Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Multimodal/card/multimodal-dpo
中文速览与面试要点

多模态偏好对齐 (Multimodal DPO / RLHF-V)

定义: 多模态 DPO (Multimodal DPO, MMDPO) 把 DPO 从纯文本偏好对齐扩展到 (图像, 文本) 联合输入: 同一图像 v 下, 忠实回答 y_w (与图一致) 对幻觉回答 y_l (与图矛盾) 构成偏好对, 用隐式奖励直接优化策略: L_DPO = - E_(v,t,y_w,y_l) D [ ( _ (y_w v, t) _ref(y_w v, t) - _ (y_l v, t) _ref(y_l v, t) ) ] t 为问题文本, _ref 为冻结的参考策略 (SFT 模型), 为奖励尺度 (常 0.1–0.5)。隐式奖励 r_ (v, t, y) = _ (y v,t) _ref(y v,t) 由策略与参考策略的对数比给出——无需训练奖励模型、无需在线采样与 PPO, 直接对离线偏好对做最大似然。 POPE 负采样机制 (RLHF-V 类方法): 先用 POPE 探测出模型高频“凭空生成”的物体集合 O_ hall (对不存在物体回答 Yes 的候选), 用这些物体构造幻觉句段作为负例 y_l, 与忠实回答 y_w 配对; 负样本分 random / popular / adversarial 三档, adversarial (用模型自己最易幻觉的物体) 构成的硬负例对齐最有效——针对性压制模型最常犯的幻觉, 而非随机噪声。 使用场景: 离线偏好对齐抑制物体幻觉、提升忠实性 (数据一次性构造, 无在线采样成本); 面试对比“多模态对齐为什么选 DPO 而不是 RLHF/GRPO”; RLHF-V 的幻觉感知 (hallucination-aware) 变体适合幻觉重灾场景。 解决的问题: 文本 DPO 直接迁移到多模态会受制于弱负例 (随机采样负例大多明显错误、学不到边界) 与奖励模型幻觉 (奖励模型本身会幻觉, 给幻觉回答高分); POPE 负采样把负例对准模型真实缺陷 (adversarial 硬负例使幻觉率显著下降), 隐式奖励免去奖励模型这一幻觉源头, 相比 RLHF/GRPO 需要在线采样+验证器, MMDPO 离线即可用静态图文偏好数据完成对齐, 成本与稳定性大幅改善。

核心要点

  • 写出多模态 DPO 的损失公式, 与文本 DPO 的差异在哪?
  • DPO 为什么不需要奖励模型和在线采样?隐式奖励如何推导?
  • POPE 负采样如何为 DPO 构造偏好对 (random/popular/adversarial)?
  • MMDPO 与 RLHF-V 的关系与区别?
  • 多模态对齐选 DPO 还是 RLHF/GRPO?适用场景对比?