Uncertainty Quantification and Decomposition for LLM-based Recommendation

Wonbin Kweon, Sanghwan Jang, SeongKu Kang, Hwanjo Yu
1/29/2025
cs.IRcs.CL

Official code: WonbinKweon/UNC_LLM_REC_WWW2025 (3 stars, last commit 2025-01-21).

Abstract

Despite the widespread adoption of large language models (LLMs) for recommendation, we demonstrate that LLMs often exhibit uncertainty in their recommendations. To ensure the trustworthy use of LLMs in generating recommendations, we emphasize the importance of assessing the reliability of recommendations generated by LLMs. We start by introducing a novel framework for estimating the predictive uncertainty to quantitatively measure the reliability of LLM-based recommendations. We further propose to decompose the predictive uncertainty into recommendation uncertainty and prompt uncertainty, enabling in-depth analyses of the primary source of uncertainty. Through extensive experiments, we (1) demonstrate predictive uncertainty effectively indicates the reliability of LLM-based recommendations, (2) investigate the origins of uncertainty with decomposed uncertainty measures, and (3) propose uncertainty-aware prompting for a lower predictive uncertainty and enhanced recommendation. Our source code and model weights are available at https://github.com/WonbinKweon/UNC_LLM_REC_WWW2025

View on arXivView PDF

Code Implementations(1)

30PythonJul 29, 20241 years ago

Similar Papers

Cite this paper

@article{kweon2025uncertainty,
  title  = {Uncertainty Quantification and Decomposition for LLM-based Recommendation},
  author = {Wonbin Kweon and Sanghwan Jang and SeongKu Kang and Hwanjo Yu},
  year   = {2025},
  eprint = {2501.17630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.17630v2}
}

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/2501.17630.svg)](https://codeofpaper.com/paper/2501.17630)

Discussion