Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs

About

Uncertainty estimation (UE) of generative large language models (LLMs) is crucial for evaluating the reliability of generated sequences. A significant subset of UE methods utilize token probabilities to assess uncertainty, aggregating multiple token probabilities into a single UE score using a scoring function. Existing scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve certain aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and complex semantic dependencies between tokens. To address these issues, in this work, we propose Learnable Response Scoring (LARS) function, a novel scoring function that leverages supervised data to capture complex dependencies between tokens and probabilities, thereby producing more reliable and calibrated response scores in computing the uncertainty of LLM generations. Our comprehensive experiments across question-answering and arithmetical reasoning tasks with various datasets demonstrate that LARS significantly outperforms existing scoring functions, achieving improvements of up to 16\% AUROC score.

Duygu Nur Yaldiz, Yavuz Faruk Bakman, Baturalp Buyukates, Chenyang Tao, Anil Ramakrishna, Dimitrios Dimitriadis, Jieyu Zhao, Salman Avestimehr• 2024

Related benchmarks

TaskDatasetResultRank
Uncertainty QuantificationPopQA 500 randomly sampled queries (test)
AUROC0.8379
70
Uncertainty QuantificationHotpotQA 500 randomly sampled queries (test)
AUROC71.42
70
Uncertainty QuantificationMusique 500 randomly sampled queries (test)
AUROC0.7187
70
Showing 3 of 3 rows

Other info

Follow for update