arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.08971cs.CVcs.CLcs.LG
收藏

优先处理图像相关 Token 可增强视觉-语言预训练

Prioritizing Image-Related Tokens Enhances Vision-Language Pre-Training

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Yangyi Chen, Hao Peng, Tong Zhang, Heng Ji

AI总结:

针对视觉-语言预训练中 NTP 拟合非视觉 token 噪声的问题,本文提出 PRIOR,利用纯文本参考 LLM 的 token 概率进行重要性加权,提升图像相关 token,并在两类 LVLM 设置中取得显著增益。

摘要:

在标准的大型视觉-语言模型(LVLMs)预训练中,模型通常通过下一 token 预测(NTP)最大化以图像为条件的字幕联合概率;然而,由于只有一小部分字幕 token 与视觉内容直接相关,这种朴素的 NTP 会无意中使模型拟合噪声,并增加幻觉风险。我们提出 PRIOR,这是一种简单的视觉-语言预训练方法,通过借鉴重要性采样框架,在 NTP 损失中进行差分加权,优先处理图像相关 token,从而解决该问题。PRIOR 引入一个参考模型——一个仅在无图像输入的字幕上训练的纯文本大语言模型(LLM),根据每个 token 的概率对其进行加权,以用于 LVLMs 训练。直观上,与视觉输入直接相关的 token 在没有图像的情况下更难预测,因此从纯文本参考 LLM 获得较低概率。训练期间,我们基于重要性分数实现特定于 token 的再加权项,以调整每个 token 的损失。我们在两种不同设置中实现 PRIOR:带视觉编码器的 LVLMs 和不带视觉编码器的 LVLMs。与 NTP 相比,我们在多个视觉-语言基准上分别观察到 19% 和 8% 的平均相对提升。此外,PRIOR 表现出优越的缩放特性,显著更高的缩放系数证明了这一点,表明在计算和数据不断增加的情况下,相比 NTP,它具有更大的性能提升潜力。

英文摘要:

In standard large vision-language models (LVLMs) pre-training, the model typically maximizes the joint probability of the caption conditioned on the image via next-token prediction (NTP); however, since only a small subset of caption tokens directly relates to the visual content, this naive NTP unintentionally fits the model to noise and increases the risk of hallucination. We present PRIOR, a simple vision-language pre-training approach that addresses this issue by prioritizing image-related tokens through differential weighting in the NTP loss, drawing from the importance sampling framework. PRIOR introduces a reference model-a text-only large language model (LLM) trained on the captions without image inputs, to weight each token based on its probability for LVLMs training. Intuitively, tokens that are directly related to the visual inputs are harder to predict without the image and thus receive lower probabilities from the text-only reference LLM. During training, we implement a token-specific re-weighting term based on the importance scores to adjust each token's loss. We implement PRIOR in two distinct settings: LVLMs with visual encoders and LVLMs without visual encoders. We observe 19% and 8% average relative improvement, respectively, on several vision-language benchmarks compared to NTP. In addition, PRIOR exhibits superior scaling properties, as demonstrated by significantly higher scaling coefficients, indicating greater potential for performance gains compared to NTP given increasing compute and data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑