arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.15875cs.AIcs.MM
收藏

差分多模态Transformer

Differential Multimodal Transformers

University of California, Riverside(加州大学河滨分校)

Jerry Li, Timothy Oh, Joseph Hoang, Vardhit Veeramachaneni

AI总结:

本文将差分注意力机制从纯文本模型扩展到PaliGemma多模态模型,通过LoRA微调验证其能有效缓解噪声检索并减少幻觉,提升问答能力。

摘要:

小型语言模型因其高效性和不断增强的能力而广受欢迎。然而,引入视觉等额外模态会引入噪声,从而加剧有限上下文窗口的挑战。近期研究指出,Transformer注意力机制往往过度关注不相关的上下文。在本工作中,我们将原本为纯文本模型设计的差分注意力(Differential Attention)机制扩展到文本-视觉模型PaliGemma上,旨在评估其缓解噪声信息检索和减少幻觉的能力。为此,我们使用LoRA对PaliGemma 3B模型进行微调,并融入差分注意力机制,同时尝试了多种参数设置和配置。我们证明,差分注意力可以适配并集成到现有模型的微调过程中,以增强噪声信息检索和问答能力。

英文摘要:

Small language models have gained significant popularity due to their efficiency and growing capabilities. However, incorporating additional modalities, such as vision, can exacerbate the challenge of limited context windows by introducing noise. Recent studies have highlighted that Transformer attention mechanisms often disproportionately focus on irrelevant contexts. In this work, we extend the Differential Attention mechanism, originally designed for text-only models, to the text-vision model PaliGemma. Our aim is to evaluate its ability to mitigate noisy information retrieval and reduce hallucinations. To this end, we fine-tuned the PaliGemma 3B model using LoRA, incorporating Differential Attention, and experimented with various parameter settings and configurations. We demonstrate that Differential Attention can be adapted and integrated into the fine-tuning of existing models to enhance noisy information retrieval and question-answering capabilities.

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

↑