Unveiling Uncertainty: A Deep Dive into Calibration and Performance of Multimodal Large Language Models

Zijun Chen, Wenbo Hu, Guande He, Zhijie Deng, Zheng Zhang +1 more
12/19/2024
cs.CVcs.AIcs.CL

Official code: hfutml/Calibration-MLLM (3 stars, last commit 2025-02-11).

Abstract

Multimodal large language models (MLLMs) combine visual and textual data for tasks such as image captioning and visual question answering. Proper uncertainty calibration is crucial, yet challenging, for reliable use in areas like healthcare and autonomous driving. This paper investigates representative MLLMs, focusing on their calibration across various scenarios, including before and after visual fine-tuning, as well as before and after multimodal training of the base LLMs. We observed miscalibration in their performance, and at the same time, no significant differences in calibration across these scenarios. We also highlight how uncertainty differs between text and images and how their integration affects overall uncertainty. To better understand MLLMs' miscalibration and their ability to self-assess uncertainty, we construct the IDK (I don't know) dataset, which is key to evaluating how they handle unknowns. Our findings reveal that MLLMs tend to give answers rather than admit uncertainty, but this self-assessment improves with proper prompt adjustments. Finally, to calibrate MLLMs and enhance model reliability, we propose techniques such as temperature scaling and iterative prompt optimization. Our results provide insights into improving MLLMs for effective and responsible deployment in multimodal applications. Code and IDK dataset: https://github.com/hfutml/Calibration-MLLM.

View on arXivView PDF

Code Implementations(1)

30Shell, PythonNov 30, 20241 years ago

Cite this paper

@article{chen2024unveiling,
  title  = {Unveiling Uncertainty: A Deep Dive into Calibration and Performance of Multimodal Large Language Models},
  author = {Zijun Chen and Wenbo Hu and Guande He and Zhijie Deng and Zheng Zhang and Richang Hong},
  year   = {2024},
  eprint = {2412.14660},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14660v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14660.svg)](https://codeofpaper.com/paper/2412.14660)

Discussion