DOPRA:特定加权层中的解码过度累积惩罚与重新分配
DOPRA: Decoding Over-accumulation Penalization and Re-allocation in Specific Weighting Layer
AI总结:
本文提出DOPRA方法,通过在多模态大语言模型解码过程中对特定加权层施加过度累积惩罚与重新分配,并引入回顾性分配机制,有效缓解模型幻觉且无需额外资源。
摘要:
在这项工作中,我们引入了DOPRA,这是一种旨在缓解多模态大语言模型(MLLMs)幻觉的新颖方法。现有的解决方案通常涉及昂贵的补充训练数据或整合外部知识源,与此不同,DOPRA创新性地通过对特定加权层进行惩罚和重新分配解码来应对幻觉,提供了一种无需额外资源的经济且有效的解决方案。DOPRA基于对MLLMs内部控制幻觉内在机制的独特见解,特别是模型倾向于过度依赖自注意力矩阵中部分摘要token,而忽略关键图像相关信息的倾向。这种现象在某些层级尤为明显。为了抵消这种过度依赖,DOPRA在解码过程中,在特定层(如第12层)采用加权叠加惩罚和重新分配策略。此外,DOPRA包含一个回顾性分配过程,重新检查生成token的序列,使算法能够重新分配token选择,以更好地与实际图像内容对齐,从而减少自动生成描述中幻觉描述的发生率。总体而言,DOPRA通过在解码过程中进行针对性调整来系统性减少幻觉,代表了在提高MLLMs输出质量方面迈出的重要一步。
英文摘要:
In this work, we introduce DOPRA, a novel approach designed to mitigate hallucinations in multi-modal large language models (MLLMs). Unlike existing solutions that typically involve costly supplementary training data or the integration of external knowledge sources, DOPRA innovatively addresses hallucinations by decoding specific weighted layer penalties and redistribution, offering an economical and effective solution without additional resources. DOPRA is grounded in unique insights into the intrinsic mechanisms controlling hallucinations within MLLMs, especially the models' tendency to over-rely on a subset of summary tokens in the self-attention matrix, neglecting critical image-related information. This phenomenon is particularly pronounced in certain strata. To counteract this over-reliance, DOPRA employs a strategy of weighted overlay penalties and redistribution in specific layers, such as the 12th layer, during the decoding process. Furthermore, DOPRA includes a retrospective allocation process that re-examines the sequence of generated tokens, allowing the algorithm to reallocate token selection to better align with the actual image content, thereby reducing the incidence of hallucinatory descriptions in auto-generated captions. Overall, DOPRA represents a significant step forward in improving the output quality of MLLMs by systematically reducing hallucinations through targeted adjustments during the decoding process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。