DOPRA: Decoding Over-accumulation Penalization and Re-allocation in Specific Weighting Layer
<|reference_start|>DOPRA: Decoding Over-accumulation Penalization and Re-allocation in Specific Weighting Layer: 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.<|reference_end|>
@article{wei2024dopra:,
    title={DOPRA: Decoding Over-accumulation Penalization and Re-allocation in
  Specific Weighting Layer},
    author={Jinfeng Wei, Xiaofeng Zhang},
    journal={arXiv preprint arXiv:2407.15130},
    year={2024},
    doi={10.1145/3664647.3681076},
    archivePrefix={arXiv},
    eprint={2407.15130},
    primaryClass={cs.CL cs.AI}
}