Saved in:
Bibliographic Details
Main Authors: Wei, Jinfeng, Zhang, Xiaofeng
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2407.15130
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914882366996480
author Wei, Jinfeng
Zhang, Xiaofeng
author_facet Wei, Jinfeng
Zhang, Xiaofeng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_15130
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DOPRA: Decoding Over-accumulation Penalization and Re-allocation in Specific Weighting Layer
Wei, Jinfeng
Zhang, Xiaofeng
Computation and Language
Artificial Intelligence
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.
title DOPRA: Decoding Over-accumulation Penalization and Re-allocation in Specific Weighting Layer
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2407.15130